tools.kryphocron.actor.participatePrivate
Create a postPrivate reply under another account's audience. The record must carry reply.parent and an audienceList naming the audience record of the post being replied to; the writer is checked against that audience before the write. Every audience refusal returns the same Forbidden response.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | actor.kryphocron.tools |
| Commit rev | 3n2ivyfwurc2a |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Create a postPrivate reply under another account's audience. The record must carry reply.parent and an audienceList naming the audience record of the post being replied to; the writer is checked against that audience before the write. Every audience refusal returns the same Forbidden response.",
"errors": [
{
"description": "The record is malformed, or lacks reply.parent or audienceList.",
"name": "InvalidRequest"
},
{
"description": "The caller may not write to this repository, the host does not allow this account private-tier writes, or the audience check denied the reply.",
"name": "Forbidden"
},
{
"description": "The host does not have the private tier enabled.",
"name": "UnsupportedNamespace"
},
{
"description": "An embed references a blob the host does not hold.",
"name": "BlobNotFound"
}
],
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"record": {
"ref": "tools.kryphocron.feed.postPrivate",
"type": "ref"
},
"repo": {
"description": "DID of the writer's repository. Must be the authenticated account.",
"format": "did",
"type": "string"
},
"rkey": {
"description": "Record key. A TID is generated when absent.",
"format": "record-key",
"maxLength": 512,
"type": "string"
},
"validate": {
"description": "Lexicon validation preference, as for com.atproto.repo.createRecord.",
"type": "boolean"
}
},
"required": [
"repo",
"record"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"description": "CID of the written record.",
"format": "cid",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "tools.kryphocron.actor.participatePrivate",
"lexicon": 1
}