Skip to main content

Manual publication

The method allows publishing a manually moderated version.

Key Points to Note:

  • You can publish a moderated version only;
  • You can publish a version if the publication type is specified as manual.

Interaction parameters

POST

https://public-api.rustore.ru/public/v1/application/{packageName}/version/{versionId}/publish

AttributeTypeRequiredLocationDescription
Public-TokenstringYesheaderAccess token to Public API Rustore.
packageNamestringYespathApp package name
versionIdnumberYespathApp version

Response example

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

Request example

curl --location --request POST 'https://public-api.rustore.ru/public/v1/application/com.example.pblsh_v2/version/704372/publish' \
--header 'accept: application/json' \
--header 'Public-Token: {YOURtoken}'

Response example

{
"code": "OK",
"message": null,
"body": null,
"timestamp": "2023-08-14T15:34:44.016339151+03:00"
}