Edit only own inactive never-published article, never foreign correction grants. Current revision and unique request_id required; identical retries reuse ALL arguments. Closed changes schema: localized slugs (unique lowercase ASCII max280; stable slug unchanged), cover_images (ru/en filename topic-slug.png/jpg/jpeg/webp, stem max40; raw base64_data max14M chars; decoded raster max10MB/20M pixels converted to topic-uuid.webp; no URL/path fetching), cover_alt (ru/en plain max256), description_html, seo_title (max160), seo_description (max320), existing TEXT parts html or targeted link_replacements, final_cta form/messengers/hidden with localized heading and HTTPS Telegram/WhatsApp links. Passive formatting only, no scripts/styles/images/embeds in HTML. Current author publication explicitly promotes draft CTA and complete locales; never publishes here. Published slug changes require a separate approved redirect workflow. File/DB crash leaves pending journal requiring reconciliation.
View input schema
{
"type": "object",
"properties": {
"token": {
"title": "Token",
"type": "string"
},
"article_id": {
"title": "Article Id",
"type": "integer"
},
"revision": {
"title": "Revision",
"type": "string"
},
"changes": {
"$ref": "#/$defs/ArticleDraftChanges"
},
"request_id": {
"title": "Request Id",
"type": "string"
}
},
"required": [
"token",
"article_id",
"revision",
"changes",
"request_id"
],
"$defs": {
"ArticleCoverUpload": {
"additionalProperties": false,
"properties": {
"filename": {
"description": "ASCII topic slug stem, max40 characters; no paths. Saved as topic-uuid.webp after actual raster decoding.",
"maxLength": 45,
"minLength": 5,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*\\.(?:png|jpg|jpeg|webp)$",
"title": "Filename",
"type": "string"
},
"base64_data": {
"description": "Raw base64 PNG/JPEG/WebP bytes, max10MB decoded; no URL/data URI/path.",
"maxLength": 14000000,
"minLength": 1,
"title": "Base64 Data",
"type": "string"
}
},
"required": [
"filename",
"base64_data"
],
"title": "ArticleCoverUpload",
"type": "object"
},
"ArticleDraftChanges": {
"additionalProperties": false,
"properties": {
"description_html": {
"anyOf": [
{
"$ref": "#/$defs/LocalizedHTML"
},
{
"type": "null"
}
],
"default": null
},
"seo_title": {
"anyOf": [
{
"$ref": "#/$defs/LocalizedSeoTitle"
},
{
"type": "null"
}
],
"default": null
},
"seo_description": {
"anyOf": [
{
"$ref": "#/$defs/LocalizedSeoDescription"
},
{
"type": "null"
}
],
"default": null
},
"parts": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/ArticlePartPatch"
},
"maxItems": 100,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Parts"
},
"final_cta": {
"anyOf": [
{
"$ref": "#/$defs/ArticleFinalCTA"
},
{
"type": "null"
}
],
"default": null
},
"slugs": {
"anyOf": [
{
"$ref": "#/$defs/LocalizedArticleSlugs"
},
{
"type": "null"
}
],
"default": null
},
"cover_images": {
"anyOf": [
{
"$ref": "#/$defs/LocalizedArticleCovers"
},
{
"type": "null"
}
],
"default": null
},
"cover_alt": {
"anyOf": [
{
"$ref": "#/$defs/LocalizedCoverAlt"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "ArticleDraftChanges",
"type": "object"
},
"ArticleFinalCTA": {
"additionalProperties": false,
"properties": {
"mode": {
"enum": [
"form",
"messengers",
"hidden"
],
"title": "Mode",
"type": "string"
},
"heading": {
"anyOf": [
{
"$ref": "#/$defs/LocalizedHeading"
},
{
"type": "null"
}
],
"default": null
},
"links": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/ArticleMessengerLink"
},
"maxItems": 4,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Links"
}
},
"required": [
"mode"
],
"title": "ArticleFinalCTA",
"type": "object"
},
"ArticleLinkReplacement": {
"additionalProperties": false,
"properties": {
"old": {
"maxLength": 2048,
"minLength": 1,
"title": "Old",
"type": "string"
},
"new": {
"maxLength": 2048,
"minLength": 1,
"title": "New",
"type": "string"
}
},
"required": [
"old",
"new"
],
"title": "ArticleLinkReplacement",
"type": "object"
},
"ArticleMessengerLink": {
"additionalProperties": false,
"properties": {
"label": {
"$ref": "#/$defs/LocalizedLinkLabel"
},
"url": {
"description": "HTTPS t.me or wa.me URL only",
"maxLength": 2048,
"minLength": 1,
"title": "Url",
"type": "string"
}
},
"required": [
"label",
"url"
],
"title": "ArticleMessengerLink",
"type": "object"
},
"ArticlePartPatch": {
"additionalProperties": false,
"properties": {
"id": {
"exclusiveMinimum": 0,
"maximum": 9223372036854776000,
"title": "Id",
"type": "integer"
},
"html": {
"anyOf": [
{
"$ref": "#/$defs/LocalizedHTML"
},
{
"type": "null"
}
],
"default": null
},
"link_replacements": {
"anyOf": [
{
"$ref": "#/$defs/LocalizedLinkReplacements"
},
{
"type": "null"
}
],
"default": null
}
},
"required": [
"id"
],
"title": "ArticlePartPatch",
"type": "object"
},
"LocalizedArticleCovers": {
"additionalProperties": false,
"properties": {
"ru": {
"anyOf": [
{
"$ref": "#/$defs/ArticleCoverUpload"
},
{
"type": "null"
}
],
"default": null
},
"en": {
"anyOf": [
{
"$ref": "#/$defs/ArticleCoverUpload"
},
{
"type": "null"
}
],
"default": null
}
},
"title": "LocalizedArticleCovers",
"type": "object"
},
"LocalizedArticleSlugs": {
"additionalProperties": false,
"properties": {
"ru": {
"anyOf": [
{
"maxLength": 280,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ru"
},
"en": {
"anyOf": [
{
"maxLength": 280,
"minLength": 1,
"pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "En"
}
},
"title": "LocalizedArticleSlugs",
"type": "object"
},
"LocalizedCoverAlt": {
"additionalProperties": false,
"properties": {
"ru": {
"anyOf": [
{
"maxLength": 256,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ru"
},
"en": {
"anyOf": [
{
"maxLength": 256,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "En"
}
},
"title": "LocalizedCoverAlt",
"type": "object"
},
"LocalizedHTML": {
"additionalProperties": false,
"properties": {
"ru": {
"anyOf": [
{
"maxLength": 100000,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ru"
},
"en": {
"anyOf": [
{
"maxLength": 100000,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "En"
}
},
"title": "LocalizedHTML",
"type": "object"
},
"LocalizedHeading": {
"additionalProperties": false,
"properties": {
"ru": {
"anyOf": [
{
"maxLength": 256,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ru"
},
"en": {
"anyOf": [
{
"maxLength": 256,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "En"
}
},
"title": "LocalizedHeading",
"type": "object"
},
"LocalizedLinkLabel": {
"additionalProperties": false,
"properties": {
"ru": {
"anyOf": [
{
"maxLength": 80,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ru"
},
"en": {
"anyOf": [
{
"maxLength": 80,
"minLength": 1,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "En"
}
},
"title": "LocalizedLinkLabel",
"type": "object"
},
"LocalizedLinkReplacements": {
"additionalProperties": false,
"properties": {
"ru": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/ArticleLinkReplacement"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "Ru"
},
"en": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/ArticleLinkReplacement"
},
"maxItems": 50,
"minItems": 1,
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"title": "En"
}
},
"title": "LocalizedLinkReplacements",
"type": "object"
},
"LocalizedSeoDescription": {
"additionalProperties": false,
"properties": {
"ru": {
"anyOf": [
{
"maxLength": 320,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ru"
},
"en": {
"anyOf": [
{
"maxLength": 320,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "En"
}
},
"title": "LocalizedSeoDescription",
"type": "object"
},
"LocalizedSeoTitle": {
"additionalProperties": false,
"properties": {
"ru": {
"anyOf": [
{
"maxLength": 160,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Ru"
},
"en": {
"anyOf": [
{
"maxLength": 160,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "En"
}
},
"title": "LocalizedSeoTitle",
"type": "object"
}
},
"title": "online_article_draft_updateArguments"
}