cURL
curl --request POST \ --url https://api.quiva.ai/hub/collections \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "MyNewCollection", "collection_type": "node", "description": "Collection for storing node templates" } '
201
Example
{ "subject": "ms.hub.config.collection.node.1234567890", "name": "MyNewCollection", "collection_type": "node", "topic": "1234567890", "description": "Collection for storing node templates", "modified": 1651395678}
Creates a new collection for organizing nodes or workflows
JWT Authorization header using the Bearer scheme
Name of the collection
Type of the collection (node or workflow)
node
workflow
Optional description of the collection
Collection created successfully
Subject identifier for the collection
Hash of the collection name
Description of the collection
Timestamp of last modification