X (Twitter) · Schema

ActivityStreamingResponse

An activity event or error that can be returned by the x activity streaming API.

Social MediaMicrobloggingReal-Time DataStreamingAdvertisingContent

Properties

Name Type Description
data object
errors array
View JSON Schema on GitHub

JSON Schema

x-api-activity-streaming-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twitter/refs/heads/main/json-schema/x-api-activity-streaming-response-schema.json",
  "title": "ActivityStreamingResponse",
  "description": "An activity event or error that can be returned by the x activity streaming API.",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "event_type": {
          "type": "string"
        },
        "event_uuid": {
          "$ref": "#/components/schemas/ActivityEventId"
        },
        "filter": {
          "$ref": "#/components/schemas/ActivitySubscriptionFilter"
        },
        "payload": {
          "$ref": "#/components/schemas/ActivityStreamingResponsePayload"
        },
        "tag": {
          "type": "string"
        }
      }
    },
    "errors": {
      "type": "array",
      "minItems": 1,
      "items": {
        "$ref": "#/components/schemas/Problem"
      },
      "example": []
    }
  }
}