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):
|
||||||
@@ -70,4 +77,12 @@ Example response (/otaDescriptor?username=foo&branch=master):
|
|||||||
"currentVersion":"704109f.master",
|
"currentVersion":"704109f.master",
|
||||||
"currentVersionHasOta":true
|
"currentVersionHasOta":true
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
Example response (/otaDescriptor?branches)
|
||||||
|
```json
|
||||||
|
[
|
||||||
|
"master",
|
||||||
|
"feature-1"
|
||||||
|
]
|
||||||
```
|
```
|
Reference in New Issue
Block a user