The delivery board's documents
Every document of the delivery board by id: meta (the commit, the lanes, the issue counts, the release), milestones in roadmap order, intents, the pull request queue from the last recorded observation, and the open issues of each lane as issues-<lane>, split into issues-<lane>-2 and onwards so that no document serializes past 250000 bytes. The digest is a SHA-256 over the canonical JSON of the documents with meta.syncedAt and meta.syncedBy left out, so equal state is an equal digest. A milestone that is not DONE and is in no lane of share/board.yaml is refused by name, never filed under other. An unobserved queue is said in prs.unavailable and the diagnostics, never refused. Mesh seats, live work, CI runners and blockers are the sync step's and are not here. Reads only; nothing is cached.
- query
- experimentální
- benchmark waived: repository_declaration
- cache vypnuta
- MCP tool majordomus_board_snapshot
- $ board snapshot
Parametry dotazu
| název | typ | povinné | popis | příklady |
|---|---|---|---|---|
| by | string | ne | Who takes the snapshot, as `meta.syncedBy` names it; `board.snapshot` when absent. Left out of the digest. | named: "a mesh session" |
Vyzkoušejte
Port je ten, který server zalogoval; 8741 je ten, o který žádá jako první. Hodnoty jsou první příklad operace.
curl -s "http://127.0.0.1:8741/api/v1/board/snapshot?by=a%20mesh%20session"
Testováno v apps/majordomus-cli/tests/http_serve.rs, který přehrává routu s těmito hodnotami proti serveru na skutečném socketu.
Odpovědi
| status | tělo | význam |
|---|---|---|
| 200 | BoardSnapshot | The delivery board's documents: the result. |
| 400 | ErrorBody | invalid_input: Vstup neodpovídá schématu: parametr špatného typu, neznámý parametr nebo hodnota, kterou schopnost odmítne. |
| 404 | ErrorBody | not_found: Vstup pojmenovává něco, co repozitář nemá. |
| 500 | ErrorBody | internal: Schopnost selhala z vlastního důvodu; zpráva ho pojmenovává. |
| výchozí | ErrorBody | Jakékoli jiné selhání, které transport hlásí: 405 method_not_allowed pro jinou metodu na této cestě, 400 invalid_input pro tělo, které není objektem JSON. |