Set room assignments
PUT
/api/v1/ttx/{ttx_id}/rooms/assignments
Set which room each Player sits in.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
RoomAssignmentsRequest
object
Example generated
{ "assignments": [ { "room_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0", "user_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0" } ]}Responses
Section titled “Responses”Successful Response
Media typeapplication/json
RoomsRead
Creator -> Exercise -> Rooms: whether the exercise uses rooms, its rooms and its Players with their seat.
object
players
required
rooms
required
Rooms
Array<object>
RoomReadobject
code
required
Code
string
description
required
Description
string
id
required
Id
string format: uuid
name
required
Name
string
player_count
required
Player Count
integer
structure_locked
required
Structure Locked
boolean
team
Team
Array<object>
RoomTeamMemberReadA team member who follows the session, and the room their view of it opens on (null: the main room). They can still look at any room.
uses_rooms
required
Uses Rooms
boolean
Example
{ "team": []}Validation Error
Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Example generated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}