Skip to main content

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}

AttributeTypeRequiredLocationDescriptionExample
Public-TokenstringYesheaderAccess token to API RuStore.N/A
packageNamestringYespathApp package name Maximum length: 50 characterscom.myapp.example
feedbackIdnumberNopathid of a specific response-to- review, it is set to get information about a specific response to a review743103

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
idnumberYesResponse review id748479
commentIdnumberYesReviewid748223
textstringYesResponse textThis is a response to a user review.
statusstringYesReview response statusPUBLISHED — everything is published successfully;
MODERATION — under moderation;
REJECTED — rejected by moderation;
DELETED — deleted by developer or changed.
datestringYesLast modified date and time2023-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": "fuck",
"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"
}