get_package_version_for_authenticated_user
Fetch details of a specific package version for the authenticated user, including version ID, name, timestamps, and type-specific metadata. Requires package version ID from listing.
Instructions
Get a specific version of a package owned by the authenticated user.Returns the package-version object including the version id, name, creation/update timestamps, and type-specific metadata. Use list_package_versions_for_authenticated_user to find version ids. Requires the read:packages token scope. Docs: https://docs.github.com/en/rest/packages/packages#get-a-package-version-for-the-authenticated-user
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_name | Yes | The name of the package. | |
| package_type | Yes | The type of package. One of: npm, maven, rubygems, docker, nuget, container. Packages pushed to GitHub Container Registry (ghcr.io) have type "container". Packages pushed to the legacy Docker registry (docker.pkg.github.com) have type "docker". | |
| package_version_id | Yes | The unique identifier of the package version. |