API Reference
Collection
Update collection
code examples curl location globoff request patch 'https //api catenda com/v2/projects/{project id}/libraries/collections/{collection id}' \\ \ header 'accept application/json' \\ \ header 'content type application/json'var myheaders = new headers(); myheaders append("accept", "application/json"); myheaders append("content type", "application/json"); var requestoptions = { method 'patch', headers myheaders, redirect 'follow' }; fetch("https //api catenda com/v2/projects/{project id}/libraries/collections/{collection id}", requestoptions) then(response => response text()) then(result => console log(result)) catch(error => console log('error', error));require "uri" require "json" require "net/http" url = uri("https //api catenda com/v2/projects/{project id}/libraries/collections/{collection id}") https = net http new(url host, url port) https use ssl = true request = net http patch new(url) request\["accept"] = "application/json" request\["content type"] = "application/json" response = https request(request) puts response read body import requests import json url = "https //api catenda com/v2/projects/{project id}/libraries/collections/{collection id}" payload = {} headers = { 'accept' 'application/json', 'content type' 'application/json' } response = requests request("patch", url, headers=headers, data=payload) print(response text) responses // ok { "id" "924809076a694255b589d236517a55da", "name" "collection name", "description" "collection description", "finalized" false, "followlatestrevision" true, "visibility" "private", "createdat" "2023 12 09t10 07 56 000z", "createdby" "524809076a694255b989d236517a55da" }