Push API

2. Shows info about a push

GET /pushes/:id

Request

Headers

Content-Type: application/vnd.api+json
Accept: application/vnd.api+json
X-Synapse-Data: {"account":{"id":"uuid","role_key":"root"}}
Host: example.org
Cookie: 

Route

GET /pushes/cd8b72b4-d2ef-4639-864b-6391739e5c87

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/"49aedff0ff0f459cb9cd5b8091248286"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 564abd86-aa9f-46d4-a76d-39483a1953f0
X-Runtime: 0.006113
Content-Length: 292

Status

200 OK

Body

{
  "data": {
    "id": "cd8b72b4-d2ef-4639-864b-6391739e5c87",
    "type": "pushes",
    "attributes": {
      "owner_id": null,
      "app_id": "c486e80d-e9ce-419e-b758-225849e1b9a8",
      "created_at": "2017-11-14T10:47:36.362Z",
      "updated_at": "2017-11-14T10:47:36.362Z"
    },
    "meta": {
      "total": 0,
      "sent": 0,
      "failed": 0,
      "received": 0,
      "opened": 0
    }
  }
}