File tree 2 files changed +24
-7
lines changed
2 files changed +24
-7
lines changed Original file line number Diff line number Diff line change 72
72
content :
73
73
application/json :
74
74
schema :
75
- $ref : ' ../../shared/schemas/services.yaml#/components/schemas/ServicesEnveloped'
75
+ $ref : ' ../../shared/schemas/services.yaml#/components/schemas/ServicesEnveloped'
76
76
" 401 " :
77
77
description : Unauthorized access
78
78
content :
@@ -102,7 +102,7 @@ paths:
102
102
content :
103
103
application/json :
104
104
schema :
105
- $ref : ' ../../shared/schemas/services.yaml#/components/schemas/ServicesEnveloped'
105
+ $ref : ' ../../shared/schemas/services.yaml#/components/schemas/ServicesEnveloped'
106
106
" 401 " :
107
107
description : Unauthorized access
108
108
content :
@@ -129,7 +129,7 @@ paths:
129
129
summary : Starts an interactive service in the oSparc platform and returns its entrypoint
130
130
description : Starts an interactive service in the oSparc platform and returns its entrypoint
131
131
operationId : running_interactive_services_post
132
- parameters :
132
+ parameters :
133
133
- $ref : ' #/components/parameters/UserId'
134
134
- $ref : ' #/components/parameters/ServiceKey'
135
135
- $ref : ' #/components/parameters/ServiceVersion'
@@ -182,12 +182,12 @@ paths:
182
182
parameters :
183
183
- $ref : ' #/components/parameters/ServiceUuid'
184
184
responses :
185
- " 204 " :
186
- description : OK service exists and runs
185
+ " 200 " :
186
+ description : " Services exists and runs. Returns enpoint of running service "
187
187
content :
188
188
application/json :
189
189
schema :
190
- $ref : ' ../../shared/schemas/response204 .yaml#/components/schemas/Response204Enveloped '
190
+ $ref : ' ../../shared/schemas/running_service .yaml#/components/schemas/RunningServiceEnveloped '
191
191
" 400 " :
192
192
description : Malformed function call, missing field
193
193
content :
Original file line number Diff line number Diff line change @@ -10,12 +10,14 @@ components:
10
10
error :
11
11
nullable : true
12
12
default : null
13
-
13
+
14
14
RunningServiceType :
15
15
type : object
16
16
required :
17
17
- published_port
18
18
- service_uuid
19
+ - service_key
20
+ - service_version
19
21
properties :
20
22
published_port :
21
23
description : The ports where the service provides its interface
@@ -32,3 +34,18 @@ components:
32
34
type : string
33
35
format : UUID
34
36
example : 123e4567-e89b-12d3-a456-426655440000
37
+ service_key :
38
+ type : string
39
+ description : distinctive name for the node based on the docker registry path
40
+ pattern : ' ^(simcore)/(services)/(comp|dynamic)(/[^\s/]+)+$'
41
+ example :
42
+ - simcore/services/comp/itis/sleeper
43
+ - simcore/services/dynamic/3dviewer
44
+ service_version :
45
+ type : string
46
+ description : semantic version number
47
+ pattern : >-
48
+ ^(0|[1-9]\d*)(\.(0|[1-9]\d*)){2}(-(0|[1-9]\d*|\d*[-a-zA-Z][-\da-zA-Z]*)(\.(0|[1-9]\d*|\d*[-a-zA-Z][-\da-zA-Z]*))*)?(\+[-\da-zA-Z]+(\.[-\da-zA-Z-]+)*)?$
49
+ example :
50
+ - 1.0.0
51
+ - 0.0.1
You can’t perform that action at this time.
0 commit comments