Table of Contents

API : FlexCare : ADB command : Get

Introduction

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.

Request

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.

Query examples

https://api.telecomx.dk/flexcare/adb/command/1234567890ABCD1234567890

Response

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)

Example

{
   _id: "1234567890ABCD1234567890",
   name: "Reboot device",
   command: "adb reboot",
   createdAt: "2026-05-01T10:00:00.000Z",
   updatedAt: null
}

Errors

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>