Skip to main content
GET
/
v1
/
devices
/
sync-status
List device sync status
curl --request GET \
  --url https://managexrapi.com/v1/devices/sync-status \
  --header 'Authorization: Basic <encoded-value>'
import requests

url = "https://managexrapi.com/v1/devices/sync-status"

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/v1/devices/sync-status', 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/v1/devices/sync-status",
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/v1/devices/sync-status"

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/v1/devices/sync-status")
.header("Authorization", "Basic <encoded-value>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://managexrapi.com/v1/devices/sync-status")

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
{
  "data": [
    {
      "deviceId": "340YC10G8D14ML",
      "serial": "340YC10G8D14ML",
      "appSyncStatuses": [
        {
          "packageName": "com.oculus.panelapp.kiosk",
          "installed": true,
          "outOfDate": false,
          "hasError": false,
          "currentVersion": {
            "versionCode": 700402468,
            "versionName": "76.0.0.0.410",
            "versionLabel": "stable"
          },
          "targetVersion": {
            "versionCode": 700402468,
            "versionName": "76.0.0.0.410",
            "versionLabel": "stable"
          }
        }
      ]
    }
  ],
  "nextCursor": "<string>"
}
{
"statusCode": 400,
"message": "include is required",
"error": "ManageXR Error"
}
{
"statusCode": 403,
"message": "Forbidden",
"error": "ManageXR Error"
}

Authorizations

Authorization
string
header
required

API key based authentication where is the Base64 encoding of API_KEY_ID:API_KEY_SECRET

  • Username: The API Key ID.
  • Password: The API Key Secret.

Query Parameters

organizationId
string

Unique identifier of the organization. Defaults to all organizations the API key has access to.

Multi-org API key limitation: If your multi-org api key gives you access to more than 30 organizatinos, you must include a specific organizationId in this request.

include
enum<string>
required

Comma-separated list of content categories to include in the response. Currently only apps is supported. Required.

Available options:
apps
cursor
string

Opaque pagination cursor returned in nextCursor by a prior response. Treat as opaque. Pass the nextCursor from the previous response back as cursor to fetch the next page. End of stream is indicated by nextCursor: null — do not infer end of stream from a short page.

limit
integer
default:400

Maximum number of devices to return per page. Default and maximum are both 400.

Required range: 1 <= x <= 400

Response

A page of device sync statuses

data
object[]
nextCursor
string | null

Opaque cursor for the next page, or null if this is the last page.