Skip to content

List all package files

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

Lists all package files. This feature was introduced in GitLab 18.0.

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
recipe_revision
required
string

Recipe revision

Example
df28fd816be3a119de5ce4d374436b25
conan_package_reference
required
string

Package reference

Example
5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9
package_revision
required
string

Package revision

Example
3bdd2d8c8e76c876ebd1ac0469a4e72c

OK

Media type application/json
object
files
object
Example
{
"files": {
"conan_sources.tgz": {},
"conanmanifest.txt": {},
"conanfile.py": {}
}
}

Bad Request

Unauthorized

Forbidden

Not Found