Description of problem: I'm writing a script for automated running of RPM tests on COPR projects. I would like to have API access to the information provided by the detailed monitor in the frontend -- list of all packages in the project together with their latest build ids, in order to found the URL for the builds results. Additional info: I cannot simply use reposync (or similar tools), since I also need access to the respective build logs for the builds (rpmgrill needs them).
Sorry for late response. We actually already have this in our API (at least in the "legacy" API, which is currently undocumented). /coprs/<username>/<coprname>/monitor/ Let me know, if that is what you need.
Sorry, I left out the first part of the uri: api/coprs/<username>/<coprname>/monitor/
OK, I can work with that - the "legacy" monitor has the necessary info. However, I would still like to see a version of this in the new API, so that the script could eventually work without mixing two versions of the API. The priority for me is not too high for now, though.
There shouldn't be a difference except the url prefix, right? It is not like one would give you xml response and the second json. But yeah, we will probably need to do something about our APIs. It would not be bad to have just one.
Hello, we are now preparing a new API (https://pagure.io/copr/copr/issue/218). Also, we are planing a possible integration with Taskotron to run automated tests. Can I possibly know more about your project?
Well, I *think* the project was scraped in the end, and after two years I have trouble remembering what I needed this for... Sorry. This issue then may be closed as you see fit. Thanks for the collaboration!