532681d5c0
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
65 lines
1.7 KiB
JSON
65 lines
1.7 KiB
JSON
{
|
|
"id": "app.bsky.graph.getRelationships",
|
|
"defs": {
|
|
"main": {
|
|
"type": "query",
|
|
"errors": [
|
|
{
|
|
"name": "ActorNotFound",
|
|
"description": "the primary actor at-identifier could not be resolved"
|
|
}
|
|
],
|
|
"output": {
|
|
"schema": {
|
|
"type": "object",
|
|
"required": [
|
|
"relationships"
|
|
],
|
|
"properties": {
|
|
"actor": {
|
|
"type": "string",
|
|
"format": "did"
|
|
},
|
|
"relationships": {
|
|
"type": "array",
|
|
"items": {
|
|
"refs": [
|
|
"app.bsky.graph.defs#relationship",
|
|
"app.bsky.graph.defs#notFoundActor"
|
|
],
|
|
"type": "union"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"encoding": "application/json"
|
|
},
|
|
"parameters": {
|
|
"type": "params",
|
|
"required": [
|
|
"actor"
|
|
],
|
|
"properties": {
|
|
"actor": {
|
|
"type": "string",
|
|
"format": "at-identifier",
|
|
"description": "Primary account requesting relationships for."
|
|
},
|
|
"others": {
|
|
"type": "array",
|
|
"items": {
|
|
"type": "string",
|
|
"format": "at-identifier"
|
|
},
|
|
"maxLength": 30,
|
|
"description": "List of 'other' accounts to be related back to the primary."
|
|
}
|
|
}
|
|
},
|
|
"description": "Enumerates public relationships between one account, and a list of other accounts. Does not require auth."
|
|
}
|
|
},
|
|
"$type": "com.atproto.lexicon.schema",
|
|
"lexicon": 1
|
|
}
|