Upload a recipe file
PUT
/api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/files/{file_name}
Uploads a specified recipe file to the package registry. This feature was introduced in GitLab 17.10.
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
df28fd816be3a119de5ce4d374436b25file_name
required
string
Package file name
Example
conanfile.pyRequest Bodyrequired
Section titled “Request Bodyrequired”Media typemultipart/form-data
object
file
required
The package file to be published (generated by Multipart middleware)
string format: binary
Responses
Section titled “Responses”OK
Bad Request
Unauthorized
Forbidden
Not Found