Versions

List artifact versions

Changed on

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

Request

  • The document declares no server URL.
  • Auth
    none declared

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

Changes

    • info

      removed the ASYNCAPI enum value from the // response property for the response status

    • info

      removed the AVRO enum value from the // response property for the response status

    • info

      removed the GRAPHQL enum value from the // response property for the response status

    • info

      removed the JSON enum value from the // response property for the response status

    • info

      removed the KCONNECT enum value from the // response property for the response status

    • info

      removed the OPENAPI enum value from the // response property for the response status

    • info

      removed the PROTOBUF enum value from the // response property for the response status

    • info

      removed the WSDL enum value from the // response property for the response status

    • info

      removed the XML enum value from the // response property for the response status

    • info

      removed the XSD enum value from the // response property for the response status

    • info

      added the required property // to the response with the status