Skip to content

Commit 0505d3e

Browse files
feat(api): enrich status with 'unavailable' stats (#512)
Closes reanahub/reana-ui#465
1 parent e435058 commit 0505d3e

1 file changed

Lines changed: 15 additions & 3 deletions

File tree

reana_commons/openapi_specifications/reana_server.json

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1468,7 +1468,8 @@
14681468
"percentage": 38,
14691469
"running": 2,
14701470
"sort": 1,
1471-
"total": 8
1471+
"total": 8,
1472+
"unavailable": 1
14721473
},
14731474
"node": {
14741475
"available": 8,
@@ -1480,7 +1481,8 @@
14801481
},
14811482
"session": {
14821483
"active": 3,
1483-
"sort": 3
1484+
"sort": 3,
1485+
"unavailable": 1
14841486
},
14851487
"workflow": {
14861488
"available": 24,
@@ -1490,7 +1492,8 @@
14901492
"queued": 2,
14911493
"running": 4,
14921494
"sort": 2,
1493-
"total": 30
1495+
"total": 30,
1496+
"unavailable": 6
14941497
}
14951498
}
14961499
},
@@ -1518,6 +1521,9 @@
15181521
},
15191522
"total": {
15201523
"type": "number"
1524+
},
1525+
"unavailable": {
1526+
"type": "number"
15211527
}
15221528
},
15231529
"type": "object"
@@ -1552,6 +1558,9 @@
15521558
},
15531559
"sort": {
15541560
"type": "number"
1561+
},
1562+
"unavailable": {
1563+
"type": "number"
15551564
}
15561565
},
15571566
"type": "object"
@@ -1581,6 +1590,9 @@
15811590
},
15821591
"total": {
15831592
"type": "number"
1593+
},
1594+
"unavailable": {
1595+
"type": "number"
15841596
}
15851597
},
15861598
"type": "object"

0 commit comments

Comments
 (0)