Skip to content

Community Services endpoints

Juan Pedro Sánchez requested to merge feature/IMP_energy_use_endpoint into dev

In this merge request, we implement a set of endpoints to obtain some information about a community_service from a member perspective

These endpoints are:

  • /me/community_services/metrics: Retrieve a set of metrics of all community services that a member belong
  • /me/community_services/{service_id}: Detail of a community service
  • /me/community_services/{service_id}/energy_consumed: Energy consumed by a member by day
  • /me/community_services/{service_id}/energy_exported: Daily energy exported to the grid by a member
  • /me/community_services/{service_id}/production: Daily production by a member
  • /me/community_services/{service_id}/selfconsumption: Daily energy self-consumption by a member
  • /me/community_services/{service_id}/metrics: Set of metrics of a specific service

Implements:

  • OP#377
  • OP#378
  • OP#455

Merge request reports

Loading