Add a numeric branch id to the `Get single repository branch` api call
Problem to solve
I am looking for a numeric identifier for the branch that the current pipeline is being ran for.
Intended users
Anyone who is bound by an incomplete semver versioning scheme that would like to identify versions by branchid.
Further details
Currently chef is using x.y.z or x.y as the versioning scheme for their artifacts, x, y and z must be numeric, it also has a character limit.
I would like to create a version such as 1.2.$branchid. $branch comes from the Get single repository branch api call
Proposal
If its available, return a numeric branchid in the json call
Permissions and Security
No change
Documentation
Modify the json returned sections on this page: https://docs.gitlab.com/ee/api/branches.html#get-single-repository-branch
Testing
Whatever schema the schema verifier uses, needs to be updated with a new field.
What does success look like, and how can we measure that?
Better CI compatibility