Classification Library
Catenda projects support classification libraries. Use a classification library to store classification references. All items in the classification library are library items.
List classification references
Use the list library items endpoint with the following supported parameters to limit the result:
- associations
- search
Create a classification reference
Use the create library item endpoint to create a classification reference.
Prepare request body
Set the necessary fields of the JSON request body.
{
"name": "Classification name",
"type": "classification",
"classification": {
"identification": "A1",
"description": "Classification description"
}
}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": "Classification name",
"type": "classification",
"classification": {
"identification": "A1",
"description": "Classification description"
}
}'