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 Body required
Section titled “ Request Body required ” Media type multipart/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.package requires_python
PyPI version required for the package
string
Example
>=3.7 md5_digest
MD5 checksum of the package
string
Example
900150983cd24fb0d6963f7d28e17f72 sha256_digest
SHA256 checksum of the package
string
Example
ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad metadata_version
Metadata version of the package
string
Example
2.3 author_email
Email address for the package author
string
Example
cschultz@example.com, snoopy@peanuts.com description
Description of the package
string
description_content_type
Type of content for the package description
string
Example
text/markdown; charset=UTF-8; variant=GFM summary
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