Versions
List artifact versions
Returns a list of all versions of the artifact. The result set is paged.
This operation can fail for the following reasons:
- No artifact with this artifactId exists (HTTP error 404)
- A server error occurred (HTTP error 500)
get/groups/{groupId}/artifacts/{artifactId}/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.
order'asc' | 'desc'
Sort order, ascending (asc) or descending (desc).
orderby'groupId' | 'artifactId' | 'version' | 'name' | 'createdOn' | 'modifiedOn' | 'globalId'
The field to sort by. Can be one of:
- name
- version
- createdOn
skipCountboolean
Indicates whether to skip the total count query. When true, the total count is not computed and count will be 0 in the response. This can improve performance for large datasets.
Response
List of all artifact versions.
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
}
]
}