Internal endpoints for ingesting RSS items, managing the publish queue, and sending drafts to Blogger via email.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/batch |
Batch retrieval. Details: requires batchId.List: optional limit (default: 10, min:1,
max: 50).
|
| DELETE | /api/batch |
Delete batches. Single: requires ?batchId=xxx.Clear all: set clearAll equal
1, true, yes, or
y (e.g., ?clearAll=1).
|
| GET | /api/news |
News items store. Details: requires newsId.List: optional limit (default: 10, min:1,
max: 50).
|
| DELETE | /api/news |
Delete news. Single: requires ?newsId=xxx.Clear all: set clearAll equal
1, true, yes, or
y (e.g., ?clearAll=1).
|
| GET | /api/social |
Social items store. Details: requires socialId.List: optional limit (default: 10, min:1,
max: 50).
|
| DELETE | /api/social |
Delete news. Single: requires ?socialId=xxx.Clear all: set clearAll equal
1, true, yes, or
y (e.g., ?clearAll=1).
|
| GET | /api/blog-target |
Read the current blog targets configuration (e.g.,
blogDns, blogEmail,
enabled).
|
| POST | /api/blog-target | Update blog targets configuration. |
| GET | /api/facebook-api | View Facebook Pages API config store. |
| POST | /api/facebook-api | Save/replace Facebook Pages config. |
| POST | /api/ingest |
Ingest RSS payloads for type news or
social (create a batch and enqueue items depending
on mode).
|
| POST | /api/social-queue-link |
Enqueue a post request from child chat channels. Required: JSON body { chatId, text, flags }.Notes: extracts LINK from text to resolve itemId and push into the social queue.
|
| POST | /api/news-run | Triggered by a Worker on a schedule (every 5 minutes) to process the queue and send draft emails. |
| POST | /api/social-run | Triggered by a Worker on a schedule to process the social queue (e.g., publish/share to social platforms). |
| GET | /api/news-queue |
View limit (default: 10,
min: 1, max: 50) news currently
queued for publishing.
|
| POST | /api/news-queue |
Re-queue a items to news queue. Mush have check type of item or batch
Single: requires action = enqueue and newsId with option force = 1 for ignore dedupe.
All of batch: requires action = enqueuebatch and batchId.
|
| DELETE | /api/news-queue |
Clear the entire news queue. Single: requires ?newsId=xxx.Clear all: set clearAll equal
1, true, yes, or
y (e.g., ?clearAll=1).
|
| GET | /api/social-queue |
View limit (default: 10, min: 1, max: 50) items
currently queued for social publishing.
|
| POST | /api/social-queue |
Re-queue a items to social queue. Mush have check type of item or batch
Single: requires action = enqueue and socialId with option force = 1 for ignore dedupe.
All of batch: requires action = enqueuebatch and batchId.
|
| DELETE | /api/social-queue |
Clear the entire social queue. Single: requires ?socialId=xxx.Clear all: set clearAll equal
1, true, yes, or
y (e.g., ?clearAll=1).
|
Authorization: Bearer <PUBLISH_SECRET>
(controlled by REQUIRE_AUTH).