Hi!
I'm happy to announce that we have a stable API for the Toolforge platform!
You can now access and manage your tools using an API and build your own wrappers around it.
This API is currently only available from within Toolforge, including from within your own jobs and webservices (just make sure to use `--mount=all` so the certs are available). We plan to make this API accessible from anywhere in the future.
This is the same API that the toolforge clients use directly, so expect to be able to do everything the clients can do. Webservice is not available yet, but will be soon! (https://phabricator.wikimedia.org/T348755)
You can find the actual API docs here: https://api-docs.toolforge.org
And the wiki page with details on deprecation process, authentication, and a python example here: https://wikitech.wikimedia.org/wiki/Help:Toolforge/API
Let us know if you find any issues or if you have any questions through the usual channels. The full list is under "Communication and support" on: https://wikitech.wikimedia.org/wiki/Portal:Toolforge
Thanks!
David
Congratulations! Just in time so we can celebrate it at Wikimania :)
Le lun. 5 août 2024 à 13:52, David Caro dcaro@wikimedia.org a écrit :
Hi!
I'm happy to announce that we have a stable API for the Toolforge platform!
You can now access and manage your tools using an API and build your own wrappers around it.
This API is currently only available from within Toolforge, including from within your own jobs and webservices (just make sure to use `--mount=all` so the certs are available). We plan to make this API accessible from anywhere in the future.
This is the same API that the toolforge clients use directly, so expect to be able to do everything the clients can do. Webservice is not available yet, but will be soon! (https://phabricator.wikimedia.org/T348755)
You can find the actual API docs here: https://api-docs.toolforge.org
And the wiki page with details on deprecation process, authentication, and a python example here: https://wikitech.wikimedia.org/wiki/Help:Toolforge/API
Let us know if you find any issues or if you have any questions through the usual channels. The full list is under "Communication and support" on: https://wikitech.wikimedia.org/wiki/Portal:Toolforge
Thanks!
David
-- David Caro SRE - Cloud Services Wikimedia Foundation https://wikimediafoundation.org/ PGP Signature: 7180 83A2 AC8B 314F B4CE 1171 4071 C7E1 D262 69C3
"Imagine a world in which every single human being can freely share in the sum of all knowledge. That's our commitment." _______________________________________________ Cloud-announce mailing list -- cloud-announce@lists.wikimedia.org List information: https://lists.wikimedia.org/postorius/lists/cloud-announce.lists.wikimedia.o...