Routing NumberlistItems API

get specific entry

GET /api/rest/admin/routing/numberlist-items/:id

Request

Headers

Version: HTTP/1.0
Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJleHAiOjE3MzE1Nzg3NjAsInN1YiI6MTY2fQ.lhqi5MDZ4ih8w54wBB-kZXiG6ZVHGMhaX_6gRfZ8a4o
Host: example.org
Cookie: 

Route

GET /api/rest/admin/routing/numberlist-items/2

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/"6aa78b3fa0109f001e75597e69633f3f"
Cache-Control: max-age=0, private, must-revalidate
X-Request-Id: f381b574-7a47-41ce-a542-d8d60243a574
X-Runtime: 0.013020
Content-Length: 906

Status

200 OK

Body

{
  "data": {
    "id": "2",
    "type": "numberlist-items",
    "links": {
      "self": "http://example.org/api/rest/admin/routing/numberlist-items/2"
    },
    "attributes": {
      "key": "numberlist_item_1",
      "number-min-length": 0,
      "number-max-length": 100,
      "action-id": 1,
      "src-rewrite-rule": null,
      "src-rewrite-result": null,
      "defer-src-rewrite": false,
      "dst-rewrite-rule": null,
      "dst-rewrite-result": null,
      "defer-dst-rewrite": false,
      "tag-action-value": [

      ],
      "created-at": "2024-11-14T09:56:00.092Z",
      "updated-at": "2024-11-14T09:56:00.092Z"
    },
    "relationships": {
      "numberlist": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing/numberlist-items/2/relationships/numberlist",
          "related": "http://example.org/api/rest/admin/routing/numberlist-items/2/numberlist"
        }
      },
      "tag-action": {
        "links": {
          "self": "http://example.org/api/rest/admin/routing/numberlist-items/2/relationships/tag-action",
          "related": "http://example.org/api/rest/admin/routing/numberlist-items/2/tag-action"
        }
      }
    }
  }
}