Partial update email thread
Changed onUpdate part of email thread object.
Request
- Base URLhttps://example.rossum.app
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of the email thread
Request body
Example request
{
"id": 1244,
"url": "https://example.rossum.app/api/v1/email_threads/456",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"queue": "https://example.rossum.app/api/v1/queues/8198",
"root_email": "https://example.rossum.app/api/v1/emails/1234",
"created_at": "2021-06-10T12:38:44.866180Z",
"last_email_created_at": "2021-11-01T18:02:24.740600Z",
"subject": "Root email subject",
"from": {
"email": "satisfied.customer@rossum.ai",
"name": "Satisfied Customer"
},
"labels": [],
"annotation_counts": {
"annotations": 4,
"annotations_processed": 2,
"annotations_purged": 0,
"annotations_rejected": 1,
"annotations_unprocessed": 1
}
}Response
OK
Example response
{
"id": 1244,
"url": "https://example.rossum.app/api/v1/email_threads/456",
"organization": "https://example.rossum.app/api/v1/organizations/406",
"queue": "https://example.rossum.app/api/v1/queues/8198",
"root_email": "https://example.rossum.app/api/v1/emails/1234",
"created_at": "2021-06-10T12:38:44.866180Z",
"last_email_created_at": "2021-11-01T18:02:24.740600Z",
"subject": "Root email subject",
"from": {
"email": "satisfied.customer@rossum.ai",
"name": "Satisfied Customer"
},
"labels": [],
"annotation_counts": {
"annotations": 4,
"annotations_processed": 2,
"annotations_purged": 0,
"annotations_rejected": 1,
"annotations_unprocessed": 1
}
}Changes
- breaking
the response's body type changed from
objectto no type for status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - info
added
subschema #2to the response bodyallOflist for the response status
- breaking