From 49f0ccea8b65eab0760062a8f95867d0368e43ae Mon Sep 17 00:00:00 2001 From: matu6968 Date: Sun, 10 Nov 2024 22:56:58 +0100 Subject: [PATCH] Add List uploaded apps --- List-uploaded-apps.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 List-uploaded-apps.md diff --git a/List-uploaded-apps.md b/List-uploaded-apps.md new file mode 100644 index 0000000..d25f0d0 --- /dev/null +++ b/List-uploaded-apps.md @@ -0,0 +1,18 @@ +# To list currently uploaded apps: + +## HTTP request type: `POST` + +## Authorization required: No + +## Endpoint: `/apps` + +### Output: + +If it contains any app in apps.json: +``` +[{"name":"Camera","ver":"6","appid":"734017834573","info":"Take pictures using WebDesk! Handy for laptops, iOS support is buggy.","pub":"macos.amfi","path":"/uploads/Camera/index.js"}] +``` +Otherwaise if it has no apps in apps.json: +``` +null +``` \ No newline at end of file