diff --git a/mkdocs/docs/api/additional.md b/mkdocs/docs/api/additional.md index abf73d5..21f7384 100644 --- a/mkdocs/docs/api/additional.md +++ b/mkdocs/docs/api/additional.md @@ -140,3 +140,28 @@ When valid returns message with user id and TubeArchivist version: "version": "v0.4.7" } ``` + +## Notification List +Get all current notifications. +**GET** `/api/notification/` + +Parameter: + +- filter: "download" | "settings" | "channel" + +```json +[ + { + "title": "Rescan your Subscriptions", + "group": "download:scan", + "api-start": true, + "api-stop": true, + "level": "info", + "id": "1111111-1111-1111-1111-1111111", + "command": false, // false || "STOP" || "KILL" + "messages": ["Task completed successfully"], + "progress": 0.000001 + } +] +``` +