cURL
curl --request GET \ --url https://dashboard.gratian.pro/api/v2/apps/{appId}/files \ --header 'Authorization: Bearer <token>'
{ "success": true, "data": { "path": "/", "files": [ { "name": "index.js", "type": "file", "size": 4, "modified": "2026-01-12T02:07:09Z", "mime": "text/plain" } ] } }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Caminho do diretório
Página (obrigatório quando houver mais de 100 itens)
x >= 1
Itens por página (máximo 100)
1 <= x <= 100
Lista de arquivos
true
Show child attributes