Updated on Apr 20, 2024
1
min read
API (/collection)
POST
Updated on Apr 20, 2024
1
min read
API (/collection)
POST
Updated on Apr 20, 2024
1
min read
API (/collection)
POST
POST /collection
Create a new collection.
URL:
POST https://api.vesana.dev/v1/collection
Headers:
Content-Type: application/json x-Vesana-API-key: YOUR_API_KEY
Response:
{ "status": "success", "collection_id": "string" }
Example:
POST /v1/collection HTTP/1.1 Host: api.vesana.dev x-Vesana-API-key: YOUR_API_KEY Content-Type: application/json
Example Response:
{ "status": "success", "collection_id": "4321" }
See https://vesana.dev/docs/auth-error for error details in case of "status": "error"
POST /collection
Create a new collection.
URL:
POST https://api.vesana.dev/v1/collection
Headers:
Content-Type: application/json x-Vesana-API-key: YOUR_API_KEY
Response:
{ "status": "success", "collection_id": "string" }
Example:
POST /v1/collection HTTP/1.1 Host: api.vesana.dev x-Vesana-API-key: YOUR_API_KEY Content-Type: application/json
Example Response:
{ "status": "success", "collection_id": "4321" }
See https://vesana.dev/docs/auth-error for error details in case of "status": "error"
POST /collection
Create a new collection.
URL:
POST https://api.vesana.dev/v1/collection
Headers:
Content-Type: application/json x-Vesana-API-key: YOUR_API_KEY
Response:
{ "status": "success", "collection_id": "string" }
Example:
POST /v1/collection HTTP/1.1 Host: api.vesana.dev x-Vesana-API-key: YOUR_API_KEY Content-Type: application/json
Example Response:
{ "status": "success", "collection_id": "4321" }
See https://vesana.dev/docs/auth-error for error details in case of "status": "error"