Patch Rank
PATCH/v1/sandbox/:sandbox_id/rank/:rank_id
Update an existing Rank in a sandbox
Requires permission sandbox:config:edit.
Request
Path Parameters
Sandbox ID
- application/json
Body
required
Possible values: non-empty and <= 125 characters
Name of the resource
Possible values: <= 250 characters
Description of the resource
custom_data
object
Custom data associated with the resource
The maximum skill value that can be achieved in this Rank
The minimum skill value that can be achieved in this Rank
Possible values: > 0
The minimum sigma value achievable in this Rank when calculating with the ranking calculations.
Default beta value for ranking calculations, which represents the distance in rating to have ~76% chance of winning for the higher rated player. The default is 4.167
Default mu value for ranking calculations, which represents player skill. The default is 25
Possible values: > 0
Default sigma for ranking calculations, which represents the systems uncertainty on the player's mu (higher values mean more uncertainty). The default is 8.333
Draw probability for ranking calculations. The default is 0.1
Tau represents the additive dynamic factor for ranking calculations. The higher the value, the more dynamic ratings will be (wins grant more, and losses lose more). The default value is 0.083
Responses
- 200
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Possible values: non-empty and <= 125 characters
Name of the resource
Possible values: <= 250 characters
Description of the resource
custom_data
object
Custom data associated with the resource
The maximum skill value that can be achieved in this Rank
The minimum skill value that can be achieved in this Rank
Possible values: > 0
The minimum sigma value achievable in this Rank when calculating with the ranking calculations.
Default beta value for ranking calculations, which represents the distance in rating to have ~76% chance of winning for the higher rated player. The default is 4.167
Default mu value for ranking calculations, which represents player skill. The default is 25
Possible values: > 0
Default sigma for ranking calculations, which represents the systems uncertainty on the player's mu (higher values mean more uncertainty). The default is 8.333
Draw probability for ranking calculations. The default is 0.1
Tau represents the additive dynamic factor for ranking calculations. The higher the value, the more dynamic ratings will be (wins grant more, and losses lose more). The default value is 0.083
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
{
"name": "string",
"description": "string",
"custom_data": {},
"max_mu": 0,
"min_mu": 0,
"min_sigma": 0,
"beta": 0,
"default_mu": 0,
"default_sigma": 0,
"draw_probability": 0,
"tau": 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",
"rank_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"
}
]
}