docs/api: update info about picker item types
This commit is contained in:
parent
9d4f7e666f
commit
f8a28c6c5f
1 changed files with 2 additions and 2 deletions
|
@ -49,9 +49,9 @@ item type: `object`
|
||||||
|
|
||||||
| key | type | variables | description |
|
| key | type | variables | description |
|
||||||
|:--------|:---------|:--------------------------------------------------------|:---------------------------------------|
|
|:--------|:---------|:--------------------------------------------------------|:---------------------------------------|
|
||||||
| `type` | `string` | `video` | used only if `pickerType`is `various`. |
|
| `type` | `string` | `video / photo / gif` | used only if `pickerType` is `various` |
|
||||||
| `url` | `string` | direct link to a file or a link to cobalt's live render | |
|
| `url` | `string` | direct link to a file or a link to cobalt's live render | |
|
||||||
| `thumb` | `string` | item thumbnail that's displayed in the picker | used only for `video` type. |
|
| `thumb` | `string` | item thumbnail that's displayed in the picker | used for `video` and `gif` types |
|
||||||
|
|
||||||
## GET: `/api/stream`
|
## GET: `/api/stream`
|
||||||
cobalt's live render (or stream) endpoint. usually, you will receive a url to this endpoint
|
cobalt's live render (or stream) endpoint. usually, you will receive a url to this endpoint
|
||||||
|
|
Loading…
Reference in a new issue