List
List
Query Parameters
The cursor
Default value: 10
The maximum number of results
The project id - if provided, must also provide the project type
Possible values: [SMART_CONTENT
, CONTENT_GENERATION
]
The project type - if provided, must also provide the project id
Possible values: [USER
, PROJECT
]
The scope
- 200
- 400
- 401
Found.
Schema
- Array [
- Array [
- ]
- ]
The link to the first page.
items object[] required
An array of objects.
The create date-time.
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 last modified date-time.
The rule name.
Possible values: [SMART_CONTENT
, CONTENT_GENERATION
]
The project type, if applicable.
Possible values: [USER
, PROJECT
]
The rule scope.
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
, REGEX
, REGEX_DOESNT_MATCH
]
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": [
{
"created_at": "2024-12-19T10:40:03.871Z",
"description": "string",
"fixes": [
{
"type": "FIND_AND_REPLACE",
"what": "string",
"with": "string"
}
],
"id": 0,
"is_enabled": true,
"level": "RECOMMENDED",
"modified_at": "2024-12-19T10:40:03.871Z",
"name": "string",
"project_id": 0,
"project_type": "SMART_CONTENT",
"scope": "USER",
"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"
}
Bad request
Authentication Failure