v51

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-08-01131107332.8 KB
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.

countinteger required

The total number of branches that matched the query that produced the result set (may be more than the number of branches in the result set).

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"
    }
  ]
}