games.versions.reserveVersionName


Description

Reserves a display name for the next version. Used to generate a monotomically increasing build number without causing a race condition with multiple versions getting created at the same time.


Code Examples

Request

POST
https://api.rivet.gg/cloud/games/{game_id}/versions/reserve-name
curl -X POST 'https://api.rivet.gg/cloud/games/{game_id}/versions/reserve-name'

Request Parameters

game_id

required path parameter

Response Body

version_display_name

required string

Represent a resource's readable display name.