= Upgrade checker = ''Contact: Ricardo Kirkner (pindonga)'' {{{#!wiki caution '''WARNING: This API has been deprecated in favor of https://wiki.ubuntu.com/AppStore/Interfaces/ClickPackageIndex#Updates''' }}} The upgrade-checker API is part of the developer portal codebase, and will therefore be available at the myapps.developer.ubuntu.com domain. The API consists of a very simple resource that can be queried to retrieve the current version strings for any specified apps (by name). == Get application versions == === Using GET === {{{ GET /dev/api/click-metadata/?name=com.ubuntu.ubuntu-calculator&name=com.ubuntu.ubuntu-weather HTTP/1.1 Host: myapps.developer.ubuntu.com HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 [ { "version": "0.1", "name": "com.ubuntu.ubuntu-calculator" }, { "version": "0.2", "name": "com.ubuntu.ubuntu-weather" } ] }}} === Using POST === {{{ POST /dev/api/click-metadata HTTP/1.1 Host: myapps.developer.ubuntu.com Content-Type: application/json {"name": ["com.ubuntu.ubuntu-calculator", "com.ubuntu.ubuntu-weather"]} HTTP/1.1 200 OK Content-Type: application/json; charset=utf-8 [ { "version": "0.1", "name": "com.ubuntu.ubuntu-calculator" }, { "version": "0.2", "name": "com.ubuntu.ubuntu-weather" } ] }}}