Skip to main content

CreateGameNamespaceTokenDevelopment

Creates a development token for the given namespace.

Path Parameters
  • game_id string required

    Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

    A universally unique identifier.

  • namespace_id string required

    Possible values: Value must match regular expression ^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$

    A universally unique identifier.

Request Body required
  • hostname string required

    The hostname used for the token.

  • lobby_ports object[] required

    A list of docker ports.

    • label string required

      The label of this docker port.

    • target_port int32

      The port number to connect to.

    • port_range object

      Range of ports that can be connected to.

      • min int32 required

        Unsigned 32 bit integer.

      • max int32 required

        Unsigned 32 bit integer.

    • proxy_protocol string required

      Possible values: [http, https, udp]

      A proxy protocol.

Responses

CreateGameNamespaceTokenDevelopment 200 response

Schema
  • token password required

    A JSON Web Token.

    Slightly modified to include a description prefix and use Protobufs of JSON.