Use this API to manage Debian distributions for groups and projects, and to publish and retrieve Debian packages. The distribution endpoints are behind a feature flag that is disabled by default. To use them, enable the group or project Debian API.
These endpoints do not adhere to the standard API authentication methods. For the supported headers and token types, see the Debian registry documentation. Undocumented authentication methods might be removed in the future.
List all Debian group distributions
GET /api/v4/groups/{id}/-/debian_distributions
Lists all Debian distributions for a specified group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
codenameQuery | String | The Debian Codename Pattern: (?:Example: sid |
suiteQuery | String | The Debian Suite Pattern: (?:Example: unstable |
originQuery | String | The Debian Origin Pattern: (?:Example: Grep |
labelQuery | String | The Debian Label Pattern: (?:Example: grep. |
versionQuery | String | The Debian Version Pattern: (?:Example: 12 |
descriptionQuery | String | The Debian Description Example: My description |
valid_Query | Integer | The duration before the Release file should be considered expired by the client Example: 604800 |
componentsQuery | Array of strings | The list of Components Example: ["main"] |
architecturesQuery | Array of strings | The list of Architectures Example: ["amd64"] |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Create a Debian group distribution
POST /api/v4/groups/{id}/-/debian_distributions
Creates a Debian group distribution for a specified group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
architectures | Array of strings | The list of Architectures |
codenameRequired | String | The Debian Codename Pattern: (?:Example: sid |
components | Array of strings | The list of Components |
description | String | The Debian Description Example: My description |
label | String | The Debian Label Pattern: (?:Example: grep. |
origin | String | The Debian Origin Pattern: (?:Example: Grep |
suite | String | The Debian Suite Pattern: (?:Example: unstable |
valid_ | Integer | The duration before the Release file should be considered expired by the client Example: 604800 |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Retrieve a Debian group distribution
GET /api/v4/groups/{id}/-/debian_distributions/{codename}
Retrieves a specified Debian group distribution for a group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
codenamePath, | String | The Debian Codename Pattern: (?:Example: sid |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Update a Debian group distribution
PUT /api/v4/groups/{id}/-/debian_distributions/{codename}
Updates a specified Debian group distribution for a group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
codenamePath, | String | The Debian Codename Pattern: (?:Example: sid |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
architectures | Array of strings | The list of Architectures |
components | Array of strings | The list of Components |
description | String | The Debian Description Example: My description |
label | String | The Debian Label Pattern: (?:Example: grep. |
origin | String | The Debian Origin Pattern: (?:Example: Grep |
suite | String | The Debian Suite Pattern: (?:Example: unstable |
valid_ | Integer | The duration before the Release file should be considered expired by the client Example: 604800 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Delete a Debian group distribution
DELETE /api/v4/groups/{id}/-/debian_distributions/{codename}
Deletes a specified Debian group distribution for a group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
codenamePath, | String | The Debian Codename Pattern: (?:Example: sid |
suiteQuery | String | The Debian Suite Pattern: (?:Example: unstable |
originQuery | String | The Debian Origin Pattern: (?:Example: Grep |
labelQuery | String | The Debian Label Pattern: (?:Example: grep. |
versionQuery | String | The Debian Version Pattern: (?:Example: 12 |
descriptionQuery | String | The Debian Description Example: My description |
valid_Query | Integer | The duration before the Release file should be considered expired by the client Example: 604800 |
componentsQuery | Array of strings | The list of Components Example: ["main"] |
architecturesQuery | Array of strings | The list of Architectures Example: ["amd64"] |
Responses
| Code | Description | Schema |
|---|---|---|
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Retrieve a Debian group distribution key
GET /api/v4/groups/{id}/-/debian_distributions/{codename}/key.asc
Retrieves a specified Debian group distribution key for a group.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
codenamePath, | String | The Debian Codename Pattern: (?:Example: sid |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The signed Release file
GET /api/v4/groups/{id}/-/packages/debian/dists/{distribution}/InRelease
This feature was introduced in GitLab 13.5
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The group ID or full group path |
distributionPath, | String | The Debian Codename or Suite Example: my- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The unsigned Release file
GET /api/v4/groups/{id}/-/packages/debian/dists/{distribution}/Release
This feature was introduced in GitLab 13.5
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The group ID or full group path |
distributionPath, | String | The Debian Codename or Suite Example: my- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The Release file signature
GET /api/v4/groups/{id}/-/packages/debian/dists/{distribution}/Release.gpg
This feature was introduced in GitLab 13.5
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The group ID or full group path |
distributionPath, | String | The Debian Codename or Suite Example: my- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The binary files index
GET /api/v4/groups/{id}/-/packages/debian/dists/{distribution}/{component}/binary-{architecture}/Packages
This feature was introduced in GitLab 13.5
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The group ID or full group path |
distributionPath, | String | The Debian Codename or Suite Example: my- |
componentPath, | String | The Debian Component Example: main |
architecturePath, | String | The Debian Architecture Example: binary- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The binary files index by hash
GET /api/v4/groups/{id}/-/packages/debian/dists/{distribution}/{component}/binary-{architecture}/by-hash/SHA256/{file_sha256}
This feature was introduced in GitLab 15.4
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The group ID or full group path |
distributionPath, | String | The Debian Codename or Suite Example: my- |
componentPath, | String | The Debian Component Example: main |
architecturePath, | String | The Debian Architecture Example: binary- |
file_Path, | String | The SHA256 checksum of the index file |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The installer (udeb) binary files index
GET /api/v4/groups/{id}/-/packages/debian/dists/{distribution}/{component}/debian-installer/binary-{architecture}/Packages
This feature was introduced in GitLab 15.4
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The group ID or full group path |
distributionPath, | String | The Debian Codename or Suite Example: my- |
componentPath, | String | The Debian Component Example: main |
architecturePath, | String | The Debian Architecture Example: binary- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The installer (udeb) binary files index by hash
GET /api/v4/groups/{id}/-/packages/debian/dists/{distribution}/{component}/debian-installer/binary-{architecture}/by-hash/SHA256/{file_sha256}
This feature was introduced in GitLab 15.4
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The group ID or full group path |
distributionPath, | String | The Debian Codename or Suite Example: my- |
componentPath, | String | The Debian Component Example: main |
architecturePath, | String | The Debian Architecture Example: binary- |
file_Path, | String | The SHA256 checksum of the index file |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The source files index
GET /api/v4/groups/{id}/-/packages/debian/dists/{distribution}/{component}/source/Sources
This feature was introduced in GitLab 15.4
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The group ID or full group path |
distributionPath, | String | The Debian Codename or Suite Example: my- |
componentPath, | String | The Debian Component Example: main |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The source files index by hash
GET /api/v4/groups/{id}/-/packages/debian/dists/{distribution}/{component}/source/by-hash/SHA256/{file_sha256}
This feature was introduced in GitLab 15.4
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The group ID or full group path |
distributionPath, | String | The Debian Codename or Suite Example: my- |
componentPath, | String | The Debian Component Example: main |
file_Path, | String | The SHA256 checksum of the index file |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Download Debian package
GET /api/v4/groups/{id}/-/packages/debian/pool/{distribution}/{project_id}/{letter}/{package_name}/{package_version}/{file_name}
This feature was introduced in GitLab 14.2
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The group ID or full group path |
project_Path, | Integer | The Project Id |
distributionPath, | String | The Debian distribution name Pattern: (?:Example: my- |
letterPath, | String | The package name first letter Example: a |
package_Path, | String | The package name Pattern: ^[a-Example: my- |
package_Path, | String | The package version Pattern: (?:Example: 1. |
file_Path, | String | The package file name Example: example_ |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | String (binary) (application/) |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
List all Debian project distributions
GET /api/v4/projects/{id}/debian_distributions
Lists all Debian distributions for a specified project.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
pageQuery | Integer | Current page number Default: 1Example: 1 |
per_Query | Integer | Number of items per page Default: 20Example: 20 |
codenameQuery | String | The Debian Codename Pattern: (?:Example: sid |
suiteQuery | String | The Debian Suite Pattern: (?:Example: unstable |
originQuery | String | The Debian Origin Pattern: (?:Example: Grep |
labelQuery | String | The Debian Label Pattern: (?:Example: grep. |
versionQuery | String | The Debian Version Pattern: (?:Example: 12 |
descriptionQuery | String | The Debian Description Example: My description |
valid_Query | Integer | The duration before the Release file should be considered expired by the client Example: 604800 |
componentsQuery | Array of strings | The list of Components Example: ["main"] |
architecturesQuery | Array of strings | The list of Architectures Example: ["amd64"] |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Create a Debian project distribution
POST /api/v4/projects/{id}/debian_distributions
Creates a Debian project distribution for a specified project.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
architectures | Array of strings | The list of Architectures |
codenameRequired | String | The Debian Codename Pattern: (?:Example: sid |
components | Array of strings | The list of Components |
description | String | The Debian Description Example: My description |
label | String | The Debian Label Pattern: (?:Example: grep. |
origin | String | The Debian Origin Pattern: (?:Example: Grep |
suite | String | The Debian Suite Pattern: (?:Example: unstable |
valid_ | Integer | The duration before the Release file should be considered expired by the client Example: 604800 |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Retrieve a Debian project distribution
GET /api/v4/projects/{id}/debian_distributions/{codename}
Retrieves a specified Debian project distribution for a project.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
codenamePath, | String | The Debian Codename Pattern: (?:Example: sid |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Update a Debian project distribution
PUT /api/v4/projects/{id}/debian_distributions/{codename}
Updates a specified Debian project distribution for a project.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
codenamePath, | String | The Debian Codename Pattern: (?:Example: sid |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
architectures | Array of strings | The list of Architectures |
components | Array of strings | The list of Components |
description | String | The Debian Description Example: My description |
label | String | The Debian Label Pattern: (?:Example: grep. |
origin | String | The Debian Origin Pattern: (?:Example: Grep |
suite | String | The Debian Suite Pattern: (?:Example: unstable |
valid_ | Integer | The duration before the Release file should be considered expired by the client Example: 604800 |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Delete a Debian project distribution
DELETE /api/v4/projects/{id}/debian_distributions/{codename}
Deletes a specified Debian project distribution for a project.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
codenamePath, | String | The Debian Codename Pattern: (?:Example: sid |
suiteQuery | String | The Debian Suite Pattern: (?:Example: unstable |
originQuery | String | The Debian Origin Pattern: (?:Example: Grep |
labelQuery | String | The Debian Label Pattern: (?:Example: grep. |
versionQuery | String | The Debian Version Pattern: (?:Example: 12 |
descriptionQuery | String | The Debian Description Example: My description |
valid_Query | Integer | The duration before the Release file should be considered expired by the client Example: 604800 |
componentsQuery | Array of strings | The list of Components Example: ["main"] |
architecturesQuery | Array of strings | The list of Architectures Example: ["amd64"] |
Responses
| Code | Description | Schema |
|---|---|---|
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Retrieve a Debian project distribution key
GET /api/v4/projects/{id}/debian_distributions/{codename}/key.asc
Retrieves a specified Debian project distribution key for a project.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
codenamePath, | String | The Debian Codename Pattern: (?:Example: sid |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | APIEntities |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The signed Release file
GET /api/v4/projects/{id}/packages/debian/dists/{distribution}/InRelease
This feature was introduced in GitLab 13.5
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
distributionPath, | String | The Debian Codename or Suite Example: my- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The unsigned Release file
GET /api/v4/projects/{id}/packages/debian/dists/{distribution}/Release
This feature was introduced in GitLab 13.5
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
distributionPath, | String | The Debian Codename or Suite Example: my- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The Release file signature
GET /api/v4/projects/{id}/packages/debian/dists/{distribution}/Release.gpg
This feature was introduced in GitLab 13.5
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
distributionPath, | String | The Debian Codename or Suite Example: my- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The binary files index
GET /api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/binary-{architecture}/Packages
This feature was introduced in GitLab 13.5
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
distributionPath, | String | The Debian Codename or Suite Example: my- |
componentPath, | String | The Debian Component Example: main |
architecturePath, | String | The Debian Architecture Example: binary- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The binary files index by hash
GET /api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/binary-{architecture}/by-hash/SHA256/{file_sha256}
This feature was introduced in GitLab 15.4
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
distributionPath, | String | The Debian Codename or Suite Example: my- |
componentPath, | String | The Debian Component Example: main |
architecturePath, | String | The Debian Architecture Example: binary- |
file_Path, | String | The SHA256 checksum of the index file |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The installer (udeb) binary files index
GET /api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/debian-installer/binary-{architecture}/Packages
This feature was introduced in GitLab 15.4
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
distributionPath, | String | The Debian Codename or Suite Example: my- |
componentPath, | String | The Debian Component Example: main |
architecturePath, | String | The Debian Architecture Example: binary- |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The installer (udeb) binary files index by hash
GET /api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/debian-installer/binary-{architecture}/by-hash/SHA256/{file_sha256}
This feature was introduced in GitLab 15.4
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
distributionPath, | String | The Debian Codename or Suite Example: my- |
componentPath, | String | The Debian Component Example: main |
architecturePath, | String | The Debian Architecture Example: binary- |
file_Path, | String | The SHA256 checksum of the index file |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The source files index
GET /api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/source/Sources
This feature was introduced in GitLab 15.4
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
distributionPath, | String | The Debian Codename or Suite Example: my- |
componentPath, | String | The Debian Component Example: main |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
The source files index by hash
GET /api/v4/projects/{id}/packages/debian/dists/{distribution}/{component}/source/by-hash/SHA256/{file_sha256}
This feature was introduced in GitLab 15.4
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
distributionPath, | String | The Debian Codename or Suite Example: my- |
componentPath, | String | The Debian Component Example: main |
file_Path, | String | The SHA256 checksum of the index file |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
202 | Accepted | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Download a Debian package file
GET /api/v4/projects/{id}/packages/debian/pool/{distribution}/{letter}/{package_name}/{package_version}/{file_name}
Downloads a specified Debian package file for a project.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
distributionPath, | String | The Debian Codename or Suite Pattern: (?:Example: my- |
letterPath, | String | The Debian Classification (first- Example: a |
package_Path, | String | The Debian Source Package Name Pattern: ^[a-Example: my- |
package_Path, | String | The Debian Source Package Version Pattern: (?:Example: 1. |
file_Path, | String | The Debian File Name Example: example_ |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | String (binary) (application/) |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Upload a Debian package file
PUT /api/v4/projects/{id}/packages/debian/{file_name}
Uploads a Debian package file for a specified project.
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
file_Path, | String | The filename Pattern: ^(?:Example: example_ |
Request body (multipart/form-data)
| Property | Type | Description |
|---|---|---|
componentRequired | String | The Debian Component Pattern: ^(?: |
distribution | String | The Debian Codename or Suite Pattern: (?: |
fileRequired | String (binary) | The package file to be published (generated by Multipart middleware) |
Responses
| Code | Description | Schema |
|---|---|---|
201 | Created | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Authorize Debian package upload
PUT /api/v4/projects/{id}/packages/debian/{file_name}/authorize
This feature was introduced in GitLab 13.5
Parameters
| Name | Type | Description |
|---|---|---|
idPath, | String or integer | The ID or URL- |
file_Path, | String | The filename Pattern: ^(?:Example: example_ |
Request body (application/json)
| Property | Type | Description |
|---|---|---|
componentRequired | String | The Debian Component Pattern: ^(?: |
distribution | String | The Debian Codename or Suite Pattern: (?: |
Responses
| Code | Description | Schema |
|---|---|---|
200 | OK | — |
400 | Bad Request | — |
401 | Unauthorized | — |
403 | Forbidden | — |
404 | Not Found | — |
Schemas
Objects returned by the operations above and objects nested in their request bodies.
APIEntitiesPackagesDebianDistribution
| Property | Type | Description |
|---|---|---|
architectures | Array of strings | Example:["amd64"] |
codename | String | Example:sid |
components | Array of strings | Example:["main"] |
description | String | Example:My description |
id | Integer (int64) | Example:1 |
label | String | Example:grep. |
origin | String | Example:Grep |
suite | String | Example:unstable |
valid_ | Integer | Example:604800 |
version | String | Example:12 |