Shortcuts Recent
1. Get Album List
| Parameter | Type | Description | Remark |
|---|---|---|---|
fun | String | /shortcut/album/get | |
id | String | Device ID | Single device only |
album_name | String | Album name | Empty = most recent |
num | Integer | Number of entries | Default 10 |
outtime | Integer | Timeout (ms) | Default 15000 |
json
{
"fun": "/shortcut/album/get",
"data": {
"id": "6C:8D:C1:67:04:29",
"num": 5,
"outtime": 10000
}
}Response: Returns list with album_name, name, ext, size, create_time
2. Upload Photos and Videos
| Parameter | Type | Description |
|---|---|---|
fun | String | /shortcut/album/upload |
id | String | Device ID(s) |
album_name | String | Target album |
file_list | String Array | File paths to upload |
3. Delete Album Content
Request: fun = /shortcut/album/delete
4. Open App
| Parameter | Type | Description |
|---|---|---|
fun | String | /shortcut/app/open |
id | String | Device ID(s) |
bundle_id | String | App bundle identifier |
5. Close App
Request: fun = /shortcut/app/close
6. Install App
Request: fun = /shortcut/app/install
7. Uninstall App
Request: fun = /shortcut/app/uninstall
8. Get App List
Request: fun = /shortcut/app/list
9. Set Device Location
| Parameter | Type | Description |
|---|---|---|
fun | String | /shortcut/location/set |
id | String | Device ID(s) |
lat | Float | Latitude |
lng | Float | Longitude |
10. Restore Device Location
Request: fun = /shortcut/location/reset
TIP
For the complete shortcuts API with all parameters, request examples, and response formats, refer to the original documentation.