Skip to main content

Editing review response

This method allows editing a review response body.

Interaction parameters

POST

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
feedbackIdnumberNopathResponse review id that needs to be changed.743103
messagestringYesbodyModified text of the review response.This is an amended answer, there was a typo there

Response example

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

body

AttributeTypeRequiredDescriptionExample
idnumberYesNew id of the review response. The previous id takes on the status DELETED. If changed, further work is done with the updated id748479

Request example

curl --location 'https://public-api.rustore.ru/public/v1/application/ru.voonsh.push/feedback/2149775551' \
--header 'Content-Type: application/json' \
--header 'Public-Token: eyJlbmMiOiJBMjU2R0NNIiwiYWxnIjoiUlNBLU9BRVAtMjU2In0.ziOR4J-_3A36M55IMdJqxck4Lktk9GFe6vvdRFBkIICA6z4WLLUxdEyHNdMWYomBs9MkJecCaCStOQ5YtmHvFIRK8aoj4c386WwUBXmTDXN_BJg2puwuLivMJWuAhgveZpC7afZCwM6m5RgLi538BAjFV_gE8XvbSUKlhWhkEvIzgrK2zk211SRUVXaAdrWEz5NNSSrQhyEv1fiMgQNmV9Sehp8fxP7G_9HkAWVtfNvgEiTbFHMTO-qpWtdh5Ts440Du9MC7PL59IUmXts1Khx6xbuUWLQe3WHPQCBmKezpxtI-l9Ms4F-iopZy-bXzUaUMFsaQu8Jh4kFvztFenYg.UPvgd5jKQcFO-MRE.zHHu-P5GSwUTvEMae-bu337jxpq25TbftTC7oF8r0APCfUqdx55CbO-PuIeGdjN08K4IC8GsWhLmKr9mqEeV9L-Dh5QSqA6M7GsLH8LAqrR1UX0Z849pyhrOt_Pz4SJ3YeHdu-ITfTL5Ysr0kECMXWIMcE24X8U.zHXeYuxDJf-Wtl9Vn0betw' \
--data '{
"message": "Thank you very much!"
}'

Response example

{
"code": "OK",
"message": null,
"body": {
"id": 2149807039
},
"timestamp": "2023-06-11T13:26:25.355326578+03:00"
}