package version rest api