Update a post (글 수정)
tistory_update_postEdit an existing Tistory blog post by sending the complete new body; omit fields to keep the current title, category, visibility, slug, and tags.
Instructions
Update an existing post. The body must be sent in full (the server does not merge).
Title, category, visibility and slug keep their current values when omitted; tags are kept by reading them from the post page (pass [] to clear). Rate-limited together with publish.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tags | No | New tags; omit to keep the current tags (read from the post page), pass [] to clear | |
| title | No | New title; omit to keep the current one | |
| slogan | No | New URL slug; omit to keep | |
| content | Yes | The complete new body — the server overwrites the whole post. Do not echo content_html from tistory_get_post; write the new body yourself | |
| post_id | Yes | Post number (글 번호) | |
| blog_url | Yes | Blog host or URL of the post to update | |
| category | No | New category id; omit to keep the current one | |
| password | No | Password for visibility='protected' | |
| visibility | No | New visibility; omit to keep the current one. 'public' makes it live | |
| attachments | No | attachment_ref of images used in the new content | |
| content_format | No | Default 'html'. Set 'markdown' when sending markdown, or it is posted as raw text | html |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||