| 123456789101112131415161718192021222324252627282930313233 |
- operationId: sessionCreate
- summary: Create
- security:
- - UserAuth: [tokens]
- description: Create a new session. Will also be the first turn to set the scene.
- tags: [Session]
- parameters:
- - name: game_id
- in: path
- description: Game ID
- required: true
- schema:
- type: string
- format: uuid
- example: 019eb91d-9820-7624-b22b-4e2423b1942b
- responses:
- "200":
- description: Session started
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/Session"
- "400":
- $ref: "#/components/responses/400"
- "401":
- $ref: "#/components/responses/401"
- "403":
- $ref: "#/components/responses/403"
- "404":
- $ref: "#/components/responses/404"
- "500":
- $ref: "#/components/responses/500"
|