Products: Managed Backup (Agent)
Article ID: m0705Last Modified: 20-Mar-2025
GET API/Computers/{hid}/Disks
Retrieves information about disks of computer by computer HID. HID can be retrieved by the GET API/Computers/{offset}/{count} method.
Example
/mbsapi/api/Computers/01d469cb-326e-444f-a9b0-XXXXXXXXXXX/Disks?profile=123&isOffline=false
Request Information
URI Parameters
Name | Description | Type | Additional Information |
---|---|---|---|
hid | HID of computer | string | Required |
profile | User profile ID | string | Required |
isOffline | Depending on computer status: if true, the data will be retrieved from settings service, if false, data will be retrieved from the computer | boolean | Required |
Response Information
Response Formats
application/json
{
"LastUpdate": "2025-03-19T14:27:37.9706236Z",
"DiskUsages": [
{
"Model": "CT1000MX500SSD4",
"Label": "",
"MountPointsInfo": "C:\\",
"Length": 235929600000,
"UsedSpace": 219087155200
},
{
"Model": "CT1000MX500SSD4",
"Label": "",
"MountPointsInfo": "D:\\",
"Length": 763629666304,
"UsedSpace": 584641486848
},
{
"Model": "WDC WD1002FAEX-00Y9A0",
"Label": "prog",
"MountPointsInfo": "E:\\",
"Length": 1000202043392,
"UsedSpace": 813967556608
},
{
"Model": "WDC WD1002FAEX-00Y9A0",
"Label": "data",
"MountPointsInfo": "F:\\",
"Length": 1000204885504,
"UsedSpace": 893852643328
},
{
"Model": "KINGSTON SKC300S37A120G",
"Label": "work",
"MountPointsInfo": "H:\\",
"Length": 119537664000,
"UsedSpace": 105026650112
}
],
"Message": "Success",
"StatusCode": 200
}