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
{
"description": "Check if a user follows a collection (via network.cosmik.follow records)",
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"followUri": {
"description": "AT-URI of the follow record, or empty string if not following",
"type": "string"
}
},
"required": [
"followUri"
],
"type": "object"
}
},
"parameters": {
"properties": {
"followerDid": {
"description": "DID of the potential follower",
"type": "string"
},
"subject": {
"description": "AT-URI of the collection",
"type": "string"
}
},
"required": [
"followerDid",
"subject"
],
"type": "params"
},
"type": "query"
}