Closed s-egge closed 2 months ago
See this PR in automated jobs to test the endpoint. The new endpoint adds new meters to the table with a status
of new
, the provided pacific_power_meter_id
, and today's date for date_added
.
I altered the database structure to have status
instead of exclude
as the field name, and it now has the following options for values:
Follow-up task (future PR): https://github.com/OSU-Sustainability-Office/automated-jobs/issues/51
Added an endpoint to retrieve all Pacific Power Meters in the
pacific_power_exclusion
table of the database.See also: https://github.com/OSU-Sustainability-Office/energy-dashboard/issues/313 https://github.com/OSU-Sustainability-Office/automated-jobs/issues/47
Testing
sam local start-api
from backend directory)TODO
exclude
field ofnew
new
inexclude
field