Skip to content

Commit

Permalink
feat: update of statisticsservice.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
daho4b committed Sep 27, 2021
1 parent 4dc0c15 commit c512da7
Showing 1 changed file with 34 additions and 0 deletions.
34 changes: 34 additions & 0 deletions services/statisticsservice.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ components:
enum:
- "ASSIGN_SESSION"
- "CREATE_MESSAGE"
- "START_VIDEO_CALL"
- "STOP_VIDEO_CALL"

UserRole:
type: string
Expand Down Expand Up @@ -108,6 +110,38 @@ components:
description: indicates whether the message has an attachment
example: true

StartVideoCallStatisticsEventMessage:
type: object
required:
- sessionId
- videoCallUuid
allOf:
- $ref: '#/components/schemas/StatisticsEventMessage'
- type: object
properties:
sessionId:
type: integer
format: int64
description: The id of the session
example: 12345
videoCallUuid:
type: string
description: The uuid of the video call
example: 123e4567-e89b-12d3-a456-556642440000

StopVideoCallStatisticsEventMessage:
type: object
required:
- videoCallUuid
allOf:
- $ref: '#/components/schemas/StatisticsEventMessage'
- type: object
properties:
videoCallUuid:
type: string
description: The uuid of the video call
example: 123e4567-e89b-12d3-a456-556642440000

securitySchemes:
Bearer:
type: apiKey
Expand Down

0 comments on commit c512da7

Please sign in to comment.