GitLab · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for GitLab REST Packages: PyPi API

10 actions 10 updates phrasing extends openapi/gitlab-packages-pypi-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for GitLab's API. It is a proposal applied on top of the contract, not a document GitLab publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 10

$.info
$.paths['/api/v4/groups/{id}/-/packages/pypi/files/{sha256}/{file_identifier}'].get
$.paths['/api/v4/groups/{id}/-/packages/pypi/simple'].get
$.paths['/api/v4/groups/{id}/-/packages/pypi/simple/{package_name}'].get
$.paths['/api/v4/projects/{id}/packages/pypi/files/{sha256}/{file_identifier}'].get
$.paths['/api/v4/projects/{id}/packages/pypi/forward/{package_name}/{upstream_path}'].get
$.paths['/api/v4/projects/{id}/packages/pypi/simple'].get
$.paths['/api/v4/projects/{id}/packages/pypi/simple/{package_name}'].get
$.paths['/api/v4/projects/{id}/packages/pypi'].post
$.paths['/api/v4/projects/{id}/packages/pypi/authorize'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: 'API Evangelist conversational phrasing for GitLab REST Packages: PyPi API'
  version: 1.0.0
extends: openapi/gitlab-packages-pypi-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-23'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 9
- target: $.paths['/api/v4/groups/{id}/-/packages/pypi/files/{sha256}/{file_identifier}'].get
  update:
    x-apievangelist-phrasing:
      intent: Download a group package file by SHA256
      effect: read
      questions:
      - How do I download a PyPI package file from a group using its SHA256 hash?
      - Can I fetch a group package file by its file identifier and SHA256?
      instructions:
      - text: Download the group package file {file_identifier} with SHA256 {sha256} in group {id}.
        slots:
          file_identifier: path.file_identifier
          sha256: path.sha256
          id: path.id
      - text: Get the PyPI file {file_identifier} for group {id} using digest {sha256}.
        slots:
          file_identifier: path.file_identifier
          id: path.id
          sha256: path.sha256
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/groups/{id}/-/packages/pypi/simple'].get
  update:
    x-apievangelist-phrasing:
      intent: List a group's PyPI packages
      effect: read
      questions:
      - Which PyPI packages are published in a group?
      - Can I get a simple index of all packages in a group?
      instructions:
      - text: List all PyPI packages in group {id}.
        slots:
          id: path.id
      - text: Show the simple package index for group {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/groups/{id}/-/packages/pypi/simple/{package_name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a group package's simple index
      effect: read
      questions:
      - What does the simple index of one package in a group look like?
      - Can I fetch a group package's metadata by name?
      instructions:
      - text: Show the simple index of package {package_name} in group {id}.
        slots:
          package_name: path.package_name
          id: path.id
      - text: Get group {id}'s package {package_name} simple index.
        slots:
          id: path.id
          package_name: path.package_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/packages/pypi/files/{sha256}/{file_identifier}'].get
  update:
    x-apievangelist-phrasing:
      intent: Download a PyPI package file
      effect: read
      questions:
      - How do I download a package file from a package registry by sha256?
      - Which endpoint serves one file of a PyPI package using its SHA-256 hash?
      instructions:
      - text: Download file {file_identifier} of the package with SHA-256 {sha256} in project {id}.
        slots:
          file_identifier: path.file_identifier
          sha256: path.sha256
          id: path.id
      - text: Fetch the {file_identifier} file by its hash {sha256} from project {id}.
        slots:
          file_identifier: path.file_identifier
          sha256: path.sha256
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/packages/pypi/forward/{package_name}/{upstream_path}'].get
  update:
    x-apievangelist-phrasing:
      intent: Download a proxied PyPI package file
      effect: read
      questions:
      - How do I download a package I've proxied from upstream PyPI?
      - Does the package proxy enforce the Dependency Firewall before forwarding?
      instructions:
      - text: Download proxied package {package_name} from upstream path {upstream_path} in project {id}.
        slots:
          package_name: path.package_name
          upstream_path: path.upstream_path
          id: path.id
      - text: Fetch the proxied artifact {upstream_path} for {package_name} in project {id}.
        slots:
          upstream_path: path.upstream_path
          package_name: path.package_name
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/packages/pypi/simple'].get
  update:
    x-apievangelist-phrasing:
      intent: List a project's PyPI packages
      effect: read
      questions:
      - Which PyPI packages are published in a project?
      - Can I get a simple index of all packages in a project?
      instructions:
      - text: List all PyPI packages in project {id}.
        slots:
          id: path.id
      - text: Show the simple package index for project {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/packages/pypi/simple/{package_name}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a simplified PyPI listing
      effect: read
      questions:
      - Is there a simple index that lists PyPI packages for my project?
      - Can I get package names for a project's PyPI registry as a simple listing?
      instructions:
      - text: Get the simple PyPI listing for package {package_name} in project {id}.
        slots:
          package_name: path.package_name
          id: path.id
      - text: Show package names from the simple index of project {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/packages/pypi'].post
  update:
    x-apievangelist-phrasing:
      intent: Upload a PyPI package to a project
      effect: write
      questions:
      - How do I publish a Python package to a project's PyPI repository?
      - Can I upload a package with its metadata and checksums?
      instructions:
      - text: Upload package {name} to project {id} with content {content}.
        slots:
          name: requestBody.name
          id: path.id
          content: requestBody.content
      - text: Publish {name} to project {id} with summary {summary} and author {author_email}.
        slots:
          name: requestBody.name
          id: path.id
          summary: requestBody.summary
          author_email: requestBody.author_email
      method: generated
      generated: '2026-11-23'
- target: $.paths['/api/v4/projects/{id}/packages/pypi/authorize'].post
  update:
    x-apievangelist-phrasing:
      intent: Authorize a PyPI upload for a project
      effect: write
      questions:
      - How do I authorize a PyPI upload for a project before uploading?
      - Can I get an upload token for a project's PyPI repository?
      instructions:
      - text: Authorize a PyPI upload for project {id}.
        slots:
          id: path.id
      - text: Get an upload token for project {id}'s PyPI repository.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-23'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/gitlab-packages-pypi-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.