-
Notifications
You must be signed in to change notification settings - Fork 0
Settings
Jan Zimandl edited this page Jan 25, 2016
·
7 revisions
- My Settings - GET /settings
- Update Settings - PUT /settings
Required authentication.
GET /settings HTTP/1.1
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 |
It will update only not null parameters.
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 |
HTTP/1.1 200 OK
{
"success": true
}