➟ /collections/

Use the POST method on this endpoint to create a collection where you can add data to it.

Swagger

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
curl -X POST "https://api.estuary.tech/collections/" -H "Accept: application/json"  -H "Authorization: Bearer REPLACE_ME_WITH_API_KEY" -d '{"name":"COLLECTION_NAME", "description":"COLLECTION_DESCRIPTION"}'
JavaScript with React
Errors
Response
null