app.chronosky.schedule.updatePost

lexicon.store View official

Documentation

Update a scheduled post. Only PENDING posts can be updated.

main procedure

Update a scheduled post. Only PENDING posts can be updated.

Input

Encodingapplication/json
disableQuotePosts boolean Optional

Whether to disable quote posts

embed union Optional

Embedded content (images, external links, records). Use #imagesEmbed to reference existing images by CID.

facets array Optional

Rich text facets (links, mentions, tags).

id string Required

Post ID to update.

maxLength: 100 bytes
langs array Optional

Language codes (ISO 639-1).

maxLength: 3 items
scheduledAt stringdatetime Optional

New scheduled publication datetime (ISO 8601).

maxLength: 100 bytes
text string Optional

New post text content.

maxLength: 3000 bytesmaxGraphemes: 300 graphemes
threadgateRules array Optional

Thread gate rules to control who can reply

maxLength: 5 items

Output

Encodingapplication/json

Errors

PostNotFound
PostNotPending
NoFieldsProvided
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
{
  "type": "procedure",
  "input": {
    "schema": {
      "type": "object",
      "required": [
        "id"
      ],
      "properties": {
        "id": {
          "type": "string",
          "maxLength": 100,
          "description": "Post ID to update."
        },
        "text": {
          "type": "string",
          "maxLength": 3000,
          "description": "New post text content.",
          "maxGraphemes": 300
        },
        "embed": {
          "refs": [
            "#imagesEmbed",
            "app.bsky.embed.images",
            "app.bsky.embed.external",
            "app.bsky.embed.record",
            "app.bsky.embed.video",
            "app.bsky.embed.recordWithMedia"
          ],
          "type": "union",
          "description": "Embedded content (images, external links, records). Use #imagesEmbed to reference existing images by CID."
        },
        "langs": {
          "type": "array",
          "items": {
            "type": "string",
            "format": "language"
          },
          "maxLength": 3,
          "description": "Language codes (ISO 639-1)."
        },
        "facets": {
          "type": "array",
          "items": {
            "ref": "app.bsky.richtext.facet",
            "type": "ref"
          },
          "description": "Rich text facets (links, mentions, tags)."
        },
        "labels": {
          "ref": "com.atproto.label.defs#selfLabels",
          "type": "ref",
          "description": "Self-applied content labels for content warnings (AT Protocol standard)."
        },
        "scheduledAt": {
          "type": "string",
          "format": "datetime",
          "maxLength": 100,
          "description": "New scheduled publication datetime (ISO 8601)."
        },
        "threadgateRules": {
          "type": "array",
          "items": {
            "refs": [
              "app.bsky.feed.threadgate#mentionRule",
              "app.bsky.feed.threadgate#followerRule",
              "app.bsky.feed.threadgate#followingRule",
              "app.bsky.feed.threadgate#listRule"
            ],
            "type": "union"
          },
          "maxLength": 5,
          "description": "Thread gate rules to control who can reply"
        },
        "disableQuotePosts": {
          "type": "boolean",
          "description": "Whether to disable quote posts"
        }
      }
    },
    "encoding": "application/json"
  },
  "errors": [
    {
      "name": "PostNotFound"
    },
    {
      "name": "PostNotPending"
    },
    {
      "name": "NoFieldsProvided"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "post"
      ],
      "properties": {
        "post": {
          "ref": "app.chronosky.schedule.listPosts#scheduledPost",
          "type": "ref"
        }
      }
    },
    "encoding": "application/json"
  },
  "description": "Update a scheduled post. Only PENDING posts can be updated."
}
imageRef object

Image reference that supports both new blob uploads and existing image CID references.

Properties

alt string Required

Alt text for the image.

maxLength: 1000 bytes
cid string Optional

CID of an image blob. Can reference an existing image in the post or a newly uploaded image via media.uploadBlob.

maxLength: 200 bytes
image blob Optional

New image blob (for newly uploaded images).

maxSize: 1.0 MB
View raw schema
{
  "type": "object",
  "required": [
    "alt"
  ],
  "properties": {
    "alt": {
      "type": "string",
      "maxLength": 1000,
      "description": "Alt text for the image."
    },
    "cid": {
      "type": "string",
      "maxLength": 200,
      "description": "CID of an image blob. Can reference an existing image in the post or a newly uploaded image via media.uploadBlob."
    },
    "image": {
      "type": "blob",
      "accept": [
        "image/jpeg",
        "image/png",
        "image/webp",
        "image/gif"
      ],
      "maxSize": 1000000,
      "description": "New image blob (for newly uploaded images)."
    }
  },
  "description": "Image reference that supports both new blob uploads and existing image CID references."
}
imagesEmbed object

Images embed that supports CID references for existing images.

Properties

images array of ref#imageRef Required

No description available.

maxLength: 4 items
View raw schema
{
  "type": "object",
  "required": [
    "images"
  ],
  "properties": {
    "images": {
      "type": "array",
      "items": {
        "ref": "#imageRef",
        "type": "ref"
      },
      "maxLength": 4
    }
  },
  "description": "Images embed that supports CID references for existing images."
}

Lexicon Garden

@