{
 "openapi": "3.1.0",
 "info": {
  "title": "hax.cloud open data",
  "version": "1",
  "description": "Static JSON files published from PRAW on every build. Every file is plain GET, no authentication. Growth files carry a meta block with how they were made.",
  "license": {
   "name": "Apache-2.0",
   "url": "https://www.apache.org/licenses/LICENSE-2.0"
  }
 },
 "servers": [
  {
   "url": "https://hax.cloud"
  }
 ],
 "paths": {
  "/data/index.json": {
   "get": {
    "summary": "The dataset catalog",
    "description": "A schema.org DataCatalog of every dataset on hax.cloud.",
    "operationId": "data_index_json",
    "responses": {
     "200": {
      "description": "The dataset catalog",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/graph.json": {
   "get": {
    "summary": "The whole graph",
    "description": "Every web's nodes (keyed <web>:<id>) and edges in one file.",
    "operationId": "data_graph_json",
    "responses": {
     "200": {
      "description": "The whole graph",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/webs/{web}.json": {
   "get": {
    "summary": "One web",
    "description": "A web's nodes, each with its hax.cloud page, its edges, evidence and tours.",
    "operationId": "data_webs_web_json",
    "responses": {
     "200": {
      "description": "One web",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    },
    "parameters": [
     {
      "name": "web",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "aaplan",
        "anatomy",
        "appstore",
        "browser",
        "cli",
        "community",
        "contracts",
        "elements",
        "flows",
        "haxcms",
        "haxlab",
        "haxschema",
        "heosat",
        "hhdplan",
        "history",
        "idskills",
        "importers",
        "ist256",
        "jos",
        "languages",
        "main",
        "mcptools",
        "merlin",
        "oerschema",
        "openapi",
        "presentations",
        "psu",
        "psuplan",
        "quality",
        "registry",
        "release",
        "rules",
        "sdgs",
        "sites",
        "skeletons",
        "skills",
        "skillsindex",
        "stack",
        "themes",
        "tokens",
        "tutorials",
        "xapi"
       ]
      }
     }
    ]
   }
  },
  "/data/growth/repos.json": {
   "get": {
    "summary": "Repositories over time",
    "description": "First commit and commits per month for every repository in the HAX network.",
    "operationId": "data_growth_repos_json",
    "responses": {
     "200": {
      "description": "Repositories over time",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/growth/themes.json": {
   "get": {
    "summary": "Themes over time",
    "description": "Every theme on the shared theme core: when it appeared, what it extends, its own code size.",
    "operationId": "data_growth_themes_json",
    "responses": {
     "200": {
      "description": "Themes over time",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/growth/elements.json": {
   "get": {
    "summary": "Elements and their dependencies",
    "description": "Every element package: when it appeared, its size, DDD or not, and which packages it imports and is imported by.",
    "operationId": "data_growth_elements_json",
    "responses": {
     "200": {
      "description": "Elements and their dependencies",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/growth/payload.json": {
   "get": {
    "summary": "What a visitor loads",
    "description": "Gzipped size of every file a theme or element loads, the shared core, and sample visitor journeys for cache savings.",
    "operationId": "data_growth_payload_json",
    "responses": {
     "200": {
      "description": "What a visitor loads",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/growth/series.json": {
   "get": {
    "summary": "Growth series",
    "description": "Monthly series on one axis: commits, merged PRs, issues closed, totals of themes, elements and platforms, sites built, contributors.",
    "operationId": "data_growth_series_json",
    "responses": {
     "200": {
      "description": "Growth series",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  },
  "/data/growth/contributors.json": {
   "get": {
    "summary": "Contributors over time",
    "description": "Everyone who has contributed to the HAX network, by month: commits to any network repository, issues opened and issues closed in the unified queue.",
    "operationId": "data_growth_contributors_json",
    "responses": {
     "200": {
      "description": "Contributors over time",
      "content": {
       "application/json": {
        "schema": {
         "type": "object"
        }
       }
      }
     }
    }
   }
  }
 }
}