Numberlist API

get specific entry

GET /api/rest/admin/routing/numberlists/:id

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NjAsInN1YiI6MTcxfQ.qapy1lARrxwnPTymIrrP9-PfIb7r4yl08xL_IPhALOA
Host: example.org
Cookie: 

Route

GET /api/rest/admin/routing/numberlists/8

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/"1e8dc3ab73f05e275d52b8796df44585"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: a86598e9-e7f2-4284-9602-1019ee6512dc
X-Runtime: 0.010623
Content-Length: 723

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-11-14T09:56:00.438Z",
      "updated-at": "2024-11-14T09:56:00.438Z",
      "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"
        }
      }
    }
  }
}