Skip to main content
GET
Download an app’s source

Authorizations

Authorization
string
header
required

Effective API key. Send Authorization: Bearer sk-eai-...

Query Parameters

appId
string
required

The app whose source to download.

Maximum string length: 63
Pattern: ^app-[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$
branch
string
default:main

Branch to download, main by default.

Required string length: 1 - 255

Response

The branch’s commit and where to download its folder.

sourceSha
string
required

The branch’s current commit, which the archive holds. Commit your edits on it as baseSha.

Pattern: ^(?:[0-9a-f]{40}|[0-9a-f]{64})$
url
string<uri>
required

Signed URL of the app folder as a gzip tar. GET it with no Authorization header.

expiresAt
string<date-time>
required

When the URL stops working; download again for a new one.