Authorizations
Headers
The language to update the post in. This will update the post's content for the specified language.
Path Parameters
The id of the post to update
Body
The input required to update a post
The content of the post in HTML. Example:
<h1>Welcome to Your New Post</h1> <p>This is a placeholder post to demonstrate the capabilities of the editor. Feel free to explore and edit this content to see what you can do!</p> <h2>Basic Formatting</h2> <p>You can use <strong>bold</strong>, <em>italic</em>, underline, and <s>strikethrough</s> text to emphasize your content. </p> <h2>Lists</h2> <p>You can create a bullet list: </p><ul data-tight="true" class="list-disc list-outside leading-3 -mt-2 tight"><li class="leading-normal -mb-2"><p>Item 1</p></li><li class="leading-normal -mb-2"><p>Item 2</p></li><li class="leading-normal -mb-2"><p>Item 3 </p></li></ul><p>Or a numberered list:</p><ol data-tight="true" class="list-decimal list-outside leading-3 -mt-2 tight"><li class="leading-normal -mb-2"><p> First Item </p></li><li class="leading-normal -mb-2"><p>Second Item </p></li><li class="leading-normal -mb-2"><p>Third Item </p></li></ol> <h2>Links </h2> <p>You can also add links to your content. For example, visit <a href="https://www.example.com" class="underline underline-offset-[3px] hover:text-primary transition-colors cursor-pointer" rel="noopener noreferrer nofollow">Example.com</a> for more information. </p> <h2>Images </h2> <p>Including images is simple. Here is an example image: </p><img src="https://via.placeholder.com/150" class="rounded-lg border border-muted"> <h2>Blockquotes </h2> <p>You can use blockquotes to highlight important quotes or information: </p><blockquote class="border-l-4 border-primary"><p>"This is a sample blockquote. It's great for highlighting quotes or important information in your post." </p></blockquote><p></p> <p>Feel free to edit this content and explore the various features of the editor. Happy posting!</p>Whether comments are disabled on this post. Defaults to false.
Whether likes are disabled on this post. Defaults to false.
Whether to display a banner on this post. Defaults to false.
The status of the post
archived
, draft
, expired
, live
, scheduled
The date when this post becomes visible.
The date when this post expires.
A list of tags to associate with this post
A list of campaigns to associate with this post
Whether the post is a global template
The organisations that the post is available as a template for
Input for updating entity details with all fields optional
Response
Successful response
A post
The id of the post
The organisation that the post belongs to
The community that the post belongs to
Used to describe an entity The details of this post such as title, description, bannerUrl, logoUrl
Array of user IDs who liked this post
Whether comments are disabled on this post. Defaults to false.
Whether likes are disabled on this post. Defaults to false.
Whether to display a banner on this post. Defaults to false.
The status of the post
archived
, draft
, expired
, live
, scheduled
A list of tags to associate with this post
A list of campaigns to associate with this post
The organisations that the post is available as a template for
Whether the post is a global template
The date when this post was created
The user who created this post
The content of the post in HTML. Example:
<h1>Welcome to Your New Post</h1> <p>This is a placeholder post to demonstrate the capabilities of the editor. Feel free to explore and edit this content to see what you can do!</p> <h2>Basic Formatting</h2> <p>You can use <strong>bold</strong>, <em>italic</em>, underline, and <s>strikethrough</s> text to emphasize your content. </p> <h2>Lists</h2> <p>You can create a bullet list: </p><ul data-tight="true" class="list-disc list-outside leading-3 -mt-2 tight"><li class="leading-normal -mb-2"><p>Item 1</p></li><li class="leading-normal -mb-2"><p>Item 2</p></li><li class="leading-normal -mb-2"><p>Item 3 </p></li></ul><p>Or a numberered list:</p><ol data-tight="true" class="list-decimal list-outside leading-3 -mt-2 tight"><li class="leading-normal -mb-2"><p> First Item </p></li><li class="leading-normal -mb-2"><p>Second Item </p></li><li class="leading-normal -mb-2"><p>Third Item </p></li></ol> <h2>Links </h2> <p>You can also add links to your content. For example, visit <a href="https://www.example.com" class="underline underline-offset-[3px] hover:text-primary transition-colors cursor-pointer" rel="noopener noreferrer nofollow">Example.com</a> for more information. </p> <h2>Images </h2> <p>Including images is simple. Here is an example image: </p><img src="https://via.placeholder.com/150" class="rounded-lg border border-muted"> <h2>Blockquotes </h2> <p>You can use blockquotes to highlight important quotes or information: </p><blockquote class="border-l-4 border-primary"><p>"This is a sample blockquote. It's great for highlighting quotes or important information in your post." </p></blockquote><p></p> <p>Feel free to edit this content and explore the various features of the editor. Happy posting!</p>The date when this post becomes visible.
The date when this post expires.
The date when this post was updated
The user who last updated this post