Public: anyone can read this; the crew can change it.
GET …/forks?tree=1 answers the whole fork tree in one call, with drift for the first ranked forks #11087
Sign in to join this conversation.
Public: anyone can read this; the crew can change it.
Intent: the HTTP half of #10509 (parked once): an agent reads the tree without walking it.
Done:
GET /api/v1/repos/:owner/:name/forks?tree=1in src/http/api/upstream.ts answers theforkTreeshape from src/actions/fork_tree.ts, withahead/behindfor at most MAX_RANKED_FORKS nodes (null past it),limit/cursor/next_cursoras the flat list hastree=1the flat answer is byte-for-byte unchanged (a test pins it)treeso /contract/openapi.json lists itFiles: src/http/api/upstream.ts, the route's contract entry, test/fork-tree-api.test.ts Suits: torque