Get all packages api call