ACS 1.1.4 - 14 August 2014
The 1.1.4 release of Appcelerator Cloud Services includes the following updates and bug fixes:
New features
- Added a new
countAPI to that returns the total number of objects of the specified type. This API is available to the following ACS types: ACLs, Chats, Checkins, PhotoCollections, Emails, Events, Files, GeoFences, KeyValues, Messages, CustomObjects, Photos, Places, Posts, PushNotifications, Reviews, Statuses, and Users.-
For example, the following shows an example
cURLrequest and response for the number of Photos:$ curl -b cookies.txt -c cookies.txt"https://api.cloud.appcelerator.com/v1/photos/count.json?key=<YOUR_APP_KEY>&pretty_json=true" -
Example response:
{"meta": {"code": 200,"status":"ok",},"response": {"photos": 10.0}}
-
Bug fixes
get_chat_groupsnow only returns chat groups that the current user belongs to, as expected.subscribe_tokennow properly increases the subscribed device count, as displayed in Dashboard or My Apps.- Queries now properly limit the number of results specified by the query
limitparameter. - Fixed an issue where valid .p12 certificates were being disabled when ACS could not make a successful connection to Apple Push Notification Service (APNS).
- Fixed an issue where calling
keyvalues.incrbyorkeyvalues.appendas an application admin on behalf of another user (by specifying theuser_idparameter) would create a new keyvalue belonging to the admin, rather than updating the one belonging to the specified user. - Fixed an unexpected error ("Export currently in progress") when exporting application data from the My Apps web console.
- An ACS user's
first_nameorlast_namefields can now be set to an empty string, as expected, as long theusernamefield is not empty. - Fixed an issue when assigning binary data to a keyvalue object.
- Fixed an issue with
push_notification/notify.jsonwhere a non-admin user was able to send a geo-based notification without specifying eitherto_idsorfriendsfields. - Fixed an issue where creating a new
Reviewfor a Photo object made the reviewed photo the primary photo for the new review. - The push notification logs in the My Apps web console now shows the correct push count for Android and IOS devices.