AccountNotifications
List my notifications
GET
The caller's in-app notifications, newest first, twenty at a time, with the unread count.
Who may call it: Any signed-in user, for their own account. API keys: no.
sessioncookie
gamma.session_token<token>The session cookie a sign-in sets. Over HTTPS its name carries the __Secure- prefix. Browsers send it on their own; other clients keep it from the sign-in response.
before?stringThe previous page's nextCursor.
Length
1 <= length <= 64OK.
application/json- response
A page of the caller's in-app notifications.
notifications*array<>Newest first.
unread*integerHow many of all of them are unread.
Range
-9007199254740991 <= value <= 9007199254740991nextCursor*|Pass as before for the next page; null on the last.
jobs*array<>The caller's jobs still queued or running, newest first; on the first page only, empty with before.
Example Request
curl -X GET 'http://localhost:3000/api/account/inbox'Example Response
{ "notifications": [ { "id": "string", "type": "string", "data": { "property1": null, "property2": null }, "path": "string", "organizationId": "string", "projectId": "string", "readAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" } ], "unread": -9007199254740991, "nextCursor": "string", "jobs": [ { "id": "string", "type": "string", "status": "queued", "projectId": "string", "projectName": "string", "subject": "string", "path": "string", "createdAt": "2019-08-24T14:15:22Z" } ]}