api:flexcare:adbcommand:list
Table of Contents
API : FlexCare : ADB command : List
Introduction
This will list all the ADB (Android Debug Bridge) commands defined in FlexCare.
Each command has a display name and the raw ADB command string. Together they make up the shared catalogue of ADB commands available within FlexCare.
The list is sorted alphabetically by command name.
Request
| URL | https://api.telecomx.dk/flexcare/adb/command | |
|---|---|---|
| Method | GET | |
| Access level | RESELLER admin (with the TV employee feature) ADMIN |
|
| Query | offset | [optional] Index of the first command to return, default 0, min 0, max 1000000. |
| limit | [optional] The number of commands to return, default 100, min 1, max 1000000. |
|
| filter | [optional] Filters the commands on name or command. |
|
Query examples
https://api.telecomx.dk/flexcare/adb/command https://api.telecomx.dk/flexcare/adb/command?offset=25&limit=50&filter=reboot
Response
| JSON object | |
|---|---|
| total | Number of commands that match the query when offset and limit are not considered. This is to be used for paging through the data. |
| offset | Index of the first command returned. |
| limit | Number of commands requested. Note that the actual number of commands returned may be lower. |
| commands | Array of commands, see definition below. |
| Command | ||
|---|---|---|
| _id | ObjectId | Unique id of the command |
| name | String | Command name (2–64 characters) |
| command | String | The raw ADB command string |
| createdAt | Date | When the command was created |
| updatedAt | Date | When the command was last updated (null if never updated) |
Example
{ total: 1, offset: 0, limit: 100, commands: [ { _id: "1234567890ABCD1234567890", name: "Reboot device", command: "adb reboot", createdAt: "2026-05-01T10:00:00.000Z", updatedAt: null } ] }
Errors
| Error code | Message | Description |
|---|---|---|
| 422 | offset | offset must be a number between 0 and 1000000. (Returned for any invalid query parameter.) |
| 422 | limit | limit must be a number between 1 and 1000000. |
| 422 | filter | filter must be a string. |
| 403 | access_denied | Insufficient access level — minimum RESELLER admin required, or the RESELLER admin does not have the TV employee feature. |
| 500 | internal_error | <Unspecified> |
api/flexcare/adbcommand/list.txt · Last modified: by Mikkel Frederiksen