paths: /admin/file/{quest}/upload: post: operationId: adminUploadFile security: - cookieAuth: [creator, admin] parameters: - name: quest in: path required: true schema: type: string format: uuid requestBody: content: multipart/form-data: schema: type: object properties: file: type: string format: binary responses: 200: $ref: "#/components/responses/uploadResponse" /admin/file/{quest}: get: operationId: adminListFiles security: - cookieAuth: [creator, admin] parameters: - name: quest in: path required: true schema: type: string format: uuid responses: 200: $ref: "#/components/responses/filesListResponse" /admin/games: get: operationId: adminListGames responses: 200: $ref: "#/components/responses/gameListResponse" post: operationId: adminEditGame security: - cookieAuth: [creator, admin] requestBody: content: application/json: schema: $ref: "#/components/schemas/gameEdit" responses: 200: $ref: "#/components/responses/gameAdminResponse" /admin/games/{uid}: get: operationId: adminGetGame parameters: - name: uid in: path required: true schema: type: string format: uuid security: - cookieAuth: [creator, admin] responses: 200: $ref: "#/components/responses/gameAdminResponse"