-
Notifications
You must be signed in to change notification settings - Fork 56
Open
Description
Use case: users want to have ad hoc access to what specific drains are adopted so they can map them or integrate them with other data.
Proposed acceptance criteria
- Admin user can access adopted drains at a single endpoint like https://adoptadrain.sfwater.org/api/drains/adopted
- Data returns in json or csv based on parameter something like ?format=csv, default json
- Endpoint returns only the latitude, longitude and City ID (prepended with N-), no adopter information
- Basic authentication allows only users with admin roles on the platform to access the endpoint
Notes
Trying to keep this as narrowly scoped as possible to be simple but still useful. We could do other api methods, but this seems to be a valuable export option that doesn't introduce complex authentication scenarios.
cc/ @jeanwalshie @jafowler49 @jszwedko
Metadata
Metadata
Assignees
Labels
No labels