Skip to content

best way to save what you love

docs/api: update info about picker item types

wukkof8a28c6c5f2f
diff --git a/docs/api.md b/docs/api.md
index b63c9216..6cd66bba 100644
--- a/docs/api.md
+++ b/docs/api.md
@@ -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