Presenter notes contain extra information which might be useful if you intend to use these slides for teaching.
Press P
again to switch presenter notes off
Press C
to create a new window where the same presentation will be displayed.
This window is linked to the main window. Changing slides on one will cause the
slide to change on the other.
Useful when presenting.
Presenter notes contain extra information which might be useful if you intend to use these slides for teaching.
Press P
again to switch presenter notes off
Press C
to create a new window where the same presentation will be displayed.
This window is linked to the main window. Changing slides on one will cause the
slide to change on the other.
Useful when presenting.
Before diving into this slide deck, we recommend you to have a look at:
The Galaxy UI is good for:
The Galaxy API is good for:
Users can:
Admins can also manage:
Source code lives at https://github.com/galaxyproject/galaxy/tree/dev/lib/galaxy/webapps/galaxy/api/
HTTP method + URI [+ payload]
GET https://usegalaxy.org/api/histories?order=name
-> ordered list of historiesPOST /api/histories {"name": "New analysis"}
-> create a history named "New analysis"PUT /api/histories/<id> {"published": true}
-> publish a historyDELETE /api/histories/<history_id>/contents/<id>
-> delete a history datasetURI parameters: IDs in path, others in the query (?name=value&...
)
JavaScript Object Notation https://www.json.org/
{"history_id": "b5731bb49a17bf50", "id": "df06cc665d85b6ea", "inputs": {"0": {"id": "bbd44e69cb8906b51528b5d606d1fdd0", "src": "hda"}}, "model_class": "WorkflowInvocation", "outputs": ["bbd44e69cb8906b528819eaaff340ecd", "0ff30b4e2a4bed9e"], "state": "scheduled", "update_time": "2015-07-03T19:28:39.544574", "workflow_id": "56482e194d798eb6"}
lib/galaxy/exceptions/
With anything that can communicate over HTTP:
curl
Options in config/galaxy.yml
:
User impersonation by adding run_as
in the payload
# Optional list of email addresses of API users who can make calls on# behalf of other users.api_allow_run_as: foo@foo.com
Bootstrapping Galaxy
# API key that allows performing some admin actions without actually# having a real admin user in the database and config. Only set this# if you need to bootstrap Galaxy, in particular to create a real# admin user account via API. You should probably not set this on a# production server.bootstrap_admin_api_key: MASTERLOCK
This option was called master_api_key
in Galaxy 22.05 and earlier.
Moving to FastAPI
This material is the result of a collaborative work. Thanks to the Galaxy Training Network and all the contributors!
Author(s) |
![]() |
Reviewers |
|
Tutorial Content is licensed under Creative Commons Attribution 4.0 International License.
Before diving into this slide deck, we recommend you to have a look at:
Keyboard shortcuts
↑, ←, Pg Up, k | Go to previous slide |
↓, →, Pg Dn, Space, j | Go to next slide |
Home | Go to first slide |
End | Go to last slide |
Number + Return | Go to specific slide |
b / m / f | Toggle blackout / mirrored / fullscreen mode |
c | Clone slideshow |
p | Toggle presenter mode |
t | Restart the presentation timer |
?, h | Toggle this help |
Esc | Back to slideshow |