List Rules
List Rules
Path Parameters
The Content Generation id.
Query Parameters
The cursor
Default value: 10
The maximum number of results
- 200
- 401
Found.
Schema
- Array [
- Array [
- ]
- ]
The link to the first page.
items object[] required
An array of objects.
The parent content generation id.
Description for the rule
fixes object[]
The list of fixes to apply when the rule validation fails.
Possible values: [FIND_AND_REPLACE
, OPEN_AI
, APPEND
]
Possible values: [RECOMMENDED
, REQUIRED
]
The rule level.
The rule name.
The rule type, one of field
, word
or code
. By default field
.
Possible values: [EVERYWHERE
, FIRST_SENTENCE
, LAST_SENTENCE
]
The left hand side operand for what condition.
The right hand side operand for what condition.
Possible values: [CONTAINS
, DOESNT_CONTAIN
, ENDS_WITH
]
The operator for what condition.
The left hand side operand for when condition.
The right hand side operand for when condition.
Possible values: [ALWAYS
, EQUALS
, NOT_EQUALS
]
The operator for when condition.
The link to the last page.
The link to the next page or null
if there's no page.
The link to the previous page or null
if there's no page.
The link to the current page.
{
"first": "string",
"items": [
{
"content_generation_id": 0,
"description": "string",
"fixes": [
{
"type": "FIND_AND_REPLACE",
"what": "string",
"with": "string"
}
],
"id": 0,
"level": "RECOMMENDED",
"name": "string",
"type": "string",
"what_operand_lhs": "EVERYWHERE",
"what_operand_rhs": "string",
"what_operator": "CONTAINS",
"when_operand_lhs": "string",
"when_operand_rhs": "string",
"when_operator": "ALWAYS"
}
],
"last": "string",
"next": "string",
"prev": "string",
"self": "string"
}
Authentication Failure