Disconnect policies API

get listing

GET /api/rest/admin/disconnect-policies

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.eyJzdWIiOjkzLCJhdWQiOlsiYWRtaW4iXSwiZXhwIjoxNzY3MzU4NTY0fQ.aZ9kDlZyxC8a91UoFH-h3wQSIr3Eus6763aSW5BKu2c
Host: example.org
Cookie: 

Route

GET /api/rest/admin/disconnect-policies

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/"4f182070ef9320c7adcd1028e5da0f73"
cache-control: max-age=0, private, must-revalidate
x-request-id: 357d5c4d-19a7-4006-a685-b05c7fc0ea0d
x-runtime: 0.007476
content-length: 870

Status

200 OK

Body

{
  "data": [
    {
      "id": "1",
      "type": "disconnect-policies",
      "links": {
        "self": "http://example.org/api/rest/admin/disconnect-policies/1"
      },
      "attributes": {
        "name": "not_send_503"
      }
    },
    {
      "id": "3",
      "type": "disconnect-policies",
      "links": {
        "self": "http://example.org/api/rest/admin/disconnect-policies/3"
      },
      "attributes": {
        "name": "can_not_send_503"
      }
    },
    {
      "id": "4",
      "type": "disconnect-policies",
      "links": {
        "self": "http://example.org/api/rest/admin/disconnect-policies/4"
      },
      "attributes": {
        "name": "disconnect_policy1"
      }
    },
    {
      "id": "5",
      "type": "disconnect-policies",
      "links": {
        "self": "http://example.org/api/rest/admin/disconnect-policies/5"
      },
      "attributes": {
        "name": "disconnect_policy2"
      }
    }
  ],
  "meta": {
    "total-count": 4
  },
  "links": {
    "first": "http://example.org/api/rest/admin/disconnect-policies?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/disconnect-policies?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}