Skip to content

List all recipe revisions

GET
/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions

Lists all revisions for a package recipe. This feature was introduced in GitLab 17.11.

id
required
One of:
string

The ID or URL-encoded path of the project

package_name
required
string

Package name

Example
my-package
package_version
required
string

Package version

Example
1.0
package_username
required
string

Package username

Example
my-group+my-project
package_channel
required
string

Package channel

Example
stable

OK

Media type application/json
object
reference

The Conan package reference

string
revisions

List of recipe revisions

Array<object>
object
revision

The revision hash of the Conan recipe or package

string
time

The UTC timestamp when the revision was created

string
Example
{
"reference": "packageTest/1.2.3@gitlab-org+conan/stable",
"revisions": [
{
"revision": "75151329520e7685dcf5da49ded2fec0",
"time": "2024-12-17T09:16:40.334Z"
}
]
}

Bad Request

Unauthorized

Forbidden

Not Found