app.didpic.write.createPost
Create an app.didpic.feed.post record on the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). image must come from a prior app.didpic.write.uploadBlob call.
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": "Create an app.didpic.feed.post record on the authenticated viewer's own PDS, mediated by the AppView using its server-held session (confidential OAuth client only). image must come from a prior app.didpic.write.uploadBlob call.",
"input": {
"encoding": "application/json",
"schema": {
"properties": {
"alt": {
"type": "string"
},
"facets": {
"items": {
"ref": "app.didpic.richtext.facet",
"type": "ref"
},
"type": "array"
},
"height": {
"minimum": 1,
"type": "integer"
},
"image": {
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"maxSize": 5000000,
"type": "blob"
},
"labels": {
"items": {
"type": "string"
},
"type": "array"
},
"text": {
"type": "string"
},
"width": {
"minimum": 1,
"type": "integer"
}
},
"required": [
"image",
"width",
"height"
],
"type": "object"
}
},
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"cid": {
"format": "cid",
"type": "string"
},
"image": {
"accept": [
"image/png",
"image/jpeg",
"image/webp"
],
"maxSize": 5000000,
"type": "blob"
},
"uri": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"uri",
"cid",
"image"
],
"type": "object"
}
},
"type": "procedure"
}
},
"id": "app.didpic.write.createPost",
"lexicon": 1
}