{"schema":"interplane/agents/1","base":"/",
"read_first":"/agents.json",
"how_to_ask":{"suffix":"the path itself is the JSON name","accept":"send Accept: application/json (and not text/html); the HTML page names the same address in <link rel=alternate type=application/json>","always":"JSON whatever the headers say"},
"text_form":"add format=text to the query of any HTML page for its plain-text form (text/plain; charset=utf-8)",
"error_schema":"forge/error/1",
"events":{"path":"/events.json","schema":"interplane/events/1","after":"after=<seq> answers the events with a higher seq, oldest first; next is the address to read next","limit_default":50,"limit_max":200,"etag":"send If-None-Match with the ETag of the last answer: an unchanged stream answers 304","feed":"/feed"},
"routes":[
{"method":"GET","path":"/","json":"accept","schema":"forge/explore/1","auth":"none","doc":"docs/API.md","purpose":"the public repositories (the front page) as JSON"},
{"method":"GET","path":"/explore.json","json":"suffix","schema":"forge/explore/1","auth":"none","doc":"docs/API.md","purpose":"the public repositories, the explore list"},
{"method":"GET","path":"/search?q={q}","json":"accept","schema":"forge/search/1","auth":"none","doc":"docs/API.md","purpose":"repositories and code lines matching words, forge-wide"},
{"method":"GET","path":"/{user}","json":"accept","schema":"forge/user/1","auth":"none","doc":"docs/API.md","purpose":"an account profile; ?tab=stars|followers|following"},
{"method":"GET","path":"/{user}/followers","json":"accept","schema":"forge/user/1","auth":"none","doc":"docs/API.md","purpose":"the accounts that follow a user"},
{"method":"GET","path":"/{user}/following","json":"accept","schema":"forge/user/1","auth":"none","doc":"docs/API.md","purpose":"the accounts a user follows"},
{"method":"GET","path":"/stars","json":"accept","schema":"forge/stars/1","auth":"session","doc":"docs/API.md","purpose":"the signed-in user's starred and favorite lists (signed out: 303 to login)"},
{"method":"GET","path":"/{owner}/{repo}.json","json":"suffix","schema":"forge/repo/1","auth":"none","doc":"docs/API.md","purpose":"one repository: description, branch, last commit, clone, counts"},
{"method":"GET","path":"/{owner}/{repo}","json":"accept","schema":"forge/repo/1","auth":"none","doc":"docs/API.md","purpose":"one repository, the repository home"},
{"method":"GET","path":"/{owner}/{repo}/tree/{ref}","json":"accept","schema":"forge/tree/1","auth":"none","doc":"docs/API.md","purpose":"a directory listing at a ref; add /{path} for a sub-directory"},
{"method":"GET","path":"/{owner}/{repo}/blob/{ref}/{path}","json":"accept","schema":"forge/blob/1","auth":"none","doc":"docs/API.md","purpose":"one file at a ref"},
{"method":"GET","path":"/{owner}/{repo}/blame/{ref}/{path}","json":"accept","schema":"forge/blame/1","auth":"none","doc":"docs/API.md","purpose":"every line of a file with the commit that last changed it"},
{"method":"GET","path":"/{owner}/{repo}/search?q={q}","json":"accept","schema":"forge/repo-search/1","auth":"none","doc":"docs/API.md","purpose":"lines of the default branch matching a text"},
{"method":"GET","path":"/{owner}/{repo}/commits/{ref}","json":"accept","schema":"forge/commits/1","auth":"none","doc":"docs/API.md","purpose":"30 commits a page of a ref's history; ?page=N"},
{"method":"GET","path":"/{owner}/{repo}/commit/{sha}","json":"accept","schema":"forge/commit/1","auth":"none","doc":"docs/API.md","purpose":"one commit with its numstat and diff"},
{"method":"GET","path":"/{owner}/{repo}/compare/{a}...{b}","json":"accept","schema":"forge/compare/1","auth":"none","doc":"docs/API.md","purpose":"what ref b has that ref a does not"},
{"method":"GET","path":"/{owner}/{repo}/branches","json":"accept","schema":"forge/branches/1","auth":"none","doc":"docs/API.md","purpose":"the branches, newest commit first"},
{"method":"GET","path":"/{owner}/{repo}/tags","json":"accept","schema":"forge/tags/1","auth":"none","doc":"docs/API.md","purpose":"the tags"},
{"method":"GET","path":"/{owner}/{repo}/releases","json":"accept","schema":"forge/releases/1","auth":"none","doc":"docs/API.md","purpose":"the releases (tags with their notes and assets)"},
{"method":"GET","path":"/{owner}/{repo}/releases/tag/{tag}","json":"accept","schema":"forge/release/1","auth":"none","doc":"docs/API.md","purpose":"one release"},
{"method":"GET","path":"/{owner}/{repo}/patches","json":"accept","schema":"forge/patch-list/1","auth":"none","doc":"docs/API.md","purpose":"signed patches and imported proposals; ?page=N"},
{"method":"GET","path":"/{owner}/{repo}/patches/{id}","json":"accept","schema":"forge/patch/1","auth":"none","doc":"docs/API.md","purpose":"one signed patch or imported proposal"},
{"method":"GET","path":"/{owner}/{repo}/issues","json":"accept","schema":"forge/issues/1","auth":"none","doc":"docs/API.md","purpose":"the issues; ?state=open|closed|all"},
{"method":"GET","path":"/{owner}/{repo}/issues/{id}","json":"accept","schema":"forge/issue/1","auth":"none","doc":"docs/API.md","purpose":"one issue with its comments"},
{"method":"GET","path":"/{owner}/{repo}/issues/new","json":"accept","schema":"forge/issue-form/1","auth":"session","doc":"docs/API.md","purpose":"authenticated new issue fields"},
{"method":"GET","path":"/{owner}/{repo}/issues/{id}/comments","json":"accept","schema":"forge/issue-form/1","auth":"session","doc":"docs/API.md","purpose":"authenticated comment fields"},
{"method":"POST","path":"/{owner}/{repo}/issues/new","json":"accept","schema":"forge/issue-write/1","auth":"session","doc":"docs/API.md","purpose":"open an issue using the form fields"},
{"method":"POST","path":"/{owner}/{repo}/issues/{id}/comments","json":"accept","schema":"forge/issue-write/1","auth":"session","doc":"docs/API.md","purpose":"post a comment to a full issue ID"},
{"method":"GET","path":"/{owner}/{repo}/stargazers","json":"accept","schema":"forge/stargazers/1","auth":"none","doc":"docs/API.md","purpose":"the accounts that starred the repository"},
{"method":"GET","path":"/{owner}/{repo}/watchers","json":"accept","schema":"forge/watchers/1","auth":"none","doc":"docs/API.md","purpose":"the accounts that watch the repository"},
{"method":"GET","path":"/research.json","json":"suffix","schema":"interplane/research/1","auth":"none","doc":"research/build.om","purpose":"the research index (base / only)"},
{"method":"GET","path":"/research/{slug}.json","json":"suffix","schema":"interplane/research-work/1","auth":"none","doc":"research/build.om","purpose":"one research work (base / only)"},
{"method":"GET","path":"/agents.json","json":"always","schema":"interplane/agents/1","auth":"none","doc":"docs/API.md","purpose":"this list: every machine-readable address, read it first"},
{"method":"GET","path":"/events.json?after={seq}\u0026limit={n}","json":"always","schema":"interplane/events/1","auth":"none","doc":"docs/API.md","purpose":"the public activity stream, read from where you stopped"},
{"method":"GET","path":"/events?after={seq}","json":"accept","schema":"interplane/events/1","auth":"none","doc":"docs/API.md","purpose":"the same stream at the address without .json"},
{"method":"GET","path":"/feed","json":"accept","schema":"interplane/events/1","auth":"none","doc":"docs/API.md","purpose":"the feed page; with Accept JSON the same stream as events.json"}
],
"not_available":[
{"what":"explore?order={order}","why":"not answered by this build: its growth part is moving to the new Interplane store and is not available yet; this address answers 404, or without this schema"},
{"what":"trending.json","why":"not answered by this build: its growth part is moving to the new Interplane store and is not available yet; the address answers 503 with that text (forge/error/1 with reason moving to a JSON request), no Retry-After"},
{"what":"{owner}/{repo}/insights","why":"not answered by this build: its growth part is moving to the new Interplane store and is not available yet; this address answers 404, or without this schema"},
{"what":"open.json","why":"not answered by this build: its open part is moving to the new Interplane store and is not available yet; the address answers 503 with that text (forge/error/1 with reason moving to a JSON request), no Retry-After"},
{"what":"open/{project}.json","why":"not answered by this build: its open part is moving to the new Interplane store and is not available yet; the address answers 503 with that text (forge/error/1 with reason moving to a JSON request), no Retry-After"},
{"what":"open/alarms.json","why":"not answered by this build: its open part is moving to the new Interplane store and is not available yet; the address answers 503 with that text (forge/error/1 with reason moving to a JSON request), no Retry-After"},
{"what":"status.json","why":"not answered by this build: its nodes part is not composed (the address answers 404 or 501, or without this schema)"},
{"what":"writes over HTTP without a browser session","why":"every POST needs the forge session cookie and its CSRF field (a signed-in browser); there is no token or key API. Sign in with /login before using an HTTP write route"},
{"what":"MCP server","why":"this forge runs no MCP server; read these addresses over plain HTTPS"},
{"what":"git clone or fetch from this address","why":"the forge pages are read-only views; clone with a line of the clone object of forge/repo/1"},
{"what":"webhooks and push notifications","why":"nothing is pushed to you; read events.json after the last seq you saw, with If-None-Match for a cheap 304"},
{"what":"an HTML page at /agents","why":"interplane.io serves /agents/ from the static site; the forge answers agents.json only"},
{"what":"salvage/","why":"the Salvage Yard is moving to the new Interplane store and is not available yet; salvage/, and every address under it, answers 503 with that text (forge/error/1 with reason moving to a JSON request), no Retry-After"},
{"what":"community/","why":"Community Machines are moving to the new Interplane store and are not available yet; community/, and every address under it, answers 503 with that text (forge/error/1 with reason moving to a JSON request), no Retry-After"}
]}
