app.didpic.write.updatePost
Edit an existing app.didpic.feed.post record via putRecord on the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). The image, aspectRatio, and createdAt are immutable and carried over from the existing record untouched; only text, facets, alt, and labels may change.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | write.didpic.app |
| Indexed |
Checks
Validunlimited-stringdefs.main.input.schema.properties.altNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.labels.itemsNo maxLength, maxGraphemes or format limits this string.unlimited-stringdefs.main.input.schema.properties.textNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Edit an existing app.didpic.feed.post record via putRecord on the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). The image, aspectRatio, and createdAt are immutable and carried over from the existing record untouched; only text, facets, alt, and labels may change.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"alt": {
"type": "string"
},
"facets": {
"items": {
"ref": "app.didpic.richtext.facet",
"type": "ref"
},
"type": "array"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"text": {
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.didpic.write.updatePost",
"lexicon": 1
}