Can I have an upper bound date for RRC resources using REST API?
I would like to use REST API to get only resources that have been modified between a specific date period. For example, I'd like to get only the resources modified in the year 2012. The query I'm using is this:
https://server:port/rm/publish/resources?modifiedSince=2012-01-01T00:00:00.000-0300&ownLinks=true&size=10
The problem is that too many resources are returned, and I'd like to get these resources on small periods. Is there any parameter that can be used with modifiedSince in order to get the resources modified in the year of 2012 (like modifiedUntil)? Is it possible to do so?
Thanks in advance,
Igor Felix
Accepted answer
I am not aware of a "modifiedUntil" parameter, but you may consider creating a view with an attribute filter "Modified on is between" and then use the "filter by view" URL format. It is not as flexible as you would hope since you can't combine with certain parameters and you can't change the filter during runtime. At least it should return the collection of artifacts that you are expecting.