Artifacts

Get latest artifact

Changed on

Returns the latest version of the artifact in its raw form. The Content-Type of the response depends on the artifact type. In most cases, this is application/json, but for some types it may be different (for example, PROTOBUF). If the latest version of the artifact is marked as DISABLED, the next available non-disabled version will be used.

This operation may fail for one of the following reasons:

  • No artifact with this artifactId exists or all versions are DISABLED (HTTP error 404)
  • A server error occurred (HTTP error 500)
get/groups/{groupId}/artifacts/{artifactId}

Request

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

Query parameters

dereferenceboolean

Allows the user to specify if the content should be dereferenced when being returned

Response

The content of one version of one artifact.

string binary required

Changes

    • warning

      deleted the query request parameter references

    • info

      added the new optional query request parameter dereference

    • warning

      deleted the query request parameter dereference

    • info

      added the new optional query request parameter references