Skip to content

Commit 7605694

Browse files
committed
updated openapi
1 parent 53c1854 commit 7605694

File tree

1 file changed

+63
-0
lines changed

1 file changed

+63
-0
lines changed

services/director-v2/openapi.json

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2405,6 +2405,58 @@
24052405
"title": "NATRule",
24062406
"description": "Content of \"simcore.service.containers-allowed-outgoing-permit-list\" label"
24072407
},
2408+
"NodeShareState": {
2409+
"properties": {
2410+
"locked": {
2411+
"type": "boolean",
2412+
"title": "Locked",
2413+
"description": "True if the node is locked, False otherwise"
2414+
},
2415+
"current_user_groupids": {
2416+
"anyOf": [
2417+
{
2418+
"items": {
2419+
"type": "integer",
2420+
"exclusiveMinimum": true,
2421+
"minimum": 0
2422+
},
2423+
"type": "array"
2424+
},
2425+
{
2426+
"type": "null"
2427+
}
2428+
],
2429+
"title": "Current User Groupids",
2430+
"description": "Group(s) that currently have access to the node (or locked it)"
2431+
},
2432+
"status": {
2433+
"anyOf": [
2434+
{
2435+
"$ref": "#/components/schemas/NodeShareStatus"
2436+
},
2437+
{
2438+
"type": "null"
2439+
}
2440+
],
2441+
"description": "Reason why the node is locked, None if not locked"
2442+
}
2443+
},
2444+
"additionalProperties": false,
2445+
"type": "object",
2446+
"required": [
2447+
"locked"
2448+
],
2449+
"title": "NodeShareState"
2450+
},
2451+
"NodeShareStatus": {
2452+
"type": "string",
2453+
"enum": [
2454+
"OPENING",
2455+
"OPENED",
2456+
"CLOSING"
2457+
],
2458+
"title": "NodeShareStatus"
2459+
},
24082460
"NodeState": {
24092461
"properties": {
24102462
"modified": {
@@ -2442,6 +2494,17 @@
24422494
"title": "Progress",
24432495
"description": "current progress of the task if available (None if not started or not a computational task)",
24442496
"default": 0
2497+
},
2498+
"lock_state": {
2499+
"anyOf": [
2500+
{
2501+
"$ref": "#/components/schemas/NodeShareState"
2502+
},
2503+
{
2504+
"type": "null"
2505+
}
2506+
],
2507+
"description": "the node's lock state"
24452508
}
24462509
},
24472510
"additionalProperties": false,

0 commit comments

Comments
 (0)