API
cloud.games.namespaces.createGameNamespaceTokenDevelopment
API
cloud.games.namespaces.createGameNamespaceTokenDevelopment
Creates a development token for the given namespace.
POST https://cloud.api.rivet.gg/v1/games/{game_id}/namespaces/{namespace_id}/tokens/development
curl -X POST -d '@body.json' 'https://cloud.api.rivet.gg/v1/games/{game_id}/namespaces/{namespace_id}/tokens/development'
Authorizations
Authorization[header]required
string
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
game_idrequired
string
namespace_idrequired
string
Body
hostnamerequired
string
The hostname used for the token.
ports
object
lobby_ports
array
Deprecated A list of docker ports.
Response
tokenrequired
string
A JSON Web Token. Slightly modified to include a description prefix and use Protobufs of JSON.
curl -X POST -d '@body.json' 'https://cloud.api.rivet.gg/v1/games/{game_id}/namespaces/{namespace_id}/tokens/development'