<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr">On Sun, Jan 13, 2019 at 1:40 PM Dan Langille <<a href="mailto:dan@langille.org">dan@langille.org</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;">Hello,<div><br></div><div>I would like to obtain a list of recent tests from the command line. This is part of monitoring check to ensure automated testing results are landing in CDash.</div><div><br></div><div>From what I see, index.php?project=MyProject has the information I want.  Is there a better page?</div><div><br></div><div>I can't use wget or curl because the above page needs javascript to render.</div><div><br></div><div>Is there another URL I can use which does not require javascript?</div></div></blockquote><div><br></div><div>Hi Dan,</div><div><br></div><div>Most of CDash's information is available in JSON format. You can get this by clicking the "View as JSON" link in the footer of the page. To manually construct such a URL, you can prepend "/api/v1/" in front of the name of the PHP script. So instead of "index.php?project=MyProject", you'd go to "/api/v1/index.php?project=MyProject".</div><div><br></div><div>For recent test results, I recommend the testOverview.php page. You can access this page by selecting "Tests" in the "Dashboard" drop-down menu in the upper right corner of the page.</div><div><br></div><div>For example, here's what it looks like for CMake's dashboard today:</div><div><a href="https://open.cdash.org/testOverview.php?project=CMake&date=2019-01-23">https://open.cdash.org/testOverview.php?project=CMake&date=2019-01-23</a><br></div><div><br></div><div>And here is the corresponding JSON data that's used to render this page:</div><div><a href="https://open.cdash.org/api/v1/testOverview.php?project=CMake&date=2019-01-23">https://open.cdash.org/api/v1/testOverview.php?project=CMake&date=2019-01-23</a><br></div><div><br></div><div>Please let us know if this doesn't do the trick for you.</div></div></div></div></div>