Upload a package
POST
/api/v4/projects/{id}/packages/pypi
Uploads a PyPI package for a specified project.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Request Bodyrequired
Section titled “Request Bodyrequired”Media typemultipart/form-data
object
content
required
The package file to be published (generated by Multipart middleware)
string format: binary
name
required
Name of the package
string
Example
my.pypi.packagerequires_python
PyPI version required for the package
string
Example
>=3.7md5_digest
MD5 checksum of the package
string
Example
900150983cd24fb0d6963f7d28e17f72sha256_digest
SHA256 checksum of the package
string
Example
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015admetadata_version
Metadata version of the package
string
Example
2.3author_email
Email address for the package author
string
Example
cschultz@example.com, snoopy@peanuts.comdescription
Description of the package
string
description_content_type
Type of content for the package description
string
Example
text/markdown; charset=UTF-8; variant=GFMsummary
Short summary of the package
string
Example
A module for collecting votes from beagles.keywords
Keywords listed for the package
string
Example
dog,puppy,voting,electionResponses
Section titled “Responses”Created
Bad Request
Unauthorized
Forbidden
Not Found
Unprocessable Entity