Engine
Partial update engine
Changed onUpdate part of an engine object.
patch/api/v1/engines/{engineID}
Request
- Base URLhttps://example.rossum.app
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
engineIDinteger required
ID of the engine
Request body
Example request
{
"id": 3,
"url": "https://example.rossum.app/api/v1/engines/8",
"name": "Engine name",
"type": "extractor",
"learning_enabled": true,
"description": "AI engine trained to recognize data for the specific data capture requirement",
"agenda_id": "ross_a9d9vkl1",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"training_queues": [
"https://example.rossum.app/api/v1/queues/8199",
"https://example.rossum.app/api/v1/queues/8236"
],
"settings": {
"use_case": "generic_ap"
},
"created_by": "https://example.rossum.app/api/v1/users/10775",
"created_at": "2021-04-26T10:08:03.856648Z",
"modified_by": "https://example.rossum.app/api/v1/users/10775",
"modified_at": "2021-04-26T10:08:03.856648Z"
}Response
OK
Example response
{
"id": 3,
"url": "https://example.rossum.app/api/v1/engines/8",
"name": "Engine name",
"type": "extractor",
"learning_enabled": true,
"description": "AI engine trained to recognize data for the specific data capture requirement",
"agenda_id": "ross_a9d9vkl1",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"training_queues": [
"https://example.rossum.app/api/v1/queues/8199",
"https://example.rossum.app/api/v1/queues/8236"
],
"settings": {
"use_case": "generic_ap"
},
"created_by": "https://example.rossum.app/api/v1/users/10775",
"created_at": "2021-04-26T10:08:03.856648Z",
"modified_by": "https://example.rossum.app/api/v1/users/10775",
"modified_at": "2021-04-26T10:08:03.856648Z"
}Changes
- info
the
request property default value changed from{}to{"use_case":"generic_ap"} - info
the
response's property default value changed from{}to{"use_case":"generic_ap"}for the status
- info
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info