Posts
Public Posts
Each post begins as a draft. A user can only have one active draft at a time. If a draft already exists, it must be published or deleted before a new one can be created.
My First PostThis is the content of my first post.["example","firstPost"]blogCreated
Conflict - Draft already exists for the user
Retrieves a list of public posts with optional filtering. Users can filter by tags, creation date, status (draft or published), or post type.
Filter posts by specific tags
Filter posts by status
Filter posts created after a specific date
Filter posts by a specific type from the predefined list
A list of posts
A list of posts
Updates the title, content, tags, or post type of an existing public post.
Updated TitleUpdated content of the post.["updated","post"]newsUpdated successfully
Not Found - The post with the specified ID does not exist
Identical to creating a public post, but this post is private.
My First Private PostThis is the content of my first private post.["example","privatePost"]privateBlogCreated
Conflict - Draft already exists for the user
Retrieves a list of private posts with optional filtering. Users can filter by tags, creation date, status (draft or published), or post type.
Filter posts by specific tags
Filter posts by status
Filter posts created after a specific date
Filter posts by a specific type from the predefined list
A list of private posts
A list of private posts
Updates the title, content, tags, or post type of an existing private post.
Updated Private TitleUpdated content of the private post.["updated","privatePost"]privateNewsUpdated successfully
Not Found - The post with the specified ID does not exist
Last updated