town.delve.graph.getRelationships

delve.town

Documentation

Enumerates public relationships between one account, and a list of other accounts. Does not require auth.

main query

Enumerates public relationships between one account, and a list of other accounts. Does not require auth.

Parameters

actor string at-identifier Required

Primary account requesting relationships for.

others array of string Optional

List of 'other' accounts to be related back to the primary.

Output

Encodingapplication/json
actor stringdid Optional

A decentralized identifier (DID).

relationships array Required

No description available.

Errors

ActorNotFound the primary actor at-identifier could not be resolved
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
Parameters
Primary account requesting relationships for.
List of 'other' accounts to be related back to the primary.
View raw schema
{
  "description": "Enumerates public relationships between one account, and a list of other accounts. Does not require auth.",
  "errors": [
    {
      "description": "the primary actor at-identifier could not be resolved",
      "name": "ActorNotFound"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "actor": {
          "format": "did",
          "type": "string"
        },
        "relationships": {
          "items": {
            "refs": [
              "town.delve.graph.defs#relationship",
              "town.delve.graph.defs#notFoundActor"
            ],
            "type": "union"
          },
          "type": "array"
        }
      },
      "required": [
        "relationships"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "actor": {
        "description": "Primary account requesting relationships for.",
        "format": "at-identifier",
        "type": "string"
      },
      "others": {
        "description": "List of 'other' accounts to be related back to the primary.",
        "items": {
          "format": "at-identifier",
          "type": "string"
        },
        "maxLength": 30,
        "type": "array"
      }
    },
    "required": [
      "actor"
    ],
    "type": "params"
  },
  "type": "query"
}

Lexicon Garden

@