cURL
curl --request POST \ --url https://studio.edgeimpulse.com/v1/api/portals/{portalId}/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.
Portal ID
OK
The response is of type object.
object