com.atproto.sync.listHosts

atproto-lexicons.bsky.social

Documentation

Enumerates upstream hosts (eg, PDS or relay instances) that this service consumes from. Implemented by relays.

main query

Enumerates upstream hosts (eg, PDS or relay instances) that this service consumes from. Implemented by relays.

Parameters

cursor string Optional

No description available.

limit integer Optional

No description available.

Output

Encodingapplication/json
cursor string Optional

No description available.

hosts array Required

Sort order is not formally specified. Recommended order is by time host was first seen by the server, with oldest first.

Try It

Direct PDS XRPC methods (com.atproto.*) are disabled in Try It for security reasons.

These methods interact directly with Personal Data Servers and require careful handling. Use a dedicated client or CLI tool instead.
View raw schema
{
  "description": "Enumerates upstream hosts (eg, PDS or relay instances) that this service consumes from. Implemented by relays.",
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "cursor": {
          "type": "string"
        },
        "hosts": {
          "description": "Sort order is not formally specified. Recommended order is by time host was first seen by the server, with oldest first.",
          "items": {
            "ref": "#host",
            "type": "ref"
          },
          "type": "array"
        }
      },
      "required": [
        "hosts"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "cursor": {
        "type": "string"
      },
      "limit": {
        "default": 200,
        "maximum": 1000,
        "minimum": 1,
        "type": "integer"
      }
    },
    "type": "params"
  },
  "type": "query"
}
host object

No description available.

Properties

accountCount integer Optional

No description available.

hostname string Required

hostname of server; not a URL (no scheme)

seq integer Optional

Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor).

View raw schema
{
  "properties": {
    "accountCount": {
      "type": "integer"
    },
    "hostname": {
      "description": "hostname of server; not a URL (no scheme)",
      "type": "string"
    },
    "seq": {
      "description": "Recent repo stream event sequence number. May be delayed from actual stream processing (eg, persisted cursor not in-memory cursor).",
      "type": "integer"
    },
    "status": {
      "ref": "com.atproto.sync.defs#hostStatus",
      "type": "ref"
    }
  },
  "required": [
    "hostname"
  ],
  "type": "object"
}

Lexicon Garden

@