Expand description
Discussions: working notes on one task or pull request (its plan, choices, changes after review, questions), kept apart from the ledger and never reviewed.
Structs§
- Close
Request POST /api/v1/discussion/close: close a discussion by hand.- Closed
- How a discussion closed: stored once as
closed.json; a closed discussion takes no posts. - Discussion
- A discussion: one task or pull request in one repository, keyed by its ticket or branch.
- Discussion
Query GET /api/v1/discussion: every filter is optional; q matches titles and posts.- Open
Discussion POST /api/v1/discussion: open one, or get the open one for the same repository and ticket or branch.- Opened
- The discussion opened, or the open one that already covers the ticket or branch.
- Post
- One post: what was planned, chosen, changed or asked, and by whom.
- Post
Request POST /api/v1/discussion/post: a post to a discussion.- Posted
- The new post’s id.
- Summary
- A discussion without its posts, as
GET /api/v1/discussionlists it. - Transcript
- A discussion with its posts.
Enums§
- Close
Reason - Why a discussion closed.
- Post
Kind - What a post is: shown as its label.
Functions§
- find_
open - The open discussion for
repoand this ticket or branch. - list_
markdown - Discussions as a list, newest activity first.
- markdown
- A discussion with every post, quoted and attributed.
- mention
- The section
whyandpreflightadd for open discussions on the code; empty when there are none. - search
- Discussions matching every filter
qgives;q.qis found in titles and posts, in any case. - touching
- Open discussions with a post about one of the symbols
ids.