Create Environment
POST/v1/product/:product_id/environment
Create an environment
Request
Path Parameters
Product ID
- application/json
Body
required
Possible values: non-empty and <= 200 characters
The name of the environment
Possible values: non-empty and <= 100 characters
The short name of the environment
Possible values: non-empty and <= 200 characters
The base url for this environment. This must start with https://
Possible values: non-empty and <= 200 characters
The primary contact email for the environment
The id of the sandbox this environment uses
Determines if the Loot is active. Inactive Loot will not be fulfilled
Possible values: [creating, created, on, off, initializing, terminating, destroying, destroyed]
An enumeration.
Possible values: [open, limited, locked]
An enumeration.
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
URL to the classic support tool
Possible values: [dev, live]
An enumeration.
Whether sandbox generation is enabled for this environment
Timestamp of when the sandbox generation was last run
Version number indicating the state of the environment's generated sandbox
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
The id of the sandbox this environment uses
Unique name used during environment spin up. Must be unique across all products
Name of Config DB to create and/or set up for this environment
Name of Game DB to create and/or set up for this environment
Name of Log DB to create and/or set up for this environment
Name of Match DB to create and/or set up for this environment
Name of Person DB to create and/or set up for this environment
Name of reputation DB to create and/or set up for this environment
Name of schedule DB to create and/or set up for this environment
Name of stats DB to create and/or set up for this environment
Name of support DB to create and/or set up for this environment
Name of file API DB to create and/or set up for this environment
Name of KQL DB to create and/or set up for this environment
Name of gets resource to create and/or set up for this environment
Whether sandbox generation is currently in progress
The id of the sandbox this environment uses
The ID of the sandbox that was generated
Possible values: non-empty and <= 200 characters
The name of the environment
Possible values: non-empty and <= 100 characters
The short name of the environment
Possible values: non-empty and <= 200 characters
The base url for this environment. This must start with https://
Possible values: non-empty and <= 200 characters
The primary contact email for the environment
Determines if the Loot is active. Inactive Loot will not be fulfilled
Possible values: [creating, created, on, off, initializing, terminating, destroying, destroyed]
An enumeration.
Possible values: [open, limited, locked]
An enumeration.
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
URL to the classic support tool
Possible values: [dev, live]
An enumeration.
Whether sandbox generation is enabled for this environment
Timestamp of when the sandbox generation was last run
Version number indicating the state of the environment's generated sandbox
Timestamp of when the resource was last modified
Product that owns this sandbox
ID used to lookup automation related data
{
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"unique_name": "string",
"config_db_name": "string",
"game_db_name": "string",
"log_db_name": "string",
"match_db_name": "string",
"person_db_name": "string",
"reputation_db_name": "string",
"schedule_db_name": "string",
"stats_db_name": "string",
"support_db_name": "string",
"file_api_db_name": "string",
"kql_db_name": "string",
"gets_resource_name": "string",
"sandbox_generation_in_progress": false,
"base_sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"generated_sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"short_name": "string",
"base_url": "string",
"primary_contact_email": "string",
"archive": false,
"state": "creating",
"authentication_state": "open",
"kick_before_hint": "2024-07-29T15:51:28.071Z",
"classic_support_tool_url": "string",
"usage": "dev",
"sandbox_generation_enabled": false,
"sandbox_generation_timestamp": "2024-07-29T15:51:28.071Z",
"sandbox_generation_version": 0,
"environment_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_timestamp": "2024-07-29T15:51:28.071Z",
"product_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"automation_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}