From eb87e66346c8e7b5502256c595fc818b2dfe0f56 Mon Sep 17 00:00:00 2001 From: Foxtrot Date: Fri, 13 May 2016 19:33:10 +0100 Subject: [PATCH] Start ModuleManager info --- api.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/api.md b/api.md index 6648257..579aa03 100644 --- a/api.md +++ b/api.md @@ -84,6 +84,19 @@ Action|Description|Parameters #### Description ### ModuleManager #### Description +The Module Manager is responsible for installing, removing, and upgrading modules. It's API can be used to manage modules, as well as fetching the list of installed modules and getting available modules. To use them in your module, your request body would look like this: +``` +{ + "module": "ModuleManager", + "action": "removeModule", + "moduleName": "Module" +} +``` + +Action|Description|Parameters +------|-----------|---------- +`getAvailableModules`|Return an array of modules available for download|_none_ +`getInstalledModules`|Return an array of modules currently installed|_none_ ### Networking #### Description The Networking module API allows you to interface with the networking side of the WiFi Pineapple without having to write your own functions to manage interfaces, the DNS, and the routing table. As described above, you can use these actions in your own module like so: