Add API endpoint for package info