Branches
Get versions in branch
Get a list of all versions in the branch. Returns a list of version identifiers in the branch, 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)
- No branch with this branchId exists (HTTP error 404)
- A server error occurred (HTTP error 500)
get/groups/{groupId}/artifacts/{artifactId}/branches/{branchId}/versions
Query parameters
offsetinteger
The number of versions to skip before starting to collect the result set. Defaults to 0.
limitinteger
The number of versions to return. Defaults to 20.
Response
The list of versions in the branch.
Example response
{
"versions": [
{
"groupId": "DemoGroup",
"artifactId": "demo-artifact-id",
"name": "Artifact Version Name",
"description": "Description of the artifact version",
"artifactType": "AVRO",
"state": "ENABLED",
"createdOn": "2018-02-10T09:30Z",
"owner": "some text",
"globalId": 37,
"version": "1.0.7",
"contentId": 62
}
]
}