Get Access List for Element (v2.1)
GET/v2.1/api/tenants/:tenant_id/sites/:site_id/elements/:element_id/routing_aspathaccesslists
List all the access lists for the element.
Request
Path Parameters
ID of the tenant.
The ID of the site.
The ID of the element.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
- Array [
- Array [
- ]
- ]
as_path_regex_list ASPathRegex[]
The AS Path Regex expression list.
The AS Path Regex expression.
The order of the AS Path Regex.
The value true or false if AS path regex is allowed.
The value true or false for auto-generated access lists.
The description of the access list. Max size = 1024.
The ID of the access list.
The name of the access list. Max size = 128.
A information field that can be added to identify the access list. Maximum 10 unique tags of length 1024 each are allowed.
The actual count.
The ID.
The tenant ID.
items RoutingAccessListV2N1[]
as_path_regex_list ASPathRegex[]
The AS Path Regex expression list.
The AS Path Regex expression.
The order of the AS Path Regex.
The value true or false if AS path regex is allowed.
The value true or false for auto-generated access lists.
The description of the access list. Max size = 1024.
The ID of the access list.
The name of the access list. Max size = 128.
A information field that can be added to identify the access list. Maximum 10 unique tags of length 1024 each are allowed.
{
"count": 0,
"id": "string",
"tenant_id": "string",
"items": [
{
"as_path_regex_list": [
{
"as_path_regex": "string",
"order": 0,
"permit": true
}
],
"auto_generated": true,
"id": "string",
"name": "string",
"tags": [
"string"
]
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "ELEMENT_NOT_ASSIGNED_TO_SITE"
}
]
}
}