Artifact Latest Version Search Based on Layout

Search for the latest artifact version by groupId and artifactId, based on the definitions in the Repository Layouts. This API is based on a Maven-specific algorithm for sorting versions.

Search can be limited to specific repositories (local, remote-cache, or virtual) by settings the repos parameter.

Latest release vs. latest integration: Unless the version parameter is specified, the search returns the latest artifact release version. When version is specified, e.g. 1.0-SNAPSHOT, the result is the latest integration version.

Remote searches: By default only local and cache repositories will be used. When specifying remote=1, Artifactory searches for versions on remote repositories. Note that this can dramatically slow down the search.

Filtering results (Artifactory 3.0.2+): The version parameter can accept the * and/or ? wildcards which will then filter the final result to match only those who match the given version pattern.

Artifact path pattern: The [org] and [module] fields must be specified in the artifact path pattern of the repository layout for this call to work.

Product: Requires Artifactory Pro

Since: 2.6.0

Security: Requires a privileged user (can be anonymous)

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Query Params
string

GroupId

string

ArtifactId

string

Version pattern (supports wildcards * and ?)

integer
enum
Defaults to 0

When specifying remote=1, Artifactory searches for versions on remote repositories.

Allowed:
string

Comma-separated list of repository keys to limit search to

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

Language
Credentials
:
URL
LoadingLoading…
Response
Choose an example:
text/plain
application/json