v1

latestOpenAPI 3.0.2Apache 2.02026-07-136548173.9 KB
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.

Response

List of all artifact versions.

countinteger required

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

Example response

{
  "versions": [
    {
      "name": "Artifact Version Name",
      "description": "Description of the artifact version",
      "labels": [
        "current",
        "internal"
      ],
      "type": "AVRO",
      "state": "ENABLED",
      "createdOn": "2018-02-10T09:30Z",
      "createdBy": "some text",
      "globalId": 37,
      "version": 85,
      "properties": {},
      "contentId": 62,
      "references": {}
    }
  ]
}