app.chronosky.schedule.updatePost

chronosky.app

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
{
  "description": "Update a scheduled post. Only PENDING posts can be updated.",
  "errors": [
    {
      "name": "PostNotFound"
    },
    {
      "name": "PostNotPending"
    },
    {
      "name": "NoFieldsProvided"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "disableQuotePosts": {
          "description": "Whether to disable quote posts",
          "type": "boolean"
        },
        "embed": {
          "description": "Embedded content (images, external links, records). Use #imagesEmbed to reference existing images by CID.",
          "refs": [
            "#imagesEmbed",
            "app.bsky.embed.images",
            "app.bsky.embed.external",
            "app.bsky.embed.record",
            "app.bsky.embed.video",
            "app.bsky.embed.recordWithMedia"
          ],
          "type": "union"
        },
        "facets": {
          "description": "Rich text facets (links, mentions, tags).",
          "items": {
            "ref": "app.bsky.richtext.facet",
            "type": "ref"
          },
          "type": "array"
        },
        "id": {
          "description": "Post ID to update.",
          "maxLength": 100,
          "type": "string"
        },
        "labels": {
          "description": "Self-applied content labels for content warnings (AT Protocol standard).",
          "ref": "com.atproto.label.defs#selfLabels",
          "type": "ref"
        },
        "langs": {
          "description": "Language codes (ISO 639-1).",
          "items": {
            "format": "language",
            "type": "string"
          },
          "maxLength": 3,
          "type": "array"
        },
        "scheduledAt": {
          "description": "New scheduled publication datetime (ISO 8601).",
          "format": "datetime",
          "maxLength": 100,
          "type": "string"
        },
        "text": {
          "description": "New post text content.",
          "maxGraphemes": 300,
          "maxLength": 3000,
          "type": "string"
        },
        "threadgateRules": {
          "description": "Thread gate rules to control who can reply",
          "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,
          "type": "array"
        }
      },
      "required": [
        "id"
      ],
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "post": {
          "ref": "app.chronosky.schedule.listPosts#scheduledPost",
          "type": "ref"
        }
      },
      "required": [
        "post"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}
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
{
  "description": "Image reference that supports both new blob uploads and existing image CID references.",
  "properties": {
    "alt": {
      "description": "Alt text for the image.",
      "maxLength": 1000,
      "type": "string"
    },
    "cid": {
      "description": "CID of an image blob. Can reference an existing image in the post or a newly uploaded image via media.uploadBlob.",
      "maxLength": 200,
      "type": "string"
    },
    "image": {
      "accept": [
        "image/jpeg",
        "image/png",
        "image/webp",
        "image/gif"
      ],
      "description": "New image blob (for newly uploaded images).",
      "maxSize": 1000000,
      "type": "blob"
    }
  },
  "required": [
    "alt"
  ],
  "type": "object"
}
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
{
  "description": "Images embed that supports CID references for existing images.",
  "properties": {
    "images": {
      "items": {
        "ref": "#imageRef",
        "type": "ref"
      },
      "maxLength": 4,
      "type": "array"
    }
  },
  "required": [
    "images"
  ],
  "type": "object"
}

Lexicon Garden

@