AppInstalls
Get a phone's latest install batch
The phone’s install batch, with each item’s live status. 404 when the phone has none.
GET
/
v1
/
workspaces
/
{workspaceId}
/
devices
/
{deviceId}
/
install-batches
/
active
Get a phone's latest install batch
curl --request GET \
--url https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/install-batches/active \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/install-batches/active', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/install-batches/active"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "running",
"items": [
{
"package": "<string>",
"status": "queued",
"install_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error_class": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}Authorizations
ApiKeyBearerAuth
Path Parameters
Was this page helpful?
⌘I
Get a phone's latest install batch
curl --request GET \
--url https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/install-batches/active \
--header 'X-Api-Key: <api-key>'const options = {method: 'GET', headers: {'X-Api-Key': '<api-key>'}};
fetch('https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/install-batches/active', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.lusor.ai/v1/workspaces/{workspaceId}/devices/{deviceId}/install-batches/active"
headers = {"X-Api-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text){
"batch_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"status": "running",
"items": [
{
"package": "<string>",
"status": "queued",
"install_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"error_class": "<string>"
}
]
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}{
"error": "<string>",
"message": "<string>"
}
