Retrieve latest package revision
GET
/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/latest
Retrieves the revision hash and creation date of the latest package revision for a specified recipe revision and package reference. This feature was introduced in GitLab 17.11.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”package_name
required
string
Package name
Example
my-packagepackage_version
required
string
Package version
Example
1.0package_username
required
string
Package username
Example
my-group+my-projectpackage_channel
required
string
Package channel
Example
stablerecipe_revision
required
string
Recipe revision
Example
df28fd816be3a119de5ce4d374436b25conan_package_reference
required
string
Package reference
Example
5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9Responses
Section titled “Responses”OK
Media typeapplication/json
object
revision
The revision hash of the Conan recipe or package
string
time
The UTC timestamp when the revision was created
string
Example
{ "revision": "75151329520e7685dcf5da49ded2fec0", "time": "2024-12-17T09:16:40.334Z"}Bad Request
Unauthorized
Forbidden
Not Found