Delivery API

1. Return information about delivery and failures

GET pushes/:push_id/deliveries

Request

Headers

Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
X-Synapse-Data: {"account":{"id":"a9bfcd75-bd0b-4f90-a820-ff4ec5e8d047","role_key":"root"}}
Host: example.org
Cookie: 

Route

GET pushes/1b6a960f-d17b-430b-b9f2-a6fc1f9d0594/deliveries

Query Parameters

{
}: 

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
X-Content-Type-Options: nosniff
Content-Type: application/vnd.api+json; charset=utf-8
ETag: W/"59990fc3ec28d3a0af41664cade64aad"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: a90e7134-d371-4242-8258-8d62a2d8474c
X-Runtime: 0.006211
Content-Length: 232

Status

200 OK

Body

{
  "data": [
    {
      "id": "f3db490f-bbf5-4876-8686-322187322fe9",
      "type": "deliveries",
      "attributes": {
        "total": 7,
        "successful": 0,
        "failed": 9,
        "retry": 0,
        "started_at": "2017-12-03T00:00:00.000Z",
        "finished_at": "2015-09-05T00:00:00.000Z",
        "failures": [

        ]
      }
    }
  ]
}