SP.Site.getChanges Method (sp.js)

Specifies the collection of the site collection changes from the change log that have occurred within the scope of the site collection, based on the specified query.

Applies to: apps for SharePoint | SharePoint Foundation 2013 | SharePoint Server 2013

SP.Site.getChanges()

Parameters

  • query
    Type: SP.ChangeQuery

    Specifies the query that will be used to build the collection of site collection changes to be returned.

Return value

Type: SP.ChangeCollection

REST resource endpoint

Endpoint URI structure

http://<sitecollection>/<site>/_api/site/getChanges(query)

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

POST http://<sitecollection>/<site>/_api/site/getChanges(query)

Resource parameters

  • query