➟ /collections/create

Use this endpoint to create a collection where you can add data to it.


For more information about this API swagger specification, see here

This page is a work in progress

A collection is used to store a set of files or 'directory' of data in the Filecoin network. This can be used for bulk 'directory' uploads from a typical hierarchical files system.

To add files to this collection or 'directory' (which are pinned as child of the CID created for this collection), use the Add Content POST API call.

curl -X POST https://api.estuary.tech/collections/create -d '{ "name": "A new collection", "description": "A new collection test" }' -H "Content-Type: application/json" -H "Authorization: Bearer REPLACE_ME_WITH_API_KEY"
JavaScript with React