SP.Web.getChanges Method (sp.js)
Returns the collection of all changes from the change log that have occurred within the scope of the site, based on the specified query.
Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013
SP.Web.getChanges(query)
Parameters
query
Type: SP.ChangeQuerySpecifies which changes to return.
Return value
Type: SP.ChangeCollection
The changes.
Remarks
It must not be null.
REST resource endpoint
See Web resource for more information.
Endpoint URI structure
http://<sitecollection>/<site>/_api/web/getChanges(query)
HTTP requests
This resource supports the following HTTP commands:
- POST
POST syntax
POST http://<sitecollection>/<site>/_api/web/getChanges(query)
Resource parameters
- query