Notifications

Get All

Get all the notifications.

get/public/api/notifications?filter={filter}

Query parameters

filterstring

A valid JSON filter object

Headers

Acceptstring

e.g. application/json

Request body

Example request

{
  "Authorization": {
    "Authorization": "Bearer JWT"
  }
}

Response

OK

notification_idstring required
titlestring required
modestring required
sender_idstring required
entity_typestring required
entity_idstring required
updated_datestring required
created_datestring required

Example response

[
  {
    "notification_id": "54ab03c6546847ee0d30081d",
    "title": "Rocket ltd notification 1",
    "mode": "notification",
    "sender_id": "54ab03c6546847ee0d30072b",
    "push_recipients": 3,
    "entity_type": "Mission",
    "entity_id": "54ab03c6546847ee0d30072a",
    "updated_date": "2018-05-23T04:51:40.862Z",
    "created_date": "2018-05-23T04:51:40.862Z"
  },
  {
    "notification_id": "54ab03c6546847ee0d30081e",
    "title": "Rocket ltd notification 2",
    "mode": "notification",
    "sender_id": "54ab03c6546847ee0d30072b",
    "push_recipients": "1",
    "entity_type": "Mission",
    "entity_id": "54ab03c6546847ee0d30072a",
    "updated_date": "2018-05-23T04:51:40.862Z",
    "created_date": "2018-05-23T04:51:40.862Z"
  }
]

Changes

No recorded changes to this endpoint across all 4 revisions of this API.