Skip to main content
GET
/
devices
/
{deviceId}
/
files
/
download
JavaScript
import Mobilerun from '@mobilerun/sdk';

const client = new Mobilerun({
  apiKey: process.env['MOBILERUN_CLOUD_API_KEY'], // This is the default and can be omitted
});

const response = await client.devices.files.download('deviceId', { path: 'path' });

console.log(response);
"<string>"

Authorizations

Authorization
string
header
required

Bearer token via Authorization header

Headers

X-Device-Display-ID
integer<int64>
default:0
Required range: x >= 0

Path Parameters

deviceId
string
required

Query Parameters

path
string
required

Response

OK

The response is of type string.