Branches
List branches
Returns a list of all branches in the artifact. Each branch is a list of version identifiers, ordered from the latest (tip of the branch) to the oldest.
This operation can fail for the following reasons:
- No artifact with this groupId and artifactId exists (HTTP error 404)
- A server error occurred (HTTP error 500)
get/groups/{groupId}/artifacts/{artifactId}/branches
Query parameters
offsetinteger
The number of branches to skip before starting to collect the result set. Defaults to 0.
limitinteger
The number of branches to return. Defaults to 20.
Response
List of all artifact versions.
Example response
{
"branches": [
{
"groupId": "ExampleGroup",
"artifactId": "ExampleArtifact",
"branchId": "1.0.x",
"description": "A really nice branch.",
"systemDefined": false,
"createdOn": "2018-02-10T09:30Z",
"owner": "user1",
"modifiedOn": "2019-03-11T09:30Z",
"modifiedBy": "user2"
}
]
}