List publications
GET/v1/publications
Permission: publications:read.
Responses
- 200
- objectEvery publication in the workspace.
API reference
Base URL https://bloting.com. JSON in, JSON out, bearer authentication. This page is generated from the same definition as the OpenAPI document.
GET/v1/publications
Permission: publications:read.
POST/v1/publications
Permission: drafts:create.
GET/v1/publications/{id}
Permission: publications:read.
PATCH/v1/publications/{id}
Permission: drafts:edit.
GET/v1/content
Newest first. Follow `next_cursor` until `has_more` is false.
Permission: content:read.
POST/v1/content
Creates a draft from Markdown. Nothing becomes public until it is published.
Permission: drafts:create.
GET/v1/content/{id}
Permission: content:read.
PATCH/v1/content/{id}
Saves a new revision of the working copy. Edits to a published page stay private until it is published again.
Permission: drafts:edit.
DELETE/v1/content/{id}
A live page is taken down first. Without `content:delete` this returns 403; deletion is never queued for approval.
Permission: content:delete.
GET/v1/content/{id}/revisions
Permission: content:read.
POST/v1/publishing/preview
Runs the pre-publish checks and returns the page as it would be published.
Permission: content:read.
POST/v1/publishing/publish
Publishes the current working copy. Content whose validation is `needs_review` is not published by a credential unless `acknowledge_review` is true.
Permission: drafts:create. With `content:publish` the page goes live. Without it, an approval request is created for the workspace owner instead.
POST/v1/publishing/schedule
Permission: content:publish.
POST/v1/publishing/unpublish
Takes a live page down, or cancels a schedule. The content is kept.
Permission: content:publish.
GET/v1/publishing/approvals
Permission: content:read.
POST/v1/publishing/approvals
Asks the workspace owner to publish. The request applies to the current revision only; editing the content afterwards voids it. Only a signed-in person can approve.
Permission: drafts:create.
GET/v1/analytics
Visits counted by this platform. With no filter, covers every publication in the workspace.
Permission: analytics:read.
GET/v1/revenue
Revenue exactly as reported by LOOPIS. When `connected` is false or `has_data` is false, `summary` is null — nothing is estimated.
Permission: revenue:read.
GET/v1/webhooks
Permission: content:publish.
POST/v1/webhooks
Permission: content:publish.
DELETE/v1/webhooks/{id}
Permission: content:publish.