Skip to content

Commit 8af30d6

Browse files
feat(api): enrich status with 'unavailable' stats
Closes reanahub/reana-ui#465
1 parent 0050988 commit 8af30d6

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

reana_commons/openapi_specifications/reana_server.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1463,6 +1463,7 @@
14631463
"application/json": {
14641464
"job": {
14651465
"available": 3,
1466+
"unavailable": 1,
14661467
"health": "warning",
14671468
"pending": 3,
14681469
"percentage": 38,
@@ -1480,10 +1481,12 @@
14801481
},
14811482
"session": {
14821483
"active": 3,
1484+
"unavailable": 1,
14831485
"sort": 3
14841486
},
14851487
"workflow": {
14861488
"available": 24,
1489+
"unavailable": 6,
14871490
"health": "healthy",
14881491
"pending": 2,
14891492
"percentage": 80,
@@ -1501,6 +1504,9 @@
15011504
"available": {
15021505
"type": "number"
15031506
},
1507+
"unavailable": {
1508+
"type": "number"
1509+
},
15041510
"health": {
15051511
"type": "string"
15061512
},
@@ -1550,6 +1556,9 @@
15501556
"active": {
15511557
"type": "number"
15521558
},
1559+
"unavailable": {
1560+
"type": "number"
1561+
},
15531562
"sort": {
15541563
"type": "number"
15551564
}
@@ -1561,6 +1570,9 @@
15611570
"available": {
15621571
"type": "number"
15631572
},
1573+
"unavailable": {
1574+
"type": "number"
1575+
},
15641576
"health": {
15651577
"type": "string"
15661578
},

0 commit comments

Comments
 (0)