Updated on 20 abr 2024

Lectura de

1

min

API (/collection)

POST

Updated on 20 abr 2024

Lectura de

1

min

API (/collection)

POST

Updated on 20 abr 2024

Lectura de

1

min

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"