Skip to main content

Calculate V2 Ranks

POST 

/rank/v2/rank:calculate

deprecated

Calculate a rank update on players and persist their new ranks Requires at least two teams, and the players' ranks before the last match was played

Required Permissions: rank:update:any

Request

Body

required

    instance_id Instance Id (string)

    Possible values: non-empty and <= 128 characters

    ID for the instance the match took place on

    rank_id Rank Id (string)required

    Possible values: non-empty

    ID for the rank type used in this match

    match_length_seconds Match Length Seconds (integer)required

    How many seconds the match lasted

    teams

    object[]

    required

    List of teams that participated in this match

  • Array [

  • players

    object[]

    required

    List of CalculatedRank objects that give stats about a specific player from the match

  • Array [

  • player_uuid uuidrequired

    UUID for this specific player

    rank

    object

    required

    Ranked data about a player's skill and confidence levels

    mu Mu (number)required

    A measure of perceived skill in a player

    sigma Sigma (number)required

    A measure of how confident we are in the perceived skill (high sigma means low confidence)

    custom_data

    object

    Custom key-value player rank data

    property name* string
    seconds_in_match Seconds In Match (integer)required

    How many seconds this player was in the match

  • ]

  • team_rank Team Rank (integer)required

    Possible values: >= 1

    What rank this team came in. 1 indicates victory, and higher values are placements. Matching ranks indicate draws

  • ]

Responses

Successful Response

Schema

    updated_players

    object[]

    required

    List of players and their updated ranks

  • Array [

  • player_uuid uuidrequired

    UUID for this specific player

    rank

    object

    required

    Ranked data about a player's skill and confidence levels

    mu Mu (number)required

    A measure of perceived skill in a player

    sigma Sigma (number)required

    A measure of how confident we are in the perceived skill (high sigma means low confidence)

    custom_data

    object

    Custom key-value player rank data

    property name* string
    rank_id Rank Id (string)required

    Possible values: non-empty

    ID for this rank

  • ]

Loading...