Backend API for Meta-PTCG decklist processing, shortcode resolution, and card lookup.
Base URL: https://uri.meta-ptcg.org/api/v1
Documentation: See deploy/ folder for comprehensive integration guides
Process decklist import/export (Quantum Format ↔ Quantum Viewer JSON)
Request: { "decklist": "Pokémon: 4\n1 Oddish SOA 001\n..." }
Response: { "success": true, "cards": [...], "stats": {...} }
Resolve shortcode to card data (e.g., /api/v1/shortcode/SOA-001)
Example: GET /api/v1/shortcode/SOA-001
Response: { "success": true, "card": {...} }
Get card by path (e.g., /api/v1/card/all-era/soaring_titans/001)
Status: Implementation pending
Sanitize and shorten CDN URLs
Example: GET /api/v1/url/sanitize?url=https://cdn.meta-ptcg.org/...
Proxy external images with caching
API Version: 1.0 | Last Updated: 2025-01-11 | Documentation: GitHub Docs