List relations
Changed onRetrieve all relation objects (annotations from queues not with active status are excluded).
Request
- Base URLhttps://example.rossum.app
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Number of results per page
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.
Object ID(s) filter
Relation type. Multiple values may be separated using a comma.
ID of parent annotation. Multiple values may be separated using a comma.
Relation key
Annotation ID(s) filter
Result ordering.
Response
OK
Example response
{
"results": [
{
"id": 1,
"type": "edit",
"parent": "https://example.rossum.app/api/v1/annotations/123",
"annotations": [
"https://example.rossum.app/api/v1/annotations/124",
"https://example.rossum.app/api/v1/annotations/125"
],
"url": "https://example.rossum.app/api/v1/relations/1"
}
]
}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 - 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