mirror of
https://github.com/hak5darren/wifipineapple-wiki.git
synced 2025-10-29 16:59:29 +00:00
Update api.md
This commit is contained in:
parent
2fbe092d4d
commit
ab493fa656
14
api.md
14
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|<ul><li>`fstab`<li>item2</li><ul><li>A string to be written to `/etc/config/fstab`</li></ul></li></ul>
|
||||
`saveCSS`||
|
||||
`checkForUpgrade`||
|
||||
`downloadUpgrade`||
|
||||
`getDownloadStatus`||
|
||||
`performUpgrade`||
|
||||
`getCurrentVersion`||
|
||||
### Clients
|
||||
#### Description
|
||||
#### Supported Actions
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user