Skip to main content
Link two documents

Authorizations

token
string
query
required

Standard authorization for most API calls. This token identifies the logged-in user and their permissions. It is obtained either as a temporary token after a successful login or as a long-term API key.

Body

application/json
sourceId
string
required

Identifier of the document the link is recorded as starting from. Which of the two ends is the source is remembered but carries no meaning - the link works the same either way.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

targetId
string
required

Identifier of the document the link is recorded as pointing to.

Minimum string length: 1
Pattern: ^[A-Za-z0-9_-]+$
Example:

"a0d01c9d-f72f-4c57-af11-e26bda19cc59"

removable
boolean
default:true

Whether the link may be taken away again. Turning it off makes the link permanent: DELETE /links refuses it, and nothing else in the platform removes a link.

Example:

true

Response

The link was created.

status
string

Outcome of the operation, reported as a status type constant.

Example:

"SUCCESS"