Get Match Making Templates V2
GET/session/v2/match-making-templates/:template_group_id
Get match making templates, rules, and profiles for a template group. Groups can be found on the queue information
from the queues config endpoints
Required Permissions:
- For any player (including themselves) any of:
session:*,session:read:config
Required Session Permissions: None DEPRECATED Use the V2 endpoint instead
Request
Path Parameters
Header Parameters
If you provide the ETag that matches the current ETag for this resource, a 304 response will be returned - indicating that the resource has not changed.
Responses
- 200
- 403
- 422
Successful Response
Response Headers
ETag
string
Used to identify this version of the content. Provide with a get request to avoid downloading the same data multiple times.
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
]
Array [
]
]
ID for this set of potential matchmaking templates
template_options
object[]
required
List of the different matchmaking templates that could be used. The config is chosen based on a set of rules in each MatchMakingTemplate object. If there are no rules, it's the default template
ID for this unique MatchMakingTemplate
Possible values: [worst, best, avg_weighted_by_sigma, avg]
What method should be used to determine a linking's group MMR based on the individuals
ruleset
object
A collection of rules that are used to determine whether a MatchMakingTemplate should be used
rules
object[]
A list of the rules to be checked for this ruleset
Possible values: [Inventory, InventoryLevel, JoiningSessionSize, RegionList]
What type of rule this is
Possible values: [eq, ne, lt, le, gt, ge, in_set, not_in_set]
Comparison operation to be performed
Integer Value to compare to
Set of string values to compare to
Id of the item we are comparing if this is an inventory rule
Possible values: [allOf, anyOf, oneOf, noneOf]
Default value: allOf
Determiner of how many rules must be satisfied in this rulest (all, any, one, none)
Possible values: [leader, all_members, any_member]
Default value: leader
Which members of a session must be validated to satisfy this ruleset
profiles
object[]
required
A list of which match making profiles are going to be created on the ticket
Possible values: non-empty and <= 128 characters
ID of the matchmaking profile to join
Possible values: [normal, backfill, created_before]
Mode that determines what types of match requests the ticket will appear in
Which instance template to use when launching a match in this profile
Which rank this profile should use MMR from to make matches from, and update at the end of match (1v1 MMR or 2v2 MMR for example)
The number of sides a game in this profile will have (2 in a 1v1 and 3 in a 1v1v1 for example
The maximum number of players that can be on each team
The minimum number of players that can be on each team
Legacy config to help migrate clients
Which deserter this profile should check before allowing players to join matchmaking
What type of session should result from matchmaking on this profile
custom_data
object
Custom data about this profile
Default value: ``
DEPRECATED. Set of all the item ids that are required to validate every rule contained in this template group
DEPRECATED. Whether or not the rulesets under this group will require us to query all players inventory, or just the leader's
DEPRECATED. Whether or not the rulesets under this group will require us to validate session data
{
"match_making_template_group_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"template_options": [
{
"match_making_template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"mmr_grouping_method": "worst",
"ruleset": {
"rules": [
{
"rule_type": "Inventory",
"comparison_operation": "eq",
"comparison_value": 0,
"comparison_value_set": [
"string"
],
"item_id": 0
}
],
"determiner": "allOf",
"players_to_validate": "leader"
},
"profiles": [
{
"match_making_profile_id": "string",
"join_mode": "normal",
"instance_request_template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"rank_id": "string",
"num_sides": 0,
"max_players_per_side": 0,
"min_players_per_side": 0,
"legacy_config": {},
"deserter_id": "string",
"session_template_id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"custom_data": {}
}
]
}
],
"required_item_ids": [
0
],
"requires_all_players_items": false,
"includes_session_rule": false
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "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"
}
]
}