Date: Sat, 20 Jan 2024 20:40:38 -0800 From: Yuri <yuri@FreeBSD.org> To: "ports@freebsd.org" <ports@freebsd.org> Subject: Is API to access status of build servers documented? Message-ID: <d79ed1af-43cf-4009-8fec-40a307070b14@FreeBSD.org>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------cLSo0hczxDh6NwEar1ylF47c Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit I found experimentally that the list of all build categories can be obtained using this request: http://{server}/data/.data.json The list of all builds in one category can be obtained using this request: http://{server}/data/140amd64-default/.data.json The per-package status in one build can be obtained using this request: http://{server}/data/140amd64-default/2c606b8e6de6/.data.json What I couldn't determine is the query to find all active build servers. Does such query exist? Is this API documented anywhere? Thank you, Yuri --------------cLSo0hczxDh6NwEar1ylF47c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 7bit <!DOCTYPE html> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> </head> <body> <font face="monospace">I found experimentally that the list of all build categories can be obtained using this request:</font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;">http://{server}/data/.data.json</span><br> </font><br> <font face="monospace"></font><br> <font face="monospace">The <span style="color:#000000;background-color:#ffffff;">list of all builds in one category can be obtained using this request:</span></font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;"></span><span style="color:#000000;background-color:#ffffff;">http://{server}/data/140amd64-default/.data.json</span><br> </font><br> <font face="monospace"><br> </font><br> <font face="monospace">The per-package status in one build can be obtained using this request:</font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;">http://{server}/data/140amd64-default/2c606b8e6de6/.data.json</span></font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;"><br> </span></font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;">What I couldn't determine is the query to find all active build servers.</span></font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;">Does such query exist?</span></font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;"><br> </span></font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;">Is this API documented anywhere?</span></font><br> <p><br> </p> <p><br> </p> <font face="monospace"><span style="color:#000000;background-color:#ffffff;">Thank you,</span></font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;">Yuri</span></font><br> <font face="monospace"><span style="color:#000000;background-color:#ffffff;"><br> </span></font> </body> </html> --------------cLSo0hczxDh6NwEar1ylF47c--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d79ed1af-43cf-4009-8fec-40a307070b14>