api.md: add info about twitterGif

This commit is contained in:
wukko 2024-01-17 20:30:22 +06:00
parent 01e28ec7e4
commit 9976ec59c8

View file

@ -20,7 +20,7 @@ Content-Type: application/json
### request body variables
| key | type | variables | default | description |
|:------------------|:----------|:-----------------------------------|:----------|:-------------------------------------------------------------------------------|
|:------------------|:----------|:-----------------------------------|:----------|:--------------------------------------------------------------------------------|
| `url` | `string` | URL encoded as URI | `null` | **must** be included in every request. |
| `vCodec` | `string` | `h264 / av1 / vp9` | `h264` | applies only to youtube downloads. `h264` is recommended for phones. |
| `vQuality` | `string` | `144 / ... / 2160 / max` | `720` | `720` quality is recommended for phones. |
@ -32,6 +32,7 @@ Content-Type: application/json
| `isAudioMuted` | `boolean` | `true / false` | `false` | disables audio track in video downloads. |
| `dubLang` | `boolean` | `true / false` | `false` | backend uses Accept-Language header for youtube video audio tracks when `true`. |
| `disableMetadata` | `boolean` | `true / false` | `false` | disables file metadata when set to `true`. |
| `twitterGif` | `boolean` | `true / false` | `false` | changes whether twitter gifs are converted to .gif |
### response body variables
| key | type | variables |