POST
/
api
/
portals
/
{portalId}
/
files
List files in portal
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>"
}

Authorizations

x-api-key
string
header
required

Path Parameters

portalId
integer
required

Portal ID

Body

application/json

Response

200 - application/json

OK

The response is of type object.