Add missing language param to documentation

This commit is contained in:
Omar Roth 2019-07-18 17:32:59 -05:00 committed by Perflyst
parent 7c38358ffa
commit 41caa5c215
1 changed files with 4 additions and 0 deletions

4
API.md
View File

@ -1,3 +1,7 @@
### Language
All endpoints that return a JSON body support `&hl=LANGUAGE` for translating fields into the desired language. A list of languages are provided in [List of URL parameters](https://github.com/omarroth/invidious/wiki/List-of-URL-parameters).
### Pretty
All endpoints that return a JSON body support `&pretty=1` for printing the response as formatted JSON.