{
  "opencollection": "1.0.0",
  "info": {
    "name": "PyPI Index Downloads Upload API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Upload",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Upload a distribution file",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://pypi.org/legacy/",
            "body": {
              "type": "multipart-form",
              "data": []
            }
          },
          "docs": "Uploads a Python package distribution file (source distribution or wheel) to PyPI. The request must use multipart/form-data encoding and include the distribution file as the content part along with package metadata as form fields. Authentication is required via HTTP Basic Auth using the username __token__ and an API token as the password, or via a short-lived token obtained through Trusted Publishing. PEP 740 attestations may optionally be attached for supply chain integrity verification."
        }
      ]
    }
  ],
  "bundled": true
}