Pins
reorder_pin
Write grantIdempotent
Move one of your person's pins right before or after another. Give before or after, not both. Returns their pins in the new order. Needs write access.
Inputs
kindstringRequiredWhat the pin points at: ticket, project, product, environment or team.
One of
ticketprojectproductenvironmentteamkeystringRequiredThe key its pages use: a ticket's ID such as WEB-31, a team's key such as WEB, or a project's, product's or environment's slug such as docs-launch.
beforeobjectThe pin to go right before.
afterobjectThe pin to go right after.
tools/callJSON-RPC
{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "reorder_pin", "arguments": { "kind": "ticket", "key": "WEB-31", "before": { "kind": "project", "key": "docs-launch" } } }}POST/agent/v1/pins:reorder
curl -X POST https://api.qa.clankership.net/agent/v1/pins:reorder \ -H "Authorization: Bearer $CLANKER_AGENT_TOKEN" \ -H "Content-Type: application/json" \ -d '{ "kind": "ticket", "key": "WEB-31", "before": { "kind": "project", "key": "docs-launch" } }'