Sdp c locations API

get listing

GET /api/rest/admin/sdp-c-locations

Parameters

Name Description
filter[id] id filter
filter[name] name filter
filter[name-eq] name eq filter
filter[name-not-eq] name not eq filter
filter[name-cont] name cont filter
filter[name-start] name start filter
filter[name-end] name end filter
filter[name-in] name in filter
filter[name-not-in] name not in filter
filter[name-cont-any] name cont any filter

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIxNywiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3MjIxMjAxMH0.jQYRFysw_jMiQUdqn_LDahfxRM6wZFxt7WpO_ag433U
Host: example.org
Cookie: 

Route

GET /api/rest/admin/sdp-c-locations

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/"4091a50ab12ae7f42593eb5265e9fea5"
cache-control: max-age=0, private, must-revalidate
x-request-id: dd6536f1-fa2e-4578-86d1-7cc5e48b5880
x-runtime: 0.006725
content-length: 690

Status

200 OK

Body

{
  "data": [
    {
      "id": "0",
      "type": "sdp-c-locations",
      "links": {
        "self": "http://example.org/api/rest/admin/sdp-c-locations/0"
      },
      "attributes": {
        "name": "On session and media level"
      }
    },
    {
      "id": "1",
      "type": "sdp-c-locations",
      "links": {
        "self": "http://example.org/api/rest/admin/sdp-c-locations/1"
      },
      "attributes": {
        "name": "On session level"
      }
    },
    {
      "id": "2",
      "type": "sdp-c-locations",
      "links": {
        "self": "http://example.org/api/rest/admin/sdp-c-locations/2"
      },
      "attributes": {
        "name": "On media level"
      }
    }
  ],
  "meta": {
    "total-count": 3
  },
  "links": {
    "first": "http://example.org/api/rest/admin/sdp-c-locations?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/sdp-c-locations?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}