Session Service WebSocket Communication 1.1.0

This is the WebSocket API specification of Session Service.

Servers

  • session-service:{port}/socket.iowssdeploy-server

Operations

  • RECEIVE /

    Operation IDpublish

    Available only on servers:

    Accepts one of the following messages:

    • #0userTokenUserTokenCommandMessage
      Message IDUserTokenCommandMessage

      User Token Command

      object
      object

      Examples

    • #1createSessionCreateSessionCommandMessage
      Message IDCreateSessionCommandMessage

      Create Session Command

      object
      object

      Examples

    • #2joinSessionJoinSessionCommandMessage
      Message IDJoinSessionCommandMessage

      Join Session Command

      object
      object

      Examples

    • #3leaveSessionLeaveSessionCommandMessage
      Message IDLeaveSessionCommandMessage

      Leave Session Command

      object

      Examples

    • #4sendMessageSendTextMessageCommandMessage
      Message IDSendTextMessageCommandMessage

      Send Chat Text Message Command

      object
      object

      Examples

    • #5playVideoPlayVideoCommandMessage
      Message IDPlayVideoCommandMessage

      Play Video Command

      object
      object

      Examples

    • #6stopVideoStopVideoCommandMessage
      Message IDStopVideoCommandMessage

      Stop Video Command

      object
      object

      Examples

  • SEND /

    Operation IDsubscribe

    Available only on servers:

    Accepts one of the following messages:

    • #0textMessageSendTextMessageReactionMessage
      Message IDSendTextMessageReactionMessage

      Send Chat Text Message Reaction

      object

      Text Message

      Examples

    • #1notificationMessageSendNotificationMessageReactionMessage
      Message IDSendNotificationMessageReactionMessage

      Send Chat Notification Message Reaction

      object

      Notification Message

      Examples

    • #2videoStateGetVideoStateReactionMessage
      Message IDGetVideoStateReactionMessage

      Get Video State Reaction

      object

      Examples

    • #3synchronizeSynchronizeVideoReactionMessage
      Message IDSynchronizeVideoReactionMessage

      Synchronize Video Reaction

      object

      Video State

      Examples

Messages

  • #1userTokenUserTokenCommandMessage
    Message IDUserTokenCommandMessage

    User Token Command

    object
    object
  • #2createSessionCreateSessionCommandMessage
    Message IDCreateSessionCommandMessage

    Create Session Command

    object
    object
  • #3joinSessionJoinSessionCommandMessage
    Message IDJoinSessionCommandMessage

    Join Session Command

    object
    object
  • #4leaveSessionLeaveSessionCommandMessage
    Message IDLeaveSessionCommandMessage

    Leave Session Command

    object
  • #5sendMessageSendTextMessageCommandMessage
    Message IDSendTextMessageCommandMessage

    Send Chat Text Message Command

    object
    object
  • #6playVideoPlayVideoCommandMessage
    Message IDPlayVideoCommandMessage

    Play Video Command

    object
    object
  • #7stopVideoStopVideoCommandMessage
    Message IDStopVideoCommandMessage

    Stop Video Command

    object
    object
  • #8textMessageSendTextMessageReactionMessage
    Message IDSendTextMessageReactionMessage

    Send Chat Text Message Reaction

    object

    Text Message

  • #9notificationMessageSendNotificationMessageReactionMessage
    Message IDSendNotificationMessageReactionMessage

    Send Chat Notification Message Reaction

    object

    Notification Message

  • #10videoStateGetVideoStateReactionMessage
    Message IDGetVideoStateReactionMessage

    Get Video State Reaction

    object
  • #11synchronizeSynchronizeVideoReactionMessage
    Message IDSynchronizeVideoReactionMessage

    Synchronize Video Reaction

    object

    Video State

Schemas

  • object

    Text Message

  • object

    Notification Message

  • object

    Video State

  • object

    User Token Response

  • object

    Create Session Response

  • object

    Join Session Response

  • object

    Leave Session Response

  • object

    Send Message Response

  • object

    Play Video Response

  • object

    Stop Video Reponse