packages_debian

Update a Debian group distribution

Updates a specified Debian group distribution for a group.

put/api/v4/groups/{id}/-/debian_distributions/{codename}

Request

  • Base URL
    https://gitlab.com
  • Auth
    none declared

Path parameters

idstring required

The ID or URL-encoded path of the group

codenamestring required

The Debian Codename

Request body

suitestring

The Debian Suite

originstring

The Debian Origin

labelstring

The Debian Label

versionstring

The Debian Version

descriptionstring

The Debian Description

valid_time_duration_secondsinteger

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

componentsstring[]

The list of Components

architecturesstring[]

The list of Architectures

Example request

{
  "suite": "unstable",
  "origin": "Grep",
  "label": "grep.be",
  "version": "12",
  "description": "My description",
  "valid_time_duration_seconds": 604800,
  "components": [
    "main"
  ],
  "architectures": [
    "amd64"
  ]
}

Response

Update a Debian group distribution

idinteger required
codenamestring required
suitestring required
originstring required
labelstring required
versionstring required
descriptionstring required
valid_time_duration_secondsinteger required
componentsstring[] required
architecturesstring[] required

Example response

{
  "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"
  ]
}

Changes

No recorded changes to this operation across all 5 revisions of this API.