Get a list of apps
This method returns the apps available to the account owner for which the private key is created.
Interaction parameters
GET
https://public-api.rustore.ru/public/v1/application
| Attribute | Type | Required | Location | Description | Example |
|---|---|---|---|---|---|
Public-Token | string | Yes | header | Access token for RuStore Public API | |
pagination | bool | • No • Yes, if you use continuationToken and pageSize | path | Pagination toggle. Default: false.To enable pagination, set to true. | |
continuationToken | string | No | path | If the app list continues on the next page, the API includes continuationToken in the response. Use the value returned by the previous request. | Nzk0MjQ3Mzcw |
pageSize | string | • No • Yes, if pagination is true | path | Number of apps per page | Default: 20 Min: 1 Max: 1000 |
appName | string | No | path | Search by appName | Name |
appPackage | string | No | path | Search by package_name | com.myapp.example |
orderFields | string | No | path | Sorting field | Available values: • appId — app ID• appName — app name• appStatus — app status• appVerUpdatedAt — version update date |
sortDirections | string | • No • Yes, if orderFields is specified | path | Sort direction | Available values: • ASC• DESC |
Response parameters
| Attribute | Type | Required | Description | Example |
|---|---|---|---|---|
code | string | Yes | Response code | error/OK |
message | string | No | Response code description | |
body{} | object | Yes | ||
timestamp | timestamptz | Yes | Response time | 2022-07-08T13:24:41.8328711+03:00 |
body{}
| Attribute | Type | Required | Description | Example |
|---|---|---|---|---|
content[] | array | Yes | Array that contains the list of available apps | |
pageSize | string | Yes | Page size | Number of apps for the current pagination |
continuationToken | string | No | If the app list continues on the next page, the API includes continuationToken in the response | Nzk0MjQ3Mzcw |
body.content[]
| Attribute | Type | Required | Description | Example |
|---|---|---|---|---|
activePrice | number | No | Price | 120 |
appId | number | Yes | App identifier | 478564 |
appName | string | Yes | App name | Приложение1 |
appStatus | string | No | App status | Possible values: • ACTIVE — current published version;• PARTIAL_ACTIVE — version published to a specified percentage of users;• READY_FOR_PUBLICATION — version approved by moderator;• PUBLISHED — version published;• PREVIOUS_ACTIVE — previous active version;• ARCHIVED — version is archived;• REJECTED_BY_MODERATOR — version rejected by moderator;• TAKEN_FOR_MODERATION — version is under moderation;• MODERATION — version is waiting for moderator actions;• AUTO_CHECK — automatic Kaspersky antivirus check;• AUTO_CHECK_FAILED — automatic check rejected the APK;• NOT_PUBLISHED — version is not published;• DRAFT — draft version;• DELETED_DRAFT — draft deleted;• REJECTED_BY_SECURITY — version rejected by security |
appVerUpdatedAt | timestamptz | No | Version update date | 2024-03-11T12:23:55.596998+03:00 |
companyName | string | Yes | Company name | Компания пример |
deviceType | string | No | Device type | MOBILE |
iconUrl | string | No | App icon URL | Icon URL |
packageName | string | Yes | App package name | com.myapp.example |
paid | bool | No | Paid or not | true/false |
shortDescription | string | No | Short description | App short description |
versionCode | number | No | Version code | 1 |
versionName | string | No | Version name | 1.0 |
Possible errors
| code | message | Description | Action |
|---|---|---|---|
400 | pageSize must be not null in range [1,1000] | Invalid pageSize value | Make sure pageSize is set correctly |
400 | Invalid request content | Invalid parameter values | Verify that you provided correct parameter values |
400 | if one of orderFields sortDirections is not null other param should be also not null | Missing sorting parameters | orderFields and sortDirections must be specified together |
Request example
curl --location 'https://public-api.rustore.ru/public/v1/application' \
--header 'Content-Type: application/json' \
--header 'Public-Token: {YOURtoken}'
Response example
{
"code": "OK",
"message": "OK",
"body": {
"content": [
{
"appId": 478564,
"packageName": "com.example.myapplicativfsdvf",
"appName": "компания пример",
"iconUrl": "https://platform-s3.dev.rustore.devmail.ru/rustore-public-dev1/apk/478564/content/ICON/f6b95c5f-6c45-4359-988e-a9fd759c9416.jpg",
"appStatus": "PUBLISHED",
"versionName": "1.0",
"versionCode": 1,
"companyName": "companyName",
"shortDescription": "Краткое описание",
"appVerUpdatedAt": "2024-03-11T12:23:55.596998+03:00",
"activePrice": 0,
"paid": false,
"deviceType": "MOBILE"
}
],
"continuationToken": "TlRFeE56VXcuLi4u"
},
"timestamp": "2024-09-04T13:38:39.906714473+03:00"
}