Skip to content

Create a link between two items

POST
/links

Authorizations

BearerAuth

JWT token from login

Type
HTTP (bearer)
or
AccessToken

Personal access token. Value: Token <your-token>

Type
API Key (header: Authorization)

Request Body

application/json
JSON
{
  
"source_id": "string",
  
"source_type": "string",
  
"target_id": "string",
  
"target_type": "string",
  
"label": "string"
}

Responses

Link created

application/json
JSON
{
  
"link": {
  
  
"_id": "string",
  
  
"source_id": "string",
  
  
"source_type": "string",
  
  
"target_id": "string",
  
  
"target_type": "string",
  
  
"label": "string",
  
  
"owner": "string",
  
  
"host_id": "string"
  
}
}

Playground

Authorization
Body

Samples

Powered by VitePress OpenAPI