REST API endpoints for packages

Use the REST API to interact with GitHub Packages.