app.bsky.graph.getRelationships
GETapp.bsky.graph.getRelationships
Enumerates public relationships between one account, and a list of other accounts. Does not require auth.
Request
Query Parameters
actor at-identifierrequired
Primary account requesting relationships for.
others at-identifier[]
Possible values: <= 30
List of 'other' accounts to be related back to the primary.
Responses
- 200
- 400
- 401
OK
- application/json
- Schema
- Example (from schema)
Schema
Array [
- app.bsky.graph.defs.relationship
- app.bsky.graph.defs.notFoundActor
]
actor did
relationships
object[]
required
oneOf
did didrequired
following at-uri
if the actor follows this DID, this is the AT-URI of the follow record
followedBy at-uri
if the actor is followed by this DID, contains the AT-URI of the follow record
actor at-identifierrequired
notFound booleanrequired
Default value: true
{
"actor": "string",
"relationships": [
{},
{}
]
}
Bad Request
- application/json
- Schema
- Example (from schema)
Schema
error stringrequired
Possible values: [InvalidRequest
, ExpiredToken
, InvalidToken
, ActorNotFound
]
message stringrequired
{
"error": "InvalidRequest",
"message": "string"
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
error required
message stringrequired
{
"message": "string"
}
Loading...