Sleekplan API v2

Work item

  • GETList work itemsReturns the workspace's work items, highest priority first. Each row carries its linked posts and votes as totals; fetch the single work item for its brief, posts, evidence, documents and pull requests.
  • POSTCreate a work itemCreates a work item. It starts as needs_decision: a person decides when work starts.
  • GETRetrieve a work itemThe work item with its brief, its active run, its linked posts and their demand, its evidence, its documents (the spec, the plan and documents linked as evidence), and the pull requests reported for it.
  • PUTUpdate a work itemA partial update: only the fields you send change. An empty brief clears it, and component: null clears the component. A body that changes nothing is accepted and changes nothing.
  • POSTLink posts to a work itemLinks posts to the work item. A post already linked to it changes nothing. Send the body as JSON: feedback_ids must be a JSON array.
  • DELETEUnlink a post from a work itemRemoves the link only. The post itself is not changed.
  • POSTAdd evidence to a work itemEvidence is a text with an optional link. Entries are never edited.
  • POSTClaim a work itemClaims the work item's current stage for an agent or a person, which starts a run and moves the work item to in_progress. Keep the run_id: reports about the run must send it.
  • GETList a work item's activityEvery report, decision and change, newest first. To read further back, send the oldest activity_id you have as before.
  • POSTReport on a work itemA report from whoever works on the work item. Each type needs its own fields:
  • POSTDecide on a work itemA person's decision. Each type needs its own fields: