Get comment notifications

List comment notifications

Lists the comment threads the user is subscribed to, newest activity first, each with the user's subscription and unread state and a summary of the thread's latest entry. The list is paged: when there are more threads than the page holds, the result carries a cursor to pass with the next request. Threads on records the user can no longer see are left out.

Request

GET https://www.activityinfo.org/resources/notifications/comments

Successful response

application/json

object
notifications array[object] The page's notifications, newest activity first. required
users array[object] The users the notifications refer to, such as the authors of the latest entries, so that the client can show names without a lookup. required
cursor string Passed back as the `cursor` parameter to fetch the next page. Absent on the last page. optional

Error responses

Status Code Error Code Description
401 AUTHENTICATION_REQUIRED The request must be authenticated

Example

curl -u anything:YOUR_API_TOKEN \
  https://www.activityinfo.org/resources/notifications/comments
Next item
Get comment summaries