Skip to content

place.stream.graph.getFollowingUser

Lexicon Version: 1

Type: query

Get whether or not user A is following user B.

Parameters:

NameTypeReq’dDescriptionConstraints
userDIDstringThe DID of the potentially-following userFormat: did
subjectDIDstringThe DID of the user potentially being followedFormat: did

Output:

  • Encoding: application/json
  • Schema:

Schema Type: object

NameTypeReq’dDescriptionConstraints
followcom.atproto.repo.strongRef

{
"lexicon": 1,
"id": "place.stream.graph.getFollowingUser",
"defs": {
"main": {
"type": "query",
"description": "Get whether or not user A is following user B.",
"parameters": {
"type": "params",
"required": ["userDID", "subjectDID"],
"properties": {
"userDID": {
"type": "string",
"format": "did",
"description": "The DID of the potentially-following user"
},
"subjectDID": {
"type": "string",
"format": "did",
"description": "The DID of the user potentially being followed"
}
}
},
"output": {
"encoding": "application/json",
"schema": {
"type": "object",
"required": [],
"properties": {
"follow": {
"type": "ref",
"ref": "com.atproto.repo.strongRef"
}
}
}
}
}
}
}