diff --git a/mkdocs/docs/api/download.md b/mkdocs/docs/api/download.md index 3648144..790a9b4 100644 --- a/mkdocs/docs/api/download.md +++ b/mkdocs/docs/api/download.md @@ -25,6 +25,15 @@ Delete download queue items by filter: **DELETE** `/api/download/?filter=ignore` **DELETE** `/api/download/?filter=pending` +???+ "Curl Example" + ```bash + # add video to download queue + curl -XPOST -v /api/download/ \ + -H "Authorization: Token xxxxxxxxxx" \ + -H 'Content-Type: application/json' \ + -d '{"data":[{"youtube_id": "", "status":"pending"}]}' + ``` + ## Download Queue Item **GET** `/api/download//` **POST** `/api/download//`