service-api
service-api copied to clipboard
Querying launches started during the last two days
I'm having trouble getting the ReportPortal API "launch-controller" query parameters in place. Seems that there is not really any documentation how to actually use the API or what values you can put in.
The situation is that I would like to search through the API for all the launches that has started say during the last two days. The API documentation from the ReportPortal UI shows a parameter "filter.eq.startTime", but I do not wish to "eq" on a single timestamp. It seems that you can also use filters like "filter.cnt.name=foo" as I figured from the UI filter options and by trial & error, but how to enter a time range I do not have any clue. I have tried to look from the code etc, but with no answer yet.
- How do you enter a time range for API search filter?
- Is there any documentation or examples on how to use the ReporPortal API?
haven't tried this, but how about a combination of filters:
filter.gt.startTime=<begin_timestamp>&filter.lt.startTime=<end_timestamp>