GET notifications

Retrieves a list of notifications for the authenticated user.

Resource URL

https://www.drillster.com/api/2.1.1/notifications

Parameters

None.

Response

A 2.1.1 Notifications object.

Example request

GET https://www.drillster.com/api/2.1.1/notifications

Response

{
  "total": 1,
  "notifications": [ {
    "timestamp": "2015-06-12T07:16:23Z",
    "type": "FORWARDED_DRILL",
    "message": "French part 1",
    "explanation": {
      "text": "I wanted to share this drill with you.",
      "markup": [ {
        "type": "italic",
        "offset": 0,
        "length": 38
      } ]
    },
    "icon": {
      "type": "image/png",
      "url": "https://www.drillster.com/bin/attachment/5ade297ea4278d8aee39932cc8cfb74370577801",
      "width": 256,
      "height": 256
    },
    "id": "G9DoPrVyROC1jDkDiEoo2x",
    "actions": [ "IMPORT", "REMOVE" ]
  } ]
}