packages_slash_get_package_for_user

Function packages_slash_get_package_for_user 

Source
pub async fn packages_slash_get_package_for_user(
    configuration: &Configuration,
    package_type: &str,
    package_name: &str,
    username: &str,
) -> Result<Package, Error<PackagesSlashGetPackageForUserError>>
Expand description

Gets a specific package metadata for a public package owned by a user. OAuth app tokens and personal access tokens (classic) need the read:packages scope to use this endpoint. If the package_type belongs to a GitHub Packages registry that only supports repository-scoped permissions, the repo scope is also required. For the list of these registries, see "About permissions for GitHub Packages."