Create a Debian project distribution
POST
/api/v4/projects/{id}/debian_distributions
Creates a Debian project distribution for a specified project.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Request Body required
Section titled “ Request Body required ” Media type application/json
object
codename
required
The Debian Codename
string
Example
sid suite
The Debian Suite
string
Example
unstable origin
The Debian Origin
string
Example
Grep label
The Debian Label
string
Example
grep.be description
The Debian Description
string
Example
My description valid_time_duration_seconds
The duration before the Release file should be considered expired by the client
integer
Example
604800 components
The list of Components
Array<string>
architectures
The list of Architectures
Array<string>
Responses
Section titled “ Responses ”Created
Media type application/json
object
id
integer format: int64
codename
string
suite
string
origin
string
label
string
version
string
description
string
valid_time_duration_seconds
integer
components
Array<string>
architectures
Array<string>
Example
{ "id": 1, "codename": "sid", "suite": "unstable", "origin": "Grep", "label": "grep.be", "version": "12", "description": "My description", "valid_time_duration_seconds": 604800, "components": [ "main" ], "architectures": [ "amd64" ]}Bad Request
Unauthorized
Forbidden
Not Found