Skip to content
PharmaFlow Knowledgebase
Esc
↑↓navigate↵open⌘Jpreview

Publish a changelog entry

Admin only. Writes one published changelog entry and records the caller as its author. Only the title is required, and the entry is published at once for the next release screen.

POST/api/v1/changelog
Authorization
AuthorizationBearer token (JWT) · headerrequired

JWT from POST /api/v1/auth/login sent as Authorization Bearer.

Request body
requiredapplication/json
titlestringrequired
versionstring
categorystring
bodystring
Responses
201

Changelog entry published

idstringrequired
versionstringrequired
categorystringrequired
titlestringrequired
bodystringrequired
publishedintegerrequired
min -9007199254740991 · max 9007199254740991
published_atstringrequired
created_bystringrequired
created_atstringrequired
400

title is required

detailstringrequired
401

Not authenticated

detailstringrequired
403

Caller is not an admin

detailstringrequired
Try it
Server
Authorization
Bodyapplication/json
Request
curl -X POST 'http://localhost:8000/api/v1/changelog' \
  -H 'Authorization: Bearer YOUR_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "title": "string",
  "version": "string",
  "category": "string",
  "body": "string"
}'
Response
{
  "id": "string",
  "version": "string",
  "category": "string",
  "title": "string",
  "body": "string",
  "published": -9007199254740991,
  "published_at": "string",
  "created_by": "string",
  "created_at": "string"
}