app.didpic.write.createPost

lexicons.didpic.app

Documentation

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.

main procedure

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

Encodingapplication/json
alt string Optional

No description available.

facets array Optional

No description available.

height integer Required

No description available.

minimum: 1
image blob Required

No description available.

maxSize: 5.0 MB
labels array Optional

No description available.

text string Optional

No description available.

width integer Required

No description available.

minimum: 1

Output

Encodingapplication/json
cid stringcid Required

A content identifier (CID) referencing immutable data.

image blob Required

No description available.

uri stringat-uri Required

An AT Protocol URI (e.g., at://did:plc:xyz/app.bsky.feed.post/abc).

Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "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"
}

Lexicon Garden

@