Skip to main content
POST
/
post
cURL
curl --request POST \
  --url http://loglybase.com/api/post \
  --header 'Content-Type: application/json' \
  --header 'X-API-KEY: <api-key>' \
  --data '
{
  "title": "<string>",
  "status": "<string>",
  "projectCode": "<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

Body

application/json
title
string
required

Title of the changelog post

status
string
required

Post status (DRAFT or PUBLISHED)

projectCode
string
required

The unique code of the project

content
array

Structured content (array of editor blocks in JSON format)

Response

The new 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)