Package Counters API

get specific entry

GET /api/rest/admin/package-counters/:id

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjE2OCwiYXVkIjpbImFkbWluIl0sImV4cCI6MTc2NzM1ODU2OX0.63_0W-JgpTO_-I6X1emrupsu9FswBTya5ZGS88gLRuY
Host: example.org
Cookie: 

Route

GET /api/rest/admin/package-counters/3

Response

Headers

x-frame-options: SAMEORIGIN
x-xss-protection: 0
x-content-type-options: nosniff
x-permitted-cross-domain-policies: none
referrer-policy: strict-origin-when-cross-origin
content-type: application/vnd.api+json
vary: Accept
etag: W/"b5f087fbfea331c9345560ced3b34965"
cache-control: max-age=0, private, must-revalidate
x-request-id: 4fb91b83-c542-432b-b1d2-8a3ee05c5eee
x-runtime: 0.006301
content-length: 398

Status

200 OK

Body

{
  "data": {
    "id": "3",
    "type": "package-counters",
    "links": {
      "self": "http://example.org/api/rest/admin/package-counters/3"
    },
    "attributes": {
      "duration": 120,
      "exclude": false,
      "prefix": "",
      "service-id": 6
    },
    "relationships": {
      "account": {
        "links": {
          "related": "http://example.org/api/rest/admin/package-counters/3/account"
        }
      },
      "service": {
        "links": {
          "related": "http://example.org/api/rest/admin/package-counters/3/service"
        }
      }
    }
  }
}