Skip to main content
PUT
/
post
/
{id}
cURL
curl --request PUT \
  --url http://loglybase.com/api/post/{id} \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "title": "<string>",
  "status": "<string>",
  "content": "<array>"
}
'
{
  "id": 123,
  "code": "<string>",
  "title": "<string>",
  "status": "<string>",
  "content": "<array>",
  "createdAt": "2023-11-07T05:31:56Z",
  "updatedAt": "2023-11-07T05:31:56Z",
  "publishedAt": "2023-11-07T05:31:56Z"
}

Authorizations

X-API-KEY
string
header
required

Path Parameters

id
string
required

Unique code of post to update

Body

application/json
title
string

Title of the changelog post

status
string

Post status (DRAFT or PUBLISHED)

content
array

Structured content (array of editor blocks in JSON format)

Response

The updated post response

id
integer<int64>

Unique identifier of the post

code
string

Internal post code

title
string

Title of the changelog post

status
string

Post status (DRAFT or PUBLISHED)

content
array

Structured content (array of editor blocks in JSON format)

createdAt
string<date-time>

Timestamp when the post was created

updatedAt
string<date-time>

Timestamp when the post was last updated

publishedAt
string<date-time>

Timestamp when the post was published (if applicable)