galaxy
galaxy copied to clipboard
[WIP] add an 'api' endpoint /api/docs/ to display all(?) available api urls…
After the idea of the DRF browsable API, this would add an 'api' endpoint /api/docs/
to display all(?) available api urls/methods and their docstring.
Currently this would look like below and obviously there is room for styling/cleanup - or rewrite.
I like this idea very much.
@scholtalbers is this related to https://github.com/galaxyproject/galaxy/issues/3211?
@bgruening I wasn't aware of that ticket anymore, but I guess its related. This attempt doesn't follow any standard (nor did I try to), but just bluntly throws information together to get a list of available URLs.
I actually wanted to have this at /api/
, as that is currently a non-existing endpoint which bugged me a few times, but failed to figure out how..
@galaxybot test this
With the OpenAPI docs available at <galaxy_url>/api/docs , this is is not needed any more.