Posts

Update a post

Update title, description, status (draft/published), or tags. Only fields you pass are changed.

patch/posts/{id}

Request

  • Base URL: https://doomscrollr.com/api/v1
  • URL: https://doomscrollr.com/api/v1/posts/{id}
  • Auth: HTTP bearer

Path parameters

idinteger required

Request body

titlestring
descriptionstring
status'published' | 'draft' | 'scheduled'
tagsstring
publish_atstring date-time

Future publish time. When provided, status is set to scheduled.

shoppableboolean

Show or hide the buy button on this post

Response

Updated

idinteger
urlstring
titlestring
descriptionstring
imagestring uri
status'published' | 'draft' | 'scheduled'
post_typestring
created_atstring date-time
publish_atstring date-time nullable

Changes

No recorded changes to this operation across all 1 revision of this API.