{"name":"4kwallpaper-api","version":"1.0.0","documentation":{"html":"/docs","markdown":"/docs.md"},"description":"Cloudflare Worker proxy API for 4kwallpapers.com. Forwards list/search/detail metadata with KV + edge cache. Images are redirected or streamed (no storage).","endpoints":{"GET /":"Redirects to /docs","GET /docs":"Human-readable HTML documentation","GET /docs.md":"Raw Markdown documentation","GET /v1/openapi.json":"This machine-readable endpoint map","GET /v1/health":"Health check","GET /v1/categories":"Category + feed catalog","GET /v1/wallpapers?feed=recent|popular|featured|random&page=1":"Feed listing","GET /v1/categories/:slug?page=1":"Category or tag listing","GET /v1/search?q=&page=1":"Search wallpapers","GET /v1/search/suggest?q=":"Tag autocomplete","GET /v1/wallpapers/:category/:slugId":"Wallpaper detail + all resolutions (e.g. /v1/wallpapers/nature/stac-a-phris-arch-26748)","GET /v1/download?path=/cat/slug-id.html&resolution=3840x2160&mode=redirect|proxy":"Download helper","GET /v1/download/:category/:slugId?resolution=&mode=":"Download by path segments","GET /v1/image?url=":"Proxy any origin /images/* URL"},"notes":["Full docs: GET /docs (HTML) or GET /docs.md (Markdown).","List items include path, id, slug, category, thumbnails — use path for detail/download.","mode=redirect (default) returns 302 to origin CDN; mode=proxy streams through the worker.","Responses include Cache-Control / CDN-Cache-Control and X-Cache headers.","Optional API_KEY env requires X-API-Key header."]}