I am trying to use the API on B&R, and using swagger I have been able to get the authorisation setup and able to run some queries.
What I am trying to obtain is the total size of the disk space for a backup. Running the call for https://localhost:9419/api/v1/backupObjects I get a list of the backups through:
Code: Select all
"data": [
{
"platformName": "LinuxPhysical",
"id": "088f5ca5-ba92-4a3d-a5c4-d67fda95e404",
"name": "server",
"type": "Directory",
"platformId": "00000000-0000-0000-0000-000000000000"
Code: Select all
{
"errorCode": "NotFound",
"message": "Not found",
"resourceId": null
}