Skip to content

Websocket API

Silvan Heller edited this page Oct 24, 2021 · 4 revisions

** Note: This Documentation is from 2019 and needs to be updated **

Cineast listens for messages on the WebSocket endpoint given below.

ws://localhost:4567/api/v1/websocket

Key Points:

  • wss protocol can be used if configured.
  • In all the queries using WebSocket API, user sends a valid message, and in response user gets a series of result messages.
  • All the messages are in JSON format.
  • All messages have a messageType attribute which specifies the type of message.

Messages

Cineast currently supports 4 types of query/lookup messages via WebSocket API. They are: