Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Querying launches started during the last two days #1341

Open
wiibaker opened this issue Dec 15, 2020 · 1 comment
Open

Querying launches started during the last two days #1341

wiibaker opened this issue Dec 15, 2020 · 1 comment

Comments

@wiibaker
Copy link

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.

  1. How do you enter a time range for API search filter?
  2. Is there any documentation or examples on how to use the ReporPortal API?
@rplevka
Copy link

rplevka commented Jun 24, 2021

haven't tried this, but how about a combination of filters:
filter.gt.startTime=<begin_timestamp>&filter.lt.startTime=<end_timestamp>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants