Skip to main content
POST
Get app code files

Authorizations

Authorization
string
header
required

Personal access token, sent as Authorization: Bearer <token>.

Path Parameters

app_id
string
required

ID of the app whose code to read.

Body

application/json

The files to read.

paths
string[]
required

Paths of up to 32 files, relative to the app root.

Required array length: 1 - 32 elements
Example:
max_bytes
integer
default:5242880

Most bytes of file text to return across all the files, up to 5242880 (5 MB).

Required range: x <= 5242880
Example:

1048576

Response

Each file's text, or why it couldn't be read.

The text of each file you asked for.

files
Files · object
required

Each file, keyed by its path relative to the app root.

Example: