Getting review response status
This method allows retrieving moderation status of a review response or obtaining a single response info.
Interaction parameters
GET
https://public-api.rustore.ru/public/v1/application/{packageName}/feedback/{feedbackId}
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 Maximum length: 50 characters | com.myapp.example |
feedbackId | number | No | path | id of a specific response-to- review, it is set to get information about a specific response to a review | 743103 |
Response example
Attribute | Type | Required | Description | Example |
---|---|---|---|---|
code | string | Yes | Response code | error /OK |
message | string | No | Decoded response code | N/A |
timestamp | timestamptz | Yes | Response time | 2022-07-08T13:24:41.8328711+03:00 |
body{} | object | Yes | N/A | N/A |
body
Attribute | Type | Required | Description | Example |
---|---|---|---|---|
id | number | Yes | Response review id | 748479 |
commentId | number | Yes | Reviewid | 748223 |
text | string | Yes | Response text | This is a response to a user review. |
status | string | Yes | Review response status | • PUBLISHED — everything is published successfully; • MODERATION — under moderation; • REJECTED — rejected by moderation; • DELETED — deleted by developer or changed. |
date | string | Yes | Last modified date and time | 2023-06-01 18:10:43.043 |
Example 1
curl --location 'https://public-api.rustore.ru/public/v1/application/ru.voonsh.push/feedback?id=2177559743' \
--header 'Public-Token: eyJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.YY0bCkf24Ui3oHZfNQioXAdServxx6URLQq7w3gOoVLypUx1Y8OGornxmn2tXPnysM8upmUoYxgJZ9cFtDpXt1RnOhiHVL5INZDUJPzlnnj0ERLy0UET_JpjxXRYVhKuymHsG9ayt6NmRLmi4diXvPWDsFrP7htVidNKFPtg_uhUxPI-GsL0EMCrk-n0MN_uQO75ptErnDbdKDPgy81yMfwZaWFDGXt69l24LkfijkrptRewIsXceiCkf1z0SVYZ1u9UnzUVRMRAmlmnZQCP96fzG2xttMX-iev7L_RtPhV1sszqZgqxtiL-x9gmDw_KY-TZISDKZ9K-1J2M7bwJrw.TmZgATCSpEjX7_at.yL2iCVqhNMosv9SXp4-EIfufVOGbtk8YWeKz7p4Uggntaukze_TIXoF4RFcvHqgLvB2zlN281p2qIHW6ND0wsx1fM3s03HkqFEfFmv5bRBvDeGL9cn5GLIZBz1-1JWYjDqfw8b0iykM9WeNCwbyjDCecQ3ShoGg.Kb_6AeVoPuELthVcQVmNyw'
Response example
{
"code": "OK",
"message": null,
"body": [
{
"id": "2177559743",
"commentId": "2142370751",
"text": "Thank you",
"status": "PUBLISHED",
"date": "2023-06-22T09:46:18.115+00:00"
}
],
"timestamp": "2023-06-22T12:46:30.193419294+03:00"
}
Example 2
curl --location 'https://public-api.rustore.ru/public/v1/application/ru.voonsh.push/feedback' \
--header 'Public-Token: eyJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ziOR4J-_3A36M55IMdJqxck4Lktk9GFe6vvdRFBkIICA6z4WLLUxdEyHNdMWYomBs9MkJecCaCStOQ5YtmHvFIRK8aoj4c386WwUBXmTDXN_BJg2puwuLivMJWuAhgveZpC7afZCwM6m5RgLi538BAjFV_gE8XvbSUKlhWhkEvIzgrK2zk211SRUVXaAdrWEz5NNSSrQhyEv1fiMgQNmV9Sehp8fxP7G_9HkAWVtfNvgEiTbFHMTO-qpWtdh5Ts440Du9MC7PL59IUmXts1Khx6xbuUWLQe3WHPQCBmKezpxtI-l9Ms4F-iopZy-bXzUaUMFsaQu8Jh4kFvztFenYg.UPvgd5jKQcFO-MRE.zHHu-P5GSwUTvEMae-bu337jxpq25TbftTC7oF8r0APCfUqdx55CbO-PuIeGdjN08K4IC8GsWhLmKr9mqEeV9L-Dh5QSqA6M7GsLH8LAqrR1UX0Z849pyhrOt_Pz4SJ3YeHdu-ITfTL5Ysr0kECMXWIMcE24X8U.zHXeYuxDJf-Wtl9Vn0betw'
Response example
{
"code": "OK",
"message": null,
"body": [
{
"id": "650817727",
"commentId": "433821631",
"text": "thank you!",
"status": "WAS_ACTIVE",
"date": "2022-11-11T09:46:01.604+00:00"
},
{
"id": "650819775",
"commentId": "237725631",
"text": "Something disturbing",
"status": "REJECTED",
"date": "2022-11-11T09:46:12.123+00:00"
},
{
"id": "731559615",
"commentId": "433821631",
"text": "спасибо",
"status": "PUBLISHED",
"date": "2022-11-22T09:09:57.619+00:00"
},
{
"id": "2149775551",
"commentId": "2142370751",
"text": "Thank you",
"status": "PUBLISHED",
"date": "2023-06-15T05:17:28.906+00:00"
}
],
"timestamp": "2023-06-15T08:19:21.658856735+03:00"
}