From f8a28c6c5f2fd0cee45daf3fbdd521d22f6a0e7f Mon Sep 17 00:00:00 2001 From: wukko Date: Fri, 26 Jul 2024 22:02:59 +0600 Subject: [PATCH] docs/api: update info about picker item types --- docs/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index b63c9216a..6cd66bba8 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