v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Posts > Post

Updates a Post

Updates a Post

put/api/2026-07-01/resources/posts/posts/{id}

Path parameters

idstring required

identifier of the post

Request body

idstring required

identifier of the post

titlestring

title of the post

descriptionstring

description of the post

post_group_idstring

group identifier of the post, references to posts/groups endpoint

allow_comments_and_reactionsboolean

allow comments and reactions on the post

Example request

{
  "id": "1",
  "title": "Are you ready for the perfomance review?",
  "description": "As you know today we start the performance review process.",
  "post_group_id": "1",
  "allow_comments_and_reactions": true
}

Response

OK

idstring required

identifiers of the post

titlestring

title of the post

descriptionstring

description of the post

allow_comments_and_reactionsboolean required

allow comments and reactions on the post

published_atstring

date when the post has been published

created_atstring required

date when the post has been created

updated_atstring required

date when the post has been updated

visits_countinteger required

number of visits of the post

cover_image_urlstring

url of the cover image

posts_group_idstring

group identifier of the post, references to posts/groups endpoint

comments_countinteger required

Example response

{
  "id": "1",
  "title": "Are you ready for the perfomance review?",
  "description": "As you know today we start the performance review process.",
  "allow_comments_and_reactions": true,
  "published_at": "2024-07-17T00:00:00Z",
  "created_at": "2024-07-17T00:00:00Z",
  "updated_at": "2024-07-17T00:00:00Z",
  "visits_count": 10,
  "cover_image_url": "https://example.com/image.jpg",
  "posts_group_id": "1"
}