Expand description
Models for refs (branches and tags), commits, and source browsing.
Structsยง
- Branch
Detail - A branch ref as returned by the
refs/branchesAPI, including its target commit. Distinct fromsuper::repo::Branch, which is the bare{ name }shape embedded in repository payloads. - Commit
Summary - A commit as returned by the
commits/commit/{hash}endpoints and embedded as thetargetof branch and tag refs. - Create
Branch Request - Request body for
POST refs/branches. - Create
TagRequest - Request body for
POST refs/tags.messageis omitted from the payload when unset so Bitbucket creates a lightweight tag. - File
History Entry - One entry from the
filehistory/{ref}/{path}endpoint: a commit that touched the file, plus the path the file had at that commit. - RefTarget
- The
targetobject of a ref-creation request: the commit to point at. - Source
Entry - A file or directory entry from the
src/{ref}/{path}listing endpoint. - TagDetail
- A tag ref as returned by the
refs/tagsAPI.