Skip to content

List all recipe upload URLs

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

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

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
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