docs: updated json response types for create routes [CI SKIP]
parent
f34eefd59b
commit
15c2d72743
|
@ -112,6 +112,17 @@ id | ID of requested log
|
||||||
|
|
||||||
## Publish build log
|
## Publish build log
|
||||||
|
|
||||||
|
> JSON output format
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"message": "",
|
||||||
|
"data": {
|
||||||
|
"id": 15
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
<aside class="warning">
|
<aside class="warning">
|
||||||
|
|
||||||
You should probably not use this endpoint, as it's used by the build system to
|
You should probably not use this endpoint, as it's used by the build system to
|
||||||
|
|
|
@ -100,6 +100,17 @@ id | id of requested target
|
||||||
|
|
||||||
## Create a new target
|
## Create a new target
|
||||||
|
|
||||||
|
> JSON output format
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"message": "",
|
||||||
|
"data": {
|
||||||
|
"id": 15
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
Create a new target with the given data.
|
Create a new target with the given data.
|
||||||
|
|
||||||
### HTTP Request
|
### HTTP Request
|
||||||
|
|
Loading…
Reference in New Issue