Poxyram Backend API

The content and interaction layer powering Poxyram Production — localized home, news, character data, and product catalog with image optimization, edge caching, and validated contact ingestion.

Endpoints

28 routes

Home

Localized home page content: hero, carousel, character & news previews, footer, and SEO metadata.

  • GET/api/v1/home?lang=enTest
  • GET/api/v1/home?lang=esTest

News

Localized news feed backed by Sanity (with mock fallback). Supports category filtering and pagination.

  • GET/api/v1/news?lang=enTest
  • GET/api/v1/news?lang=esTest
  • GET/api/v1/news/first-gameplay-trailer?lang=enTest
  • GET/api/v1/news/first-gameplay-trailer?lang=esTest

Characters

Localized character roster by city.

  • GET/api/v1/characters?lang=enTest
  • GET/api/v1/characters?lang=esTest

Settings

World/background setting pages with thumbnail + hero images. Carousel list and detail pages.

  • GET/api/v1/settings?lang=enTest
  • GET/api/v1/settings?lang=esTest
  • GET/api/v1/settings/the-hollow-city?lang=enTest
  • GET/api/v1/settings/the-hollow-city?lang=esTest

Pages

Generic content pages (legal, support, info) with cover images. Category filter supported.

  • GET/api/v1/pages?lang=enTest
  • GET/api/v1/pages?lang=esTest
  • GET/api/v1/pages/privacy-policy?lang=enTest
  • GET/api/v1/pages/privacy-policy?lang=esTest

Shop

Product catalog with category filtering, pricing, variants, and Shopify checkout links.

  • GET/api/v1/products?lang=enTest
  • GET/api/v1/products?lang=esTest
  • GET/api/v1/products/poxyram-t-shirt?lang=enTest
  • GET/api/v1/products/poxyram-t-shirt?lang=esTest

FAQ

Frequently asked questions with categories and question/answer pairs.

  • GET/api/v1/faq?lang=enTest
  • GET/api/v1/faq?lang=esTest

Contact

Contact page content (GET) and contact form submission (POST).

  • GET/api/v1/contact?lang=enTest
  • GET/api/v1/contact?lang=esTest
  • POST/api/v1/contactJSON body

Newsletter

Subscribe, confirm, and unsubscribe. Confirmation and unsubscribe return HTML pages.

  • POST/api/v1/newsletterJSON body
  • GET/api/v1/newsletter/confirm?token=<token>JSON body
  • GET/api/v1/newsletter/unsubscribe?token=<token>JSON body

Documentation & tools