Skip to main content

Getting app version status

This method allows retrieving basic app info, as well as checking the version status.

Key Points to Note:

  • Note that 20 versions are displayed on each page by default, you can display up to 100 versions per page by specifying a value in the size parameter;
  • You cannot use pagination and filtering parameters together according to version 1 (or pagination with a pair of parameters page and size or ids).

Interaction parameters

GET

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

AttributeTypeRequiredLocationDescriptionExample
Public-TokenstringYesheaderAccess token to Public API Rustore.N/A
packageNamestringYespathApp package namecom.myapp.example
idsnumberNoqueryversion id.

Set if necessary to obtain a specific version.
743103
pagenumberNoqueryPage No. Starts from 0.0
sizenumberNoqueryNumber of reviews on the page.
• Default — 20.
• Maximum — 100.
100

Response example

AttributeTypeRequiredDescriptionExample
codestringYesResponse codeerror/OK
messagestringNoDecoded response codeN/A
timestamptimestamptzYesResponse time2022-07-08T13:24:41.8328711+03:00
body{}objectYesN/AN/A

body

AttributeTypeRequiredDescriptionExample
content[]massiveYesArry with a list of versionsN/A
pageNumbernumberYesCurrent page number0
pageSizenumberYesPage size2
totalElementsnumberYesTotal items5
totalPagesnumberYesTotal pages3

body.content[]

AttributeTypeRequiredDescriptionExample
versionIdnumberYesVersionid.704372
appNamestringYesApp nameTest API
appTypestringYesApp typeMAIN or GAME
versionNamestringYesVersion number1.0
versionCodenumberYesVersion code6
versionStatusstringYesVersion statusAvailable values:
ACTIVE – published;
PARTIAL_ACTIVE – published for a specific share of users;
READY_FOR_PUBLICATION – approved by a moderator;
PREVIOUS_ACTIVE
ARCHIVED
REJECTED_BY_MODERATOR
TAKEN_FOR_MODERATION
MODERATION
AUTO_CHECK
AUTO_CHECK_FAILED
DRAFT
DELETED_DRAFT;
REJECTED_BY_SECURITY.
publishTypestringYesPublication typeAvailable values
MANUAL;
INSTANTLY;
DELAYED.
publishDateTimetimestamptzYesDate and time for delayed publication2023-08-04T09:36:06.431+00:00
sendDateForModertimestamptzYesSubmission date2023-08-11T12:03:06.303+00:00
partialValuenumberYesPercentage for partial publication-1 = 100%
all other values are consistent
whatsNewstringYesWhat's new?Bugs fixed
priceValuenumberYesPrice if the app is paid0
paidbooleanYesIs the application paid?true/false

Possible statuses

  • ACTIVE — published;
  • PARTIAL_ACTIVE — partically published, availbale to a certain % of users;
  • READY_FOR_PUBLICATION — approved by a moderator;
  • PREVIOUS_ACTIVE — previous active version;
  • ARCHIEVED — archieved version;
  • REJECTED_BY_MODERATOR — version rejected by moderator;
  • TAKEN_FOR_MODERATION — version taken by moderator;
  • MODERATION — awaiting moderation;
  • AUTO_CHECK.apk auto check by Kaspersky;
  • AUTO_CHECK_FAILED.apk auto check failed;
  • DRAFT — draft version;
  • DELETED_DRAFT — draft deleted;
  • REJECTED_BY_SECURITY — version rejected by security officer.

Request example

curl --location 'https://public-api.rustore.ru/public/v1/application/com.example.pblsh_v2/version?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",
"publishDateTime": "2023-08-14T12:34:43.925+00:00",
"sendDateForModer": "2023-08-11T12:03:06.303+00:00",
"partialValue": -1,
"whatsNew": "Bugs fix",
"priceValue": 0,
"paid": false
},
{
"versionId": 704197,
"appName": "PO test API",
"appType": "MAIN",
"versionName": "1.0",
"versionCode": 1,
"versionStatus": "PREVIOUS_ACTIVE",
"publishType": "INSTANTLY",
"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-02T10:38:50.413186769+03:00"
}