
pastebin for ai-generated apps.
API Specifications
Base URL: https://ship.tanav.me
Publish HTML
POST /api/publish
{"html":"<!DOCTYPE html><html>...</html>"}
Response 201: {"success":true,"id":"abc123","url":"https://ship.tanav.me/abc123"}
Fetch stored HTML
GET /api/page/[slug]
Public page
GET /[slug]
Report a page
Email hey@tanav.me with the page ID and subject "REPORT"
Page metadata
GET /api/meta/[slug]
Health check
GET /api/health
Errors: 400, 404, 429 (includes "code" field)