Check if a user follows a collection (via network.cosmik.follow records)
Parameters
Output
Encoding
application/jsonfollowUri
string
Required
AT-URI of the follow record, or empty string if not following
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"output": {
"schema": {
"type": "object",
"required": [
"followUri"
],
"properties": {
"followUri": {
"type": "string",
"description": "AT-URI of the follow record, or empty string if not following"
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"followerDid",
"subject"
],
"properties": {
"subject": {
"type": "string",
"description": "AT-URI of the collection"
},
"followerDid": {
"type": "string",
"description": "DID of the potential follower"
}
}
},
"description": "Check if a user follows a collection (via network.cosmik.follow records)"
}