Skip to content

Commit 60346ff

Browse files
author
Andrei Neagu
committed
updated specs
1 parent 0119221 commit 60346ff

File tree

1 file changed

+79
-0
lines changed

1 file changed

+79
-0
lines changed

services/catalog/openapi.json

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,59 @@
136136
}
137137
}
138138
},
139+
"/v0/services/{service_key}/{service_version}/labels": {
140+
"get": {
141+
"tags": [
142+
"services"
143+
],
144+
"summary": "Get Service Labels",
145+
"operationId": "get_service_labels_v0_services__service_key___service_version__labels_get",
146+
"parameters": [
147+
{
148+
"name": "service_key",
149+
"in": "path",
150+
"required": true,
151+
"schema": {
152+
"type": "string",
153+
"pattern": "^simcore/services/((comp|dynamic|frontend))/([a-z0-9][a-z0-9_.-]*/)*([a-z0-9-_]+[a-z0-9])$",
154+
"title": "Service Key"
155+
}
156+
},
157+
{
158+
"name": "service_version",
159+
"in": "path",
160+
"required": true,
161+
"schema": {
162+
"type": "string",
163+
"pattern": "^(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-]+)*)?$",
164+
"title": "Service Version"
165+
}
166+
}
167+
],
168+
"responses": {
169+
"200": {
170+
"description": "Successful Response",
171+
"content": {
172+
"application/json": {
173+
"schema": {
174+
"$ref": "#/components/schemas/Envelope_dict_str__Any__"
175+
}
176+
}
177+
}
178+
},
179+
"422": {
180+
"description": "Validation Error",
181+
"content": {
182+
"application/json": {
183+
"schema": {
184+
"$ref": "#/components/schemas/HTTPValidationError"
185+
}
186+
}
187+
}
188+
}
189+
}
190+
}
191+
},
139192
"/v0/services/{service_key}/{service_version}/specifications": {
140193
"get": {
141194
"tags": [
@@ -1470,6 +1523,32 @@
14701523
"title": "EndpointSpec",
14711524
"description": "Properties that can be configured to access and load balance a service."
14721525
},
1526+
"Envelope_dict_str__Any__": {
1527+
"properties": {
1528+
"data": {
1529+
"anyOf": [
1530+
{
1531+
"type": "object"
1532+
},
1533+
{
1534+
"type": "null"
1535+
}
1536+
],
1537+
"title": "Data"
1538+
},
1539+
"error": {
1540+
"anyOf": [
1541+
{},
1542+
{
1543+
"type": "null"
1544+
}
1545+
],
1546+
"title": "Error"
1547+
}
1548+
},
1549+
"type": "object",
1550+
"title": "Envelope[dict[str, Any]]"
1551+
},
14731552
"FailureAction": {
14741553
"type": "string",
14751554
"enum": [

0 commit comments

Comments
 (0)