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//` diff --git a/mkdocs/docs/stylesheets/style.css b/mkdocs/docs/stylesheets/style.css index 2da4583..d3a08c6 100644 --- a/mkdocs/docs/stylesheets/style.css +++ b/mkdocs/docs/stylesheets/style.css @@ -78,6 +78,7 @@ footer { --md-code-hl-number-color: var(--highlight-error-light); --md-code-hl-operator-color: var(--highlight-error); --md-code-nv-color: var(--highlight-error); + --md-code-hl-comment-color: var(--secondary-font); --md-typeset-table-color: var(--main-font); } @@ -88,6 +89,7 @@ footer { --highlight-error-light: #c44343; --highlight-bg-transparent: #00293baf; --main-font: #eeeeee; + --secondary-font: #858585; --accent-font-dark: #259485; --accent-font-light: #97d4c8; --img-filter: invert(50%) sepia(9%) saturate(2940%) hue-rotate(122deg) brightness(94%) contrast(90%);