Get a rule by ID

get

/api/rule/Rules/{id}

Gets the rule that matches the specified ID.

Request

Path Parameters
  • The path to the rules file to get, prefixed with id-. For example, to get the rules under a the discovery branch node, use id-core/default/collection/discovery. To get a the rules file for a specific leaf node, use id-core/default/collection/discovery/auto/base.includes.

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

Successful operation
Body ()
Root Schema : schema
Match All
Show Source
Nested Schema : SuccessfulGetOperation
Type: object
Show Source
Nested Schema : type
Type: object
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : ruleRulesRead
Type: object
Show Source

Default Response

Failed operation
Body ()
Root Schema : schema
Type: object
Show Source
Nested Schema : errors
Type: array
The list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type: object
Back to Top