API Documentation
All endpoints are static files. No authentication required. CORS-enabled. Updated monthly.
Endpoints
/dpg-dpi-govstack-map/api/atlas.jsonJSONFull dataset — projects, organizations, deployments, relationships, and metadata.
Schema: AtlasDataset
/dpg-dpi-govstack-map/api/projects.jsonJSONAll projects with full metadata, community health scores, and deployment countries.
Schema: Project[]
/dpg-dpi-govstack-map/api/organizations.jsonJSONAll organizations with coordinates, associated projects, and governance roles.
Schema: Organization[]
/dpg-dpi-govstack-map/api/relationships.jsonJSONAll relationships between projects and organizations.
Schema: Relationship[]
/dpg-dpi-govstack-map/api/deployments.jsonJSONAll known project deployments with country and status.
Schema: Deployment[]
/dpg-dpi-govstack-map/api/map.geojsonGeoJSONGeoJSON FeatureCollection of organization locations for map rendering.
Schema: GeoJSON FeatureCollection
/dpg-dpi-govstack-map/api/projects.csvCSVFlat CSV of all projects — suitable for spreadsheet analysis.
Schema: Tabular
/dpg-dpi-govstack-map/api/graph.jsonJSONGraph data with nodes and edges for visualization tools.
Schema: { nodes, edges }
/dpg-dpi-govstack-map/api/search-index.jsonJSONPre-built Lunr.js search index for client-side full-text search.
Schema: Lunr serialized index
Usage Examples
Fetch all projects (JavaScript)
const res = await fetch("https://mgifford.github.io/dpg-dpi-govstack-map/api/projects.json");
const { projects } = await res.json();
console.log(`${projects.length} projects loaded`);Load GeoJSON in MapLibre GL JS
map.addSource("atlas-orgs", {
type: "geojson",
data: "https://mgifford.github.io/dpg-dpi-govstack-map/api/map.geojson"
});Download via curl
curl -O https://mgifford.github.io/dpg-dpi-govstack-map/api/projects.csvSchema Reference
Full Zod-validated TypeScript schemas are available in the source repository atsrc/lib/schema.ts. See docs/SCHEMA.md for annotated documentation.