App access information
This method returns a list of all accesses granted by application.
Interaction parameters
GET https://public-api.rustore.ru/public/v1/application/{packageName}/developer
Attribute | Type | Required | Location | Description | Example |
---|---|---|---|---|---|
Public-Token | string | Yes | Header | Access token to API RuStore. | N/A |
packageName | string | Yes | path | App package name | com.myapp.example |
pageSize | number | No | query | Number of users and their accesses per page. | Default 20, min - 1, max - 100 |
pageToken | string | No | query | The API includes a pageToken element in the response if the access list continues to another page. Use the value obtained from the previous request. | Nzk0MjQ3Mzcw |
Response example
Attribute | Type | Required | Description | Example |
---|---|---|---|---|
code | string | Yes | Response code | error /OK |
message | string | No | Decoded response code | N/A |
body{} | object | Yes | N/A | N/A |
timestamp | timestamptz | Yes | Response time | 2022-07-08T13:24:41.8328711+03:00 |
body
Attribute | Type | Required | Description | Example |
---|---|---|---|---|
content[] | massive | Yes | Array with a list of users and passwords. | |
pageToken | No | No | The API includes a pageToken element in the response if the access list continues to another page. | Nzk0MjQ3Mzcw |
body.content[]
Attribute | Type | Required | Description | Example |
---|---|---|---|---|
devVkId | string | Yes | vkid | 161930531 |
role | string | Yes | access type | • OWNER; • NON_RESIDENT_OWNER; • INDIVIDUAL_OWNER; • ADMIN; • RELEASE_MANAGER; • DEV; • FINANCIAL_MANAGER; • SUPPORT. |
firstName | string | Yes | User name | John |
lastName | string | Yes | Last name | Doe |
Possible errors
code | message | Description | Solution |
---|---|---|---|
400 | Incorrect parameter role | Such a role does not exist | Make sure that the specified role is available. |
Request example
curl --location 'https://public-api.rustore.ru/public/v1/application/com.package.example/developer?pageSize=20' \
--header 'Public-Token: {YOURtoken}'
Response example
{
"code": "OK",
"message": null,
"body": {
"content": [
{
"devVkId": "1111111111",
"role": "DEV",
"firstName": "John",
"lastName": "Smith"
},
{
"devVkId": "0000000000",
"role": "OWNER",
"firstName": "Mike",
"lastName": "Brown"
}
],
"pageToken": null
},
"timestamp": "2024-03-25T20:48:23.584572102+03:00"
}