➟ /content/add

To add content to a collection that you have already created with the 'create collection' POST API call, use the /content/add endpoint passing the coluuid and dir (optional) query parameters.

?coluid=UUID-OF-YOUR-COLLECTION

Adding this query paramter will add the file to any collection.

?dir=/path/to/thing

Adding this query parameter will add the file to a specific path in the collection

Swagger

For more information about this API swagger specification, see here

CURL
curl -X POST 'https://upload.estuary.tech/content/add?coluuid=REPLACE_ME_WITH_COLLECTION_ID&dir=/REPLACE_ME_WITH_DESIRED_DIRECTORY ' -H 'Accept: application/json' -H "Authorization: Bearer REPLACE_ME_WITH_API_KEY" -H 'Content-Type: multipart/form-data' -F 'data=@REPLACE_ME_WITH_YOUR_FILE_PATH'
JavaScript with React
Errors
Response

null