tools.umbrae.private.requestFollow
Ask a private account to approve the caller as a follower. The owner approves by adding the caller to its followers space with putMembers, and refuses by dismissing the request; the app drops a request once it's approved. Served by the account's serving app (the servingApp of its declaration), with atproto service auth (iss the caller, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the app.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | private.umbrae.tools |
| Commit rev | 3n3d5g23kp22e |
| Indexed |
Checks
Validunlimited-stringdefs.main.output.schema.properties.stateNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Ask a private account to approve the caller as a follower. The owner approves by adding the caller to its followers space with putMembers, and refuses by dismissing the request; the app drops a request once it's approved. Served by the account's serving app (the servingApp of its declaration), with atproto service auth (iss the caller, aud the app, lxm this method); clients call through their PDS with atproto-proxy set to the app.",
"errors": [
{
"description": "Not a private account this app serves.",
"name": "AccountNotFound"
},
{
"description": "A block between the caller and the account.",
"name": "NotAllowed"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"actor": {
"description": "The private account.",
"format": "did",
"type": "string"
}
},
"required": [
"actor"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"state": {
"knownValues": [
"requested",
"allowed"
],
"type": "string"
}
},
"required": [
"state"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "tools.umbrae.private.requestFollow",
"lexicon": 1
}