Get Revision History for a Rules File
get
/api/rule/Rules/readRevisionHistory
Gets the revision history for the specified file.
Request
Query Parameters
-
limit: integer(int32)
The number of records to limit results by. If you do not also set the start parameter, records start at 0.Example:
100 -
node: string
The path to the node to get rules for, prefixed with id-.Example:
id-core/example/auto/base.rules -
start: integer(int32)
The page of results to start from. This parameter is ignored if you do not also set the limit parameter.Default Value:
0Example:1
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Root Schema : schema
Type:
Show Source
object-
data: array
data
The revision history of the specified rules file.
-
message: string
The response message.Example:
Loaded file -
success: boolean
Whether the operation was a success (true) or failure (false).Example:
true
Nested Schema : ruleRulesreadRevisionHistory
Type:
Show Source
object-
Node: string
User Group ID parent node of UsersExample:
core/RO_LOCKED/example/auto/base.rules -
RevisionID: integer
Revision IDExample:
3 -
RevisionName: string
Revision NameExample:
r3 [2023-08-04] Updates for package core-rules-6.0.3.0.0.53(1/19)
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown -
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
Nested Schema : errors
Type:
arrayThe list of errors reported. Validation errors will be keyed by record field.
Show Source
-
Array of:
object items
An error.
Nested Schema : items
Type:
objectAn error.