-
Notifications
You must be signed in to change notification settings - Fork 50
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
-
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.
Cineast currently supports 4 types of query/lookup messages via WebSocket API. They are:
- Status Check: Ping the server to get the server status.
- Temporal Query: Perform a similarity query.
- More-Like-This Query: Perform a more-like-this query.
- Neighbouring Query: Perform a neighboring segment query.
- Home
- Setup
- Environment Setup
- Getting Started
- Optional: Retrieval Setup Guide
- Research: Working with Existing Data
- Working with Multimedia Data
- Advanced
- API Documentation
- CLI