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.eyJleHAiOjE3MzE1Nzg3NjAsInN1YiI6MTcwfQ.xXvXNjng4RrBMgjLjIZ7-vOBiC0IgV6-zP9ovwioyrM
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/"c23d6e0e68305ece43d90dc8102f021e"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: aee1e7c4-3b7c-4111-a369-df89f9ab78ab
X-Runtime: 0.008691
Content-Length: 1676

Status

200 OK

Body

{
  "data": [
    {
      "id": "6",
      "type": "numberlists",
      "links": {
        "self": "http://example.org/api/rest/admin/routing/numberlists/6"
      },
      "attributes": {
        "name": "numberlist5",
        "default-action-id": 1,
        "mode-id": 1,
        "created-at": "2024-11-14T09:56:00.367Z",
        "updated-at": "2024-11-14T09:56:00.367Z",
        "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/6/relationships/tag-action",
            "related": "http://example.org/api/rest/admin/routing/numberlists/6/tag-action"
          }
        }
      }
    },
    {
      "id": "7",
      "type": "numberlists",
      "links": {
        "self": "http://example.org/api/rest/admin/routing/numberlists/7"
      },
      "attributes": {
        "name": "numberlist6",
        "default-action-id": 1,
        "mode-id": 1,
        "created-at": "2024-11-14T09:56:00.391Z",
        "updated-at": "2024-11-14T09:56:00.391Z",
        "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/7/relationships/tag-action",
            "related": "http://example.org/api/rest/admin/routing/numberlists/7/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"
  }
}