Skip to main content
GET
Get an app code file

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.

Query Parameters

path
string
required

Path of the file, relative to the app root.

Response

The file's text.

One file's text.

path
string
required

Path of the file, relative to the app root.

Example:

"src/pages/Home.jsx"

content
string
required

The file's full text.

Example:

"export default function Home() {\n return <h1>Home</h1>;\n}\n"