GET
/
v1
/
apps
/
{appId}
/
files
cURL
curl --request GET \
  --url https://api.camposcloud.com/v1/apps/{appId}/files \
  --header 'Authorization: Bearer <token>'
{
  "isDirectory": true,
  "content": "<string>",
  "files": [
    {
      "name": "emojis.json",
      "isDirectory": false,
      "isFile": true,
      "path": "/Database/emojis.json",
      "size": 3330,
      "createdAt": "2025-07-19T16:02:44.426Z",
      "modifiedAt": "2025-07-19T16:02:44.426Z"
    }
  ],
  "prevPath": null,
  "currentPath": "/Database"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

appId
string
required

ID of the application to retrieve files from

Query Parameters

path
string

The path within the application to retrieve files from. If not provided, retrieves files from the root directory.

Response

200
application/json

Files retrieved successfully

The response is of type object.