diff --git a/_includes/rest/objects.md b/_includes/rest/objects.md index 737d02344..add09f95d 100644 --- a/_includes/rest/objects.md +++ b/_includes/rest/objects.md @@ -99,6 +99,8 @@ The response body is a JSON object containing the `objectId` and the `createdAt` } ``` +The response body also includes any field that was modified using `beforeSave` and `afterSave` triggers. + ## Retrieving Objects Once you've created an object, you can retrieve its contents by sending a GET request to the object URL returned in the location header. For example, to retrieve the object we created above: @@ -223,7 +225,7 @@ print result -The response body is a JSON object containing just an `updatedAt` field with the timestamp of the update. +The response body is a JSON object containing, by default, an `updatedAt` field with the timestamp of the update. ```json { @@ -231,6 +233,8 @@ The response body is a JSON object containing just an `updatedAt` field with the } ``` +The response body also includes any field that was modified using `beforeSave` and `afterSave` triggers. + ### Counters To help with storing counter-type data, Parse provides the ability to atomically increment (or decrement) any number field. So, we can increment the score field like so: