Get device
curl --request GET \
--url https://managexrapi.com/organizations/{orgId}/devices/{deviceId} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://managexrapi.com/organizations/{orgId}/devices/{deviceId}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://managexrapi.com/organizations/{orgId}/devices/{deviceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://managexrapi.com/organizations/{orgId}/devices/{deviceId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://managexrapi.com/organizations/{orgId}/devices/{deviceId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://managexrapi.com/organizations/{orgId}/devices/{deviceId}")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://managexrapi.com/organizations/{orgId}/devices/{deviceId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"serial": "2G0YC1ZF630NZA",
"name": "Device_0024",
"mac": "CE:AF:07:47:E0:AE",
"model": "Quest 3",
"manufacturer": "Oculus",
"notes": "With Taylor L",
"batteryLevel": 34,
"batteryIsCharging": true,
"online": true,
"osVersion": 12,
"outOfDate": false,
"pauseUpdates": false,
"registerDate": "Tue, 27 Feb 2024 07:28:03 GMT",
"updating": false,
"factoryResetStatus": null,
"firmwareVersion": "65.0.0.546.341",
"configuration": {
"name": "Test Configuration",
"id": "OZ04csIYkA0EArkeu1vX"
},
"tags": [
{
"id": "sFidGmedeQofSBcvRcyn",
"name": "History"
}
],
"tutorialModeEnabled": false,
"kioskModeOverride": false,
"lastSync": "Tue, 18 Jun 2024 21:46:34 GMT",
"ram": {
"available": 3704000512,
"total": 8108634112
},
"location": {
"city": "San Francisco",
"region": "California",
"country": "United States",
"continent": "North America",
"timeZone": "America/Los_Angeles",
"latitude": 37,
"longitude": -122
},
"connectedWifiNetwork": {
"ssid": "TheElectricCity"
},
"storage": {
"available": 107079929856
}
}Devices
Get Device
Retrieve a device by id (serial number)
GET
/
organizations
/
{orgId}
/
devices
/
{deviceId}
Get device
curl --request GET \
--url https://managexrapi.com/organizations/{orgId}/devices/{deviceId} \
--header 'Authorization: Basic <encoded-value>'import requests
url = "https://managexrapi.com/organizations/{orgId}/devices/{deviceId}"
headers = {"Authorization": "Basic <encoded-value>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Basic <encoded-value>'}};
fetch('https://managexrapi.com/organizations/{orgId}/devices/{deviceId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://managexrapi.com/organizations/{orgId}/devices/{deviceId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Basic <encoded-value>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://managexrapi.com/organizations/{orgId}/devices/{deviceId}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Basic <encoded-value>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://managexrapi.com/organizations/{orgId}/devices/{deviceId}")
.header("Authorization", "Basic <encoded-value>")
.asString();require 'uri'
require 'net/http'
url = URI("https://managexrapi.com/organizations/{orgId}/devices/{deviceId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Basic <encoded-value>'
response = http.request(request)
puts response.read_body{
"serial": "2G0YC1ZF630NZA",
"name": "Device_0024",
"mac": "CE:AF:07:47:E0:AE",
"model": "Quest 3",
"manufacturer": "Oculus",
"notes": "With Taylor L",
"batteryLevel": 34,
"batteryIsCharging": true,
"online": true,
"osVersion": 12,
"outOfDate": false,
"pauseUpdates": false,
"registerDate": "Tue, 27 Feb 2024 07:28:03 GMT",
"updating": false,
"factoryResetStatus": null,
"firmwareVersion": "65.0.0.546.341",
"configuration": {
"name": "Test Configuration",
"id": "OZ04csIYkA0EArkeu1vX"
},
"tags": [
{
"id": "sFidGmedeQofSBcvRcyn",
"name": "History"
}
],
"tutorialModeEnabled": false,
"kioskModeOverride": false,
"lastSync": "Tue, 18 Jun 2024 21:46:34 GMT",
"ram": {
"available": 3704000512,
"total": 8108634112
},
"location": {
"city": "San Francisco",
"region": "California",
"country": "United States",
"continent": "North America",
"timeZone": "America/Los_Angeles",
"latitude": 37,
"longitude": -122
},
"connectedWifiNetwork": {
"ssid": "TheElectricCity"
},
"storage": {
"available": 107079929856
}
}Authorizations
Path Parameters
Response
200 - application/json
A device object
True if configuration updates are paused for device. Pausing configuration updates stops a device from syncing with its latest Configuration. User-initiated changes to Configurations and ManageXR-initiated updates to the ManageXR Admin App and Home Screen will not propagate to devices with updates paused.
Example:
false
True if device has Kiosk Mode/ManageXR Home Screen disabled. When true, the device is not locked into the ManageXR Home Screen or Kiosk App and users have full access to the native system menus. Learn more
Example:
false