
This subdomain is dedicated to HTTP APIs and webhooks (e.g., WhatsOnChain plugin endpoints).
/daycard.phpDescription: Daily "day card" API. Returns a calendar card for the requested date (defaults to today in Europe/Warsaw).
ok: boolean date: string (YYYY-MM-DD) offset: int (days difference relative to today) pretty_date: string (Polish formatted date label) week_no: int (ISO week number) day_of_year: int days_in_year: int (365/366) is_today: boolean card: object|null card.title: string card.lead: string card.names: string card.events: string[] card.astro: string[]
- Timezone: Europe/Warsaw. - The card is looked up by month+day (year-independent) from table calendar__card. - Locale is fixed to pl-PL and only active entries (status_id=1) are returned. - If no entry exists for the date, "card" is null.
{
"ok": true,
"date": "2025-12-10",
"offset": 0,
"pretty_date": "środa, 10 grudnia 2025",
"week_no": 50,
"day_of_year": 344,
"days_in_year": 365,
"is_today": true,
"card": {
"title": "...",
"lead": "...",
"names": "...",
"events": [
"...",
"..."
],
"astro": [
"...",
"..."
]
}
}/woc/opub/decode.phpDescription: WhatsOnChain Data Plugin webhook for OPUB / NFT.* payloads. It detects OPUB-like content (e.g., type=nft.article) and returns an HTML viewer.
- Designed to be called by WhatsOnChain plugin system. - Returns HTML (viewer).
/healthz.phpDescription: Simple health check endpoint (optional).