Get Setting Types For Sandbox
GET/v1/sandbox/:sandbox_id/setting-type
Get all custom Setting Types for a sandbox Requires any of permissions: sandbox:config:view, sandbox:config:edit
Request
Path Parameters
Sandbox ID
Query Parameters
Possible values: >= 1 and <= 10000
Default value: 50
The maximum number of elements to be returned per call
Possible values: non-empty and <= 128 characters
Default value: 0
Cursor to designate where you are in iterating through values. Start with '0', and pass this on subsequent calls to continue iteration
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
setting_types
object[]
required
A list of Setting Types
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
Account ID of the user who last modified the resource
Timestamp of when the resource was last modified
Timestamp of when the resource was created
Unique identifier for this setting type
User friendly identifier of setting type
Default value: 1
Version of setting type schema
Default value: [object Object]
JSONSchema definition of the setting
Default value: true
Whether setting type can be updated
Default value: ^.+$
Regex that is used to verify keys at assignment time
Possible values: non-empty and <= 128 characters
Cursor to designate where you are in iterating through values. Start with '0', and pass this on subsequent calls to continue iteration
{
"setting_types": [
{
"custom_data": {},
"name": "string",
"description": "string",
"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",
"setting_type_unique_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"type": "string",
"version": 1,
"value_jsonschema": {},
"allow_update": true,
"key_regex": "^.+$"
}
],
"cursor": "string"
}
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"
}
]
}