elixir-europe-training / Training-Metrics-Database

TMD - a database for aggregation of training metrics in ELIXIR
https://tmd.elixir-europe.org
MIT License
6 stars 1 forks source link

Import events from TeSS #47

Closed ninanorgren closed 1 week ago

ninanorgren commented 4 weeks ago

As a Training Coordinator I want to be able to import my course into the TMD directly from TeSS, so that I don’t have to add all the information again.

pdmnyberg commented 3 weeks ago

For future reference. This is how you fetch event info from TeSS using an event url and the undocumented endpoint:

curl -v -X POST -H "Content-Type: application/json" https://tess.elixir-europe.org/materials/check_exists.json -d"{\"material\": {\"url\":\"https://elixirestonia.github.io/2024-10-23-shell-novice/setup.html\"}}"
ninanorgren commented 1 week ago

PR #75 fixes this now