Content API

REST API for Sjællandske Medier — articles, feeds, curated lists, pages, and more.

Articles

GET/articles30s cache

List articles with filtering and cursor-based pagination.

GET/articles/:id24h cache

Single article with full content, authors, tags, categories, and assets.

Feeds (Rule-based)

GET/feeds/site/:siteId

List feed definitions for a site.

POST/feeds/site/:siteId

Register or update a feed definition for a site.

GET/feeds/site/:siteId/:slug5min cache

Execute a feed and return matching articles.

DELETE/feeds/site/:siteId/:slug

Remove a feed definition.

Curated Lists (Manual)

GET/curated-lists/site/:siteId

List all curated lists for a site.

GET/curated-lists/site/:siteId/:slug/articles30s cache

Resolve a curated list into tier-sorted articles.

PUT/curated-lists/site/:siteId/:slug

Update a curated list's articles (auto-saves history).

Cache

POST/purge

Purge cache by article, tag, feeds, or everything.

POST /purge  {"article": 6509682}
POST /purge  {"tag": "lists"}
POST /purge  {"feeds": true}
POST /purge  {"all": true}

System

GET/health

Health check. Returns DB status and cache stats.