Yandex Cloud
КейсыДокументация
ПрезентацияСвязаться с намиНачать бесплатно
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»
Yandex Managed Service for GitLab
  • Начало работы
  • Управление доступом
  • Правила тарификации
  • Справочник Terraform
    • Аутентификация в API
      • Overview
        • Overview
        • Get
        • List
        • Create
        • PrepareBackupUpload
        • Update
        • Delete
        • Start
        • Stop
        • ListBackups
        • GetBackupDownloadUrls
  • Справочник метрик
  • Аудитные логи Audit Trails
  • История изменений
  • Вопросы и ответы
  • Обучающие курсы

В этой статье:

  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • Backup
  1. Справочник API
  2. REST (англ.)
  3. Instance
  4. ListBackups

Managed Service for Gitlab API, REST: Instance.ListBackups

Статья создана
Yandex Cloud
Обновлена 23 ноября 2026 г.
Открыть Markdown
  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • Backup

Retrieves the list of backups for the specified GitLab instance.

HTTP requestHTTP request

GET https://gitlab.api.cloud.yandex.net/gitlab/v1/instances/{instanceId}/backups

Path parametersPath parameters

Request message for InstanceService.ListBackups.

Field

Description

instanceId

string

Required field. ID of the GitLab instance to list backups for.

The maximum string length in characters is 50.

Query parametersQuery parameters

Request message for InstanceService.ListBackups.

Field

Description

pageSize

string (int64)

Maximum number of results per page. If unspecified, the service uses its default page size.

Acceptable values are 0 to 1000, inclusive.

pageToken

string

Page token returned by a previous ListBackups request for the same instance.

The maximum string length in characters is 100.

ResponseResponse

HTTP Code: 200 - OK

{
  "backups": [
    {
      "id": "string",
      "folderId": "string",
      "instanceId": "string",
      "createdAt": "string",
      "size": "string",
      "startedAt": "string",
      "status": "string",
      "creationType": "string",
      "gitlabVersion": "string"
    }
  ],
  "nextPageToken": "string"
}

Response message for InstanceService.ListBackups.

Field

Description

backups[]

Backup

Backups of the specified GitLab instance.

nextPageToken

string

Token to retrieve the next page. Empty when there are no more results.

BackupBackup

A backup of a GitLab instance.

Field

Description

id

string

ID of the backup.

folderId

string

ID of the folder that owns the backup.

instanceId

string

ID of the GitLab instance that owns the backup.

createdAt

string (date-time)

Time when backup creation completed.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

size

string (int64)

Size of the backup in bytes.

startedAt

string (date-time)

Time when backup creation started.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

status

enum (Status)

Current status of the backup.

  • COMPLETED: Backup creation completed successfully.
  • FAILED: Backup creation failed.
  • CREATING: Backup creation is in progress.

creationType

enum (CreationType)

How the backup was created.

  • AUTOMATED: Backup created on a schedule.
  • MANUAL: Backup created or uploaded manually.

gitlabVersion

string

GitLab version of the source instance when the backup was created.

Была ли статья полезна?

Предыдущая
Stop
Следующая
GetBackupDownloadUrls
Создавайте контент и получайте гранты!Готовы написать своё руководство? Участвуйте в контент-программе и получайте гранты на работу с облачными сервисами!
Подробнее о программе
Сделано на Gravity UI
Проект Яндекса
© 2026 ООО «Яндекс.Облако»