Upload a package file
PUT
/api/v4/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/package/{conan_package_reference}/{package_revision}/{file_name}
Uploads a specified package file to the package registry. You must use the upload URL returned from the package upload URLs endpoint.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” 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
Conan Recipe Revision
Example
0 conan_package_reference
required
string
Conan Package ID
Example
103f6067a947f366ef91fc1b7da351c588d1827f package_revision
required
string
Conan Package Revision
Example
0 file_name
required
string
Package file name
Example
conaninfo.txtRequest Body required
Section titled “ Request Body required ” Media type multipart/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