CodeForAfrica / sensors.AFRICA-api

The sensors.AFRICA API receiving, storing, and processing data received from sensors across the continentent. Accessible at https://api.sensors.africa/
https://api.sensors.africa/
18 stars 7 forks source link

Ensure data is return from public sensors only #120

Closed kilemensi closed 2 years ago

kilemensi commented 2 years ago

Description

/v2/nodes seem to return data from both private and public sensors. This PR restricts the endpoint to returning public data only. Private data can still be return via /v1/node when authentication is provided.

Type of change

Screenshots

N/A

Checklist: