Documentation Index
Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
Use this file to discover all available pages before exploring further.
List all assets with optional filtering.
Parameters
| Parameter | Description |
|---|
| Condition | A JSON object representing the condition to filter the results. for more information please refer to SuperOps documentation.
For example:
{ “attribute”: “technician.email”, “operator”: “includes”, “value”: [“user1@acme.com”, “user2@acme.com”] }
|
| Page | The page number to retrieve. |
| Page Size | The maximum number of records to return per page. |
| Return All Pages | Automatically fetch all resources, page by page. |
| Sort | A JSON list representing the sorting criteria to apply to the results.
For example:
[ { “attribute”: “name”, “order”: “ASC”, “emptyAtLast”: true } ]
|
Example Output
{
"data": {
"getAssetList": {
"assets": [
{
"assetId": "3927276562803924992",
"name": "Oscar's MacBook",
"assetClass": {
"classId": "3",
"name": "Mac Machine"
},
"site": {
"id": "6028532731314192384",
"name": "Michigan"
},
"department": null,
"requester": {
"name": "Oscar Martinez",
"email": "oscar.martinez@dundermifflin.com"
},
"primaryMac": "68:b3:d9:92:ac:67",
"loggedInUser": null,
"serialNumber": "C12BW21VMD7M",
"manufacturer": "Apple Inc.",
"model": "MacBookPro16",
"hostName": "MacBook-Pro.local",
"publicIp": "192.88.100.0",
"gateway": "10.2.211.2",
"platform": "darwin",
"domain": "WORKGROUP",
"status": "ONLINE",
"sysUptime": "2 days 18 hours 19 minutes",
"lastCommunicatedTime": "2021-12-22T15:44:44.797",
"agentVersion": "212231",
"platformFamily": "Standalone Workstation",
"platformCategory": "WORKSTATION",
"platformVersion": "Mac OS X 10.3",
"patchStatus": null,
"warrantyExpiryDate": null,
"purchasedDate": null,
"customFields": {},
"lastReportedTime": "2021-12-22T12:14:14.197"
}
],
"listInfo": {
"page": 1,
"pageSize": 1,
"sort": null,
"condition": null,
"hasMore": true,
"totalCount": 3
}
}
}
}
Workflow Library Example
List Assets with Superops and Send Results Via Email