New user?
REGISTER NOW!

Returning user?
SIGN IN!


Forgot your password?


It's completely free!

OR

ANDROID DEV
Register here

Forgot your password?


Loading...
OR

You're one step closer to becoming a Aptoider!

We will send you a confirmation email to

In the meantime please continue to the final registration step.


Continue to final step Ups... wrong email...

Need to contact us?

Please insert an email address Password must:<br>- have 8 characters minimum<br>- have one letter<br>- have one number OR one special character (!@#$%*) This url is invalid, please enter an valid one. Use only letters, numbers and/or dashes. No spaces please! Please insert a name Business Name should be smaller than 40 characters. Please insert an address. Please insert an company name. Please insert an valid country. Please insert a valid phone number. Please insert a valid phone number. Please insert an city. Please insert an zip/postal code. Please insert an tax ID / VAT. You must agree with terms of use. You must select one option RETRY JOIN NOW https://www.aptoide.com/phpajax/onboarding.php
This website uses cookies to improve service quality. By browsing this website, you are consenting the use of cookies.
I understand Learn more
OK

Web Services Documentation

Retrieving if a Repository has Updates for a given Hash

This endpoint is deprecated. See: https://www.aptoide.com/webservices/docs/7/store/getMeta

URLS:

POST

GET

Supported Formats:

JSON XML

Supported Methods:

GET POST

Description:

Given an hash (or list of hashes), it returns if either a repository (or list of them) was changed (has updates) and how many.

Arguments:

repo Repository name or list of names (seperated with commas)
offset Numerical value to skip a number of entries (mandatory if orderby is used)
mode Return mode/format ('xml' or 'json')

Response:

status Request result status (OK or FAIL)
errors Errors log from the request (not existent when status="OK")
listing List of retrieved updates
hasupdates Returns TRUE if has updates, FALSE if otherwise
repo Respective repository name
added Number of new applications (only if has_update=TRUE and repo version hash has matched)
removed Number of removed applications (only if has_update=TRUE and repo version hash has matched)
appscount Number of total applications available (only if has_update=TRUE and repo version hash has NOT matched)
mode Return mode/format ('xml' or 'json')

Using the Web Service (examples):

Sample Response - XML:

Sample success

<response>
   <status>OK</status>
   <listing>
      <entry>
         <repo>a-repo</repo>
         <hasupdates>TRUE</hasupdates>
         <added>12</added>
         <removed>5</removed>
      </entry>
      <entry>
         <repo>another-repo</repo>
         <hasupdates>TRUE</hasupdates>
         <appscount>345</appscount>
      </entry>
      <entry>
         <repo>yet-another-repo</repo>
         <hasupdates>FALSE</hasupdates>
      </entry>
   </listing>
</response>

Sample Response - JSON:

Sample success

{
   "status": "OK",
   "listing":
      [
         {
            "repo": "a-repo",
            "hasupdates": "TRUE",
            "added": 12,
            "removed": 5
         },
         {
            "repo": "another-repo",
            "hasupdates": "TRUE",
            "appscount": 345,
         },
         {
            "repo": "yet-another-repo",
            "hasupdates": "FALSE",
         }
      ]
}