Skip to main content

Create a new collection

This endpoint is used to create a new collection. A collection is a representaion of a group of objects added on the estuary. This endpoint can be used to create a new collection.

Request Body REQUIRED

Collection name and description

description string
name string
Responses
200

OK

Schema OPTIONAL
cid string OPTIONAL
createdAt string OPTIONAL
description string OPTIONAL
name string OPTIONAL
userId integer OPTIONAL
uuid string OPTIONAL
400

Bad Request

Schema OPTIONAL
code integer OPTIONAL
details string OPTIONAL
reason string OPTIONAL
404

Not Found

Schema OPTIONAL
code integer OPTIONAL
details string OPTIONAL
reason string OPTIONAL
500

Internal Server Error

Schema OPTIONAL
code integer OPTIONAL
details string OPTIONAL
reason string OPTIONAL