Structs§
- Branch
Name - Branch
Ref - Build
Status - One entry from
…/pullrequests/{id}/statuses. Every field is optional because a reporter may omit any of them, and a missing name must not cost us the row. - Clone
Link - One entry of
links.clone[], which Bitbucket returns as a list tagged by protocol rather than as named fields. - Comment
- Comment
Content - Comment
Parent - Commit
- Commit
Author - Commit
Summary - Commit
Target - Diff
Stat Entry - Endpoint
- Inline
- Link
- Links
- Participant
- Path
Entry - Project
- A Bitbucket project, the container a repository lives in.
- Pull
Request - Repository
- A repository as returned by
GET /repositories/{workspace}and by the creation endpoint.full_nameis"workspace/repo", whichRepoSlug::parseaccepts directly. - Repository
Links - Reviewer
Ref - Reviewer
State - User
Enums§
- Build
State - A pull request can carry one status per reporting tool, so the table needs a
single word.
Nonecovers both “no checks reported” and “a state this version does not recognise” — an unknown future state must never fail a list. - Review
State