Query DB for Tenant Extensions (v2.0)
POST/sdwan/v2.0/api/extensions/query
Query DB for limit number of tenant extensions that match the query params.
Request
- application/json
Body
Tenant details
conf objectrequired
disabled boolean
List the disabled extensions.
id string
The ID.
name stringrequired
The name of the extension. Max size = 128.
namespace stringrequired
The extension namespace. Values = ^[a-z][a-z0-9/]*[a-z0-9]+$
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
count int32
The actual count.
deleted_count int64
The deleted number.
deleted_ids string[]
The deleted IDs.
description
Description of the query. Max size = 256.
id string
The ID.
next_query object
Details of the next query.
total_count int64
Total number.
items ExtensionQueryFilter[]
conf objectrequired
disabled boolean
List the disabled extensions.
id string
The ID.
name stringrequired
The name of the extension. Max size = 128.
namespace stringrequired
The extension namespace. Values = ^[a-z][a-z0-9/]*[a-z0-9]+$
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"total_count": 0,
"items": [
{
"conf": {},
"disabled": true,
"id": "string",
"name": "string",
"namespace": "string"
}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "BAD_REQUEST"
}
]
}
}
Loading...