MeiroDocs

Websocket Events

All websocket api is not in `api.` prefix of URL, but in `stats.` prefix

Section: Group Websocket Events. Base URL: https://api.instance_name.meiro.io/.

All websocket api is not in api. prefix of URL, but in stats. prefix

Datasource [/datasource/]

Handled by websocket.

Running under namespace /events. On connection client should provide token in X-Access-Token header.

Retrieve Datasource [GET]

Every client connected on websocket+SocketIO gets periodically all datasources available

  • Response 200 (application/json)
    • Attributes (Datasource)

Statistics [/statistics]

Handled by websocket.

Running under namespace /events.

Retrieve Statistics [GET]

Every client connected on websocket+SocketIO gets periodically all statistics available

  • Response 200 (application/json)
    • Attributes (Statistics)

On this page