Skip to main content

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

AttributeTypeRequiredLocationDescription
Public-TokenstringYesheaderAccess token to Public API Rustore.
packageNamestringYespathApp package name
versionIdnumberYespathApp version

Form data

AttributeTypeRequiredLocationDescription
filemultipartYesN/AAn .aab file

Response example

AttributeTypeRequiredDescriptionExample
codestringYesResponse codeerror/OK
messagestringNoDecoded response codeN/A
timestamptimestamptzYesResponse time2023-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"
}