Vivek: Updated API to support apk downloads