Uploading an AAB file
Use this method to upload an .aab
file for publication.
It can be further updated.
Key Points to Note:
-
.aab
files only; -
file size should not exceed 512 MB;
-
uploaded AAB version should be higher than the current active one.
-
you can upload only 1 AAB file
-
You can upload only 1 AAB file and 8 APK files or 10 APK files within one version at most.
note
Before you start, make sure you have a signing key uploaded to publish Android App Bundle (AAB) via RuStore Console.
Interaction parameters
POST
/public-api.rustore.ru/public/v1/application/{packageName}/version/{versionId}/aab
Attribute | Type | Required | Location | Description |
---|---|---|---|---|
Public-Token | string | Yes | header | Access token to Public API Rustore. |
packageName | string | Yes | path | App package name |
versionId | number | Yes | path | App version |
Form data
Attribute | Type | Required | Location | Description |
---|---|---|---|---|
file | multipart | Yes | N/A | An .aab file |
Response example
Attribute | Type | Required | Description | Example |
---|---|---|---|---|
code | string | Yes | Response code | error/OK |
message | string | No | Decoded response code | N/A |
timestamp | timestamptz | Yes | Response time | 2023-07-21T17:11:44.173750678+03:00 |
Request example
curl --location --request POST 'https://public-api.rustore.ru/public/v1/application/com.package.example/version/123/aab
--header 'Public-Token: {YOURtoken}' \
--form 'file=@"/Users/User/Downloads/package.aab"'
Response example
{
"code": "OK",
"message": null,
"body": null
"timestamp": "2023-06-02T16:36:57.847391009+03:00"
}