The REST API is now versioned. For more information, see "About API versioning."
REST API endpoints for packages
Use the REST API to interact with GitHub Packages.
Use the REST API to interact with GitHub Packages.
REST API endpoints for packages - GitHub Enterprise Server 3.15 Docs