Skip to main content

gRPC

The streaming API exposes one data-plane service, AircraftStreamingService, whose StartStream RPC opens the live feed and accepts an optional filter. The SubscriptionService described below is Deprecated. Field-level detail for the JSON payload is on the Aircraft page.

Service definitions​

Services​

AircraftStreamingService​

Service definition for streaming aircraft data

StartStream​

JSON-based streaming (high throughput, no protobuf conversion)

  • Request: StartStreamRequest
  • Response: JsonAircraftBatch (streaming)

SubscriptionService​

UpdateSubscription​

Deprecated: replaces the filter on the subscription's open stream at the gateway's next revalidation pass. Does not survive a reconnect. Prefer StartStreamRequest.filters and reconnect to change it.

  • Request: UpdateSubscriptionRequest
  • Response: Subscription

Messages​

Filter​

  • root_group — FilterGroup

FilterCondition​

FieldTypeDescription
fieldstringe.g. "altitude", "hex"
opstringe.g. "EQ", "GT", "IN"
valuestringcondition value, always passed as a string regardless of the underlying field's type

FilterGroup​

FieldTypeDescription
opFilterGroup.LogicalOperator
conditionsFilterCondition (repeated)
groupsFilterGroup (repeated)

JsonAircraftBatch​

JSON-based batch for high-throughput streaming (avoids protobuf conversion overhead)

  • json_data — bytes — JSON array of aircraft position objects

StartStreamRequest​

Request to start streaming aircraft for a subscription

FieldTypeDescription
subscription_idstring
filtersjetnet.streaming.FilterOptional. The filter for this connection. Omit or send empty for an unfiltered stream. Nothing from a previous connection carries over.

Subscription​

FieldTypeDescription
idstring
client_idstring
namestring
filtersFilter
topic_namestringConvenience fields

UpdateSubscriptionRequest​

FieldTypeDescription
subscription_idstring
namestringoptional
filtersFilteroptional; full replacement semantics

Enums​

FilterGroup.LogicalOperator​

ValueNumberDescription
LOGICAL_OPERATOR_UNSPECIFIED0
AND1
OR2