App updates
App updates: 19 operations, tagged app-updates in the OpenAPI document.
| Method | Path | Summary |
|---|---|---|
GET |
/api/app-updates/binaries |
List an application’s binaries, newest version first |
POST |
/api/app-updates/binaries |
Publish an uploaded binary to a channel in a variant |
GET |
/api/app-updates/binaries/{id} |
Get one binary |
GET |
/api/app-updates/binary-check |
Whether a binary of a runtime version is published on a channel |
GET |
/api/app-updates/binary-files/{applicationCode}/{sha256} |
What the platform read from an uploaded binary (404 when the application has not uploaded it) |
PUT |
/api/app-updates/binary-files/{applicationCode}/{sha256} |
Upload one binary (an APK) by its SHA-256 |
GET |
/api/app-updates/branches |
List an application’s branches with what is live on each |
POST |
/api/app-updates/files/{applicationCode}/missing |
Which of these files the application has not stored |
PUT |
/api/app-updates/files/{applicationCode}/{sha256} |
Store one update file by its SHA-256 |
GET |
/api/app-updates/install-links |
List an application’s install links (never their tokens) |
POST |
/api/app-updates/install-links |
Create the install link of a phone app’s channel |
DELETE |
/api/app-updates/install-links/{id} |
Remove an install link; its address stops working |
POST |
/api/app-updates/install-links/{id}/replace |
Give an install link a new token; the old address stops working |
POST |
/api/app-updates/rollback |
Roll a branch back to its previous update or to the embedded bundle |
GET |
/api/app-updates/updates |
List an application’s updates, newest first |
POST |
/api/app-updates/updates |
Publish an update |
GET |
/api/app-updates/updates/{id} |
Get one update with its files |
POST |
/api/app-updates/updates/{id}/republish |
Make an earlier update live again |
PUT |
/api/app-updates/updates/{id}/rollout |
Change an update’s rollout |
Operations
Section titled “Operations”GET /api/app-updates/binaries
Section titled “GET /api/app-updates/binaries”List an application’s binaries, newest version first
Operation ID: listAppBinaries
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationCode |
query | string | yes | |
appKey |
query | string | no | |
platform |
query | string | no | |
channel |
query | string | no | |
variant |
query | string | no | |
runtimeVersion |
query | string | no | |
page |
query | integer (int64) | no | |
size |
query | integer (int64) | no | |
limit |
query | integer (int64) | no | |
pageSize |
query | integer (int64) | no | |
page_size |
query | integer (int64) | no |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json OffsetPageAppBinaryResponse |
default |
Error | application/json ErrorModel |
POST /api/app-updates/binaries
Section titled “POST /api/app-updates/binaries”Publish an uploaded binary to a channel in a variant
Operation ID: publishAppBinary
Request body (required)
| Content type | Schema |
|---|---|
application/json |
PublishBinaryRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json PublishBinaryResponse |
default |
Error | application/json ErrorModel |
GET /api/app-updates/binaries/{id}
Section titled “GET /api/app-updates/binaries/{id}”Get one binary
Operation ID: getAppBinary
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json AppBinaryResponse |
default |
Error | application/json ErrorModel |
GET /api/app-updates/binary-check
Section titled “GET /api/app-updates/binary-check”Whether a binary of a runtime version is published on a channel
Operation ID: checkAppBinaryForRuntimeVersion
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationCode |
query | string | yes | |
appKey |
query | string | yes | |
platform |
query | string | yes | One of: android, ios. |
channel |
query | string | yes | |
runtimeVersion |
query | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json AppBinaryCheckResponse |
default |
Error | application/json ErrorModel |
GET /api/app-updates/binary-files/{applicationCode}/{sha256}
Section titled “GET /api/app-updates/binary-files/{applicationCode}/{sha256}”What the platform read from an uploaded binary (404 when the application has not uploaded it)
Operation ID: getAppBinaryFile
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationCode |
path | string | yes | |
sha256 |
path | string | yes | Lower-case hex SHA-256 of the file |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json AppBinaryFileResponse |
default |
Error | application/json ErrorModel |
PUT /api/app-updates/binary-files/{applicationCode}/{sha256}
Section titled “PUT /api/app-updates/binary-files/{applicationCode}/{sha256}”Upload one binary (an APK) by its SHA-256
The body is streamed to disk, its SHA-256 checked against the address, and the file parsed: it must be a well-formed APK signed with APK Signature Scheme v2 or v3. What it says about itself (package, version, runtime version, signing certificate) is recorded and is what a publish uses. Idempotent.
Operation ID: putAppBinaryFile
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationCode |
path | string | yes | |
sha256 |
path | string | yes | Lower-case hex SHA-256 of the body |
Request body (required)
| Content type | Schema |
|---|---|
application/octet-stream |
string (binary) |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json AppBinaryFileResponse |
default |
Error | application/json ErrorModel |
GET /api/app-updates/branches
Section titled “GET /api/app-updates/branches”List an application’s branches with what is live on each
Operation ID: listAppUpdateBranches
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationCode |
query | string | yes | |
appKey |
query | string | no |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json AppUpdateBranchesResponse |
default |
Error | application/json ErrorModel |
POST /api/app-updates/files/{applicationCode}/missing
Section titled “POST /api/app-updates/files/{applicationCode}/missing”Which of these files the application has not stored
Operation ID: findMissingAppUpdateFiles
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationCode |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
MissingFilesRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json MissingFilesResponse |
default |
Error | application/json ErrorModel |
PUT /api/app-updates/files/{applicationCode}/{sha256}
Section titled “PUT /api/app-updates/files/{applicationCode}/{sha256}”Store one update file by its SHA-256
Operation ID: putAppUpdateFile
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationCode |
path | string | yes | |
sha256 |
path | string | yes | Lower-case hex SHA-256 of the body |
Request body (required)
| Content type | Schema |
|---|---|
application/octet-stream |
string (binary) |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json FileStoredResponse |
default |
Error | application/json ErrorModel |
GET /api/app-updates/install-links
Section titled “GET /api/app-updates/install-links”List an application’s install links (never their tokens)
Operation ID: listAppInstallLinks
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationCode |
query | string | yes | |
appKey |
query | string | no |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json AppInstallLinksResponse |
default |
Error | application/json ErrorModel |
POST /api/app-updates/install-links
Section titled “POST /api/app-updates/install-links”Create the install link of a phone app’s channel
Operation ID: createAppInstallLink
Request body (required)
| Content type | Schema |
|---|---|
application/json |
CreateInstallLinkRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json InstallLinkWithTokenResponse |
default |
Error | application/json ErrorModel |
DELETE /api/app-updates/install-links/{id}
Section titled “DELETE /api/app-updates/install-links/{id}”Remove an install link; its address stops working
Operation ID: removeAppInstallLink
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
204 |
No Content | none |
default |
Error | application/json ErrorModel |
POST /api/app-updates/install-links/{id}/replace
Section titled “POST /api/app-updates/install-links/{id}/replace”Give an install link a new token; the old address stops working
Operation ID: replaceAppInstallLink
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json InstallLinkWithTokenResponse |
default |
Error | application/json ErrorModel |
POST /api/app-updates/rollback
Section titled “POST /api/app-updates/rollback”Roll a branch back to its previous update or to the embedded bundle
Operation ID: rollbackAppUpdates
Request body (required)
| Content type | Schema |
|---|---|
application/json |
RollbackRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json RollbackResponse |
default |
Error | application/json ErrorModel |
GET /api/app-updates/updates
Section titled “GET /api/app-updates/updates”List an application’s updates, newest first
Operation ID: listAppUpdates
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
applicationCode |
query | string | yes | |
appKey |
query | string | no | |
platform |
query | string | no | |
runtimeVersion |
query | string | no | |
channel |
query | string | no | |
page |
query | integer (int64) | no | |
size |
query | integer (int64) | no | |
limit |
query | integer (int64) | no | |
pageSize |
query | integer (int64) | no | |
page_size |
query | integer (int64) | no |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json OffsetPageAppUpdateResponse |
default |
Error | application/json ErrorModel |
POST /api/app-updates/updates
Section titled “POST /api/app-updates/updates”Publish an update
Operation ID: publishAppUpdate
Request body (required)
| Content type | Schema |
|---|---|
application/json |
PublishUpdateRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json AppUpdateResponse |
default |
Error | application/json ErrorModel |
GET /api/app-updates/updates/{id}
Section titled “GET /api/app-updates/updates/{id}”Get one update with its files
Operation ID: getAppUpdate
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json AppUpdateDetailResponse |
default |
Error | application/json ErrorModel |
POST /api/app-updates/updates/{id}/republish
Section titled “POST /api/app-updates/updates/{id}/republish”Make an earlier update live again
Operation ID: republishAppUpdate
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
RepublishRequest |
Responses
| Status | Description | Body |
|---|---|---|
201 |
Created | application/json AppUpdateResponse |
default |
Error | application/json ErrorModel |
PUT /api/app-updates/updates/{id}/rollout
Section titled “PUT /api/app-updates/updates/{id}/rollout”Change an update’s rollout
Operation ID: setAppUpdateRollout
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
id |
path | string | yes |
Request body (required)
| Content type | Schema |
|---|---|
application/json |
SetRolloutRequest |
Responses
| Status | Description | Body |
|---|---|---|
200 |
OK | application/json AppUpdateResponse |
default |
Error | application/json ErrorModel |
Schemas
Section titled “Schemas”AppBinaryCheckResponse
Section titled “AppBinaryCheckResponse”| Field | Type | Required | Description |
|---|---|---|---|
count |
integer (int64) | yes | |
newest |
AppBinaryResponse |
no | The one with the highest version code |
published |
boolean | yes | A binary of this runtime version is published on the channel (any variant) |
AppBinaryFactsResponse
Section titled “AppBinaryFactsResponse”| Field | Type | Required | Description |
|---|---|---|---|
debugCertificate |
boolean | yes | Signed with an Android debug keystore (certificate CN “Android Debug”) |
debuggable |
boolean | yes | android:debuggable on the application |
minSdk |
integer (int64) | yes | uses-sdk minSdkVersion; 0 when absent |
packageName |
string | yes | The manifest’s package (application id) |
platform |
string | yes | One of: android, ios. |
runtimeVersion |
string | no | The runtime version the binary sends to the update routes (expo-updates); absent when it does not use expo-updates |
signingCertificateSha256 |
string | yes | SHA-256 of the signing certificate (v3’s when present, else v2’s), lower-case hex |
signingCertificateSubject |
string | yes | |
signingSchemes |
integer (int64)[] | yes | APK signature schemes that verified (2, 3) |
updateChannel |
string | no | The expo-channel-name request header the binary sends |
updateKeyId |
string | no | The code-signing key id the binary expects updates to be signed with |
updateUrl |
string | no | The binary’s expo-updates URL |
versionCode |
integer (int64) | yes | android:versionCode (with versionCodeMajor in the upper 32 bits) |
versionName |
string | no |
AppBinaryFileResponse
Section titled “AppBinaryFileResponse”| Field | Type | Required | Description |
|---|---|---|---|
created |
boolean | yes | false when the application had already uploaded this file |
facts |
AppBinaryFactsResponse |
yes | |
sha256 |
string | yes | |
sizeBytes |
integer (int64) | yes |
AppBinaryResponse
Section titled “AppBinaryResponse”| Field | Type | Required | Description |
|---|---|---|---|
appKey |
string | yes | |
applicationCode |
string | yes | |
applicationId |
string | yes | |
channel |
string | yes | |
createdAt |
string (date-time) | yes | |
facts |
AppBinaryFactsResponse |
yes | |
fileName |
string | yes | The name it downloads under |
id |
string | yes | |
message |
string | no | |
newest |
boolean | yes | The newest (highest version code) binary of its channel and variant: what an install link gives |
publishedBy |
string | yes | |
publishedByName |
string | no | |
sha256 |
string | yes | |
sizeBytes |
integer (int64) | yes | |
sourceCommit |
string | no | |
variant |
string | yes |
AppInstallLinkResponse
Section titled “AppInstallLinkResponse”| Field | Type | Required | Description |
|---|---|---|---|
appKey |
string | yes | |
applicationCode |
string | yes | |
applicationId |
string | yes | |
channel |
string | yes | |
createdAt |
string (date-time) | yes | |
createdBy |
string | yes | |
generation |
integer (int64) | yes | 1 when created; one more at every replacement |
id |
string | yes | |
updatedAt |
string (date-time) | yes | |
updatedBy |
string | yes |
AppInstallLinksResponse
Section titled “AppInstallLinksResponse”| Field | Type | Required | Description |
|---|---|---|---|
links |
AppInstallLinkResponse[] |
yes |
AppUpdateAssetResponse
Section titled “AppUpdateAssetResponse”| Field | Type | Required | Description |
|---|---|---|---|
contentType |
string | yes | |
fileExtension |
string | no | |
isLaunchAsset |
boolean | yes | |
key |
string | yes | The manifest key (the file’s MD5) |
sha256 |
string | yes |
AppUpdateBranchesResponse
Section titled “AppUpdateBranchesResponse”| Field | Type | Required | Description |
|---|---|---|---|
branches |
AppUpdateBranchResponse[] |
yes |
AppUpdateBranchResponse
Section titled “AppUpdateBranchResponse”| Field | Type | Required | Description |
|---|---|---|---|
appKey |
string | yes | |
channel |
string | yes | |
current |
AppUpdateResponse |
yes | |
platform |
string | yes | One of: android, ios. |
previous |
AppUpdateResponse |
no | Served to the phones outside the current update’s partial rollout |
runtimeVersion |
string | yes | |
updateCount |
integer (int64) | yes |
AppUpdateDetailResponse
Section titled “AppUpdateDetailResponse”| Field | Type | Required | Description |
|---|---|---|---|
assets |
AppUpdateAssetResponse[] |
yes | |
hasExpoClient |
boolean | yes | Whether the manifest carries the app config (extra.expoClient) |
totalBytes |
integer (int64) | yes | |
update |
AppUpdateResponse |
yes |
AppUpdateResponse
Section titled “AppUpdateResponse”| Field | Type | Required | Description |
|---|---|---|---|
appKey |
string | yes | |
applicationCode |
string | yes | |
applicationId |
string | yes | |
binariesOnBranch |
integer (int64) | no | Only in a publish’s answer: how many binaries of this runtime version are published on the channel (0: no phone installed from this platform runs it) |
channel |
string | yes | |
createdAt |
string (date-time) | yes | The manifest’s createdAt or the rollback’s commitTime |
id |
string | yes | |
kind |
string | yes | One of: UPDATE, ROLLBACK_TO_EMBEDDED. |
live |
boolean | yes | servedPercent > 0 |
manifestId |
string | no | The manifest’s UUID (updates only) |
message |
string | no | |
platform |
string | yes | One of: android, ios. |
publishedBy |
string | yes | The principal that published it |
publishedByName |
string | no | |
republishedFrom |
string | no | |
rolloutPercent |
integer (int64) | yes | |
runtimeVersion |
string | yes | |
servedPercent |
integer (int64) | yes | Share of the branch’s phones this row is served to now: the newest row its rollout, the one before it the rest while the newest is partial, any other 0 |
sourceCommit |
string | no | |
updatedAt |
string (date-time) | yes |
CreateInstallLinkRequest
Section titled “CreateInstallLinkRequest”| Field | Type | Required | Description |
|---|---|---|---|
appKey |
string | yes | |
applicationCode |
string | yes | |
channel |
string | yes |
FileStoredResponse
Section titled “FileStoredResponse”| Field | Type | Required | Description |
|---|---|---|---|
created |
boolean | yes | false when the application had already stored this file |
sha256 |
string | yes | |
sizeBytes |
integer (int64) | yes |
InstallLinkWithTokenResponse
Section titled “InstallLinkWithTokenResponse”| Field | Type | Required | Description |
|---|---|---|---|
link |
AppInstallLinkResponse |
yes | |
token |
string | yes | The token in the address. Shown once. |
url |
string | yes | The address to send: anyone holding it can download the channel’s binaries. Shown once. |
MissingFilesRequest
Section titled “MissingFilesRequest”| Field | Type | Required | Description |
|---|---|---|---|
sha256 |
string[] | yes | Lower-case hex SHA-256 of each file (at most 5000) |
MissingFilesResponse
Section titled “MissingFilesResponse”| Field | Type | Required | Description |
|---|---|---|---|
missing |
string[] | yes | The SHA-256 of every file the application has not stored |
OffsetPageAppBinaryResponse
Section titled “OffsetPageAppBinaryResponse”| Field | Type | Required | Description |
|---|---|---|---|
data |
AppBinaryResponse[] |
yes | |
page |
integer (int64) | yes | |
size |
integer (int64) | yes | |
total |
integer (int64) | yes | |
total_pages |
integer (int64) | yes |
OffsetPageAppUpdateResponse
Section titled “OffsetPageAppUpdateResponse”| Field | Type | Required | Description |
|---|---|---|---|
data |
AppUpdateResponse[] |
yes | |
page |
integer (int64) | yes | |
size |
integer (int64) | yes | |
total |
integer (int64) | yes | |
total_pages |
integer (int64) | yes |
PublishAssetRequest
Section titled “PublishAssetRequest”| Field | Type | Required | Description |
|---|---|---|---|
fileExtension |
string | yes | The extension the phone saves it under (png or .png): the expo export metadata’s ext |
sha256 |
string | yes | Lower-case hex SHA-256 of a stored file |
PublishBinaryRequest
Section titled “PublishBinaryRequest”| Field | Type | Required | Description |
|---|---|---|---|
appKey |
string | yes | The phone app (lower-case letters, digits, hyphens; at most 40) |
applicationCode |
string | yes | |
channel |
string | yes | The channel; when the binary names its expo-channel-name it must be this |
message |
string | no | |
platform |
string | yes | Only android: an iOS app cannot be installed from a link One of: android. |
sha256 |
string | yes | Lower-case hex SHA-256 of the uploaded file |
sourceCommit |
string | no | |
variant |
string | yes | release (the build real users get: not debuggable, not signed with a debug keystore), debug, or another name |
PublishBinaryResponse
Section titled “PublishBinaryResponse”| Field | Type | Required | Description |
|---|---|---|---|
binary |
AppBinaryResponse |
yes | |
created |
boolean | yes | false when this file was already published to this channel and variant (nothing changed) |
PublishLaunchAssetRequest
Section titled “PublishLaunchAssetRequest”| Field | Type | Required | Description |
|---|---|---|---|
sha256 |
string | yes | Lower-case hex SHA-256 of the stored bundle (the expo export metadata’s bundle) |
PublishUpdateRequest
Section titled “PublishUpdateRequest”| Field | Type | Required | Description |
|---|---|---|---|
appKey |
string | yes | The phone app (lower-case letters, digits, hyphens; at most 40) |
applicationCode |
string | yes | |
assets |
PublishAssetRequest[] |
yes | Every other file, in the export’s order |
channel |
string | yes | The channel the app sends in its expo-channel-name header |
expoClient |
any | no | The public app config (npx expo config –type public –json), served as the manifest’s extra.expoClient |
launchAsset |
PublishLaunchAssetRequest |
yes | |
message |
string | no | |
platform |
string | yes | One of: android, ios. |
requireBinary |
boolean | no | Refuse (409 NO_BINARY_FOR_RUNTIME_VERSION) unless a binary of this runtime version is published on the channel; default false |
rolloutPercent |
integer (int64) | no | Share of the branch’s phones that receive it; omitted is 100 Minimum 0. Maximum 100. |
runtimeVersion |
string | yes | The runtime version of the binaries this update is for |
sourceCommit |
string | no |
RepublishRequest
Section titled “RepublishRequest”| Field | Type | Required | Description |
|---|---|---|---|
message |
string | no |
RollbackRequest
Section titled “RollbackRequest”| Field | Type | Required | Description |
|---|---|---|---|
appKey |
string | yes | |
applicationCode |
string | yes | |
channel |
string | yes | |
message |
string | no | |
platform |
string | yes | One of: android, ios. |
runtimeVersion |
string | yes | |
to |
string | yes | PREVIOUS republishes the update before the current one; EMBEDDED tells phones to run their embedded bundle One of: PREVIOUS, EMBEDDED. |
RollbackResponse
Section titled “RollbackResponse”| Field | Type | Required | Description |
|---|---|---|---|
created |
boolean | yes | false when the branch was already rolled back to the embedded bundle |
update |
AppUpdateResponse |
yes | The branch’s newest row after the rollback |
SetRolloutRequest
Section titled “SetRolloutRequest”| Field | Type | Required | Description |
|---|---|---|---|
rolloutPercent |
integer (int64) | yes | Minimum 0. Maximum 100. |