All guides
Any other platform (the protocol)
What your site has to answer, if you write the connector yourself.
Addresses we call
GET /api/ve/articles?limit=500 -> { "articles": [ { "title", "slug", "summary" } ] }
GET /api/ve/news?limit=500 -> { "news": [ ... ] }
GET /api/ve/languages -> { "languages": ["nl","en"], "default": "nl" } (404 = one language)
POST /api/ve/articles -> { "id": "...", "url": "https://..." }
POST /api/ve/news -> { "id": "...", "url": "https://..." }Check every request
Reject (401) unless the signature is right and the timestamp is at most 5 minutes old. Compare in constant time.
X-VE-Timestamp: <unix seconds>
X-VE-Signature: v1=hex( HMAC-SHA256( key, "{timestamp}.{METHOD}.{path and query}.{sha256hex(body)}" ) )
X-VE-Idempotency-Key: <the same for a repeated delivery; store it once>What arrives
{
"title": "...", "slug": "a-z-0-9", "metaDescription": "...", // news: "summary", "region", "category", "sources"
"bodyMarkdown": "...", "language": "nl", "tags": ["..."], "publish": false,
"coverImage": { "fileName": "x.png", "contentType": "image/png", "alt": "...", "dataBase64": "..." },
"languages": ["nl","en"],
"translations": { "en": { "title", "slug", "metaDescription", "bodyMarkdown", "tags", "coverImageAlt" } }
}