Skip to content

Commit

Permalink
docs/api: update info about picker item types
Browse files Browse the repository at this point in the history
  • Loading branch information
wukko authored Jul 26, 2024
1 parent 9d4f7e6 commit f8a28c6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ item type: `object`

| 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 | |
| `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`
cobalt's live render (or stream) endpoint. usually, you will receive a url to this endpoint
Expand Down

0 comments on commit f8a28c6

Please sign in to comment.