Last active
December 26, 2015 21:09
-
-
Save arronmabrey/7213561 to your computer and use it in GitHub Desktop.
Api::NotificationsController JSON Examples
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// General System Notifications | |
{ | |
"data":[ | |
{ | |
"id":1, | |
"message":"Lumentus Social will be offline for maintenance.", | |
"problem_resolution_url":null, | |
"problem_id":null, | |
"user_id":100, | |
"client_id":null, | |
"start_time":"2013-10-29T11:34:22-04:00", | |
"end_time":"2013-10-30T11:34:22-04:00" | |
} | |
], | |
"metadata":{ | |
"api_request_id":-1 | |
} | |
} | |
// Specific Problem Notifications | |
{ | |
"data":[ | |
{ | |
"id":2, | |
"message":"Your LinkedIn access_token has expired. Please reconnect your LinkedIn Account.", | |
"problem_resolution_url":"http://sm.cc/problem_resolution/2/?user_id=100", | |
"problem_id":2, | |
"user_id":100, | |
"client_id":null, | |
"start_time":null, | |
"end_time":null | |
} | |
], | |
"metadata":{ | |
"api_request_id":-1 | |
} | |
} | |
// Interaction Update Notifications | |
{ | |
"data":[ | |
{ | |
"id":2, | |
"message":"2 new comments on your post \"Check out foo bar\".", | |
"problem_resolution_url":null, | |
"problem_id":null, | |
"user_id":100, | |
"client_id":null, | |
"start_time":null, | |
"end_time":"2013-10-30T11:34:22-04:00" | |
} | |
], | |
"metadata":{ | |
"api_request_id":-1 | |
} | |
} | |
// Conversation Update Notifications | |
{ | |
"data":[ | |
{ | |
"id":2, | |
"message":"David Wolitzer replied to your post \"I'm starting a conversation\" saying \"That's awesome\".", | |
"problem_resolution_url":null, | |
"problem_id":null, | |
"user_id":100, | |
"client_id":null, | |
"start_time":null, | |
"end_time":"2013-10-30T11:34:22-04:00" | |
} | |
], | |
"metadata":{ | |
"api_request_id":-1 | |
} | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment