Routing RoutingTagDetectionRules API

get listing

GET /api/rest/admin/routing-tag-detection-rules

Parameters

Name Description
filter[id] id filter
filter[src-prefix-eq] src prefix eq filter
filter[src-prefix-not-eq] src prefix not eq filter
filter[src-prefix-cont] src prefix cont filter
filter[src-prefix-start] src prefix start filter
filter[src-prefix-end] src prefix end filter
filter[src-prefix-in] src prefix in filter
filter[src-prefix-not-in] src prefix not in filter
filter[src-prefix-cont-any] src prefix cont any filter
filter[dst-prefix-eq] dst prefix eq filter
filter[dst-prefix-not-eq] dst prefix not eq filter
filter[dst-prefix-cont] dst prefix cont filter
filter[dst-prefix-start] dst prefix start filter
filter[dst-prefix-end] dst prefix end filter
filter[dst-prefix-in] dst prefix in filter
filter[dst-prefix-not-in] dst prefix not in filter
filter[dst-prefix-cont-any] dst prefix cont any filter
filter[routing-tag-mode-id-eq] routing tag mode id eq filter
filter[routing-tag-mode-id-not-eq] routing tag mode id not eq filter
filter[routing-tag-mode-id-gt] routing tag mode id gt filter
filter[routing-tag-mode-id-gteq] routing tag mode id gteq filter
filter[routing-tag-mode-id-lt] routing tag mode id lt filter
filter[routing-tag-mode-id-lteq] routing tag mode id lteq filter
filter[routing-tag-mode-id-in] routing tag mode id in filter
filter[routing-tag-mode-id-not-in] routing tag mode id not in filter

Request

Headers

Accept: application/vnd.api+json
Content-Type: application/vnd.api+json
Authorization: eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOjIwNywiYXVkIjpbImFkbWluIl0sImV4cCI6MTc3MjIxMjAwOX0.dLNt9-t4hk7ltrmyBN-DRX9uwuwts6v5csxXig434YQ
Host: example.org
Cookie: 

Route

GET /api/rest/admin/routing-tag-detection-rules

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/"fd33966d863b990539e5ecc7db4f7c88"
cache-control: max-age=0, private, must-revalidate
x-request-id: c6c157cd-e244-4c4a-b013-ccc4191a70c1
x-runtime: 0.024361
content-length: 2462

Status

200 OK

Body

{
  "data": [
    {
      "id": "1",
      "type": "routing-tag-detection-rules",
      "links": {
        "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/1"
      },
      "attributes": {
        "src-prefix": "111",
        "dst-prefix": "222",
        "tag-action-value": [

        ],
        "routing-tag-ids": [

        ],
        "routing-tag-mode-id": 0
      },
      "relationships": {
        "src-area": {
          "links": {
            "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/1/relationships/src-area",
            "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/1/src-area"
          }
        },
        "dst-area": {
          "links": {
            "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/1/relationships/dst-area",
            "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/1/dst-area"
          }
        },
        "routing-tag": {
          "links": {
            "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/1/relationships/routing-tag",
            "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/1/routing-tag"
          }
        },
        "tag-action": {
          "links": {
            "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/1/relationships/tag-action",
            "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/1/tag-action"
          }
        }
      }
    },
    {
      "id": "2",
      "type": "routing-tag-detection-rules",
      "links": {
        "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/2"
      },
      "attributes": {
        "src-prefix": "111",
        "dst-prefix": "222",
        "tag-action-value": [

        ],
        "routing-tag-ids": [

        ],
        "routing-tag-mode-id": 0
      },
      "relationships": {
        "src-area": {
          "links": {
            "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/2/relationships/src-area",
            "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/2/src-area"
          }
        },
        "dst-area": {
          "links": {
            "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/2/relationships/dst-area",
            "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/2/dst-area"
          }
        },
        "routing-tag": {
          "links": {
            "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/2/relationships/routing-tag",
            "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/2/routing-tag"
          }
        },
        "tag-action": {
          "links": {
            "self": "http://example.org/api/rest/admin/routing-tag-detection-rules/2/relationships/tag-action",
            "related": "http://example.org/api/rest/admin/routing-tag-detection-rules/2/tag-action"
          }
        }
      }
    }
  ],
  "meta": {
    "total-count": 2
  },
  "links": {
    "first": "http://example.org/api/rest/admin/routing-tag-detection-rules?page%5Bnumber%5D=1&page%5Bsize%5D=50",
    "last": "http://example.org/api/rest/admin/routing-tag-detection-rules?page%5Bnumber%5D=1&page%5Bsize%5D=50"
  }
}