Skip to content

New features for the API

  • Add function to fetch list of sites, and corresponding endpoint (/site/all_sites)
  • Add function to fetch list of tags for a given site, and corresponding endpoint (/site/<string:site>/all_tags)
  • Multiple tags for get_serial_number_for_tag
  • Improved logging in case of error

In this merge request, we also re-organise slightly the file, moving the implementation to standalone functions, and calling these standalone functions from the endpoint functions.

The goal is to generalise the Grafana dashboard (see !226 (merged)), which has some hard-coded parameters for IRFU for now, to any site.

Tagging @msaimper @fcrescio

Merge request reports

Loading