0

I am looking for a solution to get all the created / updated documents for the last 24h for all my workspaces.

How is it possible via REST API? Like an Activity Feed.

7
  • Which version of SharePoint? May 26, 2016 at 11:41
  • Its about SP2013
    – fcb1900
    May 30, 2016 at 6:53
  • Using search you can get he documents you have access to, provided you are crawling the content an your index is fresh. May 30, 2016 at 12:22
  • Yeah, but i diddn't find a solution via REST to get all my modified documents in the last 24h, how is it possible like htts://mydomain.com/_api/search/.....
    – fcb1900
    May 30, 2016 at 13:46
  • First you have to get the query working. Have you tried using your search center to query for the documents? Something like "IsDocument=1 Write=today" or you could use > and < to actually capture the previous 24 hour period. Once you have it working in the search center then just add it to your REST query. May 30, 2016 at 15:46

1 Answer 1

0

The solution is

https://domain.ltd/_api/search/query?querytext='*'&refinementfilters='write:range(2016-06-13T12:30:00.0000000Z,max,from="ge")'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.