Describe commit status for a RuleStack
GET/v1/config/rulestacks/:rulestackname/commit
View the commit status of a specified rulestack.
Request
Path Parameters
rulestackname stringrequired
The name of the rulestack.
- application/json
Body
object
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.
- LimitExceededException—Operation failed due to violation in limit settings.
- ThrottlingException—Operation failed due to throttling limitations.
- InternalServerError—Your request is valid but Cloud NGFW could not perform the operation due to a system issue.
Response object
CommitMessages string[]
Rulestack commit message.
CommitStatus Commitstatus (string)
Rulestack commit status.
RuleStackName Rulestackname (string)
Name of the rulestack.
ValidateMessages string[]
Validate rulestack commit.
ValidateStatus Validatestatus (string)
Rulestack validation status.
ResponseStatus object
ErrorCode Errorcode (integer)
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
Reason Reason (string)
The error description.
{
"Response": {
"CommitMessages": [
"string"
],
"CommitStatus": "string",
"RuleStackName": "string",
"ValidateMessages": [
"string"
],
"ValidateStatus": "string"
},
"ResponseStatus": {
"ErrorCode": 0,
"Reason": "string"
}
}
Loading...