Skip to content

List all package upload URLs

POST
/api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/upload_urls

Lists all the upload URLs for a specified collection of package files. The request must include a JSON object with the name and size of the individual files.

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

Conan package ID

Example
103f6067a947f366ef91fc1b7da351c588d1827f

OK

Media type application/json
object
upload_urls
object
Example
{
"upload_urls": {
"conan_package.tgz": "https://gitlab.example.com/api/v4/packages/conan/v1/files/my-package/1.0/my-group+my-project/stable/0/package/103f6067a947f366ef91fc1b7da351c588d1827f/0/conan_package.tgz"
}
}

Bad Request

Forbidden

Not Found