Skip to content

Create Instance Request Template

POST
/v1/sandbox/{sandbox_id}/instance-request-template

Create a new Instance Request Template in a sandbox

Requires permission sandbox:config:edit.

Authorizations

Parameters

Path Parameters

sandbox_id
required

Sandbox ID

string format: uuid

Sandbox ID

Request Body required

This mixin is meant to give a set of common properties to root config models

object
custom_data

Custom data associated with the resource

object
key
additional properties
string
name

Name of the resource

string
>= 1 characters <= 125 characters
description

Description of the resource

string
>= 1 characters <= 250 characters
map_selection_list_id
required

Which MapSelectionList is used to choose a map when using this template

string format: uuid
instance_request_template_id

ID to uniquely identify this InstanceRequestTemplate

string format: uuid
default_host_type
required

Which host type is used by default (player hosted, or dedicated instance)

string
Allowed values: dedicated player
legacy_config

Old config used by Legacy systems. These values are ignored by the current APIs

object

Responses

200

Successful Response

This mixin is meant to give a set of common properties to root config models

object
custom_data

Custom data associated with the resource

object
key
additional properties
string
name

Name of the resource

string
>= 1 characters <= 125 characters
description

Description of the resource

string
>= 1 characters <= 250 characters
map_selection_list_id
required

Which MapSelectionList is used to choose a map when using this template

string format: uuid
instance_request_template_id
required

ID to uniquely identify this InstanceRequestTemplate

string format: uuid
default_host_type
required

Which host type is used by default (player hosted, or dedicated instance)

string
Allowed values: dedicated player
legacy_config

Old config used by Legacy systems. These values are ignored by the current APIs

object
sandbox_id

ID of the Sandbox

string format: uuid
last_modified_account_id

Account ID of the user who last modified the resource

string format: uuid
last_modified_timestamp

Timestamp of when the resource was last modified

string format: date-time
created_timestamp

Timestamp of when this resource was created

string format: date-time

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string