Get Config For Single Setting Type And Version
GET/settings/v1/setting_type/:setting_type_id/v/:setting_version_id
Get a specific version of a specific setting type.
Required Permissions:
- For any player (including themselves) any of:
setting-config:read,setting:*:*
Request
Path Parameters
Header Parameters
Precondition check if the resource's current ETag matches the provided values. * can be used to match any existing value.
See https://www.rfc-editor.org/rfc/rfc9110#name-if-match for more information
Precondition check if the resource's current ETag does NOT match the provided values. * can be used to match existing value, causing the request to fail.
See https://www.rfc-editor.org/rfc/rfc9110#name-if-none-match for more information
Precondition check if the resource's Last-Modified date is newer than the provided date. Ignored if the If-None-Match header is provided. Only valid for GET/HEAD endpoints.
See https://www.rfc-editor.org/rfc/rfc9110#name-if-modified-since for more information
Precondition check if the resource's Last-Modified date is older than the provided date. Ignored if the If-Match header is provided.
See https://www.rfc-editor.org/rfc/rfc9110#name-if-unmodified-since for more information
Responses
- 200
- 304
- 403
- 404
- 412
- 422
Successful Response
Response Headers
ETag
string
The ETag for the resource. Used for caching and preconditions.
Last-Modified
string
The Last-Modified date for the resource. Used for caching and preconditions.
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
Are players allowed to set/update keys to this version of the setting type? Does not affect getting or deleting existing settings.
Default value: ^.+$
Regex that is used to verify keys at assignment time
jsonschema that is used to verify values at assignment time
custom_data
object
Custom data that was provided when the setting type was created
{
"allow_update": true,
"key_regex": "^.+$",
"value_jsonschema": {},
"custom_data": {}
}
The resource has not been modified from the provided preconditions.
Response Headers
ETag
string
The ETag for the resource. Used for caching and preconditions.
Last-Modified
string
The Last-Modified date for the resource. Used for caching and preconditions.
Error Codes:
-
auth_invalid_key_id- Invalid Authorization - Invalid Key ID in Access Token -
auth_invalid_version- Invalid Authorization - version -
auth_malformed_access- Invalid Authorization - malformed access token -
auth_not_jwt- Invalid Authorization -
auth_token_expired- Token is expired -
auth_token_format- Invalid Authorization - {} -
auth_token_invalid_claim- Token contained invalid claim value: {} -
auth_token_invalid_type- Invalid Authorization - Invalid Token Type -
auth_token_sig_invalid- Token Signature is invalid -
auth_token_unknown- Failed to parse token -
insufficient_permissions- Insufficient Permissions
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Error Codes:
-
setting_type_id_not_found- The setting type ID was not found -
setting_version_id_not_found- The setting Version was not found for that type
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
The resource does not meet the provided preconditions.
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"
}
]
}