Skip to content

Get Config For All Setting Types

GET
/settings/v1/setting_type

Get all setting types and their configuration.

Required Permissions:

  • For any player (including themselves) any of: setting-config:read, setting:*:*

Authorizations

Responses

200

Successful Response

object
key
additional properties
object
versions
required

Map of setting type version ids to the version

object
key
additional properties
object
allow_update

Are players allowed to set/update keys to this version of the setting type? Does not affect getting or deleting existing settings.

boolean
default: true
key_regex

Regex that is used to verify keys at assignment time

string
default: ^.+$
value_jsonschema
required

jsonschema that is used to verify values at assignment time

object
custom_data

Custom data that was provided when the setting type was created

object
key
additional properties
string

403

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
object
auth_success
boolean
default: true
error_code
required
string
desc
required
string