Quantcast
Channel: Developing Apps for SharePoint 2013 forum
Viewing all articles
Browse latest Browse all 8089

OData orderby, filter method support in new Office 365 REST APIs?

$
0
0

Hello.  I'm exploring the new Files REST API for Office 365 against an existing dev Office 365 environment.  I wanted to be to get, effectively, recent changes.  However, if I try to use $orderby or $filter in the query, I get an HTTP 500 error saying it's not supported.

Example:

GET https://<my site>-my.sharepoint.com/_api/v1.0/me/files?$orderby=dateTimeLastModified desc

However, this returns an HTTP 500 with the following JSON:

{
error:
{
code: "-1, System.NotSupportedException"
message: "Specified method is not supported."
}
-
}

Some other OData methods, such as $top and $select, etc. work fine.

Essentially I want to know if the same level of functionality provided by List.GetChanges API on Microsoft.SharePoint.Client is available via the Files REST API, and if not, is it planned?


Viewing all articles
Browse latest Browse all 8089


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>