{
  "name": "wichaa API",
  "description": "Self-describing index of the JSON/RDF data layer. Read this first.",
  "baseUrl": "https://wichaa.net/api",
  "license": "https://creativecommons.org/licenses/by/4.0/",
  "llms": "https://wichaa.net/llms.txt",
  "endpoints": [
    {
      "path": "/api/activity.json",
      "url": "https://wichaa.net/api/activity.json",
      "description": "Snapshot of recent pipeline activity as of build time.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/articles.json",
      "url": "https://wichaa.net/api/articles.json",
      "description": "Index of synthesised subject articles (genre/entity/subgenre).",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/build-info.json",
      "url": "https://wichaa.net/api/build-info.json",
      "description": "Generator version, build time, catalogue mtime, counts.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/coverage.json",
      "url": "https://wichaa.net/api/coverage.json",
      "description": "What has been looked for, where, by what method — so an absence can be read. Distinguishes out-of-scope from not-in-the-source from simply unwritten, which need three different responses.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/dashboard.json",
      "url": "https://wichaa.net/api/dashboard.json",
      "description": "Genre coverage vs digitisation.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/diagrams.json",
      "url": "https://wichaa.net/api/diagrams.json",
      "description": "Diagram and figure pages across the corpus (yantra, stencils, charts).",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/expedite.json",
      "url": "https://wichaa.net/api/expedite.json",
      "description": "St. Expedite: shrines and churches of a global saint-cult.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/findings.json",
      "url": "https://wichaa.net/api/findings.json",
      "description": "Discoveries — machine-surfaced findings from the corpus.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/gallery.json",
      "url": "https://wichaa.net/api/gallery.json",
      "description": "Gallery data.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/gallery.scan-index.json",
      "url": "https://wichaa.net/api/gallery.scan-index.json",
      "description": "Index of raw folio scans for the gallery.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/glossary.json",
      "url": "https://wichaa.net/api/glossary.json",
      "description": "Multilingual glossary of discovered terms (Thai / English / 中文).",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/graph.json",
      "url": "https://wichaa.net/api/graph.json",
      "description": "Knowledge graph as nodes + typed links (app format).",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/graph.jsonld",
      "url": "https://wichaa.net/api/graph.jsonld",
      "description": "Knowledge graph as JSON-LD (schema.org / linked data).",
      "format": "application/ld+json",
      "templated": false
    },
    {
      "path": "/api/graph.ttl",
      "url": "https://wichaa.net/api/graph.ttl",
      "description": "Knowledge graph as RDF Turtle.",
      "format": "text/turtle",
      "templated": false
    },
    {
      "path": "/api/hotrai.json",
      "url": "https://wichaa.net/api/hotrai.json",
      "description": "Hotrai data.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/img-iiif.json",
      "url": "https://wichaa.net/api/img-iiif.json",
      "description": "Map of image sha256 → IIIF image URL (on-demand page images).",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/lenses.json",
      "url": "https://wichaa.net/api/lenses.json",
      "description": "Lens registry — the facet/marker definitions the atlas renders by.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/manuscripts.json",
      "url": "https://wichaa.net/api/manuscripts.json",
      "description": "The full manuscript list (array of summaries).",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/market.json",
      "url": "https://wichaa.net/api/market.json",
      "description": "Living-market commerce layer (amulets and sacred objects trading today).",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/na-compendium.json",
      "url": "https://wichaa.net/api/na-compendium.json",
      "description": "The 108 Na: sacred glyphs paired with the page each was drawn on.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/overview.json",
      "url": "https://wichaa.net/api/overview.json",
      "description": "Corpus-wide counts and facet breakdowns.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/pages.json",
      "url": "https://wichaa.net/api/pages.json",
      "description": "Manifest of every page this build emitted (route, label, kind).",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/place-types.json",
      "url": "https://wichaa.net/api/place-types.json",
      "description": "The emic vocabulary. ศาลพระภูมิ (guardian of the land) and ศาลเจ้าที่ (spirit of the place) are different things that stand a metre apart; the English gloss is a convenience and carries no authority. Each term declares its own confidence.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/places.json",
      "url": "https://wichaa.net/api/places.json",
      "description": "Provenance provinces with counts and map coordinates.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/scans.all.json",
      "url": "https://wichaa.net/api/scans.all.json",
      "description": "Every raw scan (paginated client-side); IIIF image per sha.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/searchdocs.json",
      "url": "https://wichaa.net/api/searchdocs.json",
      "description": "Full client-side search index (large).",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/status.json",
      "url": "https://wichaa.net/api/status.json",
      "description": "Crawl/source status.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/thesaurus.json",
      "url": "https://wichaa.net/api/thesaurus.json",
      "description": "Bilingual thesaurus: query-token expansion groups.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/trails.json",
      "url": "https://wichaa.net/api/trails.json",
      "description": "Trails data.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/vocab.json",
      "url": "https://wichaa.net/api/vocab.json",
      "description": "Controlled vocabulary with corpus counts.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/wats.json",
      "url": "https://wichaa.net/api/wats.json",
      "description": "Every mapped temple of the Lanna north plus non-wat sacred sites: coordinates, province, heritage registration, photographs (first two inline), and a lead description. The map's own data source.",
      "format": "application/json",
      "templated": false
    },
    {
      "path": "/api/article/{slug}.json",
      "url": "https://wichaa.net/api/article/{slug}.json",
      "description": "One article: authored prose + live-computed profile + connections.",
      "format": "application/json",
      "templated": true,
      "count": 35
    },
    {
      "path": "/api/graph/{id}.json",
      "url": "https://wichaa.net/api/graph/{id}.json",
      "description": "Graph data.",
      "format": "application/json",
      "templated": true,
      "count": 2
    },
    {
      "path": "/api/manuscript/{id}.json",
      "url": "https://wichaa.net/api/manuscript/{id}.json",
      "description": "One manuscript: metadata, images, IIIF links, OCR where present.",
      "format": "application/json",
      "templated": true,
      "count": 6990
    },
    {
      "path": "/api/place/{id}.json",
      "url": "https://wichaa.net/api/place/{id}.json",
      "description": "One place in full: all photographs with per-image author and licence, the complete sectioned Wikipedia article in Thai and English, contact and hours where recorded, and a `facets` block.",
      "format": "application/json",
      "templated": true,
      "count": 1494
    },
    {
      "path": "/api/w/{name}.json",
      "url": "https://wichaa.net/api/w/{name}.json",
      "description": "W data.",
      "format": "application/json",
      "templated": true,
      "count": 6
    }
  ]
}