Advertisement
ayunyan

AppLog Initial Sequence

Oct 2nd, 2011
3,888
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. GET /v2/device/boot HTTP/1.1
  2. Host: api.applogsdk.com
  3.  
  4. HTTP/1.1 200 OK
  5. Server: nginx/0.7.62
  6. Content-Type: application/json; charset=utf-8
  7.  
  8. {"notification":{"ignore":false},"log":{"force":false},"enable":true,"ads":{"force":false},"boot":5}
  9.  
  10.  
  11.  
  12. POST /v2/device HTTP/1.1
  13. Host: api.applogsdk.com
  14. Content-Type: application/x-www-form-urlencoded
  15. Content-Length: 130
  16.  
  17. android_id=0000000000000000&developer_id=00000000-0000-0000-0000-000000000000&application_id=00000000-0000-0000-0000-000000000000
  18.  
  19. HTTP/1.1 200 OK
  20. Server: nginx/0.7.62
  21. Content-Type: application/json; charset=utf-8
  22.  
  23. {"device":{"log_allowed":null,"ads_allowed":null},"notification":{"title":"AppLog Submission Setting","body":"Click here for App Info. submission setting","icon":"https://api.applogsdk.com/images/i.png","enable":true},"promotion":{"interval":86400},"collect":{"interval":60},"url":{"edit":"https://api.applogsdk.com/v2/device/edit","update":"https://api.applogsdk.com/v2/device/update"},"log":{"interval":21600},"ads":{"packages":[],"interval":2419200,"periodic":[]}}
  24.  
  25.  
  26.  
  27. GET /v2/promotion HTTP/1.1
  28. Host: api.applogsdk.com
  29.  
  30. HTTP/1.1 200 OK
  31. Server: nginx/0.7.62
  32. Content-Type: application/json; charset=utf-8
  33.  
  34. {"promotion":{"enable":false}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement