Skip to content

Commit 140e497

Browse files
committed
updated openapi
1 parent 27e8380 commit 140e497

File tree

1 file changed

+93
-12
lines changed
  • services/web/server/src/simcore_service_webserver/api/v0

1 file changed

+93
-12
lines changed

services/web/server/src/simcore_service_webserver/api/v0/openapi.yaml

Lines changed: 93 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13474,10 +13474,12 @@ components:
1347413474
title: Inputs
1347513475
description: values of input properties
1347613476
inputsRequired:
13477-
items:
13478-
type: string
13479-
pattern: ^[-_a-zA-Z0-9]+$
13480-
type: array
13477+
anyOf:
13478+
- items:
13479+
type: string
13480+
pattern: ^[-_a-zA-Z0-9]+$
13481+
type: array
13482+
- type: 'null'
1348113483
title: Inputsrequired
1348213484
description: Defines inputs that are required in order to run the service
1348313485
inputsUnits:
@@ -13538,7 +13540,7 @@ components:
1353813540
deprecated: true
1353913541
state:
1354013542
anyOf:
13541-
- $ref: '#/components/schemas/NodeState'
13543+
- $ref: '#/components/schemas/NodeState-Input'
1354213544
- type: 'null'
1354313545
description: The node's state object
1354413546
bootOptions:
@@ -13607,10 +13609,12 @@ components:
1360713609
title: Inputs
1360813610
description: values of input properties
1360913611
inputsRequired:
13610-
items:
13611-
type: string
13612-
pattern: ^[-_a-zA-Z0-9]+$
13613-
type: array
13612+
anyOf:
13613+
- items:
13614+
type: string
13615+
pattern: ^[-_a-zA-Z0-9]+$
13616+
type: array
13617+
- type: 'null'
1361413618
title: Inputsrequired
1361513619
description: Defines inputs that are required in order to run the service
1361613620
inputsUnits:
@@ -13671,7 +13675,7 @@ components:
1367113675
deprecated: true
1367213676
state:
1367313677
anyOf:
13674-
- $ref: '#/components/schemas/NodeState'
13678+
- $ref: '#/components/schemas/NodeState-Output'
1367513679
- type: 'null'
1367613680
description: The node's state object
1367713681
bootOptions:
@@ -13982,7 +13986,41 @@ components:
1398213986
- owner
1398313987
- myAccessRights
1398413988
title: NodeServiceGet
13985-
NodeState:
13989+
NodeShareState:
13990+
properties:
13991+
locked:
13992+
type: boolean
13993+
title: Locked
13994+
description: True if the node is locked, False otherwise
13995+
current_user_groupids:
13996+
anyOf:
13997+
- items:
13998+
type: integer
13999+
exclusiveMinimum: true
14000+
minimum: 0
14001+
type: array
14002+
- type: 'null'
14003+
title: Current User Groupids
14004+
description: Group(s) that currently have access to the node (or locked
14005+
it)
14006+
status:
14007+
anyOf:
14008+
- $ref: '#/components/schemas/NodeShareStatus'
14009+
- type: 'null'
14010+
description: Reason why the node is locked, None if not locked
14011+
additionalProperties: false
14012+
type: object
14013+
required:
14014+
- locked
14015+
title: NodeShareState
14016+
NodeShareStatus:
14017+
type: string
14018+
enum:
14019+
- OPENING
14020+
- OPENED
14021+
- CLOSING
14022+
title: NodeShareStatus
14023+
NodeState-Input:
1398614024
properties:
1398714025
modified:
1398814026
type: boolean
@@ -14012,6 +14050,49 @@ components:
1401214050
description: current progress of the task if available (None if not started
1401314051
or not a computational task)
1401414052
default: 0
14053+
lock_state:
14054+
anyOf:
14055+
- $ref: '#/components/schemas/NodeShareState'
14056+
- type: 'null'
14057+
description: the node's lock state
14058+
additionalProperties: false
14059+
type: object
14060+
title: NodeState
14061+
NodeState-Output:
14062+
properties:
14063+
modified:
14064+
type: boolean
14065+
title: Modified
14066+
description: true if the node's outputs need to be re-computed
14067+
default: true
14068+
dependencies:
14069+
items:
14070+
type: string
14071+
format: uuid
14072+
type: array
14073+
uniqueItems: true
14074+
title: Dependencies
14075+
description: contains the node inputs dependencies if they need to be computed
14076+
first
14077+
currentStatus:
14078+
$ref: '#/components/schemas/RunningState'
14079+
description: the node's current state
14080+
default: NOT_STARTED
14081+
progress:
14082+
anyOf:
14083+
- type: number
14084+
maximum: 1.0
14085+
minimum: 0.0
14086+
- type: 'null'
14087+
title: Progress
14088+
description: current progress of the task if available (None if not started
14089+
or not a computational task)
14090+
default: 0
14091+
lock_state:
14092+
anyOf:
14093+
- $ref: '#/components/schemas/NodeShareState'
14094+
- type: 'null'
14095+
description: the node's lock state
1401514096
additionalProperties: false
1401614097
type: object
1401714098
title: NodeState
@@ -14688,7 +14769,7 @@ components:
1468814769
tasks)
1468914770
node_states:
1469014771
additionalProperties:
14691-
$ref: '#/components/schemas/NodeState'
14772+
$ref: '#/components/schemas/NodeState-Output'
1469214773
propertyNames:
1469314774
format: uuid
1469414775
type: object

0 commit comments

Comments
 (0)