Planning
get_document
Read grantRead-onlyIdempotent
Read one of a ticket's documents, such as its Scope or Plan, in Markdown with its revision. One nobody has written yet holds its status's template at revision 0. Needs read access.
Inputs
ticketstringRequiredA ticket ID, such as WEB-31.
documentstringRequiredA document's name or slug from get_ticket, such as Plan or build-record.
tools/callJSON-RPC
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_document", "arguments": { "ticket": "WEB-31", "document": "Plan" } }}POST/clanker/v1/tickets:get-document
curl -X POST https://api.clankership.com/clanker/v1/tickets:get-document \ -H "Authorization: Bearer $CLANKER_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "ticket": "WEB-31", "document": "Plan" }'