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