Custom-Url-Category - Distributed Secure Internet GateWay API References (1.5.0)
Download OpenAPI specification:Download
Custom Url Categories.
Get CustomUrlCategories
Get Custom-Url-Category resources.
Authorizations:
query Parameters
id | string ^[a-fA-F0-9]{8}(-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$ The ID of the resource. |
name | string ^[a-zA-Z]{1}[a-zA-Z0-9-\_\.]{0,30}$ A name of the resource. |
cellGroupId | string ^[a-fA-F0-9]{8}(-[a-fA-F0-9]{4}){3}-[a-fA-F0-9]{12}$ The Cell-Group ID which the resource belongs. |
header Parameters
X-Auth-Token required | string The keystone token. |
Responses
200
OK
400
Bad Request
401
Unauthorized
500
Internal Server Error
get/v1/custom-url-categories
https://api.ntt.com/dsigw-erg/v1/custom-url-categories
Response samples
- 200
- 400
- 401
- 500
Content type
application/json
Copy
Expand all Collapse all {- "customUrlCategories": [
- {
- "id": "2944a32f-3fb7-430e-9134-5eb611be23f6",
- "name": "test",
- "cellGroupId": "047ae2a5-c763-4bea-9171-e178d08951ca",
- "urls": [
- "fuga.com"
], - "tenantId": "12345678abcdabcdabcd1234567890ab",
- "createdAt": "2020-08-27T10:04:04Z",
- "updatedAt": "2020-08-27T10:04:04Z"
}
]
}
Create Custom-Url-Category
Create a Custom-Url-Category resource.
Authorizations:
header Parameters
X-Auth-Token | string The keystone token. |
Request Body schema: application/json
customUrlCategory required | object (CustomUrlCategoryCreateRequest) |
Responses
200
OK
400
Bad Request
401
Unauthorized
500
Internal Server Error
post/v1/custom-url-categories
https://api.ntt.com/dsigw-erg/v1/custom-url-categories
Request samples
- Payload
Content type
application/json
Copy
Expand all Collapse all {- "customUrlCategory": {
- "name": "test",
- "cellGroupId": "047ae2a5-c763-4bea-9171-e178d08951ca",
- "urls": [
- "fuga.com"
]
}
}
Response samples
- 200
- 400
- 401
- 500
Content type
application/json
Copy
Expand all Collapse all {- "customUrlCategory": {
- "id": "2944a32f-3fb7-430e-9134-5eb611be23f6",
- "name": "test",
- "cellGroupId": "047ae2a5-c763-4bea-9171-e178d08951ca",
- "urls": [
- "fuga.com"
], - "tenantId": "12345678abcdabcdabcd1234567890ab",
- "operationId": "f2393b68-12b0-4ad6-8c3c-012f0a4136d7",
- "createdAt": "2020-08-27T10:04:04Z",
- "updatedAt": "2020-08-27T10:04:04Z"
}
}
Get Custom-Url-Category Details
Get a Custom-Url-Category resource.
Authorizations:
path Parameters
custom_url_category_id required | string |
header Parameters
X-Auth-Token | string The keystone token. |
Responses
200
OK
400
Bad Request
401
Unauthorized
404
Not Found
500
Internal Server Error
get/v1/custom-url-categories/{custom_url_category_id}
https://api.ntt.com/dsigw-erg/v1/custom-url-categories/{custom_url_category_id}
Response samples
- 200
- 400
- 401
- 404
- 500
Content type
application/json
Copy
Expand all Collapse all {- "customUrlCategory": {
- "id": "2944a32f-3fb7-430e-9134-5eb611be23f6",
- "name": "test",
- "cellGroupId": "047ae2a5-c763-4bea-9171-e178d08951ca",
- "urls": [
- "fuga.com"
], - "tenantId": "12345678abcdabcdabcd1234567890ab",
- "createdAt": "2020-08-27T10:04:04Z",
- "updatedAt": "2020-08-27T10:04:04Z"
}
}
Update Custom-Url-Category
Update a Custom-Url-Category resource.
Authorizations:
path Parameters
custom_url_category_id required | string |
header Parameters
X-Auth-Token | string |
Request Body schema: application/json
customUrlCategory required | object (CustomUrlCategoryUpdateRequest) |
Responses
200
OK
400
Bad Request
401
Unauthorized
404
Not Found
500
Internal Server Error
patch/v1/custom-url-categories/{custom_url_category_id}
https://api.ntt.com/dsigw-erg/v1/custom-url-categories/{custom_url_category_id}
Request samples
- Payload
Content type
application/json
Copy
Expand all Collapse all {- "customUrlCategory": {
- "name": "test_updated"
}
}
Response samples
- 200
- 400
- 401
- 404
- 500
Content type
application/json
Copy
Expand all Collapse all {- "customUrlCategory": {
- "id": "2944a32f-3fb7-430e-9134-5eb611be23f6",
- "name": "test_updated",
- "cellGroupId": "047ae2a5-c763-4bea-9171-e178d08951ca",
- "urls": [
- "fuga.com"
], - "tenantId": "12345678abcdabcdabcd1234567890ab",
- "operationId": "f7e966a2-9460-4907-9710-776e95cd0724",
- "createdAt": "2020-08-27T10:04:04Z",
- "updatedAt": "2020-08-27T10:32:35Z"
}
}
Delete Custom-Url-Category
Delete a Custom-Url-Category resource.
Authorizations:
path Parameters
custom_url_category_id required | string |
header Parameters
X-Auth-Token | string |
Responses
200
OK
400
Bad Request
401
Unauthorized
404
Not Found
500
Internal Server Error
delete/v1/custom-url-categories/{custom_url_category_id}
https://api.ntt.com/dsigw-erg/v1/custom-url-categories/{custom_url_category_id}
Response samples
- 400
- 401
- 404
- 500
Content type
application/json
Copy
Expand all Collapse all {- "errorCode": 400,
- "errorMessage": "Invalid request",
- "moreInfo": "{{moreInfo}}"
}