Numberlist API

get listing

GET /api/rest/admin/routing/numberlists

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MTAyNTQ3MzUsInN1YiI6MTUwfQ.imE9wSAcx2MNUF16Gz-dAMQd7EX5PVqXeZOjPPJMaW4
Host: example.org
Cookie: 

Route

GET /api/rest/admin/routing/numberlists

Response

Headers

X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 0
X-Content-Type-Options: nosniff
X-Download-Options: noopen
X-Permitted-Cross-Domain-Policies: none
Referrer-Policy: strict-origin-when-cross-origin
Content-Type: application/vnd.api+json
Vary: Accept
ETag: W/"ce4a8c3c6cbdaad72eee1b439e6a6213"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: 62c69818-01b6-4a25-ad3b-2b2648d2abaa
X-Runtime: 0.009316
Content-Length: 1676

Status

200 OK

Body

{
  "data": [
    {
      "id": "8",
      "type": "numberlists",
      "links": {
        "self": "http://example.org/api/rest/admin/routing/numberlists/8"
      },
      "attributes": {
        "name": "numberlist7",
        "default-action-id": 1,
        "mode-id": 1,
        "created-at": "2024-03-12T14:35:35.218Z",
        "updated-at": "2024-03-12T14:35:35.218Z",
        "default-src-rewrite-rule": null,
        "default-src-rewrite-result": null,
        "defer-src-rewrite": false,
        "default-dst-rewrite-rule": null,
        "default-dst-rewrite-result": null,
        "defer-dst-rewrite": false,
        "tag-action-value": [

        ],
        "external-id": null,
        "external-type": null
      },
      "relationships": {
        "tag-action": {
          "links": {
            "self": "http://example.org/api/rest/admin/routing/numberlists/8/relationships/tag-action",
            "related": "http://example.org/api/rest/admin/routing/numberlists/8/tag-action"
          }
        }
      }
    },
    {
      "id": "9",
      "type": "numberlists",
      "links": {
        "self": "http://example.org/api/rest/admin/routing/numberlists/9"
      },
      "attributes": {
        "name": "numberlist8",
        "default-action-id": 1,
        "mode-id": 1,
        "created-at": "2024-03-12T14:35:35.236Z",
        "updated-at": "2024-03-12T14:35:35.236Z",
        "default-src-rewrite-rule": null,
        "default-src-rewrite-result": null,
        "defer-src-rewrite": false,
        "default-dst-rewrite-rule": null,
        "default-dst-rewrite-result": null,
        "defer-dst-rewrite": false,
        "tag-action-value": [

        ],
        "external-id": null,
        "external-type": null
      },
      "relationships": {
        "tag-action": {
          "links": {
            "self": "http://example.org/api/rest/admin/routing/numberlists/9/relationships/tag-action",
            "related": "http://example.org/api/rest/admin/routing/numberlists/9/tag-action"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/routing/numberlists?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/routing/numberlists?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}