cURL
curl --request POST \ --url 'https://api.example.com/api/v1/datasource/{datasource_id}/collection?api_key=' \ --header 'Content-Type: multipart/form-data' \ --form collection_file='@example-file'
{ "message": "Data created successfully", "meta": {}, "data": { "ds_type": "pdf", "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "description": "<string>", "attributes": {}, "ds_status": "empty", "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } }
add a new collection file to a datasource
Your API key for authentication. You can generate it from the Settings page. Format: starts with in-.
in-
Successful Response
Show child attributes
Was this page helpful?