API v1.5 to v1.6 migration guide
appdb officialHere is what we have changed in API v1.6:
You can find documentation here: https://api.dbservices.to/v1.6/spec/
Breaking changes:
- Instead of passing method via GET parameter ?action, now method is included in URL. Keep in mind trailing slash!
Example:
https://api.dbservices.to/v1.5/?action=get_stats
New:
https://api.dbservices.to/v1.6/get_stats/
2. Now API respects JSON types. If it is integer, it will be returned as integer, not as string
3. All RFC 2822 dates became UNIX TIMESTAMPS, in requests and in responses
4. Listings changed from page to parameters start and length
Example:
https://api.dbservices.to/v1.5/?action=search&type=ios&page=2
New:
https://api.dbservices.to/v1.6/search/?type=ios&start=25&length=25
5. Some changes into requests and responses of these methods:
/configure/
params[signing_identity_type] production->distribution (request)
signing_identity_type production->distribution (response)
/get_ipa_cache_status/
in_update became integer 1/0, not boolean true/false (response)
/get_links/
is_universal removed (response)
no_redirection became integer 1/0, not boolean true/false (response)
di_compatible became integer 1/0, not boolean true/false (response)
protected became integer 1/0, not boolean true/false (response)
/get_updates/
updateable became integer 1/0, not boolean true/false (response)
/list_genres/
Structure has changed from object to array (response)
That's all!