Update an Object

Updating objects

To update or change an object, send a PUT request. Since you are changing a particular object, the object ID needs to be used in the URL.

https://api.appery.io/rest/1/db/collections/<collectionName>/<objectId>

The result is a JSON containing the object update time.

Example

curl -X PUT
  -H "X-Appery-Database-Id: 544a5cdfe4b03d005b6233b9"
  -H "Content-Type: application/json"
  -d "{"marks":['5,2']}"
https://api.appery.io/rest/1/db/collections/students/54578046e4b0c9bce12bd075
{
    "_updatedAt":"2015-06-15 15:05:53.061"
}