Describe Custom URL Category
GET/v1/config/rulestacks/:rulestackname/urlcustomcategories/:name
Return the custom URL category of a specified rule group. This command describes custom categories and the default predefined ones.
Request
Path Parameters
The name of the rulestack.
URL Category.
Query Parameters
Default value: true
Rulestacks in run state.
Rulestack candidate.
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
- InvalidRequestException—Operation failed due to invalid request. For example, unsupported parameter name or value in the request.
- ResourceNotFoundException—Unable to locate a resource using the parameters you provided.
- ThrottlingException—Operation failed due to throttling limitations.
- AccessDeniedException—You do not have sufficient access to perform this action.
- InternalServerError—Your request is valid but Cloud NGFW could not perform the operation due to a system issue.
Response object
The API call response.
Name of the custom URL entry.
Name of the rulestack.
URLCategoryCandidate object
The custom URL candidate.
URLCategoryEntry object
The custom URL category entry.
The custom URL action.
Audit remarks.
Possible values: <= 255 characters
The custom URL description.
Refresh token.
Possible values: <= 255 characters
Custom URL destination.
Possible values: [add
, update
, delete
]
Custom URL operation.
Possible values: <= 29 characters
, Value must match regular expression ^[a-zA-Z][0-9a-zA-Z-]*$
URLCategoryRunning object
The custom URLs on run state.
URLCategoryEntry object
The custom URL category entry.
The custom URL action.
Audit remarks.
Possible values: <= 255 characters
The custom URL description.
Refresh token.
Possible values: <= 255 characters
Custom URL destination.
Possible values: [add
, update
, delete
]
Custom URL operation.
Possible values: <= 29 characters
, Value must match regular expression ^[a-zA-Z][0-9a-zA-Z-]*$
ResponseStatus object
The API call response status.
Default value: 0
Default value of a successful response is 0. Any other number indicates an error code.
400—HTTP bad request
500—Bad request
The error description.
{
"Response": {
"Name": "string",
"RuleStackName": "string",
"URLCategoryCandidate": {
"URLCategoryEntry": {
"Action": "string",
"AuditComment": "string",
"Description": "string",
"UpdateToken": "string",
"UrlTargets": [
"string"
]
},
"operation": "add",
"pk": "string",
"sk": "string"
},
"URLCategoryRunning": {
"URLCategoryEntry": {
"Action": "string",
"AuditComment": "string",
"Description": "string",
"UpdateToken": "string",
"UrlTargets": [
"string"
]
},
"operation": "add",
"pk": "string",
"sk": "string"
}
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}