curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/dataset/{dataset}/files \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"prefix": "<string>",
"continuationToken": "<string>",
"onlyFetchFolders": true
}'
{
"success": true,
"error": "<string>",
"files": [
{
"name": "<string>",
"addedDate": "2019-07-21T17:32:28Z",
"size": 123,
"ETag": "<string>",
"path": "<string>",
"type": "folder"
}
],
"continuationToken": "<string>"
}
List all files and directories in specified prefix.
curl --request POST \
--url https://studio.edgeimpulse.com/v1/api/organizations/{organizationId}/dataset/{dataset}/files \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '{
"prefix": "<string>",
"continuationToken": "<string>",
"onlyFetchFolders": true
}'
{
"success": true,
"error": "<string>",
"files": [
{
"name": "<string>",
"addedDate": "2019-07-21T17:32:28Z",
"size": 123,
"ETag": "<string>",
"path": "<string>",
"type": "folder"
}
],
"continuationToken": "<string>"
}
OK
The response is of type object
.