Loading the API reference…

Browse the API reference

Get the socket protocol schema

get https://table.prod.thinkalpha.io/protocol/schema

Returns the JSON Schema that describes every message exchanged on the live-data socket connection (raw TCP or WebSocket), which encodes messages in the binary FlatBuffers format. Use it to inspect message shapes. Generating compatible binary socket bindings requires the FlatBuffers source files src/protocol/flatbuffer/px_schema.fbs and src/protocol/flatbuffer/px_schema_structures.fbs and the FlatBuffers compiler; JSON Schema alone is insufficient. It needs no credential. The schema changes only when the proxy is upgraded, so you can cache it for the life of a deployment. The HTTP snapshot operations exchange plain JSON, not this binary encoding. The request target must match this path exactly; adding a query string is rejected.

Operation ID
getProtocolSchema
Authentication
Not specified

Responses

A JSON Schema document. Its definitions member holds one entry per protocol message and enum.

  • $schema string

    The JSON Schema dialect the document is written in.

  • definitions object

    Schema definitions keyed by name.