Skip to main content

Getting Application Version Status

This method allows you to retrieve basic version information and check the status of specific versions.

Limitations:

  • By default, 20 versions are shown per page. You can request up to 100 versions per page using the size parameter.
  • You cannot use pagination and filtering by version ID at the same time — use either pagination (page + size) or version filter (ids).

Request Parameters

GET

https://public-api.rustore.ru/public/v1/application/{packageName}/version?ids=704095&page=0&size=2

AttributeTypeRequiredLocationDescriptionExample
Public-TokenstringYesheaderAccess token for the Rustore Public API.N/A
packageNamestringYespathApp package name.com.myapp.example
idsnumberNoqueryVersion ID to fetch a specific version.743103
New filterTestingTypestringNoqueryApplication version type.

Allowed values:
ALL – all release and alpha versions;
RELEASE – default, only published versions;
ALPHA – only alpha test versions.
pagenumberNoqueryPage number (starts at 0).0
sizenumberNoqueryNumber of versions per page.
• Default — 20;
• Max — 100.
100

Response Parameters

AttributeTypeRequiredDescriptionExample
codestringYesResponse code.OK / error
messagestringNoExplanation of the response code.N/A
timestamptimestamptzYesResponse timestamp.2022-07-08T13:24:41.8328711+03:00
body{}objectYesResponse body.N/A

body{}

AttributeTypeRequiredDescriptionExample
content[]arrayYesList of versions.N/A
pageNumbernumberYesCurrent page number.0
pageSizenumberYesPage size.2
totalElementsnumberYesTotal number of elements.5
totalPagesnumberYesTotal number of pages.3

body.content[]

AttributeTypeRequiredDescriptionExample
versionIdnumberYesVersion ID.704372
appNamestringYesApplication name.Test API
appTypestringYesApp type.MAIN or GAME
versionNamestringYesVersion number.1.0
versionCodenumberYesVersion code.6
versionStatusstringYesVersion status.

Possible values:
ACTIVE – published;
PARTIAL_ACTIVE – partially published to a subset of users;
READY_FOR_PUBLICATION – approved by moderator;
PREVIOUS_ACTIVE – previous active version;
ARCHIVED – archived;
REJECTED_BY_MODERATOR – rejected by moderator;
TAKEN_FOR_MODERATION – taken by moderator;
MODERATION – awaiting moderation;
AUTO_CHECK – antivirus auto-check (Kaspersky);
AUTO_CHECK_FAILED – failed antivirus check;
DRAFT – draft version;
DELETED_DRAFT – deleted draft;
REJECTED_BY_SECURITY – rejected by security.
publishTypestringYesPublication type.
Allowed values:
MANUAL
INSTANTLY
DELAYED
New testingTypestringYesVersion testing type.
Possible values:
null – release;
alpha – alpha version.
publishDateTimetimestamptzYesScheduled publication time.2023-08-04T09:36:06.431+00:00
sendDateForModertimestamptzYesTime sent for moderation.2023-08-11T12:03:06.303+00:00
partialValuenumberYesPercentage of users for partial release.
-1 = 100%
-1
whatsNewstringYesWhat's new in this version.Bug fixes
priceValuenumberYesPrice (if paid).0
paidbooleanYesIs the app paid?true / false

Request Example

curl --location 'https://public-api.rustore.ru/public/v1/application/com.example.pblsh_v2/version?filterTestingType=ALPHA&page=0&size=2' \
--header 'accept: application/json' \
--header 'Public-Token: {YOURtoken}'

Response Example

{
"code": "OK",
"message": null,
"body": {
"content": [
{
"versionId": 704372,
"appName": "Test API",
"appType": "MAIN",
"versionName": "1.0",
"versionCode": 6,
"versionStatus": "ACTIVE",
"publishType": "MANUAL",
"testingType": "alpha",
"publishDateTime": "2023-08-14T12:34:43.925+00:00",
"sendDateForModer": "2023-08-11T12:03:06.303+00:00",
"partialValue": -1,
"whatsNew": "Bug fixes",
"priceValue": 0,
"paid": false
},
{
"versionId": 704197,
"appName": "PO test API",
"appType": "MAIN",
"versionName": "1.0",
"versionCode": 1,
"versionStatus": "PREVIOUS_ACTIVE",
"publishType": "INSTANTLY",
"testingType": "alpha",
"publishDateTime": "2023-08-04T09:36:06.431+00:00",
"sendDateForModer": "2023-08-04T09:20:23.551+00:00",
"partialValue": -1,
"whatsNew": "First version",
"priceValue": 0,
"paid": false
}
],
"pageNumber": 0,
"pageSize": 2,
"totalElements": 2,
"totalPages": 1
},
"timestamp": "2023-08-14T15:38:50.413186769+03:00"
}