ChicoState / ChicoState/BikeLock
Hardware - Bike Rack State Getter
Open
enhancement
- Dominant language
- Dart
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
# Proposed Changes
We need a RESTful API method (written on the hardware server) that returns the state of the bike rack.
# Additional Context
```
GET /api/v1/state
```
Example JSON response:
```json
{
"id": "bikeRackID",
"location": ["lat", "long"],
"locks": [
{
"id": 0,
"state": 0
},
{
"id": 1,
"state": 0
},
]
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.