New Feature: GTN API with OpenAPI 3 specification

Author(s) orcid logoAvatarHelena Rasche

Posted on: 10 November 2021

As part of the work for the Gallantries Grant, we wanted to access some of the data from the GTN in a more accessible, API based way. We are working on building a Video Library based on the wild success of our Smörgåsbord and GCC2021 events and to support that we wanted to start pulling in data from the GTN to save course authors time and effort when designing their asynchronous courses.

As such we’ve exposed a very minimal API with a lot of the metadata from the GTN allowing you to list tutorials, find topics and tutorials that are interesting, and render these in external sites or use in a programatic way.

Check out the API now at https://training.galaxyproject.org/training-material/api/

Image showing an OpenAPI / Swagger UI to the training material API featuring several APIs like topics, tutorials, contributors, and a couple internal APIs. At the bottom are a couple of data models.

Recent News

See all news

New Feature: my.galaxy.training

20 April 2023   new feature gtn

The GTN has set up a very simple “redirection” service based on my.home-assistant.io which Helena discovered after reading some Home Assistant documentation and saw a really neat link which led to her own internal home assistant.

New Feature: Persistent URLs (PURLs) / Shortlinks

19 April 2023   new feature gtn

The GTN has added persistent URL identifiers for our tutorials, slides, and FAQs. Using the gxy.io service, we have reserved GTN namespace for our persistent URLs. These work similarly to DOIs in that they will always point to a specific training material.

New Feature: GTN Rdoc

19 April 2023   new feature gtn

The internal functions of the GTN have, in the past, not been very well documented. Now we have started the process of fully documenting the functions and modules available to GTN developers.