packages_pypi
Upload a package
Uploads a PyPI package for a specified project.
post/api/v4/projects/{id}/packages/pypi
Request
- Base URLhttps://gitlab.com
- Authnone declared
Path parameters
idstring required
The ID or URL-encoded path of the project
Request body
Example request
{
"name": "my.pypi.package",
"version": "1.3.7",
"requires_python": ">=3.7",
"md5_digest": "900150983cd24fb0d6963f7d28e17f72",
"sha256_digest": "ba7816bf8f01cfea414140de5dae2223b00361a396177a9cb410ff61f20015ad",
"metadata_version": "2.3",
"author_email": "cschultz@example.com, snoopy@peanuts.com",
"description_content_type": "text/markdown; charset=UTF-8; variant=GFM",
"summary": "A module for collecting votes from beagles.",
"keywords": "dog,puppy,voting,election"
}Response
Upload a package
Changes
No recorded changes to this operation across all 5 revisions of this API.