Suggested Edit
List suggested edits
Changed onRetrieve all suggested edit objects.
get/api/v1/suggested_edits
Request
- Base URLhttps://example.rossum.app
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
page_sizeinteger
Number of results per page
cursorstring
A value used for cursor-based pagination. Obtain this value from the next or previous URLs in a paginated response. Do not construct cursor values manually.
idinteger[]
Object ID(s) filter
annotationinteger[]
Annotation ID(s) filter
ordering'annotation' | '-annotation'
Result ordering.
Response
OK
Example response
{
"results": [
{
"id": 314528,
"url": "https://example.rossum.app/api/v1/suggested_edits/314528",
"annotation": "https://example.rossum.app/api/v1/annotations/314528",
"documents": [
{
"pages": [
{
"page": "https://example.rossum.app/api/v1/pages/314554"
}
],
"target_queue": "https://example.rossum.app/api/v1/queues/314528",
"values": {
"edit:document_type": "invoice"
}
}
]
}
]
}Changes
- breaking
the
/response's property type changed fromobjectto 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 - info
added
subschema #2to the/response propertyallOflist for the response status
- breaking