v5

latestOpenAPI 3.1.12026-07-31392595.5 KB
Content

Update a single post

patch/v1/posts/{postId}

Path parameters

postIdstring required
Example:post_123

Request body

titlestring
slugstring nullable
markdownstring
status'draft' | 'published'

Example request

{
  "title": "Ship notes for week 11",
  "slug": "ship-notes-week-11",
  "markdown": "# Ship notes\n\nWe shipped a faster editor.",
  "status": "published"
}

Response

Post updated successfully