Subscribe to post alerts from an actor the viewer follows.
Input
Encoding
application/jsonsubject
stringdid
Required
A decentralized identifier (DID).
Output
Encoding
application/jsonsubscribed
boolean
Required
No description available.
Errors
NotFollowing
SelfSubscribe
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"description": "Subscribe to post alerts from an actor the viewer follows.",
"errors": [
{
"name": "NotFollowing"
},
{
"name": "SelfSubscribe"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"subject": {
"format": "did",
"type": "string"
}
},
"required": [
"subject"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"subscribed": {
"type": "boolean"
}
},
"required": [
"subscribed"
],
"type": "object"
}
},
"type": "procedure"
}