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
required path parameter
namespace_id
required path parameter
Request Body
hostname
required string
lobby_ports
required array<object>
A list of docker ports.
Response Body
errors
required array<object>
A list of validation errors.
errors[*]
object
An error given by failed content validation.
path
required array<string>
A list of strings denoting the origin of a validation error.
path[*]
string