Added new response

CommanderRedYT
2021-12-07 14:13:14 +01:00
parent 6bb14c14df
commit ed46e1dfe1

@@ -26,6 +26,13 @@ example.com/otaDescriptor
This should return last 10 commits of every user (as no user was specified)
```
```
example.com/otaDescriptor?branches
This should return an array of branch names
```
## Responses
Example response (/otaDescriptor?username=foo):
@@ -71,3 +78,11 @@ Example response (/otaDescriptor?username=foo&branch=master):
"currentVersionHasOta":true
}
```
Example response (/otaDescriptor?branches)
```json
[
"master",
"feature-1"
]
```