Prepend content to an existing esa post
esa_prepend_postPrepends Markdown content to the beginning of an existing post, saving it as a new revision without needing to fetch the current body first.
Instructions
Prepends Markdown content to the beginning of an existing post's body, saving it as a new revision. Unlike esa_update_post, this does not require fetching the current body first. Behaves the same as esa_append_post except content is inserted at the start of the body. Optionally set wip to change the WIP state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wip | No | WIP state after the insert. Defaults to the post's current WIP state | |
| content | Yes | The Markdown content to insert. Use 4 spaces for indentation. Line endings are normalized to LF. Include a blank line at the boundary to insert it as a separate block. | |
| message | No | Change message. Defaults to "Updated via API." when omitted | |
| teamName | No | Team name (required). Use esa_get_teams first to see available teams. | |
| postNumber | Yes | The post number to add content to |