SP.List.getChanges Method (sp.js)

Returns the collection of changes from the change log that have occurred within the list, based on the specified query.

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

SP.List.getChanges()

Parameters

  • query
    Specifies the query.

Return value

Type: SP.ChangeCollection

Remarks

It must not be null.

REST resource endpoint

See List resource for more information.

Endpoint URI structure

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

HTTP requests

This resource supports the following HTTP commands:

  • POST

POST syntax

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

Resource parameters

  • query