Create Map
POST/v1/sandbox/:sandbox_id/map
Add a new Map for a sandbox
Requires permission sandbox:config:edit.
Request
Path Parameters
Sandbox ID
- application/json
Body
required
custom_data
object
Custom data associated with the resource
Possible values: non-empty and <= 125 characters
Name of the resource
Possible values: <= 250 characters
Description of the resource
Possible values: non-empty and <= 1024 characters
The name of the map that will be loaded into
Possible values: non-empty and <= 1024 characters
An optional mode that will be loaded into
Possible values: non-empty and <= 4096 characters
Additional commandline parameters for the instance
legacy_config
object
Old config used by Legacy systems. These values are ignored by the current APIs
Default value: 0
Old map id
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
custom_data
object
Custom data associated with the resource
Possible values: non-empty and <= 125 characters
Name of the resource
Possible values: <= 250 characters
Description of the resource
Possible values: non-empty and <= 1024 characters
The name of the map that will be loaded into
Possible values: non-empty and <= 1024 characters
An optional mode that will be loaded into
Possible values: non-empty and <= 4096 characters
Additional commandline parameters for the instance
legacy_config
object
Old config used by Legacy systems. These values are ignored by the current APIs
Default value: 0
Old map id
ID of the Sandbox
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
Timestamp of when this resource was created
ID to uniquely identify this Map
{
"custom_data": {},
"name": "string",
"description": "string",
"map_name": "string",
"mode": "string",
"misc_params": "string",
"legacy_config": {
"map_id": 0
},
"sandbox_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_account_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"last_modified_timestamp": "2024-07-29T15:51:28.071Z",
"created_timestamp": "2024-07-29T15:51:28.071Z",
"map_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"
}
]
}