app.chronosky.schedule.updatePost
Update a scheduled post. Only PENDING posts can be updated.
Details · procedure
| Kind | procedure |
|---|---|
| Authority | schedule.chronosky.app |
| Indexed |
Showing version bafyreifxnljmr3putjlom72k43dpvsqs72kucni6r2tdtfqq4yi7ran3de. Show the latest
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"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).",
"refs": [
"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"
}
},
"id": "app.chronosky.schedule.updatePost",
"lexicon": 1
}