at.adsb.broadcast.subscribeEvents

adsb.at

Documentation

Subscribe to realtime events from this receiver station.

main subscription

Subscribe to realtime events from this receiver station.

Parameters

cursor integer Optional

Not currently used for backfill. Reserved for future use.

Message Types

Open union

Errors

FutureCursor
ConsumerTooSlow
View raw schema
{
  "description": "Subscribe to realtime events from this receiver station.",
  "errors": [
    {
      "name": "FutureCursor"
    },
    {
      "name": "ConsumerTooSlow"
    }
  ],
  "message": {
    "schema": {
      "refs": [
        "#event",
        "#identity",
        "#info"
      ],
      "type": "union"
    }
  },
  "parameters": {
    "properties": {
      "cursor": {
        "description": "Not currently used for backfill. Reserved for future use.",
        "type": "integer"
      }
    },
    "type": "params"
  },
  "type": "subscription"
}
broadcastOp object

A single operation within a broadcast event.

Properties

action string Required

The type of operation.

maxLength: 16 bytes
Known values: create, update, delete
record unknown Required

The record payload. Shape determined by record's $type field.

View raw schema
{
  "description": "A single operation within a broadcast event.",
  "properties": {
    "action": {
      "description": "The type of operation.",
      "knownValues": [
        "create",
        "update",
        "delete"
      ],
      "maxLength": 16,
      "type": "string"
    },
    "record": {
      "description": "The record payload. Shape determined by record's $type field.",
      "type": "unknown"
    }
  },
  "required": [
    "action",
    "record"
  ],
  "type": "object"
}
event object

A batch of operations from a single poll cycle.

Properties

ops array of ref#broadcastOp Required

List of operations in this batch.

seq integer Required

The stream sequence number of this message.

time string datetime Required

Timestamp of the poll cycle that produced this batch.

View raw schema
{
  "description": "A batch of operations from a single poll cycle.",
  "properties": {
    "ops": {
      "description": "List of operations in this batch.",
      "items": {
        "ref": "#broadcastOp",
        "type": "ref"
      },
      "type": "array"
    },
    "seq": {
      "description": "The stream sequence number of this message.",
      "type": "integer"
    },
    "station": {
      "description": "Strong reference to the emitting receiver's at.adsb.receiver.station record.",
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    },
    "time": {
      "description": "Timestamp of the poll cycle that produced this batch.",
      "format": "datetime",
      "type": "string"
    }
  },
  "required": [
    "seq",
    "station",
    "time",
    "ops"
  ],
  "type": "object"
}
identity object

Represents a station coming online or updating its identity.

Properties

did string did Required

DID of the station.

seq integer Required

The stream sequence number of this message.

time string datetime Required

Timestamp of when this identity event was produced.

View raw schema
{
  "description": "Represents a station coming online or updating its identity.",
  "properties": {
    "did": {
      "description": "DID of the station.",
      "format": "did",
      "type": "string"
    },
    "seq": {
      "description": "The stream sequence number of this message.",
      "type": "integer"
    },
    "station": {
      "description": "Strong reference to the station record.",
      "ref": "com.atproto.repo.strongRef",
      "type": "ref"
    },
    "time": {
      "description": "Timestamp of when this identity event was produced.",
      "format": "datetime",
      "type": "string"
    }
  },
  "required": [
    "seq",
    "did",
    "time"
  ],
  "type": "object"
}
info object

No description available.

Properties

message string Optional

Human-readable info message.

maxLength: 1024 bytes
name string Required

Operational info message name.

maxLength: 64 bytes
Known values: OutdatedCursor
View raw schema
{
  "properties": {
    "message": {
      "description": "Human-readable info message.",
      "maxLength": 1024,
      "type": "string"
    },
    "name": {
      "description": "Operational info message name.",
      "knownValues": [
        "OutdatedCursor"
      ],
      "maxLength": 64,
      "type": "string"
    }
  },
  "required": [
    "name"
  ],
  "type": "object"
}

Lexicon Garden

@