This will return a single ADB (Android Debug Bridge) command, identified by its id.
The command holds a display name and the raw ADB command string.
| URL | https://api.telecomx.dk/flexcare/adb/command/:id | |
|---|---|---|
| Method | GET | |
| Access level | RESELLER admin (with the TV employee feature) ADMIN |
|
| Params | id | [required] ObjectId of the ADB command to return. |
https://api.telecomx.dk/flexcare/adb/command/1234567890ABCD1234567890
The response is the ADB command object.
| 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) |
{ _id: "1234567890ABCD1234567890", name: "Reboot device", command: "adb reboot", createdAt: "2026-05-01T10:00:00.000Z", updatedAt: null }
| Error code | Message | Description |
|---|---|---|
| 422 | id | id must be a valid ObjectId. |
| 403 | access_denied | Insufficient access level — minimum RESELLER admin required, or the RESELLER admin does not have the TV employee feature. |
| 404 | id | ADB command not found. |
| 500 | internal_error | <Unspecified> |