Add raw hobolink data as a rest API #77
Labels
data
Anything related to databases, data management, stuff that is heavily focused in the data directory.
good first issue
Good for newcomers
low priority
Issues we are not currently focusing on, either because it has a lot of blockers or isn't important.
[Note: Do this task in the
dev
branch]The base output should be something like this:
Just do a direct call to
get_live_hobolink_data
for now.For parameters, we want
hours
to be a parameter; default value should be 24. I think that's probably it for now and I'm not sure what else we'd parametrize. (Maybe we can add Hobolink metadata as an optional thing that can be returned?Notably, this API should be added to Swagger, and it should also have documentation associated with it. Look into this: https://swagger.io/docs/specification/about/ We are using the OpenAPI specification. It's a bit longwinded and you don't need to read all of it; you will best be served by looking at examples e.g. in the Flasgger README. https://github.com/flasgger/flasgger
The text was updated successfully, but these errors were encountered: