Classifier
Retrieves classifiers for the selected system, visible to the current user.
Path parameters
system_idintegerRequired
System ID
Responses
200
Classifier list response
application/json
401
Unauthorized
application/json
500
Internal Server Error
application/json
get/api/systems/{system_id}/classifiers
GET /api/systems/{system_id}/classifiers HTTP/1.1
Accept: */*
{
"data": [
{
"id": 1,
"name": "example"
}
]
}Creates a new classifier in the selected system.
Path parameters
system_idintegerRequired
System ID
Body
Responses
201
Classifier created
application/json
401
Unauthorized
application/json
403
Forbidden
application/json
422
Unprocessable Entity
application/json
500
Internal Server Error
application/json
post/api/systems/{system_id}/classifiers
POST /api/systems/{system_id}/classifiers HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 178
{
"classifier": {
"filters": [
{
"field": "type",
"type": "values",
"values": [
"TABLE"
]
}
],
"name": "example",
"rules": [
{
"class": "customer",
"path": [
"name"
],
"priority": 0,
"values": [
"example"
]
}
]
}
}{
"data": {
"filters": [
{
"field": "type",
"type": "values",
"values": [
"TABLE"
]
}
],
"id": 1,
"name": "example",
"rules": [
{
"class": "customer",
"path": [
"name"
],
"priority": 0,
"values": [
"example"
]
}
]
}
}Deletes the specified classifier from the selected system.
Path parameters
system_idintegerRequired
System ID
idintegerRequired
Classifier ID
Responses
204
Classifier deleted
No content
401
Unauthorized
application/json
403
Forbidden
application/json
500
Internal Server Error
application/json
delete/api/systems/{system_id}/classifiers/{id}
DELETE /api/systems/{system_id}/classifiers/{id} HTTP/1.1
Accept: */*
No content
Last updated