Skip to main content

AddItemLink

Add links to related items (using DisplayID)

Description

Add links to related items

Method

POST

Request URL Format

/api/v0/applications/:app-id/datastores/:datastore-id/items/addlink/:item-id

URL Params

app-id          : Application ID (ID entered from the Hexabase screen or internal ID [p_id])
datastore-id : Data store ID (ID entered from the Hexabase screen or internal ID [d_id])
item-id : ID of the subject item

Payload

{
"link_datastore_id": "DATABASE_2", // Data store ID (specify ID entered from the Hexabase screen)
"link_item_id": "5d4c055eaa39555618ac9e6a" // Item ID to be added
}

Request URL Sample

POST https://api.xxx.com/api/v0/applications/APPNAME/datastores/DATABASE_1/items/addlink/5d4c058baa39555618ac9e8b

Response Sample

null