Closed ozten closed 10 years ago
Over in https://github.com/mykmelez/mock-apk-update-checker I implemented a mock APK update checker service that implements the specified API and simply responds to any request by telling the requester that all installed apps are out-of-date. I stood up an instance of the service via Stackato at http://apk-update-checker.paas.allizom.org/, and there's a simple test script in the repository you can run via node test.js
to see it in action.
This is done on master. Boom!
(Not available on AWS yet, will email the team once it is)
Fennec can use the service to find out which of it's installed apps are out of date.
This bug is to figure out the spec for this API call.
Proposal:
An HTTP POST request is made to
https://apk.factory/app_updates
with JSON encoding for the body. The JSON document includes a collection of installed apps, specifically their manifest and version number. The response will be a JSON encoded document which is a list of outdated app manifests.Example: