From ab493fa656d0dfaa811c65fb8812a20ceec84444 Mon Sep 17 00:00:00 2001 From: Henry Pitcairn <735tesla@gmail.com> Date: Mon, 4 Apr 2016 13:03:43 -0400 Subject: [PATCH] Update api.md --- api.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/api.md b/api.md index 184223b..f4be1ff 100644 --- a/api.md +++ b/api.md @@ -50,6 +50,20 @@ If the `apiToken` parameter is valid, the request will be route; otherwise an er ### Advanced #### Description #### Supported Actions +Action|Description|Parameters +------|-----------|---------- +`getResources`|Returns a JSON array of disk and memory usage|_none_ +`dropCaches`|Clears system caches|_none_ +`getUSB`|Returns a list of USB devices connected ot the pineapple|_none +`getFstab`|Returns the contents of `/etc/config/fstab`|_none_ +`getCSS`|| +`saveFstab`|Overwrites `/etc/config/fstab` with a string| +`saveCSS`|| +`checkForUpgrade`|| +`downloadUpgrade`|| +`getDownloadStatus`|| +`performUpgrade`|| +`getCurrentVersion`|| ### Clients #### Description #### Supported Actions