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
count
API 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
cURL
request 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_groups
now only returns chat groups that the current user belongs to, as expected.subscribe_token
now 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
limit
parameter. - 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.incrby
orkeyvalues.append
as an application admin on behalf of another user (by specifying theuser_id
parameter) 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_name
orlast_name
fields can now be set to an empty string, as expected, as long theusername
field is not empty. - Fixed an issue when assigning binary data to a keyvalue object.
- Fixed an issue with
push_notification/notify.json
where a non-admin user was able to send a geo-based notification without specifying eitherto_ids
orfriends
fields. - Fixed an issue where creating a new
Review
for 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.