diff --git a/schemas/swagger.yml b/schemas/swagger.yml index 68375b942..f640f22c6 100644 --- a/schemas/swagger.yml +++ b/schemas/swagger.yml @@ -454,520 +454,6 @@ paths: '404': description: Booth not found - # dreamkast function - /api/v1/profile/{profileId}/points: - get: - tags: - - Point - parameters: - - name: "conference" - in: "query" - required: true - schema: - type: "string" - - name: "profileId" - in: "path" - required: true - schema: - type: "string" - responses: - "400": - description: "400 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "500": - description: "500 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "200": - description: "200 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/ProfilePoints" - options: - parameters: - - name: "profileId" - in: "path" - required: true - schema: - type: "string" - responses: - "200": - description: "200 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: {} - /api/v1/talks/{talkId}/vote: - post: - tags: - - Vote - parameters: - - name: "talkId" - in: "path" - required: true - schema: - type: "string" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/Vote" - required: true - responses: - "400": - description: "400 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "404": - description: "404 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "200": - description: "200 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/CommonResponse" - options: - parameters: - - name: "talkId" - in: "path" - required: true - schema: - type: "string" - responses: - "200": - description: "200 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: {} - /api/v1/profile/{profileId}/point: - post: - tags: - - Point - parameters: - - name: "profileId" - in: "path" - required: true - schema: - type: "string" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/ProfilePoint" - required: true - responses: - "404": - description: "404 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "200": - description: "200 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/CommonResponse" - "400": - description: "400 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "500": - description: "500 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - options: - parameters: - - name: "profileId" - in: "path" - required: true - schema: - type: "string" - responses: - "200": - description: "200 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: {} - /api/v1/app-data/{profileId}/conference/{conference}: - get: - tags: - - DkUiData - parameters: - - name: "profileId" - in: "path" - required: true - schema: - type: "string" - - name: "conference" - in: "path" - required: true - schema: - type: "string" - responses: - "400": - description: "400 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "500": - description: "500 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "200": - description: "200 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/DkUiData" - post: - tags: - - DkUiData - parameters: - - name: "profileId" - in: "path" - required: true - schema: - type: "string" - - name: "conference" - in: "path" - required: true - schema: - type: "string" - requestBody: - content: - application/json: - schema: - $ref: "#/components/schemas/DkUiDataMutation" - required: true - responses: - "400": - description: "400 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "500": - description: "500 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "200": - description: "200 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/CommonResponse" - options: - parameters: - - name: "profileId" - in: "path" - required: true - schema: - type: "string" - - name: "conference" - in: "path" - required: true - schema: - type: "string" - responses: - "200": - description: "200 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: {} - /api/v1/tracks/{trackId}/viewer_count: - get: - tags: - - ViewerCount - parameters: - - name: "trackId" - in: "path" - required: true - schema: - type: "string" - responses: - "400": - description: "400 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "404": - description: "404 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/Error" - "200": - description: "200 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: - application/json: - schema: - $ref: "#/components/schemas/ViewerCount" - options: - parameters: - - name: "trackId" - in: "path" - required: true - schema: - type: "string" - responses: - "200": - description: "200 response" - headers: - Access-Control-Allow-Origin: - schema: - type: "string" - Access-Control-Allow-Methods: - schema: - type: "string" - Access-Control-Allow-Headers: - schema: - type: "string" - content: {} - components: schemas: Profile: @@ -1540,127 +1026,3 @@ components: createdAt: "2022-04-30T10:06:33.938Z" updatedAt: "2022-05-30T22:02:11.123Z" - # dreamkast-function - Vote: - title: "voteResponse" - required: - - "eventAbbr" - type: "object" - properties: - eventAbbr: - type: "string" - additionalProperties: false - Error: - title: "Error Schema" - type: "object" - properties: - message: - type: "string" - DkUiData: - title: "dkUiData" - required: - - "stampChallenges" - - "watchedTalksOnline" - type: "object" - properties: - watchedTalksOnline: - type: "object" - properties: - watchingTime: - type: "object" - additionalProperties: true - prevTimestamp: - type: "number" - stampChallenges: - type: "array" - items: - required: - - "slotId" - - "waiting" - type: "object" - properties: - condition: - type: "string" - waiting: - type: "boolean" - slotId: - type: "number" - timestamp: - type: "number" - additionalProperties: true - DkUiDataMutation: - title: "dkUiDataMutation" - required: - - "action" - - "payload" - type: "object" - properties: - payload: - type: "object" - additionalProperties: true - action: - type: "string" - additionalProperties: false - CommonResponse: - title: "commonResponse" - type: "object" - properties: - message: - type: "string" - status: - type: "string" - additionalProperties: true - ViewerCount: - title: "viewerCountResponse" - required: - - "trackId" - - "viewerCount" - type: "object" - properties: - trackId: - type: "number" - viewerCount: - type: "number" - additionalProperties: false - ProfilePoints: - title: "profilePointsResponse" - required: - - "points" - - "total" - type: "object" - properties: - total: - type: "number" - points: - type: "array" - items: - title: "profilePointResponse" - required: - - "conference" - - "pointEventId" - type: "object" - properties: - conference: - type: "string" - pointEventId: - type: "string" - point: - type: "number" - timestamp: - type: "number" - desc: - type: "string" - additionalProperties: false - additionalProperties: false - ProfilePoint: - title: "profilePointRequest" - required: - - "conference" - - "pointEventId" - type: "object" - properties: - conference: - type: "string" - pointEventId: - type: "string" - additionalProperties: false