Document Relation
Retrieve document relation
Changed onGet a document relation object.
get/api/v1/document_relations/{documentRelationID}
Request
- Base URLhttps://example.rossum.app
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
documentRelationIDinteger required
Document relation ID
Response
OK
Example response
{
"id": 1,
"type": "export",
"annotation": "https://example.rossum.app/api/v1/annotations/314159",
"documents": [
"https://example.rossum.app/api/v1/documents/124",
"https://example.rossum.app/api/v1/documents/125"
],
"url": "https://example.rossum.app/api/v1/document_relations/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 - info
added
subschema #2to the response bodyallOflist for the response status
- breaking