Skip to content

Create a Debian group distribution

POST
/api/v4/groups/{id}/-/debian_distributions

Creates a Debian group distribution for a specified group.

id
required
One of:
string

The ID or URL-encoded path of the group

Media type application/json
object
codename
required

The Debian Codename

string
nullable /(?:^(?:[0-9A-Za-z\u017F\u212A][\x2D.0-9A-Za-z\u017F\u212A]*)$)/
Example
sid
suite

The Debian Suite

string
nullable /(?:^(?:[0-9A-Za-z\u017F\u212A][\x2D.0-9A-Za-z\u017F\u212A]*)$)/
Example
unstable
origin

The Debian Origin

string
nullable /(?:^(?:[0-9A-Za-z\u017F\u212A][\x2D.0-9A-Za-z\u017F\u212A]*)$)/
Example
Grep
label

The Debian Label

string
nullable /(?:^(?:[0-9A-Za-z\u017F\u212A][\x2D.0-9A-Za-z\u017F\u212A]*)$)/
Example
grep.be
description

The Debian Description

string
nullable
Example
My description
valid_time_duration_seconds

The duration before the Release file should be considered expired by the client

integer
nullable
Example
604800
components

The list of Components

Array<string>
nullable
architectures

The list of Architectures

Array<string>
nullable

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