GitLab CI/CD project_snapshots API

Operations about project_snapshots

OpenAPI Specification

gitlab-ci-project-snapshots-api-openapi.yml Raw ↑
swagger: '2.0'
info:
  title: GitLab access_requests project_snapshots API
  version: v4
  description: Operations related to access requests
host: gitlab.com
produces:
- application/json
tags:
- name: project_snapshots
  description: Operations about project_snapshots
paths:
  /api/v4/projects/{id}/snapshot:
    get:
      summary: Download a (possibly inconsistent) snapshot of a repository
      description: This feature was introduced in GitLab 10.7
      produces:
      - application/x-tar
      parameters:
      - in: query
        name: wiki
        description: Set to true to receive the wiki repository
        type: boolean
        required: false
      - in: path
        name: id
        type: integer
        format: int32
        required: true
      responses:
        '200':
          description: Download a (possibly inconsistent) snapshot of a repository
          schema:
            type: file
        '401':
          description: Unauthorized
      tags:
      - project_snapshots
      operationId: getApiV4ProjectsIdSnapshot
securityDefinitions:
  access_token_header:
    type: apiKey
    name: PRIVATE-TOKEN
    in: header
  access_token_query:
    type: apiKey
    name: private_token
    in: query