games.namespaces.validateGameNamespaceTokenDevelopment
Description
Validates information used to create a new game namespace development token.
Code Examples
Request
POST
https://api.rivet.gg/cloud/games/{game_id}/namespaces/{namespace_id}/tokens/development/validate# Write the request body to body.json before running
curl -X POST -d '@body.json' 'https://api.rivet.gg/cloud/games/{game_id}/namespaces/{namespace_id}/tokens/development/validate'
Request Parameters
game_id
Path parameter, required
namespace_id
Path parameter, required
Request Body
hostname
string
(required)
lobby_ports
array<object>
(required)
A list of docker ports.
Response Body
errors
array<object>
(required)
A list of validation errors.
errors[*].path
array<string>
(required)
A list of strings denoting the origin of a validation error.