GitLab CI/CD pypi_packages API

Operations related to PyPI packages

OpenAPI Specification

gitlab-ci-pypi-packages-api-openapi.yml Raw ↑
swagger: '2.0'
info:
  title: GitLab access_requests pypi_packages API
  version: v4
  description: Operations related to access requests
host: gitlab.com
produces:
- application/json
tags:
- name: pypi_packages
  description: Operations related to PyPI packages
paths:
  /api/v4/groups/{id}/-/packages/pypi/files/{sha256}/*file_identifier:
    get:
      summary: Download a package file from a group
      description: This feature was introduced in GitLab 13.12
      produces:
      - application/json
      parameters:
      - in: path
        name: id
        description: The ID or full path of the group.
        type: integer
        format: int32
        required: true
      - in: query
        name: file_identifier
        description: The PyPi package file identifier
        type: string
        required: true
        example: my.pypi.package-0.0.1.tar.gz
      - in: path
        name: sha256
        description: The PyPi package sha256 check sum
        type: string
        required: true
        example: 5y57017232013c8ac80647f4ca153k3726f6cba62d055cd747844ed95b3c65ff
      responses:
        '200':
          description: Download a package file from a group
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Not Found
      tags:
      - pypi_packages
      operationId: getApiV4GroupsIdPackagesPypiFilesSha256*fileIdentifier
securityDefinitions:
  access_token_header:
    type: apiKey
    name: PRIVATE-TOKEN
    in: header
  access_token_query:
    type: apiKey
    name: private_token
    in: query