Added new response
@@ -26,6 +26,13 @@ example.com/otaDescriptor
|
|||||||
|
|
||||||
This should return last 10 commits of every user (as no user was specified)
|
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
|
## Responses
|
||||||
|
|
||||||
Example response (/otaDescriptor?username=foo):
|
Example response (/otaDescriptor?username=foo):
|
||||||
@@ -71,3 +78,11 @@ Example response (/otaDescriptor?username=foo&branch=master):
|
|||||||
"currentVersionHasOta":true
|
"currentVersionHasOta":true
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Example response (/otaDescriptor?branches)
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
"master",
|
||||||
|
"feature-1"
|
||||||
|
]
|
||||||
|
```
|
Reference in New Issue
Block a user