List files in dataset
List all files and directories in specified prefix.
Authorizations
Path parameters
organizationIdintegerRequired
Organization ID
datasetstringRequired
Dataset name
Body
prefixstringRequired
S3 prefix
continuationTokenstringOptional
Only one S3 page (1000 items typically) is returned. Pass in the continuationToken on the next request to receive the next page.
onlyFetchFoldersbooleanOptional
If set, then no files will be returned
Responses
200
OK
application/json
Responseall of
post
POST /v1/api/organizations/{organizationId}/dataset/{dataset}/files HTTP/1.1
Host: studio.edgeimpulse.com
x-api-key: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 68
{
"prefix": "text",
"continuationToken": "text",
"onlyFetchFolders": true
}
200
OK
{
"success": true,
"error": "text",
"files": [
{
"name": "text",
"addedDate": "2019-07-21T17:32:28Z",
"size": 1,
"ETag": "text",
"path": "text",
"type": "folder"
}
],
"continuationToken": "text"
}
Last updated
Was this helpful?