Guide
Blog
Editorial content published on the SwiftGoma site. Every endpoint on this page lives under https://api.swiftgoma.com/api/v1/blog.
Public reading
GET / lists published posts; GET /slug/:slug returns one by its slug. Both are public and only ever return posts with status PUBLISHED.
Staff authoring
ADMIN and SUPPORT can list and fetch posts of any status (for drafting), create a post with a title, excerpt, HTML content, an optional cover image, and a DRAFT or PUBLISHED status, update any of those fields later, and delete a post.
Updating a post can replace its cover image with a new upload, or remove it entirely with the
removeCoverImage flag — without either, the existing image is left untouched.