Skip to content
Jan Zimandl edited this page Jan 25, 2016 · 7 revisions

Content

My Settings

Request

Required authentication.

GET /settings HTTP/1.1

Response

HTTP/1.1 200 OK
{
  "success":true,
  "result": {
    "notify_friends_activity": true,
    "notify_top5_updates": true,
    "notify_marketing": true,
    "autoshare_twitter": true,
    "autoshare_facebook": true
  }
}
Parameter Optional More info
notify_friends_activity no
notify_top5_updates no not used
notify_marketing no not used
autoshare_twitter no
autoshare_facebook no not used

Update Settings

It will update only not null parameters.

Request

Required authentication.

PUT /settings HTTP/1.1
Content-Type: application/json
{
  "notify_friends_activity": true,
  "notify_top5_updates": true,
  "notify_marketing": false,
  "autoshare_twitter": null,
  "autoshare_facebook": null
}
Parameter Length Optional More info
notify_friends_activity yes
notify_top5_updates yes not used
notify_marketing yes not used
autoshare_twitter yes
autoshare_facebook yes not used

Response

HTTP/1.1 200 OK
{
  "success": true
}
Clone this wiki locally