ChicoState / ChicoState/BikeLock

Hardware - Bike Rack State Getter

Open
#7 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.