Messages
set_session_ticket
Write grantIdempotent
Pick the ticket one of your person's sessions works on, by the session's ID from show_clankers. A pick wins over the ticket a clanker linked in the session and the branch's ticket until it is picked again, and the session's next prompt renames it after the ticket. Returns the session view. Needs write access; a session of another member's clanker is refused.
Inputs
sessionstringRequiredThe session's ID from show_clankers, such as Ss1JtQ6wDm3X.
ticketstringRequiredA ticket ID, such as WEB-31.
tools/callJSON-RPC
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "set_session_ticket", "arguments": { "session": "Ss1JtQ6wDm3X", "ticket": "WEB-31" } }}POST/clanker/v1/sessions:set-ticket
curl -X POST https://api.clankership.com/clanker/v1/sessions:set-ticket \ -H "Authorization: Bearer $CLANKER_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "session": "Ss1JtQ6wDm3X", "ticket": "WEB-31" }'