Skip to main content
GET
/
apps
/
{appId}
/
files
/
content
Ler Conteúdo de Arquivo
curl --request GET \
  --url https://dashboard.gratian.pro/api/v2/apps/{appId}/files/content \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "path": "index.js",
    "content": "console.log('hello world');"
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

appId
string
required

Query Parameters

path
string
required

Caminho do arquivo

Response

200 - application/json

Conteúdo do arquivo

success
boolean
Example:

true

data
object