Acknowledge Backfill Request
POST/session/v1/backfill/session/:session_id
Acknowledge a backfill request, and keep it alive. If an acknowledgment is missed, open-match will delete the backfill object
Request
Path Parameters
Possible values: non-empty and <= 128 characters
Query Parameters
Default value: true
- application/json
Body
required
Possible values: non-empty and <= 128 characters
The instance ID for this backfill request
extensions
object
Additional extensions to add to the Assignment for the backfill resource associated with the session
Possible values: [fail, allow_overflow, partial_with_overflow, partial_without_overflow, overfill]
How too many players being invited to a single team should be handled
Possible values: [team_request, composition]
The styles of backfill to acknowledge. Can provide multiple for backwards compatibility.
Responses
- 200
- 403
- 404
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
backfilled_players
object[]
List of players that were backfilled. If empty, no players were backfilled
Legacy id for this player
UUID for this player
Possible values: [leader, member, invited, reserved]
What membership state players have in a session
UUID of the player who sent this players invite, if any
Possible values: non-empty and <= 128 characters
The UUID of the session that this player was invited from
custom_data
object
player-defined custom data
Product Client Version number. Used for compatibility checking with other players and instances
client_settings
object
A player's platform and input settings
Possible values: [2, 4, 5, 9, 10, 11, 13, 16, 22, 24, 26, 28]
DEPRECATED. Use 'platform' instead. Id for which platform this client is on. ID will be ignored if 'platform' is given. At least one of the two is required
Possible values: [Anon, Basic, XboxLive, PSN, NintendoNAID, NintendoSwitch, NintendoPPID, Google, GooglePlay, Apple, Epic, Steam, Amazon, Twitch, RallyHere, LegacyName]
Which platform this client is on. If one is not provided, will get the platform from the 'platform_id'. Platform is now read from client's authorization claims if available
Possible values: [keyboardandmouse, gamepad, touch]
Which input type this client is using
Possible values: [pc, xbox_series, xbox_one, web]
Platform verified device type for this client
crossplay_preferences
object
A session's or player's preferences around crossplay platforms and inputs. Permitted platforms and inputs will be checked when new players attempt to join a session
Possible values: [desired_platforms_any, desired_platforms_xboxlike, desired_platforms_playstationlike]
The platform type that the client is allowed to play with (any, xbox-like only, playstation-like only etc.)
Possible values: [desired_inputs_any, desired_inputs_keyboardandmouse, desired_inputs_gamepad, desired_inputs_touch]
The input type that the client is allowed to play with (keyboard and mouse, gamepad, touch input etc.)
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Datetime that enforces that a timezone is given. Unix timestamps are allowed and forced into the UTC time zone
Possible values: [invite, kick, move]
Default value: ``
A list of intra session permissions granted to this specific player
{
"backfilled_players": [
{
"player_id": 0,
"player_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"status": "leader",
"inviting_player_uuid": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"source_session_id": "string",
"custom_data": {},
"version": "21.3.15-beta+12345",
"client_settings": {
"platform_id": 2,
"platform": "Anon",
"input": "keyboardandmouse",
"device_type": "pc"
},
"crossplay_preferences": {
"permitted_platform": "desired_platforms_any",
"permitted_input": "desired_inputs_any"
},
"invited": "2024-07-29T15:51:28.071Z",
"joined": "2024-07-29T15:51:28.071Z",
"session_permissions": [
"invite"
]
}
]
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Backfill resource could not be found on the session, or in the open-match system
- 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"
}
]
}