Link Library
All Catenda projects have a link library, use the link library to store links. All items in the link library are library items.
List links
Use the list library items endpoint with the following supported parameters to limit the result:
- associations
- search
Create a link
Use the create library item endpoint to create a link.
Prepare request body
Set the necessary fields of the JSON request body.
{
"name": "Link name",
"type": "link",
"link": {
"url": "https://www.example.com"
}
}Make request
Send a POST request to the endpoint.
curl -X POST \
'https://api.catenda.com/v2/projects/{project-id}/libraries/{library-id}/items' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer YOUR_ACCESS_TOKEN' \
--header 'Content-Type: application/json' \
--data-raw '{
"name": "Link name",
"type": "link",
"link": {
"url": "https://www.example.com"
}
}'Update a link
Use the update library item endpoint with the following supported parameters:
- name