swagger: '2.0' info: title: GitLab access_requests packages API version: v4 description: Operations related to access requests host: gitlab.com produces: - application/json tags: - name: packages description: Operations about packages paths: /api/v4/groups/{id}/-/packages/debian/dists/*distribution/Release.gpg: get: summary: The Release file signature description: This feature was introduced in GitLab 13.5 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro responses: '200': description: The Release file signature '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesDebianDists*distributionReleaseGpg /api/v4/groups/{id}/-/packages/debian/dists/*distribution/Release: get: summary: The unsigned Release file description: This feature was introduced in GitLab 13.5 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro responses: '200': description: The unsigned Release file '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesDebianDists*distributionRelease /api/v4/groups/{id}/-/packages/debian/dists/*distribution/InRelease: get: summary: The signed Release file description: This feature was introduced in GitLab 13.5 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro responses: '200': description: The signed Release file '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesDebianDists*distributionInrelease /api/v4/groups/{id}/-/packages/debian/dists/*distribution/{component}/debian-installer/binary-{architecture}/Packages: get: summary: The installer (udeb) binary files index description: This feature was introduced in GitLab 15.4 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: component description: The Debian Component type: string required: true example: main - in: path name: architecture description: The Debian Architecture type: string required: true example: binary-amd64 responses: '200': description: The installer (udeb) binary files index '202': description: The installer (udeb) binary files index '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesDebianDists*distributionComponentDebianInstallerBinaryArchitecturePackages ? /api/v4/groups/{id}/-/packages/debian/dists/*distribution/{component}/debian-installer/binary-{architecture}/by-hash/SHA256/{file_sha256} : get: summary: The installer (udeb) binary files index by hash description: This feature was introduced in GitLab 15.4 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: component description: The Debian Component type: string required: true example: main - in: path name: architecture description: The Debian Architecture type: string required: true example: binary-amd64 - in: path name: file_sha256 type: integer format: int32 required: true responses: '200': description: The installer (udeb) binary files index by hash '202': description: The installer (udeb) binary files index by hash '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesDebianDists*distributionComponentDebianInstallerBinaryArchitectureByHashSha256FileSha256 /api/v4/groups/{id}/-/packages/debian/dists/*distribution/{component}/source/Sources: get: summary: The source files index description: This feature was introduced in GitLab 15.4 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: component description: The Debian Component type: string required: true example: main responses: '200': description: The source files index '202': description: The source files index '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesDebianDists*distributionComponentSourceSources /api/v4/groups/{id}/-/packages/debian/dists/*distribution/{component}/source/by-hash/SHA256/{file_sha256}: get: summary: The source files index by hash description: This feature was introduced in GitLab 15.4 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: component description: The Debian Component type: string required: true example: main - in: path name: file_sha256 type: integer format: int32 required: true responses: '200': description: The source files index by hash '202': description: The source files index by hash '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesDebianDists*distributionComponentSourceByHashSha256FileSha256 /api/v4/groups/{id}/-/packages/debian/dists/*distribution/{component}/binary-{architecture}/Packages: get: summary: The binary files index description: This feature was introduced in GitLab 13.5 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: component description: The Debian Component type: string required: true example: main - in: path name: architecture description: The Debian Architecture type: string required: true example: binary-amd64 responses: '200': description: The binary files index '202': description: The binary files index '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesDebianDists*distributionComponentBinaryArchitecturePackages /api/v4/groups/{id}/-/packages/debian/dists/*distribution/{component}/binary-{architecture}/by-hash/SHA256/{file_sha256}: get: summary: The binary files index by hash description: This feature was introduced in GitLab 15.4 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: component description: The Debian Component type: string required: true example: main - in: path name: architecture description: The Debian Architecture type: string required: true example: binary-amd64 - in: path name: file_sha256 type: integer format: int32 required: true responses: '200': description: The binary files index by hash '202': description: The binary files index by hash '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesDebianDists*distributionComponentBinaryArchitectureByHashSha256FileSha256 ? /api/v4/groups/{id}/-/packages/debian/pool/{distribution}/{project_id}/{letter}/{package_name}/{package_version}/{file_name} : get: summary: Download Debian package description: This feature was introduced in GitLab 14.2 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: string required: true - in: path name: project_id description: The Project Id type: integer format: int32 required: true - in: path name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: letter description: The Debian Classification (first-letter or lib-first-letter) type: string required: true example: a - in: path name: package_name description: The Debian Source Package Name type: string required: true example: my-pkg - in: path name: package_version description: The Debian Source Package Version type: string required: true example: 1.0.0 - in: path name: file_name description: The Debian File Name type: string required: true example: example_1.0.0~alpha2_amd64.deb responses: '200': description: Download Debian package '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesDebianPoolDistributionProjectIdLetterPackageNamePackageVersionFileName /api/v4/groups/{id}/-/debian_distributions: post: summary: Create a Debian Distribution description: This feature was introduced in 14.0 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true - name: postApiV4GroupsIdDebianDistributions in: body required: true schema: $ref: '#/definitions/postApiV4GroupsIdDebianDistributions' responses: '201': description: Create a Debian Distribution schema: $ref: '#/definitions/API_Entities_Packages_Debian_Distribution' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4GroupsIdDebianDistributions get: summary: Get a list of Debian Distributions description: This feature was introduced in 14.0 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true - in: query name: page description: Current page number type: integer format: int32 default: 1 required: false example: 1 - in: query name: per_page description: Number of items per page type: integer format: int32 default: 20 required: false example: 20 - in: query name: codename description: The Debian Codename type: string required: false example: sid - in: query name: suite description: The Debian Suite type: string required: false example: unstable - in: query name: origin description: The Debian Origin type: string required: false example: Grep - in: query name: label description: The Debian Label type: string required: false example: grep.be - in: query name: version description: The Debian Version type: string required: false example: '12' - in: query name: description description: The Debian Description type: string required: false example: My description - in: query name: valid_time_duration_seconds description: The duration before the Release file should be considered expired by the client type: integer format: int32 required: false example: 604800 - in: query name: components description: The list of Components type: array items: type: string required: false example: main - in: query name: architectures description: The list of Architectures type: array items: type: string required: false example: amd64 responses: '200': description: Get a list of Debian Distributions schema: $ref: '#/definitions/API_Entities_Packages_Debian_Distribution' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdDebianDistributions /api/v4/groups/{id}/-/debian_distributions/{codename}: get: summary: Get a Debian Distribution description: This feature was introduced in 14.0 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true - in: path name: codename description: The Debian Codename type: string required: true example: sid responses: '200': description: Get a Debian Distribution schema: $ref: '#/definitions/API_Entities_Packages_Debian_Distribution' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdDebianDistributionsCodename put: summary: Update a Debian Distribution description: This feature was introduced in 14.0 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true - in: path name: codename description: The Debian Codename type: string required: true example: sid - name: putApiV4GroupsIdDebianDistributionsCodename in: body required: true schema: $ref: '#/definitions/putApiV4GroupsIdDebianDistributionsCodename' responses: '200': description: Update a Debian Distribution schema: $ref: '#/definitions/API_Entities_Packages_Debian_Distribution' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4GroupsIdDebianDistributionsCodename delete: summary: Delete a Debian Distribution description: This feature was introduced in 14.0 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true - in: path name: codename description: The Debian Codename type: string required: true example: sid - in: query name: suite description: The Debian Suite type: string required: false example: unstable - in: query name: origin description: The Debian Origin type: string required: false example: Grep - in: query name: label description: The Debian Label type: string required: false example: grep.be - in: query name: version description: The Debian Version type: string required: false example: '12' - in: query name: description description: The Debian Description type: string required: false example: My description - in: query name: valid_time_duration_seconds description: The duration before the Release file should be considered expired by the client type: integer format: int32 required: false example: 604800 - in: query name: components description: The list of Components type: array items: type: string required: false example: main - in: query name: architectures description: The list of Architectures type: array items: type: string required: false example: amd64 responses: '202': description: Delete a Debian Distribution '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: deleteApiV4GroupsIdDebianDistributionsCodename /api/v4/groups/{id}/-/debian_distributions/{codename}/key.asc: get: summary: Get a Debian Distribution Key description: This feature was introduced in 14.4 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true - in: path name: codename description: The Debian Codename type: string required: true example: sid responses: '200': description: Get a Debian Distribution Key schema: $ref: '#/definitions/API_Entities_Packages_Debian_Distribution' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdDebianDistributionsCodenameKeyAsc /api/v4/groups/{id}/packages: get: summary: List packages within a group description: Get a list of project packages at the group level. This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: id description: ID or URL-encoded path of the group type: string required: true - in: query name: exclude_subgroups description: Determines if subgroups should be excluded type: boolean default: false required: false - in: query name: page description: Current page number type: integer format: int32 default: 1 required: false example: 1 - in: query name: per_page description: Number of items per page type: integer format: int32 default: 20 required: false example: 20 - in: query name: order_by description: Return packages ordered by `created_at`, `name`, `version` or `type` fields. type: string default: created_at enum: - created_at - name - version - type - project_path required: false - in: query name: sort description: Return packages sorted in `asc` or `desc` order. type: string default: asc enum: - asc - desc required: false - in: query name: package_type description: Return packages of a certain type type: string enum: - maven - npm - conan - nuget - pypi - composer - generic - golang - debian - rubygems - helm - terraform_module - rpm - ml_model - cargo required: false - in: query name: package_name description: Return packages with this name type: string required: false - in: query name: package_version description: Return packages with this version type: string required: false - in: query name: include_versionless description: Returns packages without a version type: boolean required: false - in: query name: status description: Return packages with specified status type: string enum: - default - hidden - processing - error - pending_destruction - deprecated required: false responses: '200': description: List packages within a group schema: type: array items: $ref: '#/definitions/API_Entities_Package' '401': description: Unauthorized '404': description: Group Not Found tags: - packages operationId: getApiV4GroupsIdPackages /api/v4/groups/{id}/-/packages/maven/*path/{file_name}: get: summary: Download the maven package file at a group level description: This feature was introduced in GitLab 11.7 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true - in: query name: path description: Package path type: string required: true example: foo/bar/mypkg/1.0-SNAPSHOT - in: path name: file_name description: Package file name type: string required: true example: mypkg-1.0-SNAPSHOT.jar responses: '200': description: Download the maven package file at a group level '302': description: Download the maven package file at a group level '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesMaven*pathFileName /api/v4/groups/{id}/-/packages/npm/-/package/*package_name/dist-tags: get: summary: Get all tags for a given an NPM package description: This feature was introduced in GitLab 12.7 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true - in: query name: package_name description: Package name type: string required: true responses: '200': description: Get all tags for a given an NPM package schema: $ref: '#/definitions/API_Entities_NpmPackageTag' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesNpmPackage*packageNameDistTags /api/v4/groups/{id}/-/packages/npm/-/package/*package_name/dist-tags/{tag}: put: summary: Create or Update the given tag for the given NPM package and version description: This feature was introduced in GitLab 12.7 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true - in: path name: tag description: Package dist-tag type: string required: true - name: putApiV4GroupsIdPackagesNpmPackage*packageNameDistTagsTag in: body required: true schema: $ref: '#/definitions/putApiV4GroupsIdPackagesNpmPackage*packageNameDistTagsTag' responses: '204': description: Create or Update the given tag for the given NPM package and version '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4GroupsIdPackagesNpmPackage*packageNameDistTagsTag delete: summary: Deletes the given tag description: This feature was introduced in GitLab 12.7 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true - in: query name: package_name description: Package name type: string required: true - in: path name: tag description: Package dist-tag type: string required: true responses: '204': description: Deletes the given tag '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: deleteApiV4GroupsIdPackagesNpmPackage*packageNameDistTagsTag /api/v4/groups/{id}/-/packages/npm/-/npm/v1/security/advisories/bulk: post: summary: NPM registry bulk advisory endpoint description: This feature was introduced in GitLab 15.6 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true responses: '200': description: Ok '307': description: Temporary Redirect '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4GroupsIdPackagesNpmNpmV1SecurityAdvisoriesBulk /api/v4/groups/{id}/-/packages/npm/-/npm/v1/security/audits/quick: post: summary: NPM registry quick audit endpoint description: This feature was introduced in GitLab 15.6 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true responses: '200': description: Ok '307': description: Temporary Redirect '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4GroupsIdPackagesNpmNpmV1SecurityAuditsQuick /api/v4/groups/{id}/-/packages/npm/*package_name: get: summary: NPM registry metadata endpoint description: This feature was introduced in GitLab 11.8 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the group type: string required: true - in: query name: package_name description: Package name type: string required: true example: mypackage responses: '200': description: Ok schema: $ref: '#/definitions/API_Entities_NpmPackage' '302': description: Found (redirect) '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesNpm*packageName /api/v4/groups/{id}/-/packages/nuget/index: get: summary: The NuGet V3 Feed Service Index description: This feature was introduced in GitLab 12.6 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: integer format: int32 required: true responses: '200': description: The NuGet V3 Feed Service Index schema: $ref: '#/definitions/API_Entities_Nuget_ServiceIndex' '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesNugetIndex /api/v4/groups/{id}/-/packages/nuget/symbolfiles/*file_name/*signature/*same_file_name: get: summary: The NuGet Symbol File Download Endpoint description: This feature was introduced in GitLab 16.7 produces: - application/json parameters: - in: header name: Symbolchecksum type: string required: true - in: path name: id description: The group ID or full group path. type: integer format: int32 required: true - in: query name: file_name description: The symbol file name type: string required: true example: mynugetpkg.pdb - in: query name: signature description: The symbol file signature type: string required: true example: k813f89485474661234z7109cve5709eFFFFFFFF - in: query name: same_file_name description: The symbol file name. Must match the 'file_name' parameter type: string required: true responses: '200': description: The NuGet Symbol File Download Endpoint '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesNugetSymbolfiles*fileName*signature*sameFileName /api/v4/groups/{id}/-/packages/nuget/v2: get: summary: The NuGet V2 Feed Service Index description: This feature was introduced in GitLab 16.2 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: integer format: int32 required: true responses: '200': description: The NuGet V2 Feed Service Index '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesNugetV2 /api/v4/groups/{id}/-/packages/nuget/v2/$metadata: get: summary: The NuGet V2 Feed Package $metadata endpoint description: This feature was introduced in GitLab 16.3 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: integer format: int32 required: true responses: '200': description: The NuGet V2 Feed Package $metadata endpoint tags: - packages operationId: getApiV4GroupsIdPackagesNugetV2$metadata /api/v4/groups/{id}/-/packages/nuget/metadata/*package_name/index: get: summary: The NuGet Metadata Service - Package name level description: This feature was introduced in GitLab 12.8 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: integer format: int32 required: true - in: query name: package_name description: The NuGet package name type: string required: true example: MyNuGetPkg responses: '200': description: The NuGet Metadata Service - Package name level schema: $ref: '#/definitions/API_Entities_Nuget_PackagesMetadata' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesNugetMetadata*packageNameIndex /api/v4/groups/{id}/-/packages/nuget/metadata/*package_name/*package_version: get: summary: The NuGet Metadata Service - Package name and version level description: This feature was introduced in GitLab 12.8 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: integer format: int32 required: true - in: query name: package_name description: The NuGet package name type: string required: true example: MyNuGetPkg - in: query name: package_version description: The NuGet package version type: string required: true example: 1.0.0 responses: '200': description: The NuGet Metadata Service - Package name and version level schema: $ref: '#/definitions/API_Entities_Nuget_PackageMetadata' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesNugetMetadata*packageName*packageVersion /api/v4/groups/{id}/-/packages/nuget/query: get: summary: The NuGet Search Service description: This feature was introduced in GitLab 12.8 produces: - application/json parameters: - in: path name: id description: The group ID or full group path. type: integer format: int32 required: true - in: query name: q description: The search term type: string required: false example: MyNuGet - in: query name: skip description: The number of results to skip type: integer format: int32 default: 0 required: false example: 1 - in: query name: take description: The number of results to return type: integer format: int32 default: 20 required: false example: 1 - in: query name: prerelease description: Include prerelease versions type: boolean default: true required: false responses: '200': description: The NuGet Search Service schema: $ref: '#/definitions/API_Entities_Nuget_SearchResults' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesNugetQuery /api/v4/groups/{id}/-/packages/pypi/simple: get: summary: The PyPi Simple Group Index Endpoint description: This feature was introduced in GitLab 15.1 produces: - application/json parameters: - in: path name: id description: The ID or full path of the group. type: integer format: int32 required: true responses: '200': description: The PyPi Simple Group Index Endpoint '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesPypiSimple /api/v4/groups/{id}/-/packages/pypi/simple/*package_name: get: summary: The PyPi Simple Group Package Endpoint description: This feature was introduced in GitLab 12.10 produces: - application/json parameters: - in: path name: id description: The ID or full path of the group. type: integer format: int32 required: true - in: query name: package_name description: The PyPi package name type: string required: true example: my.pypi.package responses: '200': description: The PyPi Simple Group Package Endpoint '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4GroupsIdPackagesPypiSimple*packageName /api/v4/projects/{id}/packages/cargo/config.json: get: summary: Get config.json description: This will be used by cargo for further requests produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: Get config.json '401': description: Unauthorized '403': description: Forbidden tags: - packages operationId: getApiV4ProjectsIdPackagesCargoConfigJson /api/v4/projects/{id}/packages/composer: post: summary: Composer packages endpoint for registering packages description: This feature was introduced in GitLab 13.1 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of a project type: string required: true - name: postApiV4ProjectsIdPackagesComposer in: body required: true schema: $ref: '#/definitions/postApiV4ProjectsIdPackagesComposer' responses: '201': description: Composer packages endpoint for registering packages '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4ProjectsIdPackagesComposer /api/v4/projects/{id}/packages/composer/archives/*package_name: get: summary: Composer package endpoint to download a package archive description: This feature was introduced in GitLab 13.1 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of a project type: string required: true - in: query name: sha description: Shasum of current json type: string required: true example: 673594f85a55fe3c0eb45df7bd2fa9d95a1601ab - in: query name: package_name description: The Composer package name type: string required: true example: my-composer-package responses: '200': description: Composer package endpoint to download a package archive '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesComposerArchives*packageName /api/v4/projects/{id}/packages/conan/v1/users/authenticate: get: summary: Authenticate user against conan CLI description: This feature was introduced in GitLab 12.2 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: Authenticate user against conan CLI '401': description: Unauthorized '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1UsersAuthenticate /api/v4/projects/{id}/packages/conan/v1/users/check_credentials: get: summary: Check for valid user credentials per conan CLI description: This feature was introduced in GitLab 12.4 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: Check for valid user credentials per conan CLI '401': description: Unauthorized '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1UsersCheckCredentials /api/v4/projects/{id}/packages/conan/v1/conans/search: get: summary: Search for packages description: This feature was introduced in GitLab 12.4 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: q description: Search query type: string required: true example: Hello* - in: query name: ignorecase description: Ignore case when searching (case-insensitive search) type: boolean required: false example: 'False' responses: '200': description: Search for packages '400': description: Bad Request '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1ConansSearch ? /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/search : get: summary: Get package references metadata description: This feature was introduced in GitLab 18.0 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Get package references metadata '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelSearch /api/v4/projects/{id}/packages/conan/v1/ping: get: summary: Ping the Conan API description: This feature was introduced in GitLab 12.2 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: Ping the Conan API '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1Ping ? /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference} : get: summary: Package Snapshot description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: conan_package_reference description: Conan package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f responses: '200': description: Package Snapshot schema: $ref: '#/definitions/API_Entities_Packages_Conan_PackageSnapshot' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReference /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}: get: summary: Recipe Snapshot description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Recipe Snapshot schema: $ref: '#/definitions/API_Entities_Packages_Conan_RecipeSnapshot' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel delete: summary: Delete Package description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '204': description: Delete Package '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: deleteApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel ? /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/digest : get: summary: Package Digest description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: conan_package_reference description: Conan package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f responses: '200': description: Package Digest schema: $ref: '#/definitions/API_Entities_Packages_Conan_PackageManifest' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDigest ? /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/digest : get: summary: Recipe Digest description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Recipe Digest schema: $ref: '#/definitions/API_Entities_Packages_Conan_RecipeManifest' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDigest ? /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/download_urls : get: summary: Package Download Urls description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: conan_package_reference description: Conan package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f responses: '200': description: Package Download Urls schema: $ref: '#/definitions/API_Entities_Packages_Conan_PackageManifest' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDownloadUrls ? /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/download_urls : get: summary: Recipe Download Urls description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Recipe Download Urls schema: $ref: '#/definitions/API_Entities_Packages_Conan_RecipeManifest' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDownloadUrls ? /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/upload_urls : post: summary: Package Upload Urls description: This feature was introduced in GitLab 12.4 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: conan_package_reference description: Conan package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f responses: '200': description: Package Upload Urls schema: $ref: '#/definitions/API_Entities_Packages_Conan_UploadUrls' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceUploadUrls ? /api/v4/projects/{id}/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/upload_urls : post: summary: Recipe Upload Urls description: This feature was introduced in GitLab 12.4 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Recipe Upload Urls schema: $ref: '#/definitions/API_Entities_Packages_Conan_UploadUrls' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4ProjectsIdPackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelUploadUrls ? /api/v4/projects/{id}/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/export/{file_name} : get: summary: Download recipe files description: This feature was introduced in GitLab 12.6 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Conan Recipe Revision type: string required: true example: '0' - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conanfile.py responses: '200': description: Download recipe files '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName put: summary: Upload recipe package files description: This feature was introduced in GitLab 12.6 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Conan Recipe Revision type: string required: true example: '0' - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conanfile.py - name: putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName' responses: '200': description: Upload recipe package files '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName ? /api/v4/projects/{id}/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/export/{file_name}/authorize : put: summary: Workhorse authorize the conan recipe file description: This feature was introduced in GitLab 12.6 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Conan Recipe Revision type: string required: true example: '0' - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conanfile.py responses: '200': description: Workhorse authorize the conan recipe file '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameAuthorize ? /api/v4/projects/{id}/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/package/{conan_package_reference}/{package_revision}/{file_name} : get: summary: Download package files description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Conan Recipe Revision type: string required: true example: '0' - in: path name: conan_package_reference description: Conan Package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f - in: path name: package_revision description: Conan Package Revision type: string required: true example: '0' - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conaninfo.txt responses: '200': description: Download package files '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName put: summary: Upload package files description: This feature was introduced in GitLab 12.6 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Conan Recipe Revision type: string required: true example: '0' - in: path name: conan_package_reference description: Conan Package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f - in: path name: package_revision description: Conan Package Revision type: string required: true example: '0' - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conaninfo.txt - name: putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName' responses: '200': description: Upload package files '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName ? /api/v4/projects/{id}/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/package/{conan_package_reference}/{package_revision}/{file_name}/authorize : put: summary: Workhorse authorize the conan package file description: This feature was introduced in GitLab 12.6 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Conan Recipe Revision type: string required: true example: '0' - in: path name: conan_package_reference description: Conan Package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f - in: path name: package_revision description: Conan Package Revision type: string required: true example: '0' - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conaninfo.txt responses: '200': description: Workhorse authorize the conan package file '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameAuthorize /api/v4/projects/{id}/packages/conan/v2/users/authenticate: get: summary: Authenticate user against conan CLI description: This feature was introduced in GitLab 12.2 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: Authenticate user against conan CLI '401': description: Unauthorized '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2UsersAuthenticate /api/v4/projects/{id}/packages/conan/v2/users/check_credentials: get: summary: Check for valid user credentials per conan CLI description: This feature was introduced in GitLab 12.4 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: Check for valid user credentials per conan CLI '401': description: Unauthorized '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2UsersCheckCredentials /api/v4/projects/{id}/packages/conan/v2/conans/search: get: summary: Search for packages description: This feature was introduced in GitLab 12.4 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: q description: Search query type: string required: true example: Hello* - in: query name: ignorecase description: Ignore case when searching (case-insensitive search) type: boolean required: false example: 'False' responses: '200': description: Search for packages '400': description: Bad Request '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2ConansSearch ? /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/search : get: summary: Get package references metadata description: This feature was introduced in GitLab 18.0 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Get package references metadata '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelSearch ? /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/latest : get: summary: Get the latest recipe revision description: This feature was introduced in GitLab 17.11 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Get the latest recipe revision schema: $ref: '#/definitions/API_Entities_Packages_Conan_Revision' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelLatest ? /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions : get: summary: Get the list of revisions description: This feature was introduced in GitLab 17.11 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Get the list of revisions schema: $ref: '#/definitions/API_Entities_Packages_Conan_RecipeRevisions' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisions ? /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision} : delete: summary: Delete recipe revision description: This feature was introduced in GitLab 18.1 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 responses: '204': description: Delete recipe revision '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: deleteApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevision ? /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/files : get: summary: List recipe files description: This feature was introduced in GitLab 17.11 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 responses: '200': description: List recipe files schema: $ref: '#/definitions/API_Entities_Packages_Conan_FilesList' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFiles ? /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/files/{file_name} : get: summary: Download recipe files description: This feature was introduced in GitLab 17.8 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conanfile.py responses: '200': description: Download recipe files '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileName put: summary: Upload recipe package files description: This feature was introduced in GitLab 17.10 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conanfile.py - name: putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileName in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileName' responses: '200': description: Upload recipe package files '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileName ? /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/files/{file_name}/authorize : put: summary: Workhorse authorize the conan recipe file description: This feature was introduced in GitLab 17.10 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conanfile.py responses: '200': description: Workhorse authorize the conan recipe file '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileNameAuthorize ? /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/search : get: summary: Get package references metadata description: This feature was introduced in GitLab 18.1 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 responses: '200': description: Get package references metadata '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionSearch ? /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/latest : get: summary: Get the latest package revision description: This feature was introduced in GitLab 17.11 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 - in: path name: conan_package_reference description: Package reference type: string required: true example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 responses: '200': description: Get the latest package revision schema: $ref: '#/definitions/API_Entities_Packages_Conan_Revision' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceLatest ? /api/v4/projects/{id}/packages/conan/v2/conans/{package_name}/{package_version}/{package_username}/{package_channel}/revisions/{recipe_revision}/packages/{conan_package_reference}/revisions : get: summary: Get the list of package revisions description: This feature was introduced in GitLab 18.0 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 - in: path name: conan_package_reference description: Package reference type: string required: true example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 responses: '200': description: Get the list of package revisions schema: $ref: '#/definitions/API_Entities_Packages_Conan_PackageRevisions' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisions ? /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} : delete: summary: Delete package revision description: This feature was introduced in GitLab 18.1 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 - in: path name: conan_package_reference description: Package reference type: string required: true example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - in: path name: package_revision description: Package revision type: string required: true example: 3bdd2d8c8e76c876ebd1ac0469a4e72c responses: '204': description: Delete package revision '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: deleteApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevision ? /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 : get: summary: List package files description: This feature was introduced in GitLab 18.0 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 - in: path name: conan_package_reference description: Package reference type: string required: true example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - in: path name: package_revision description: Package revision type: string required: true example: 3bdd2d8c8e76c876ebd1ac0469a4e72c responses: '200': description: List package files schema: $ref: '#/definitions/API_Entities_Packages_Conan_FilesList' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFiles ? /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/{file_name} : get: summary: Download package files description: This feature was introduced in GitLab 17.11 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 - in: path name: conan_package_reference description: Package reference type: string required: true example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - in: path name: package_revision description: Package revision type: string required: true example: 3bdd2d8c8e76c876ebd1ac0469a4e72c - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conaninfo.txt responses: '200': description: Download package files '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFilesFileName put: summary: Upload package files description: This feature was introduced in GitLab 17.11 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 - in: path name: conan_package_reference description: Package reference type: string required: true example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - in: path name: package_revision description: Package revision type: string required: true example: 3bdd2d8c8e76c876ebd1ac0469a4e72c - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conaninfo.txt - name: putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFilesFileName in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFilesFileName' responses: '200': description: Upload package files '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFilesFileName ? /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/{file_name}/authorize : put: summary: Workhorse authorize the conan package file description: This feature was introduced in GitLab 17.11 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Recipe revision type: string required: true example: df28fd816be3a119de5ce4d374436b25 - in: path name: conan_package_reference description: Package reference type: string required: true example: 5ab84d6acfe1f23c4fae0ab88f26e3a396351ac9 - in: path name: package_revision description: Package revision type: string required: true example: 3bdd2d8c8e76c876ebd1ac0469a4e72c - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conaninfo.txt responses: '200': description: Workhorse authorize the conan package file '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFilesFileNameAuthorize /api/v4/projects/{id}/packages/debian/dists/*distribution/Release.gpg: get: summary: The Release file signature description: This feature was introduced in GitLab 13.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro responses: '200': description: The Release file signature '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesDebianDists*distributionReleaseGpg /api/v4/projects/{id}/packages/debian/dists/*distribution/Release: get: summary: The unsigned Release file description: This feature was introduced in GitLab 13.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro responses: '200': description: The unsigned Release file '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesDebianDists*distributionRelease /api/v4/projects/{id}/packages/debian/dists/*distribution/InRelease: get: summary: The signed Release file description: This feature was introduced in GitLab 13.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro responses: '200': description: The signed Release file '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesDebianDists*distributionInrelease /api/v4/projects/{id}/packages/debian/dists/*distribution/{component}/debian-installer/binary-{architecture}/Packages: get: summary: The installer (udeb) binary files index description: This feature was introduced in GitLab 15.4 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: component description: The Debian Component type: string required: true example: main - in: path name: architecture description: The Debian Architecture type: string required: true example: binary-amd64 responses: '200': description: The installer (udeb) binary files index '202': description: The installer (udeb) binary files index '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesDebianDists*distributionComponentDebianInstallerBinaryArchitecturePackages ? /api/v4/projects/{id}/packages/debian/dists/*distribution/{component}/debian-installer/binary-{architecture}/by-hash/SHA256/{file_sha256} : get: summary: The installer (udeb) binary files index by hash description: This feature was introduced in GitLab 15.4 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: component description: The Debian Component type: string required: true example: main - in: path name: architecture description: The Debian Architecture type: string required: true example: binary-amd64 - in: path name: file_sha256 type: integer format: int32 required: true responses: '200': description: The installer (udeb) binary files index by hash '202': description: The installer (udeb) binary files index by hash '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesDebianDists*distributionComponentDebianInstallerBinaryArchitectureByHashSha256FileSha256 /api/v4/projects/{id}/packages/debian/dists/*distribution/{component}/source/Sources: get: summary: The source files index description: This feature was introduced in GitLab 15.4 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: component description: The Debian Component type: string required: true example: main responses: '200': description: The source files index '202': description: The source files index '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesDebianDists*distributionComponentSourceSources /api/v4/projects/{id}/packages/debian/dists/*distribution/{component}/source/by-hash/SHA256/{file_sha256}: get: summary: The source files index by hash description: This feature was introduced in GitLab 15.4 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: component description: The Debian Component type: string required: true example: main - in: path name: file_sha256 type: integer format: int32 required: true responses: '200': description: The source files index by hash '202': description: The source files index by hash '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesDebianDists*distributionComponentSourceByHashSha256FileSha256 /api/v4/projects/{id}/packages/debian/dists/*distribution/{component}/binary-{architecture}/Packages: get: summary: The binary files index description: This feature was introduced in GitLab 13.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: component description: The Debian Component type: string required: true example: main - in: path name: architecture description: The Debian Architecture type: string required: true example: binary-amd64 responses: '200': description: The binary files index '202': description: The binary files index '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesDebianDists*distributionComponentBinary-ArchitecturePackages /api/v4/projects/{id}/packages/debian/dists/*distribution/{component}/binary-{architecture}/by-hash/SHA256/{file_sha256}: get: summary: The binary files index by hash description: This feature was introduced in GitLab 15.4 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: component description: The Debian Component type: string required: true example: main - in: path name: architecture description: The Debian Architecture type: string required: true example: binary-amd64 - in: path name: file_sha256 type: integer format: int32 required: true responses: '200': description: The binary files index by hash '202': description: The binary files index by hash '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesDebianDists*distributionComponentBinaryArchitectureByHashSha256FileSha256 /api/v4/projects/{id}/packages/debian/pool/{distribution}/{letter}/{package_name}/{package_version}/{file_name}: get: summary: Download Debian package description: This feature was introduced in GitLab 14.2 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: distribution description: The Debian Codename or Suite type: string required: true example: my-distro - in: path name: letter description: The Debian Classification (first-letter or lib-first-letter) type: string required: true example: a - in: path name: package_name description: The Debian Source Package Name type: string required: true example: my-pkg - in: path name: package_version description: The Debian Source Package Version type: string required: true example: 1.0.0 - in: path name: file_name description: The Debian File Name type: string required: true example: example_1.0.0~alpha2_amd64.deb responses: '200': description: Download Debian package '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesDebianPoolDistributionLetterPackageNamePackageVersionFileName /api/v4/projects/{id}/packages/debian/{file_name}: put: summary: Upload Debian package description: This feature was introduced in GitLab 14.0 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: file_name description: The filename type: string required: true example: example_1.0.0~alpha2_amd64.deb - name: putApiV4ProjectsIdPackagesDebianFileName in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesDebianFileName' responses: '201': description: Upload Debian package '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesDebianFileName /api/v4/projects/{id}/packages/debian/{file_name}/authorize: put: summary: Authorize Debian package upload description: This feature was introduced in GitLab 13.5 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: file_name description: The filename type: string required: true example: example_1.0.0~alpha2_amd64.deb - name: putApiV4ProjectsIdPackagesDebianFileNameAuthorize in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesDebianFileNameAuthorize' responses: '200': description: Authorize Debian package upload '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesDebianFileNameAuthorize /api/v4/projects/{id}/packages/generic/{package_name}/*package_version/(*path/){file_name}/authorize: put: summary: Workhorse authorize generic package file description: This feature was introduced in GitLab 13.5 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true - in: path name: file_name description: Package file name type: string required: true - name: putApiV4ProjectsIdPackagesGenericPackageName*packageVersion(*path)FileNameAuthorize in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesGenericPackageName*packageVersion(*path)FileNameAuthorize' responses: '200': description: Workhorse authorize generic package file '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesGenericPackageName*packageVersion(*path)FileNameAuthorize /api/v4/projects/{id}/packages/generic/{package_name}/*package_version/(*path/){file_name}: put: summary: Upload package file description: This feature was introduced in GitLab 13.5 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true - in: path name: file_name description: Package file name type: string required: true - name: putApiV4ProjectsIdPackagesGenericPackageName*packageVersion(*path)FileName in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesGenericPackageName*packageVersion(*path)FileName' responses: '200': description: Upload package file '201': description: Upload package file '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesGenericPackageName*packageVersion(*path)FileName get: summary: Download package file description: This feature was introduced in GitLab 13.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true - in: query name: package_version description: Package version type: string required: true - in: query name: path description: File directory path type: string required: false - in: path name: file_name description: Package file name type: string required: true responses: '200': description: Download package file '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesGenericPackageName*packageVersion(*path)FileName /api/v4/projects/{id}/packages/go/*module_name/@v/list: get: summary: List description: Get all tagged versions for a given Go module.See `go help goproxy`, GET $GOPROXY//@v/list. This feature was introduced in GitLab 13.1. produces: - application/json parameters: - in: path name: id description: The project ID or full path of a project type: string required: true - in: query name: module_name description: The name of the Go module type: string required: true responses: '200': description: List tags: - packages operationId: getApiV4ProjectsIdPackagesGo*moduleName@vList /api/v4/projects/{id}/packages/go/*module_name/@v/{module_version}.info: get: summary: Version metadata description: Get all tagged versions for a given Go module.See `go help goproxy`, GET $GOPROXY//@v/.info. This feature was introduced in GitLab 13.1 produces: - application/json parameters: - in: path name: id description: The project ID or full path of a project type: string required: true - in: query name: module_name description: The name of the Go module type: string required: true - in: path name: module_version description: The version of the Go module type: string required: true responses: '200': description: Version metadata schema: $ref: '#/definitions/API_Entities_GoModuleVersion' tags: - packages operationId: getApiV4ProjectsIdPackagesGo*moduleName@vModuleVersionInfo /api/v4/projects/{id}/packages/go/*module_name/@v/{module_version}.mod: get: summary: Download module file description: Get the module file of a given module version.See `go help goproxy`, GET $GOPROXY//@v/.mod. This feature was introduced in GitLab 13.1. produces: - application/json parameters: - in: path name: id description: The project ID or full path of a project type: string required: true - in: query name: module_name description: The name of the Go module type: string required: true - in: path name: module_version description: The version of the Go module type: string required: true responses: '200': description: Download module file tags: - packages operationId: getApiV4ProjectsIdPackagesGo*moduleName@vModuleVersionMod /api/v4/projects/{id}/packages/go/*module_name/@v/{module_version}.zip: get: summary: Download module source description: Get a zip of the source of the given module version.See `go help goproxy`, GET $GOPROXY//@v/.zip. This feature was introduced in GitLab 13.1. produces: - application/json parameters: - in: path name: id description: The project ID or full path of a project type: string required: true - in: query name: module_name description: The name of the Go module type: string required: true - in: path name: module_version description: The version of the Go module type: string required: true responses: '200': description: Download module source tags: - packages operationId: getApiV4ProjectsIdPackagesGo*moduleName@vModuleVersionZip /api/v4/projects/{id}/packages/helm/{channel}/index.yaml: get: summary: Download a chart index description: This feature was introduced in GitLab 14.0 produces: - application/json parameters: - in: path name: id description: The ID or full path of a project type: integer format: int32 required: true - in: path name: channel description: Helm channel type: string required: true example: stable responses: '200': description: Download a chart index '401': description: Unauthorized '403': description: Forbidden tags: - packages operationId: getApiV4ProjectsIdPackagesHelmChannelIndexYaml /api/v4/projects/{id}/packages/helm/{channel}/charts/{file_name}.tgz: get: summary: Download a chart description: This feature was introduced in GitLab 14.0 produces: - application/json parameters: - in: path name: id description: The ID or full path of a project type: integer format: int32 required: true - in: path name: channel description: Helm channel type: string required: true example: stable - in: path name: file_name description: Helm package file name type: string required: true example: mychart responses: '200': description: Download a chart '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesHelmChannelChartsFileNameTgz /api/v4/projects/{id}/packages/helm/api/{channel}/charts/authorize: post: summary: Authorize a chart upload from workhorse description: This feature was introduced in GitLab 14.0 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or full path of a project type: integer format: int32 required: true - in: path name: channel description: Helm channel type: string required: true example: stable responses: '200': description: Authorize a chart upload from workhorse '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4ProjectsIdPackagesHelmApiChannelChartsAuthorize /api/v4/projects/{id}/packages/helm/api/{channel}/charts: post: summary: Upload a chart description: This feature was introduced in GitLab 14.0 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or full path of a project type: integer format: int32 required: true - in: path name: channel description: Helm channel type: string required: true example: stable - name: postApiV4ProjectsIdPackagesHelmApiChannelCharts in: body required: true schema: $ref: '#/definitions/postApiV4ProjectsIdPackagesHelmApiChannelCharts' responses: '201': description: Upload a chart '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4ProjectsIdPackagesHelmApiChannelCharts /api/v4/projects/{id}/packages/maven/*path/{file_name}: get: summary: Download the maven package file at a project level description: This feature was introduced in GitLab 11.3 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: path description: Package path type: string required: true example: foo/bar/mypkg/1.0-SNAPSHOT - in: path name: file_name description: Package file name type: string required: true example: mypkg-1.0-SNAPSHOT.jar responses: '200': description: Download the maven package file at a project level '302': description: Download the maven package file at a project level '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesMaven*pathFileName put: summary: Upload the maven package file description: This feature was introduced in GitLab 11.3 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: file_name description: Package file name type: string required: true example: mypkg-1.0-SNAPSHOT.pom - name: putApiV4ProjectsIdPackagesMaven*pathFileName in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesMaven*pathFileName' responses: '200': description: Upload the maven package file '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found '422': description: Unprocessable Entity tags: - packages operationId: putApiV4ProjectsIdPackagesMaven*pathFileName /api/v4/projects/{id}/packages/maven/*path/{file_name}/authorize: put: summary: Workhorse authorize the maven package file upload description: This feature was introduced in GitLab 11.3 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: file_name description: Package file name type: string required: true example: mypkg-1.0-SNAPSHOT.pom - name: putApiV4ProjectsIdPackagesMaven*pathFileNameAuthorize in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesMaven*pathFileNameAuthorize' responses: '200': description: Workhorse authorize the maven package file upload '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesMaven*pathFileNameAuthorize /api/v4/projects/{id}/packages/npm/-/package/*package_name/dist-tags: get: summary: Get all tags for a given an NPM package description: This feature was introduced in GitLab 12.7 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: package_name description: Package name type: string required: true responses: '200': description: Get all tags for a given an NPM package schema: $ref: '#/definitions/API_Entities_NpmPackageTag' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesNpmPackage*packageNameDistTags /api/v4/projects/{id}/packages/npm/-/package/*package_name/dist-tags/{tag}: put: summary: Create or Update the given tag for the given NPM package and version description: This feature was introduced in GitLab 12.7 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: tag description: Package dist-tag type: string required: true - name: putApiV4ProjectsIdPackagesNpmPackage*packageNameDistTagsTag in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesNpmPackage*packageNameDistTagsTag' responses: '204': description: Create or Update the given tag for the given NPM package and version '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesNpmPackage*packageNameDistTagsTag delete: summary: Deletes the given tag description: This feature was introduced in GitLab 12.7 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: package_name description: Package name type: string required: true - in: path name: tag description: Package dist-tag type: string required: true responses: '204': description: Deletes the given tag '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: deleteApiV4ProjectsIdPackagesNpmPackage*packageNameDistTagsTag /api/v4/projects/{id}/packages/npm/-/npm/v1/security/advisories/bulk: post: summary: NPM registry bulk advisory endpoint description: This feature was introduced in GitLab 15.6 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: Ok '307': description: Temporary Redirect '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4ProjectsIdPackagesNpmNpmV1SecurityAdvisoriesBulk /api/v4/projects/{id}/packages/npm/-/npm/v1/security/audits/quick: post: summary: NPM registry quick audit endpoint description: This feature was introduced in GitLab 15.6 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: Ok '307': description: Temporary Redirect '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4ProjectsIdPackagesNpmNpmV1SecurityAuditsQuick /api/v4/projects/{id}/packages/npm/*package_name/-/*file_name: get: summary: Download the NPM tarball description: This feature was introduced in GitLab 11.8 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: package_name description: Package name type: string required: true - in: query name: file_name description: Package file name type: string required: true responses: '200': description: Download the NPM tarball '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesNpm*packageName-*fileName /api/v4/projects/{id}/packages/npm/{package_name}: put: summary: Create or deprecate NPM package description: Create was introduced in GitLab 11.8 & deprecate support was added in 16.0 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_name description: Package name type: string required: true - name: putApiV4ProjectsIdPackagesNpmPackageName in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesNpmPackageName' responses: '200': description: Create or deprecate NPM package '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesNpmPackageName /api/v4/projects/{id}/packages/npm/*package_name: get: summary: NPM registry metadata endpoint description: This feature was introduced in GitLab 11.8 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: package_name description: Package name type: string required: true example: mypackage responses: '200': description: Ok schema: $ref: '#/definitions/API_Entities_NpmPackage' '302': description: Found (redirect) '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesNpm*packageName /api/v4/projects/{id}/packages/nuget/index: get: summary: The NuGet V3 Feed Service Index description: This feature was introduced in GitLab 12.6 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: The NuGet V3 Feed Service Index schema: $ref: '#/definitions/API_Entities_Nuget_ServiceIndex' '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesNugetIndex /api/v4/projects/{id}/packages/nuget/symbolfiles/*file_name/*signature/*same_file_name: get: summary: The NuGet Symbol File Download Endpoint description: This feature was introduced in GitLab 16.7 produces: - application/json parameters: - in: header name: Symbolchecksum type: string required: true - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: file_name description: The symbol file name type: string required: true example: mynugetpkg.pdb - in: query name: signature description: The symbol file signature type: string required: true example: k813f89485474661234z7109cve5709eFFFFFFFF - in: query name: same_file_name description: The symbol file name. Must match the 'file_name' parameter type: string required: true responses: '200': description: The NuGet Symbol File Download Endpoint '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesNugetSymbolfiles*fileName*signature*sameFileName /api/v4/projects/{id}/packages/nuget/v2: get: summary: The NuGet V2 Feed Service Index description: This feature was introduced in GitLab 16.2 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: The NuGet V2 Feed Service Index '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesNugetV2 put: summary: The NuGet V2 Feed Package Publish endpoint description: This feature was introduced in GitLab 16.2 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - name: putApiV4ProjectsIdPackagesNugetV2 in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesNugetV2' responses: '201': description: The NuGet V2 Feed Package Publish endpoint '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesNugetV2 /api/v4/projects/{id}/packages/nuget/v2/$metadata: get: summary: The NuGet V2 Feed Package $metadata endpoint description: This feature was introduced in GitLab 16.3 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: The NuGet V2 Feed Package $metadata endpoint tags: - packages operationId: getApiV4ProjectsIdPackagesNugetV2$metadata /api/v4/projects/{id}/packages/nuget/metadata/*package_name/index: get: summary: The NuGet Metadata Service - Package name level description: This feature was introduced in GitLab 12.8 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: package_name description: The NuGet package name type: string required: true example: MyNuGetPkg responses: '200': description: The NuGet Metadata Service - Package name level schema: $ref: '#/definitions/API_Entities_Nuget_PackagesMetadata' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesNugetMetadata*packageNameIndex /api/v4/projects/{id}/packages/nuget/metadata/*package_name/*package_version: get: summary: The NuGet Metadata Service - Package name and version level description: This feature was introduced in GitLab 12.8 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: package_name description: The NuGet package name type: string required: true example: MyNuGetPkg - in: query name: package_version description: The NuGet package version type: string required: true example: 1.0.0 responses: '200': description: The NuGet Metadata Service - Package name and version level schema: $ref: '#/definitions/API_Entities_Nuget_PackageMetadata' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesNugetMetadata*packageName*packageVersion /api/v4/projects/{id}/packages/nuget/query: get: summary: The NuGet Search Service description: This feature was introduced in GitLab 12.8 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: q description: The search term type: string required: false example: MyNuGet - in: query name: skip description: The number of results to skip type: integer format: int32 default: 0 required: false example: 1 - in: query name: take description: The number of results to return type: integer format: int32 default: 20 required: false example: 1 - in: query name: prerelease description: Include prerelease versions type: boolean default: true required: false responses: '200': description: The NuGet Search Service schema: $ref: '#/definitions/API_Entities_Nuget_SearchResults' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesNugetQuery /api/v4/projects/{id}/packages/nuget/download/*package_name/index: get: summary: The NuGet Content Service - index request description: This feature was introduced in GitLab 12.8 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: package_name description: The NuGet package name type: string required: true example: mynugetpkg.1.3.0.17.nupkg responses: '200': description: The NuGet Content Service - index request schema: $ref: '#/definitions/API_Entities_Nuget_PackagesVersions' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesNugetDownload*packageNameIndex /api/v4/projects/{id}/packages/nuget/download/*package_name/*package_version/*package_filename: get: summary: The NuGet Content Service - content request description: This feature was introduced in GitLab 12.8 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: package_name description: The NuGet package name type: string required: true example: mynugetpkg.1.3.0.17.nupkg - in: query name: package_version description: The NuGet package version type: string required: true example: 1.3.0.17 - in: query name: package_filename description: The NuGet package filename type: string required: true example: mynugetpkg.1.3.0.17.nupkg responses: '200': description: The NuGet Content Service - content request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesNugetDownload*packageName*packageVersion*packageFilename /api/v4/projects/{id}/packages/nuget: put: summary: The NuGet V3 Feed Package Publish endpoint description: This feature was introduced in GitLab 12.6 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - name: putApiV4ProjectsIdPackagesNuget in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesNuget' responses: '201': description: The NuGet V3 Feed Package Publish endpoint '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesNuget /api/v4/projects/{id}/packages/nuget/authorize: put: summary: The NuGet Package Authorize endpoint description: This feature was introduced in GitLab 14.1 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: The NuGet Package Authorize endpoint '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesNugetAuthorize /api/v4/projects/{id}/packages/nuget/symbolpackage: put: summary: The NuGet Symbol Package Publish endpoint description: This feature was introduced in GitLab 14.1 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - name: putApiV4ProjectsIdPackagesNugetSymbolpackage in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdPackagesNugetSymbolpackage' responses: '201': description: The NuGet Symbol Package Publish endpoint '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesNugetSymbolpackage /api/v4/projects/{id}/packages/nuget/symbolpackage/authorize: put: summary: The NuGet Symbol Package Authorize endpoint description: This feature was introduced in GitLab 14.1 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: The NuGet Symbol Package Authorize endpoint '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesNugetSymbolpackageAuthorize /api/v4/projects/{id}/packages/nuget/*package_name/*package_version: delete: summary: The NuGet Package Delete endpoint description: This feature was introduced in GitLab 16.5 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: package_name description: The NuGet package name type: string required: true example: mynugetpkg - in: query name: package_version description: The NuGet package version type: string required: true example: 1.0.1 responses: '204': description: The NuGet Package Delete endpoint '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: deleteApiV4ProjectsIdPackagesNuget*packageName*packageVersion /api/v4/projects/{id}/packages/nuget/v2/authorize: put: summary: The NuGet V2 Feed Package Authorize endpoint description: This feature was introduced in GitLab 16.2 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: The NuGet V2 Feed Package Authorize endpoint '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdPackagesNugetV2Authorize /api/v4/projects/{project_id}/packages/nuget/v2/FindPackagesById\(\): get: summary: The NuGet V2 Feed Find Packages by ID endpoint description: This feature was introduced in GitLab 16.4 produces: - application/json parameters: - in: path name: project_id description: The ID or URL-encoded path of the project type: string required: true - in: query name: id description: The NuGet package name type: string required: true example: mynugetpkg responses: '200': description: The NuGet V2 Feed Find Packages by ID endpoint '404': description: Not Found '400': description: Bad Request tags: - packages operationId: getApiV4ProjectsProjectIdPackagesNugetV2Findpackagesbyid\(\) /api/v4/projects/{project_id}/packages/nuget/v2/Packages\(\): get: summary: The NuGet V2 Feed Enumerate Packages endpoint description: This feature was introduced in GitLab 16.4 produces: - application/json parameters: - in: path name: project_id description: The ID or URL-encoded path of the project type: string required: true - in: query name: $filter description: The NuGet package name type: string required: true example: mynugetpkg responses: '200': description: The NuGet V2 Feed Enumerate Packages endpoint '404': description: Not Found '400': description: Bad Request tags: - packages operationId: getApiV4ProjectsProjectIdPackagesNugetV2Packages\(\) /api/v4/projects/{project_id}/packages/nuget/v2/Packages\(Id='*package_name',Version='*package_version'\): get: summary: The NuGet V2 Feed Single Package Metadata endpoint description: This feature was introduced in GitLab 16.4 produces: - application/json parameters: - in: path name: project_id description: The ID or URL-encoded path of the project type: string required: true - in: query name: package_name description: The NuGet package name type: string required: true example: mynugetpkg - in: query name: package_version description: The NuGet package version type: string required: true example: 1.3.0.17 responses: '200': description: The NuGet V2 Feed Single Package Metadata endpoint '404': description: Not Found '400': description: Bad Request tags: - packages operationId: getApiV4ProjectsProjectIdPackagesNugetV2Packages\(id='*packageName',version='*packageVersion'\) /api/v4/projects/{id}/packages/{package_id}/package_files: get: summary: List package files description: Get a list of package files of a single package produces: - application/json parameters: - in: path name: id description: ID or URL-encoded path of the project type: string required: true - in: path name: package_id description: ID of a package type: integer format: int32 required: true - in: query name: page description: Current page number type: integer format: int32 default: 1 required: false example: 1 - in: query name: per_page description: Number of items per page type: integer format: int32 default: 20 required: false example: 20 - in: query name: order_by description: Return package files ordered by `id`, `created_at` or `file_name` type: string default: id enum: - id - created_at - file_name required: false - in: query name: sort description: Return package files sorted in `asc` or `desc` order. type: string default: asc enum: - asc - desc required: false responses: '200': description: List package files schema: type: array items: $ref: '#/definitions/API_Entities_PackageFile' tags: - packages operationId: getApiV4ProjectsIdPackagesPackageIdPackageFiles /api/v4/projects/{id}/packages/{package_id}/package_files/{package_file_id}: delete: summary: Delete a package file description: This feature was introduced in GitLab 13.12 produces: - application/json parameters: - in: path name: id description: ID or URL-encoded path of the project type: string required: true - in: path name: package_id description: ID of a package type: integer format: int32 required: true - in: path name: package_file_id description: ID of a package file type: integer format: int32 required: true responses: '204': description: Delete a package file '403': description: Forbidden '404': description: Not found tags: - packages operationId: deleteApiV4ProjectsIdPackagesPackageIdPackageFilesPackageFileId /api/v4/projects/{id}/packages/{package_id}/package_files/{package_file_id}/download: get: summary: Download a package file description: This feature was introduced in GitLab 18.4 produces: - application/json parameters: - in: path name: id description: ID or URL-encoded path of the project type: string required: true - in: path name: package_id description: ID of a package type: integer format: int32 required: true - in: path name: package_file_id description: ID of a package file type: integer format: int32 required: true responses: '200': description: Download a package file '401': description: Unauthorized '403': description: Forbidden '404': description: Not found tags: - packages operationId: getApiV4ProjectsIdPackagesPackageIdPackageFilesPackageFileIdDownload /api/v4/projects/{id}/debian_distributions: post: summary: Create a Debian Distribution description: This feature was introduced in 14.0 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - name: postApiV4ProjectsIdDebianDistributions in: body required: true schema: $ref: '#/definitions/postApiV4ProjectsIdDebianDistributions' responses: '201': description: Create a Debian Distribution schema: $ref: '#/definitions/API_Entities_Packages_Debian_Distribution' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4ProjectsIdDebianDistributions get: summary: Get a list of Debian Distributions description: This feature was introduced in 14.0 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: page description: Current page number type: integer format: int32 default: 1 required: false example: 1 - in: query name: per_page description: Number of items per page type: integer format: int32 default: 20 required: false example: 20 - in: query name: codename description: The Debian Codename type: string required: false example: sid - in: query name: suite description: The Debian Suite type: string required: false example: unstable - in: query name: origin description: The Debian Origin type: string required: false example: Grep - in: query name: label description: The Debian Label type: string required: false example: grep.be - in: query name: version description: The Debian Version type: string required: false example: '12' - in: query name: description description: The Debian Description type: string required: false example: My description - in: query name: valid_time_duration_seconds description: The duration before the Release file should be considered expired by the client type: integer format: int32 required: false example: 604800 - in: query name: components description: The list of Components type: array items: type: string required: false example: main - in: query name: architectures description: The list of Architectures type: array items: type: string required: false example: amd64 responses: '200': description: Get a list of Debian Distributions schema: $ref: '#/definitions/API_Entities_Packages_Debian_Distribution' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdDebianDistributions /api/v4/projects/{id}/debian_distributions/{codename}: get: summary: Get a Debian Distribution description: This feature was introduced in 14.0 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: codename description: The Debian Codename type: string required: true example: sid responses: '200': description: Get a Debian Distribution schema: $ref: '#/definitions/API_Entities_Packages_Debian_Distribution' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdDebianDistributionsCodename put: summary: Update a Debian Distribution description: This feature was introduced in 14.0 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: codename description: The Debian Codename type: string required: true example: sid - name: putApiV4ProjectsIdDebianDistributionsCodename in: body required: true schema: $ref: '#/definitions/putApiV4ProjectsIdDebianDistributionsCodename' responses: '200': description: Update a Debian Distribution schema: $ref: '#/definitions/API_Entities_Packages_Debian_Distribution' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4ProjectsIdDebianDistributionsCodename delete: summary: Delete a Debian Distribution description: This feature was introduced in 14.0 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: codename description: The Debian Codename type: string required: true example: sid - in: query name: suite description: The Debian Suite type: string required: false example: unstable - in: query name: origin description: The Debian Origin type: string required: false example: Grep - in: query name: label description: The Debian Label type: string required: false example: grep.be - in: query name: version description: The Debian Version type: string required: false example: '12' - in: query name: description description: The Debian Description type: string required: false example: My description - in: query name: valid_time_duration_seconds description: The duration before the Release file should be considered expired by the client type: integer format: int32 required: false example: 604800 - in: query name: components description: The list of Components type: array items: type: string required: false example: main - in: query name: architectures description: The list of Architectures type: array items: type: string required: false example: amd64 responses: '202': description: Delete a Debian Distribution '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: deleteApiV4ProjectsIdDebianDistributionsCodename /api/v4/projects/{id}/debian_distributions/{codename}/key.asc: get: summary: Get a Debian Distribution Key description: This feature was introduced in 14.4 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: codename description: The Debian Codename type: string required: true example: sid responses: '200': description: Get a Debian Distribution Key schema: $ref: '#/definitions/API_Entities_Packages_Debian_Distribution' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdDebianDistributionsCodenameKeyAsc /api/v4/projects/{id}/packages: get: summary: Get a list of project packages description: This feature was introduced in GitLab 11.8 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: page description: Current page number type: integer format: int32 default: 1 required: false example: 1 - in: query name: per_page description: Number of items per page type: integer format: int32 default: 20 required: false example: 20 - in: query name: order_by description: Return packages ordered by `created_at`, `name`, `version` or `type` fields. type: string default: created_at enum: - created_at - name - version - type required: false - in: query name: sort description: Return packages sorted in `asc` or `desc` order. type: string default: asc enum: - asc - desc required: false - in: query name: package_type description: Return packages of a certain type type: string enum: - maven - npm - conan - nuget - pypi - composer - generic - golang - debian - rubygems - helm - terraform_module - rpm - ml_model - cargo required: false - in: query name: package_name description: Return packages with this name type: string required: false - in: query name: package_version description: Return packages with this version type: string required: false - in: query name: include_versionless description: Returns packages without a version type: boolean required: false - in: query name: status description: Return packages with specified status type: string enum: - default - hidden - processing - error - pending_destruction - deprecated required: false responses: '200': description: Get a list of project packages schema: type: array items: $ref: '#/definitions/API_Entities_Package' '403': description: Forbidden '404': description: Project Not Found tags: - packages operationId: getApiV4ProjectsIdPackages /api/v4/projects/{id}/packages/{package_id}: get: summary: Get a single project package description: This feature was introduced in GitLab 11.9 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_id description: The ID of a package type: integer format: int32 required: true responses: '200': description: Get a single project package schema: $ref: '#/definitions/API_Entities_Package' '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesPackageId delete: summary: Delete a project package description: This feature was introduced in GitLab 11.9 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: path name: package_id description: The ID of a package type: integer format: int32 required: true responses: '204': description: Delete a project package '403': description: Forbidden '404': description: Not Found tags: - packages operationId: deleteApiV4ProjectsIdPackagesPackageId /api/v4/projects/{id}/packages/{package_id}/pipelines: get: summary: Get the pipelines for a single project package description: This feature was introduced in GitLab 16.1 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: page description: Current page number type: integer format: int32 default: 1 required: false example: 1 - in: query name: per_page description: Number of items per page type: integer format: int32 default: 20 minimum: 1 maximum: 20 required: false example: 20 - in: path name: package_id description: The ID of a package type: integer format: int32 required: true - in: query name: cursor description: Cursor for obtaining the next set of records type: string required: false responses: '200': description: Get the pipelines for a single project package schema: $ref: '#/definitions/API_Entities_Package_Pipeline' '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesPackageIdPipelines /api/v4/projects/{id}/packages/pypi/files/{sha256}/*file_identifier: get: summary: The PyPi package download endpoint description: This feature was introduced in GitLab 12.10 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: file_identifier description: The PyPi package file identifier type: string required: true example: my.pypi.package-0.0.1.tar.gz - in: path name: sha256 description: The PyPi package sha256 check sum type: string required: true example: 5y57017232013c8ac80647f4ca153k3726f6cba62d055cd747844ed95b3c65ff responses: '200': description: The PyPi package download endpoint '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesPypiFilesSha256*fileIdentifier /api/v4/projects/{id}/packages/pypi/simple: get: summary: The PyPi Simple Project Index Endpoint description: This feature was introduced in GitLab 15.1 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: The PyPi Simple Project Index Endpoint '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesPypiSimple /api/v4/projects/{id}/packages/pypi/simple/*package_name: get: summary: The PyPi Simple Project Package Endpoint description: This feature was introduced in GitLab 12.10 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: package_name description: The PyPi package name type: string required: true example: my.pypi.package responses: '200': description: The PyPi Simple Project Package Endpoint '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesPypiSimple*packageName /api/v4/projects/{id}/packages/pypi: post: summary: The PyPi Package upload endpoint description: This feature was introduced in GitLab 12.10 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - name: postApiV4ProjectsIdPackagesPypi in: body required: true schema: $ref: '#/definitions/postApiV4ProjectsIdPackagesPypi' responses: '201': description: The PyPi Package upload endpoint '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found '422': description: Unprocessable Entity tags: - packages operationId: postApiV4ProjectsIdPackagesPypi /api/v4/projects/{id}/packages/pypi/authorize: post: summary: Authorize the PyPi package upload from workhorse description: This feature was introduced in GitLab 12.10 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '200': description: Authorize the PyPi package upload from workhorse '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4ProjectsIdPackagesPypiAuthorize /api/v4/projects/{id}/packages/rpm/repodata/*file_name: get: summary: Download repository metadata files description: This feature was introduced in GitLab 15.7 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: file_name description: Repository metadata file name type: string required: true responses: '200': description: Download repository metadata files '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesRpmRepodata*fileName /api/v4/projects/{id}/packages/rpm/*package_file_id/*file_name: get: summary: Download RPM package files description: This feature was introduced in GitLab 15.7 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true - in: query name: package_file_id description: RPM package file id type: integer format: int32 required: true - in: query name: file_name description: RPM package file name type: string required: true responses: '200': description: Download RPM package files '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesRpm*packageFileId*fileName /api/v4/projects/{id}/packages/rpm: post: summary: Upload a RPM package description: This feature was introduced in GitLab 15.7 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '201': description: Upload a RPM package '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4ProjectsIdPackagesRpm /api/v4/projects/{id}/packages/rpm/authorize: post: summary: Authorize package upload from workhorse description: This feature was introduced in GitLab 15.7 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: string required: true responses: '201': description: Authorize package upload from workhorse '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4ProjectsIdPackagesRpmAuthorize /api/v4/projects/{id}/packages/rubygems/{file_name}: get: summary: Download the spec index file description: This feature was introduced in GitLab 13.9 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: integer format: int32 required: true - in: path name: file_name description: Spec file name type: file required: true responses: '200': description: Download the spec index file '401': description: Unauthorized '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesRubygemsFileName /api/v4/projects/{id}/packages/rubygems/quick/Marshal.4.8/{file_name}: get: summary: Download the gemspec file description: This feature was introduced in GitLab 13.9 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: integer format: int32 required: true - in: path name: file_name description: Gemspec file name type: file required: true responses: '200': description: Download the gemspec file '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesRubygemsQuickMarshal48FileName /api/v4/projects/{id}/packages/rubygems/gems/{file_name}: get: summary: Download the .gem package description: This feature was introduced in GitLab 13.9 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: integer format: int32 required: true - in: path name: file_name description: Package file name type: file required: true responses: '200': description: Download the .gem package '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesRubygemsGemsFileName /api/v4/projects/{id}/packages/rubygems/api/v1/gems/authorize: post: summary: Authorize a gem upload from workhorse description: This feature was introduced in GitLab 13.9 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: integer format: int32 required: true responses: '200': description: Authorize a gem upload from workhorse '401': description: Unauthorized '403': description: Forbidden tags: - packages operationId: postApiV4ProjectsIdPackagesRubygemsApiV1GemsAuthorize /api/v4/projects/{id}/packages/rubygems/api/v1/gems: post: summary: Upload a gem description: This feature was introduced in GitLab 13.9 produces: - application/json consumes: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: integer format: int32 required: true - name: postApiV4ProjectsIdPackagesRubygemsApiV1Gems in: body required: true schema: $ref: '#/definitions/postApiV4ProjectsIdPackagesRubygemsApiV1Gems' responses: '201': description: Upload a gem '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4ProjectsIdPackagesRubygemsApiV1Gems /api/v4/projects/{id}/packages/rubygems/api/v1/dependencies: get: summary: Fetch a list of dependencies description: This feature was introduced in GitLab 13.9 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of the project type: integer format: int32 required: true - in: query name: gems description: Comma delimited gem names type: array items: type: string required: false responses: '200': description: Fetch a list of dependencies '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4ProjectsIdPackagesRubygemsApiV1Dependencies /api/v4/group/{id}/-/packages/composer/packages: get: summary: Composer packages endpoint at group level description: This feature was introduced in GitLab 13.1 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of a group type: string required: true responses: '200': description: Composer packages endpoint at group level '401': description: Unauthorized '404': description: Not Found tags: - packages operationId: getApiV4GroupIdPackagesComposerPackages /api/v4/group/{id}/-/packages/composer/p/{sha}: get: summary: Composer packages endpoint at group level for packages list description: This feature was introduced in GitLab 13.1 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of a group type: string required: true - in: path name: sha description: Shasum of current json type: string required: true example: 673594f85a55fe3c0eb45df7bd2fa9d95a1601ab responses: '200': description: Composer packages endpoint at group level for packages list '401': description: Unauthorized '404': description: Not Found tags: - packages operationId: getApiV4GroupIdPackagesComposerPSha /api/v4/group/{id}/-/packages/composer/p2/*package_name: get: summary: Composer v2 packages p2 endpoint at group level for package versions metadata description: This feature was introduced in GitLab 13.1 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of a group type: string required: true - in: query name: package_name description: The Composer package name type: string required: true example: my-composer-package responses: '200': description: Composer v2 packages p2 endpoint at group level for package versions metadata '401': description: Unauthorized '404': description: Not Found tags: - packages operationId: getApiV4GroupIdPackagesComposerP2*packageName /api/v4/group/{id}/-/packages/composer/*package_name: get: summary: Composer packages endpoint at group level for package versions metadata description: This feature was introduced in GitLab 12.1 produces: - application/json parameters: - in: path name: id description: The ID or URL-encoded path of a group type: string required: true - in: query name: package_name description: The Composer package name type: string required: true example: my-composer-package responses: '200': description: Composer packages endpoint at group level for package versions metadata '401': description: Unauthorized '404': description: Not Found tags: - packages operationId: getApiV4GroupIdPackagesComposer*packageName /api/v4/packages/conan/v1/users/authenticate: get: summary: Authenticate user against conan CLI description: This feature was introduced in GitLab 12.2 produces: - application/json responses: '200': description: Authenticate user against conan CLI '401': description: Unauthorized '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1UsersAuthenticate /api/v4/packages/conan/v1/users/check_credentials: get: summary: Check for valid user credentials per conan CLI description: This feature was introduced in GitLab 12.4 produces: - application/json responses: '200': description: Check for valid user credentials per conan CLI '401': description: Unauthorized '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1UsersCheckCredentials /api/v4/packages/conan/v1/conans/search: get: summary: Search for packages description: This feature was introduced in GitLab 12.4 produces: - application/json parameters: - in: query name: q description: Search query type: string required: true example: Hello* - in: query name: ignorecase description: Ignore case when searching (case-insensitive search) type: boolean required: false example: 'False' responses: '200': description: Search for packages '400': description: Bad Request '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1ConansSearch /api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/search: get: summary: Get package references metadata description: This feature was introduced in GitLab 18.0 produces: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Get package references metadata '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelSearch /api/v4/packages/conan/v1/ping: get: summary: Ping the Conan API description: This feature was introduced in GitLab 12.2 produces: - application/json responses: '200': description: Ping the Conan API '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1Ping ? /api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference} : get: summary: Package Snapshot description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: conan_package_reference description: Conan package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f responses: '200': description: Package Snapshot schema: $ref: '#/definitions/API_Entities_Packages_Conan_PackageSnapshot' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReference /api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}: get: summary: Recipe Snapshot description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Recipe Snapshot schema: $ref: '#/definitions/API_Entities_Packages_Conan_RecipeSnapshot' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel delete: summary: Delete Package description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '204': description: Delete Package '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: deleteApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannel ? /api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/digest : get: summary: Package Digest description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: conan_package_reference description: Conan package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f responses: '200': description: Package Digest schema: $ref: '#/definitions/API_Entities_Packages_Conan_PackageManifest' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDigest /api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/digest: get: summary: Recipe Digest description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Recipe Digest schema: $ref: '#/definitions/API_Entities_Packages_Conan_RecipeManifest' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDigest ? /api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/download_urls : get: summary: Package Download Urls description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: conan_package_reference description: Conan package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f responses: '200': description: Package Download Urls schema: $ref: '#/definitions/API_Entities_Packages_Conan_PackageManifest' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceDownloadUrls /api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/download_urls: get: summary: Recipe Download Urls description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Recipe Download Urls schema: $ref: '#/definitions/API_Entities_Packages_Conan_RecipeManifest' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelDownloadUrls ? /api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/packages/{conan_package_reference}/upload_urls : post: summary: Package Upload Urls description: This feature was introduced in GitLab 12.4 produces: - application/json consumes: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: conan_package_reference description: Conan package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f responses: '200': description: Package Upload Urls schema: $ref: '#/definitions/API_Entities_Packages_Conan_UploadUrls' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelPackagesConanPackageReferenceUploadUrls /api/v4/packages/conan/v1/conans/{package_name}/{package_version}/{package_username}/{package_channel}/upload_urls: post: summary: Recipe Upload Urls description: This feature was introduced in GitLab 12.4 produces: - application/json consumes: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable responses: '200': description: Recipe Upload Urls schema: $ref: '#/definitions/API_Entities_Packages_Conan_UploadUrls' '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4PackagesConanV1ConansPackageNamePackageVersionPackageUsernamePackageChannelUploadUrls ? /api/v4/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/export/{file_name} : get: summary: Download recipe files description: This feature was introduced in GitLab 12.6 produces: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Conan Recipe Revision type: string required: true example: '0' - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conanfile.py responses: '200': description: Download recipe files '400': description: Bad Request '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName put: summary: Upload recipe package files description: This feature was introduced in GitLab 12.6 produces: - application/json consumes: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Conan Recipe Revision type: string required: true example: '0' - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conanfile.py - name: putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName in: body required: true schema: $ref: '#/definitions/putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName' responses: '200': description: Upload recipe package files '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName ? /api/v4/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/export/{file_name}/authorize : put: summary: Workhorse authorize the conan recipe file description: This feature was introduced in GitLab 12.6 produces: - application/json consumes: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Conan Recipe Revision type: string required: true example: '0' - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conanfile.py responses: '200': description: Workhorse authorize the conan recipe file '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileNameAuthorize ? /api/v4/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/package/{conan_package_reference}/{package_revision}/{file_name} : get: summary: Download package files description: This feature was introduced in GitLab 12.5 produces: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Conan Recipe Revision type: string required: true example: '0' - in: path name: conan_package_reference description: Conan Package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f - in: path name: package_revision description: Conan Package Revision type: string required: true example: '0' - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conaninfo.txt responses: '200': description: Download package files '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName put: summary: Upload package files description: This feature was introduced in GitLab 12.6 produces: - application/json consumes: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Conan Recipe Revision type: string required: true example: '0' - in: path name: conan_package_reference description: Conan Package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f - in: path name: package_revision description: Conan Package Revision type: string required: true example: '0' - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conaninfo.txt - name: putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName in: body required: true schema: $ref: '#/definitions/putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName' responses: '200': description: Upload package files '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName ? /api/v4/packages/conan/v1/files/{package_name}/{package_version}/{package_username}/{package_channel}/{recipe_revision}/package/{conan_package_reference}/{package_revision}/{file_name}/authorize : put: summary: Workhorse authorize the conan package file description: This feature was introduced in GitLab 12.6 produces: - application/json consumes: - application/json parameters: - in: path name: package_name description: Package name type: string required: true example: my-package - in: path name: package_version description: Package version type: string required: true example: '1.0' - in: path name: package_username description: Package username type: string required: true example: my-group+my-project - in: path name: package_channel description: Package channel type: string required: true example: stable - in: path name: recipe_revision description: Conan Recipe Revision type: string required: true example: '0' - in: path name: conan_package_reference description: Conan Package ID type: string required: true example: 103f6067a947f366ef91fc1b7da351c588d1827f - in: path name: package_revision description: Conan Package Revision type: string required: true example: '0' - in: path name: file_name description: Package file name type: string enum: - conanfile.py - conanmanifest.txt - conan_sources.tgz - conan_export.tgz - conaninfo.txt - conan_package.tgz required: true example: conaninfo.txt responses: '200': description: Workhorse authorize the conan package file '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileNameAuthorize /api/v4/packages/maven/*path/{file_name}: get: summary: Download the maven package file at instance level description: This feature was introduced in GitLab 11.6 produces: - application/json parameters: - in: query name: path description: Package path type: string required: true example: foo/bar/mypkg/1.0-SNAPSHOT - in: path name: file_name description: Package file name type: string required: true example: mypkg-1.0-SNAPSHOT.jar responses: '200': description: Download the maven package file at instance level '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4PackagesMaven*pathFileName /api/v4/packages/npm/-/package/*package_name/dist-tags: get: summary: Get all tags for a given an NPM package description: This feature was introduced in GitLab 12.7 produces: - application/json parameters: - in: query name: package_name description: Package name type: string required: true responses: '200': description: Get all tags for a given an NPM package schema: $ref: '#/definitions/API_Entities_NpmPackageTag' '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4PackagesNpmPackage*packageNameDistTags /api/v4/packages/npm/-/package/*package_name/dist-tags/{tag}: put: summary: Create or Update the given tag for the given NPM package and version description: This feature was introduced in GitLab 12.7 produces: - application/json consumes: - application/json parameters: - in: path name: tag description: Package dist-tag type: string required: true - name: putApiV4PackagesNpmPackage*packageNameDistTagsTag in: body required: true schema: $ref: '#/definitions/putApiV4PackagesNpmPackage*packageNameDistTagsTag' responses: '204': description: Create or Update the given tag for the given NPM package and version '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: putApiV4PackagesNpmPackage*packageNameDistTagsTag delete: summary: Deletes the given tag description: This feature was introduced in GitLab 12.7 produces: - application/json parameters: - in: query name: package_name description: Package name type: string required: true - in: path name: tag description: Package dist-tag type: string required: true responses: '204': description: Deletes the given tag '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: deleteApiV4PackagesNpmPackage*packageNameDistTagsTag /api/v4/packages/npm/-/npm/v1/security/advisories/bulk: post: summary: NPM registry bulk advisory endpoint description: This feature was introduced in GitLab 15.6 produces: - application/json consumes: - application/json responses: '200': description: Ok '307': description: Temporary Redirect '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4PackagesNpmNpmV1SecurityAdvisoriesBulk /api/v4/packages/npm/-/npm/v1/security/audits/quick: post: summary: NPM registry quick audit endpoint description: This feature was introduced in GitLab 15.6 produces: - application/json consumes: - application/json responses: '200': description: Ok '307': description: Temporary Redirect '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: postApiV4PackagesNpmNpmV1SecurityAuditsQuick /api/v4/packages/npm/*package_name: get: summary: NPM registry metadata endpoint description: This feature was introduced in GitLab 11.8 produces: - application/json parameters: - in: query name: package_name description: Package name type: string required: true example: mypackage responses: '200': description: Ok schema: $ref: '#/definitions/API_Entities_NpmPackage' '302': description: Found (redirect) '400': description: Bad Request '401': description: Unauthorized '403': description: Forbidden '404': description: Not Found tags: - packages operationId: getApiV4PackagesNpm*packageName definitions: API_Entities_CustomAttribute: type: object properties: key: type: string example: foo value: type: string example: bar required: - key - value description: API_Entities_CustomAttribute model API_Entities_Packages_Conan_Revision: type: object properties: revision: type: string example: 75151329520e7685dcf5da49ded2fec0 description: The revision hash of the Conan recipe or package time: type: string example: '2024-12-17T09:16:40.334Z' description: The UTC timestamp when the revision was created required: - revision - time description: API_Entities_Packages_Conan_Revision model postApiV4ProjectsIdPackagesRubygemsApiV1Gems: type: object properties: file: type: file description: The package file to be published (generated by Multipart middleware) required: - file description: Upload a gem API_Entities_Nuget_DependencyGroup: type: object properties: '@id': type: string example: http://gitlab.com/Sandbox.App/1.0.0.json#dependencygroup '@type': type: string example: PackageDependencyGroup targetFramework: type: string example: fwk test dependencies: type: array items: $ref: '#/definitions/API_Entities_Nuget_Dependency' required: - '@id' - '@type' postApiV4ProjectsIdPackagesHelmApiChannelCharts: type: object properties: chart: type: file description: The chart file to be published (generated by Multipart middleware) required: - chart description: Upload a chart API_Entities_Nuget_PackagesMetadata: type: object properties: count: type: integer format: int32 example: 1 items: type: array items: $ref: '#/definitions/API_Entities_Nuget_PackagesMetadataItem' required: - count - items description: API_Entities_Nuget_PackagesMetadata model API_Entities_UserBasic: type: object properties: id: type: integer format: int32 example: 1 username: type: string example: admin public_email: type: string example: john@example.com name: type: string example: Administrator state: type: string example: active locked: type: boolean avatar_url: type: string example: https://gravatar.com/avatar/1 avatar_path: type: string example: /user/avatar/28/The-Big-Lebowski-400-400.png custom_attributes: type: array items: $ref: '#/definitions/API_Entities_CustomAttribute' web_url: type: string example: https://gitlab.example.com/root required: - id - username - public_email - name - state - locked - avatar_url - web_url description: API_Entities_UserBasic model API_Entities_Nuget_PackageMetadata: type: object properties: '@id': type: string example: https://gitlab.example.com/api/v4/projects/1/packages/nuget/metadata/MyNuGetPkg/1.3.0.17.json packageContent: type: string example: https://gitlab.example.com/api/v4/projects/1/packages/nuget/download/MyNuGetPkg/1.3.0.17/helloworld.1.3.0.17.nupkg catalogEntry: $ref: '#/definitions/API_Entities_Nuget_PackageMetadataCatalogEntry' required: - '@id' - packageContent - catalogEntry description: API_Entities_Nuget_PackageMetadata model postApiV4ProjectsIdPackagesPypi: type: object properties: content: type: file description: The package file to be published (generated by Multipart middleware) name: type: string description: Name of the package example: my.pypi.package version: type: string description: Version of the package example: 1.3.7 requires_python: type: string description: PyPI version required for the package example: '>=3.7' md5_digest: type: string description: MD5 checksum of the package example: 900150983cd24fb0d6963f7d28e17f72 sha256_digest: type: string description: SHA256 checksum of the package example: ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad metadata_version: type: string description: Metadata version of the package example: '2.3' author_email: type: string description: Email address for the package author example: cschultz@example.com, snoopy@peanuts.com description: type: string description: Description of the package description_content_type: type: string description: Type of content for the package description example: text/markdown; charset=UTF-8; variant=GFM summary: type: string description: Short summary of the package example: A module for collecting votes from beagles. keywords: type: string description: Keywords listed for the package example: dog,puppy,voting,election required: - content - name - version description: The PyPi Package upload endpoint putApiV4ProjectsIdPackagesGenericPackageName*packageVersion(*path)FileNameAuthorize: type: object properties: package_version: type: string description: Package version status: type: string description: Package status enum: - default - hidden path: type: integer format: int32 required: - package_version - path description: Workhorse authorize generic package file putApiV4ProjectsIdPackagesMaven*pathFileName: type: object properties: path: type: string description: Package path example: foo/bar/mypkg/1.0-SNAPSHOT file: type: file description: The package file to be published (generated by Multipart middleware) required: - path - file description: Upload the maven package file API_Entities_Nuget_Dependency: type: object properties: '@id': type: string example: http://gitlab.com/Sandbox.App/1.0.0.json#dependency '@type': type: string example: PackageDependency id: type: string example: Dependency range: type: string example: 2.0.0 required: - '@id' - '@type' - id - range API_Entities_Nuget_SearchResults: type: object properties: totalHits: type: integer format: int32 example: 1 data: type: array items: $ref: '#/definitions/API_Entities_Nuget_SearchResult' required: - totalHits - data description: API_Entities_Nuget_SearchResults model API_Entities_Nuget_PackagesMetadataItem: type: object properties: '@id': type: string example: https://gitlab.example.com/api/v4/projects/1/packages/nuget/metadata/MyNuGetPkg/1.3.0.17.json lower: type: string example: 1.3.0.17 upper: type: string example: 1.3.0.17 count: type: integer format: int32 example: 1 items: type: array items: $ref: '#/definitions/API_Entities_Nuget_PackageMetadata' required: - '@id' - lower - upper - count - items API_Entities_Nuget_SearchResultVersion: type: object properties: '@id': type: string example: https://gitlab.example.com/api/v4/projects/1/packages/nuget/metadata/MyNuGetPkg/1.3.0.17.json version: type: string example: 1.3.0.17 downloads: type: integer format: int32 example: 1 required: - '@id' - version - downloads API_Entities_Nuget_PackageMetadataCatalogEntry: type: object properties: '@id': type: string example: https://gitlab.example.com/api/v4/projects/1/packages/nuget/metadata/MyNuGetPkg/1.3.0.17.json dependencyGroups: type: array items: $ref: '#/definitions/API_Entities_Nuget_DependencyGroup' id: type: string example: MyNuGetPkg version: type: string example: 1.3.0.17 tags: type: string example: tag#1 tag#2 packageContent: type: string example: https://gitlab.example.com/api/v4/projects/1/packages/nuget/download/MyNuGetPkg/1.3.0.17/helloworld.1.3.0.17.nupkg authors: type: string example: Authors description: type: string example: Description summary: type: string example: Description projectUrl: type: string example: http://sandbox.com/project licenseUrl: type: string example: http://sandbox.com/license iconUrl: type: string example: http://sandbox.com/icon published: type: string example: '2023-05-08T17:23:25Z' required: - '@id' - dependencyGroups - id - version - tags - packageContent - authors - description - summary - published API_Entities_Nuget_PackagesVersions: type: object properties: versions: type: array items: type: string example: - 1.3.0.17 required: - versions description: API_Entities_Nuget_PackagesVersions model API_Entities_NpmPackageTag: type: object properties: dist_tags: type: object example: latest: 1.0.1 required: - dist_tags description: API_Entities_NpmPackageTag model API_Entities_Packages_Conan_UploadUrls: type: object properties: upload_urls: type: object example: 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 required: - upload_urls description: API_Entities_Packages_Conan_UploadUrls model API_Entities_Package: type: object properties: id: type: integer format: int32 example: 1 name: type: string example: '@foo/bar' conan_package_name: type: string version: type: string example: 1.0.3 package_type: type: string example: npm status: type: string example: default _links: type: object properties: web_path: type: string delete_api_path: type: string created_at: type: string format: date-time example: '2022-09-16T12:47:31.949Z' last_downloaded_at: type: string format: date-time example: '2022-09-19T11:32:35.169Z' creator_id: type: integer format: int32 example: 1 description: ID of the user who created the package project_id: type: integer format: int32 example: 2 project_path: type: string example: gitlab/foo/bar tags: type: string pipeline: $ref: '#/definitions/API_Entities_Package_Pipeline' pipelines: $ref: '#/definitions/API_Entities_Package_Pipeline' versions: $ref: '#/definitions/API_Entities_PackageVersion' required: - id - name - version - package_type - status - _links - created_at - last_downloaded_at - creator_id - tags description: API_Entities_Package model API_Entities_GoModuleVersion: type: object properties: Version: type: string example: v1.0.0 Time: type: string example: 1617822312 -0600 required: - Version - Time description: API_Entities_GoModuleVersion model putApiV4ProjectsIdPackagesDebianFileNameAuthorize: type: object properties: distribution: type: string description: The Debian Codename or Suite component: type: string description: The Debian Component required: - component description: Authorize Debian package upload ? putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionFilesFileName : type: object properties: file: type: file description: The package file to be published (generated by Multipart middleware) required: - file description: Upload recipe package files ? putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName : type: object properties: file: type: file description: The package file to be published (generated by Multipart middleware) required: - file description: Upload package files API_Entities_Package_Pipeline: type: object properties: id: type: integer format: int32 example: 1 iid: type: integer format: int32 example: 2 project_id: type: integer format: int32 example: 3 sha: type: string example: 0ec9e58fdfca6cdd6652c083c9edb53abc0bad52 ref: type: string example: feature-branch status: type: string example: success source: type: string example: push created_at: type: string format: date-time example: '2022-10-21T16:49:48.000+02:00' updated_at: type: string format: date-time example: '2022-10-21T16:49:48.000+02:00' web_url: type: string example: https://gitlab.example.com/gitlab-org/gitlab-foss/-/pipelines/61 user: $ref: '#/definitions/API_Entities_UserBasic' required: - id - iid - project_id - sha - ref - status - source - created_at - updated_at - web_url - user description: API_Entities_Package_Pipeline model API_Entities_Packages_Conan_PackageSnapshot: type: object properties: package_snapshot: type: object example: conan_package.tgz: 749b29bdf72587081ca03ec033ee59dc required: - package_snapshot description: API_Entities_Packages_Conan_PackageSnapshot model API_Entities_Packages_Conan_PackageRevisions: type: object properties: packageReference: type: string example: packageTest/1.2.3@gitlab-org+conan/stable#1883c9f810f2d6e5b59d5285c7141970:133a1f2158ff2cf69739f316ec21143785be54c7 description: The Conan package reference revisions: type: array items: $ref: '#/definitions/API_Entities_Packages_Conan_Revision' description: List of package revisions required: - packageReference - revisions description: API_Entities_Packages_Conan_PackageRevisions model API_Entities_Packages_Conan_RecipeSnapshot: type: object properties: recipe_snapshot: type: object example: conan_sources.tgz: eadf19b33f4c3c7e113faabf26e76277 required: - recipe_snapshot description: API_Entities_Packages_Conan_RecipeSnapshot model putApiV4ProjectsIdDebianDistributionsCodename: type: object properties: suite: type: string description: The Debian Suite example: unstable origin: type: string description: The Debian Origin example: Grep label: type: string description: The Debian Label example: grep.be version: type: string description: The Debian Version example: '12' description: type: string description: The Debian Description example: My description valid_time_duration_seconds: type: integer format: int32 description: The duration before the Release file should be considered expired by the client example: 604800 components: type: array description: The list of Components example: main items: type: string architectures: type: array description: The list of Architectures example: amd64 items: type: string description: Update a Debian Distribution API_Entities_NpmPackage: type: object properties: name: type: string example: my_package versions: type: object example: 1.0.0: name: my_package version: 1.0.0 dist: shasum: '12345' tarball: https://... dist-tags: type: object example: latest: 1.0.1 required: - name - versions - dist-tags description: API_Entities_NpmPackage model API_Entities_Packages_Conan_RecipeRevisions: type: object properties: reference: type: string example: packageTest/1.2.3@gitlab-org+conan/stable description: The Conan package reference revisions: type: array items: $ref: '#/definitions/API_Entities_Packages_Conan_Revision' description: List of recipe revisions required: - reference - revisions description: API_Entities_Packages_Conan_RecipeRevisions model putApiV4ProjectsIdPackagesDebianFileName: type: object properties: file: type: file description: The package file to be published (generated by Multipart middleware) distribution: type: string description: The Debian Codename or Suite component: type: string description: The Debian Component required: - file - component description: Upload Debian package putApiV4GroupsIdDebianDistributionsCodename: type: object properties: suite: type: string description: The Debian Suite example: unstable origin: type: string description: The Debian Origin example: Grep label: type: string description: The Debian Label example: grep.be version: type: string description: The Debian Version example: '12' description: type: string description: The Debian Description example: My description valid_time_duration_seconds: type: integer format: int32 description: The duration before the Release file should be considered expired by the client example: 604800 components: type: array description: The list of Components example: main items: type: string architectures: type: array description: The list of Architectures example: amd64 items: type: string description: Update a Debian Distribution putApiV4ProjectsIdPackagesMaven*pathFileNameAuthorize: type: object properties: path: type: string description: Package path example: foo/bar/mypkg/1.0-SNAPSHOT required: - path description: Workhorse authorize the maven package file upload API_Entities_Packages_Conan_PackageManifest: type: object properties: package_urls: type: object example: conan_package.tgz: https://gitlab.example.com/api/v4/packages/conan/v1/files/my-package/1.0/my-group+my-project/stable/packages/103f6067a947f366ef91fc1b7da351c588d1827f/0/conan_package.tgz required: - package_urls description: API_Entities_Packages_Conan_PackageManifest model putApiV4ProjectsIdPackagesNpmPackage*packageNameDistTagsTag: type: object properties: package_name: type: string description: Package name required: - package_name description: Create or Update the given tag for the given NPM package and version API_Entities_PackageFile: type: object properties: id: type: integer format: int32 example: 225 package_id: type: integer format: int32 example: 4 created_at: type: string format: date-time example: '2018-11-07T15:25:52.199Z' file_name: type: string example: my-app-1.5-20181107.152550-1.jar size: type: integer format: int32 example: 2421 file_md5: type: string example: 58e6a45a629910c6ff99145a688971ac file_sha1: type: string example: ebd193463d3915d7e22219f52740056dfd26cbfe file_sha256: type: string example: a903393463d3915d7e22219f52740056dfd26cbfeff321b pipelines: $ref: '#/definitions/API_Entities_Package_Pipeline' required: - id - package_id - created_at - file_name - size - file_md5 - file_sha1 - file_sha256 description: API_Entities_PackageFile model API_Entities_PackageVersion: type: object properties: id: type: string version: type: string created_at: type: string tags: type: string pipeline: $ref: '#/definitions/API_Entities_Package_Pipeline' required: - id - version - created_at - tags putApiV4PackagesNpmPackage*packageNameDistTagsTag: type: object properties: package_name: type: string description: Package name required: - package_name description: Create or Update the given tag for the given NPM package and version putApiV4PackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName: type: object properties: file: type: file description: The package file to be published (generated by Multipart middleware) required: - file description: Upload recipe package files API_Entities_Packages_Debian_Distribution: type: object properties: id: type: integer format: int32 example: 1 codename: type: string example: sid suite: type: string example: unstable origin: type: string example: Grep label: type: string example: grep.be version: type: string example: '12' description: type: string example: My description valid_time_duration_seconds: type: integer format: int32 example: 604800 components: type: array items: type: string example: - main architectures: type: array items: type: string example: - amd64 required: - id - codename - suite - origin - label - version - description - valid_time_duration_seconds - components - architectures description: API_Entities_Packages_Debian_Distribution model API_Entities_Nuget_ServiceIndex: type: object properties: version: type: string example: 1.3.0.17 resources: type: array items: type: object example: - '@id': https://gitlab.com/api/v4/projects/1/packages/nuget/query '@type': SearchQueryService comment: Filter and search for packages by keyword. required: - version - resources description: API_Entities_Nuget_ServiceIndex model postApiV4GroupsIdDebianDistributions: type: object properties: codename: type: string description: The Debian Codename example: sid suite: type: string description: The Debian Suite example: unstable origin: type: string description: The Debian Origin example: Grep label: type: string description: The Debian Label example: grep.be version: type: string description: The Debian Version example: '12' description: type: string description: The Debian Description example: My description valid_time_duration_seconds: type: integer format: int32 description: The duration before the Release file should be considered expired by the client example: 604800 components: type: array description: The list of Components example: main items: type: string architectures: type: array description: The list of Architectures example: amd64 items: type: string required: - codename description: Create a Debian Distribution ? putApiV4ProjectsIdPackagesConanV2ConansPackageNamePackageVersionPackageUsernamePackageChannelRevisionsRecipeRevisionPackagesConanPackageReferenceRevisionsPackageRevisionFilesFileName : type: object properties: file: type: file description: The package file to be published (generated by Multipart middleware) required: - file description: Upload package files API_Entities_Nuget_SearchResult: type: object properties: '@type': type: string example: Package id: type: string example: MyNuGetPkg title: type: string example: MyNuGetPkg totalDownloads: type: integer format: int32 example: 1 verified: type: boolean version: type: string example: 1.3.0.17 versions: $ref: '#/definitions/API_Entities_Nuget_SearchResultVersion' tags: type: string example: tag#1 tag#2 authors: type: string example: Authors description: type: string example: Description summary: type: string example: Description projectUrl: type: string example: http://sandbox.com/project licenseUrl: type: string example: http://sandbox.com/license iconUrl: type: string example: http://sandbox.com/icon required: - '@type' - id - title - totalDownloads - verified - version - versions - tags - authors - description - summary putApiV4GroupsIdPackagesNpmPackage*packageNameDistTagsTag: type: object properties: package_name: type: string description: Package name required: - package_name description: Create or Update the given tag for the given NPM package and version putApiV4ProjectsIdPackagesNpmPackageName: type: object properties: file: type: file description: The package file to be published (generated by Multipart middleware) required: - file description: Create or deprecate NPM package putApiV4ProjectsIdPackagesGenericPackageName*packageVersion(*path)FileName: type: object properties: package_version: type: string description: Package version path: type: string description: File directory path status: type: string description: Package status enum: - default - hidden file: type: file description: The package file to publish (generated by Multipart middleware) select: type: string description: Response format selector. If set to "package_file", returns the created package file object in the response enum: - package_file required: - package_version - file description: Upload package file API_Entities_Packages_Conan_FilesList: type: object properties: files: type: object example: conan_sources.tgz: {} conanmanifest.txt: {} conanfile.py: {} required: - files description: API_Entities_Packages_Conan_FilesList model putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionExportFileName: type: object properties: file: type: file description: The package file to be published (generated by Multipart middleware) required: - file description: Upload recipe package files putApiV4ProjectsIdPackagesNugetV2: type: object properties: package: type: file description: The package file to be published (generated by Multipart middleware) required: - package description: The NuGet V2 Feed Package Publish endpoint ? putApiV4ProjectsIdPackagesConanV1FilesPackageNamePackageVersionPackageUsernamePackageChannelRecipeRevisionPackageConanPackageReferencePackageRevisionFileName : type: object properties: file: type: file description: The package file to be published (generated by Multipart middleware) required: - file description: Upload package files postApiV4ProjectsIdDebianDistributions: type: object properties: codename: type: string description: The Debian Codename example: sid suite: type: string description: The Debian Suite example: unstable origin: type: string description: The Debian Origin example: Grep label: type: string description: The Debian Label example: grep.be version: type: string description: The Debian Version example: '12' description: type: string description: The Debian Description example: My description valid_time_duration_seconds: type: integer format: int32 description: The duration before the Release file should be considered expired by the client example: 604800 components: type: array description: The list of Components example: main items: type: string architectures: type: array description: The list of Architectures example: amd64 items: type: string required: - codename description: Create a Debian Distribution putApiV4ProjectsIdPackagesNuget: type: object properties: package: type: file description: The package file to be published (generated by Multipart middleware) required: - package description: The NuGet V3 Feed Package Publish endpoint putApiV4ProjectsIdPackagesNugetSymbolpackage: type: object properties: package: type: file description: The package file to be published (generated by Multipart middleware) required: - package description: The NuGet Symbol Package Publish endpoint API_Entities_Packages_Conan_RecipeManifest: type: object properties: recipe_urls: type: object example: conan_sources.tgz: https://gitlab.example.com/api/v4/packages/conan/v1/files/my-package/1.0/my-group+my-project/stable/0/export/conan_sources.tgz required: - recipe_urls description: API_Entities_Packages_Conan_RecipeManifest model postApiV4ProjectsIdPackagesComposer: type: object properties: branch: type: string description: The name of the branch example: release tag: type: string description: The name of the tag example: v1.0.0 description: Composer packages endpoint for registering packages securityDefinitions: access_token_header: type: apiKey name: PRIVATE-TOKEN in: header access_token_query: type: apiKey name: private_token in: query