graphscope-flex 0.27.0__py2.py3-none-any.whl → 0.28.0a20240919__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. graphscope/flex/rest/__init__.py +59 -44
  2. graphscope/flex/rest/api/__init__.py +2 -4
  3. graphscope/flex/rest/api/alert_api.py +721 -394
  4. graphscope/flex/rest/api/{legacy_api.py → data_source_api.py} +260 -189
  5. graphscope/flex/rest/api/deployment_api.py +388 -138
  6. graphscope/flex/rest/api/graph_api.py +858 -260
  7. graphscope/flex/rest/api/job_api.py +286 -203
  8. graphscope/flex/rest/api/service_api.py +320 -39
  9. graphscope/flex/rest/api/{procedure_api.py → stored_procedure_api.py} +296 -237
  10. graphscope/flex/rest/api/utils_api.py +18 -13
  11. graphscope/flex/rest/api_client.py +60 -30
  12. graphscope/flex/rest/configuration.py +19 -5
  13. graphscope/flex/rest/exceptions.py +2 -2
  14. graphscope/flex/rest/models/__init__.py +57 -40
  15. graphscope/flex/rest/models/{vertex_type.py → base_edge_type.py} +25 -25
  16. graphscope/flex/rest/models/{edge_type_vertex_type_pair_relations_inner.py → base_edge_type_vertex_type_pair_relations_inner.py} +17 -17
  17. graphscope/flex/rest/models/{edge_type_vertex_type_pair_relations_inner_x_csr_params.py → base_edge_type_vertex_type_pair_relations_inner_x_csr_params.py} +11 -11
  18. graphscope/flex/rest/models/{model_property.py → base_property_meta.py} +28 -19
  19. graphscope/flex/rest/models/base_vertex_type.py +96 -0
  20. graphscope/flex/rest/models/{groot_edge_type_relations_inner.py → base_vertex_type_x_csr_params.py} +15 -17
  21. graphscope/flex/rest/models/column_mapping.py +13 -13
  22. graphscope/flex/rest/models/{edge_mapping_source_vertex_mappings_inner_column.py → column_mapping_column.py} +12 -12
  23. graphscope/flex/rest/models/{schema_mapping_loading_config_data_source.py → create_alert_receiver_request.py} +29 -24
  24. graphscope/flex/rest/models/{alert_rule.py → create_alert_rule_request.py} +19 -25
  25. graphscope/flex/rest/models/create_dataloading_job_response.py +88 -0
  26. graphscope/flex/rest/models/create_edge_type.py +114 -0
  27. graphscope/flex/rest/models/{data_source.py → create_graph_request.py} +32 -32
  28. graphscope/flex/rest/models/create_graph_response.py +88 -0
  29. graphscope/flex/rest/models/{model_schema.py → create_graph_schema_request.py} +25 -25
  30. graphscope/flex/rest/models/{groot_vertex_type.py → create_property_meta.py} +32 -25
  31. graphscope/flex/rest/models/{graph_stored_procedures.py → create_stored_proc_request.py} +26 -23
  32. graphscope/flex/rest/models/create_stored_proc_response.py +88 -0
  33. graphscope/flex/rest/models/create_vertex_type.py +108 -0
  34. graphscope/flex/rest/models/{groot_dataloading_job_config.py → dataloading_job_config.py} +45 -21
  35. graphscope/flex/rest/models/{groot_dataloading_job_config_edges_inner.py → dataloading_job_config_edges_inner.py} +12 -12
  36. graphscope/flex/rest/models/{schema_mapping_loading_config.py → dataloading_job_config_loading_config.py} +16 -22
  37. graphscope/flex/rest/models/{schema_mapping_loading_config_format.py → dataloading_job_config_loading_config_format.py} +12 -12
  38. graphscope/flex/rest/models/dataloading_job_config_vertices_inner.py +88 -0
  39. graphscope/flex/rest/models/dataloading_mr_job_config.py +88 -0
  40. graphscope/flex/rest/models/date_type.py +88 -0
  41. graphscope/flex/rest/models/edge_mapping.py +23 -25
  42. graphscope/flex/rest/models/edge_mapping_type_triplet.py +12 -12
  43. graphscope/flex/rest/models/error.py +90 -0
  44. graphscope/flex/rest/models/{alert_message.py → get_alert_message_response.py} +23 -32
  45. graphscope/flex/rest/models/{alert_receiver.py → get_alert_receiver_response.py} +22 -25
  46. graphscope/flex/rest/models/{connection_status.py → get_alert_rule_response.py} +37 -33
  47. graphscope/flex/rest/models/{edge_type.py → get_edge_type.py} +33 -27
  48. graphscope/flex/rest/models/{graph.py → get_graph_response.py} +36 -22
  49. graphscope/flex/rest/models/{groot_schema.py → get_graph_schema_response.py} +32 -32
  50. graphscope/flex/rest/models/get_pod_log_response.py +88 -0
  51. graphscope/flex/rest/models/{edge_mapping_destination_vertex_mappings_inner.py → get_property_meta.py} +34 -19
  52. graphscope/flex/rest/models/get_resource_usage_response.py +105 -0
  53. graphscope/flex/rest/models/get_storage_usage_response.py +88 -0
  54. graphscope/flex/rest/models/{procedure.py → get_stored_proc_response.py} +35 -36
  55. graphscope/flex/rest/models/{groot_edge_type.py → get_vertex_type.py} +33 -31
  56. graphscope/flex/rest/models/gs_data_type.py +152 -0
  57. graphscope/flex/rest/models/job_status.py +14 -17
  58. graphscope/flex/rest/models/{connection.py → long_text.py} +20 -15
  59. graphscope/flex/rest/models/node_status.py +15 -15
  60. graphscope/flex/rest/models/{procedure_params_inner.py → parameter.py} +20 -16
  61. graphscope/flex/rest/models/{deployment_info_graphs_info_value.py → pod_status.py} +34 -20
  62. graphscope/flex/rest/models/{property_property_type.py → primitive_type.py} +16 -19
  63. graphscope/flex/rest/models/resource_usage.py +92 -0
  64. graphscope/flex/rest/models/{deployment_info.py → running_deployment_info.py} +42 -45
  65. graphscope/flex/rest/models/running_deployment_status.py +124 -0
  66. graphscope/flex/rest/models/schema_mapping.py +18 -26
  67. graphscope/flex/rest/models/service_status.py +22 -13
  68. graphscope/flex/rest/models/service_status_sdk_endpoints.py +8 -8
  69. graphscope/flex/rest/models/start_service_request.py +11 -11
  70. graphscope/flex/rest/models/{groot_graph.py → stored_procedure_meta.py} +44 -36
  71. graphscope/flex/rest/models/string_type.py +92 -0
  72. graphscope/flex/rest/models/string_type_string.py +124 -0
  73. graphscope/flex/rest/models/temporal_type.py +92 -0
  74. graphscope/flex/rest/models/temporal_type_temporal.py +138 -0
  75. graphscope/flex/rest/models/time_stamp_type.py +88 -0
  76. graphscope/flex/rest/models/update_alert_message_status_request.py +97 -0
  77. graphscope/flex/rest/models/update_stored_proc_request.py +88 -0
  78. graphscope/flex/rest/models/upload_file_response.py +90 -0
  79. graphscope/flex/rest/models/vertex_mapping.py +13 -13
  80. graphscope/flex/rest/rest.py +4 -2
  81. graphscope_flex-0.28.0a20240919.dist-info/METADATA +19 -0
  82. graphscope_flex-0.28.0a20240919.dist-info/RECORD +86 -0
  83. {graphscope_flex-0.27.0.dist-info → graphscope_flex-0.28.0a20240919.dist-info}/WHEEL +1 -1
  84. graphscope/flex/rest/api/connection_api.py +0 -550
  85. graphscope/flex/rest/api/datasource_api.py +0 -2308
  86. graphscope/flex/rest/models/deployment_status.py +0 -108
  87. graphscope/flex/rest/models/edge_data_source.py +0 -112
  88. graphscope/flex/rest/models/edge_mapping_source_vertex_mappings_inner.py +0 -92
  89. graphscope/flex/rest/models/groot_graph_gremlin_interface.py +0 -94
  90. graphscope/flex/rest/models/groot_property.py +0 -104
  91. graphscope/flex/rest/models/update_alert_messages_request.py +0 -110
  92. graphscope/flex/rest/models/vertex_data_source.py +0 -104
  93. graphscope_flex-0.27.0.dist-info/METADATA +0 -17
  94. graphscope_flex-0.27.0.dist-info/RECORD +0 -71
  95. {graphscope_flex-0.27.0.dist-info → graphscope_flex-0.28.0a20240919.dist-info}/top_level.txt +0 -0
@@ -3,9 +3,9 @@
3
3
  """
4
4
  GraphScope FLEX HTTP SERVICE API
5
5
 
6
- This is a specification for GraphScope FLEX HTTP service based on the OpenAPI 3.0 specification. You can find out more details about specification at [doc](https://swagger.io/specification/v3/). Some useful links: - [GraphScope Repository](https://github.com/alibaba/GraphScope) - [The Source API definition for GraphScope Interactive](https://github.com/GraphScope/portal/tree/main/httpservice)
6
+ This is a specification for GraphScope FLEX HTTP service based on the OpenAPI 3.0 specification. You can find out more details about specification at [doc](https://swagger.io/specification/v3/).
7
7
 
8
- The version of the OpenAPI document: 0.9.1
8
+ The version of the OpenAPI document: 1.0.0
9
9
  Contact: graphscope@alibaba-inc.com
10
10
  Generated by OpenAPI Generator (https://openapi-generator.tech)
11
11
 
@@ -17,7 +17,8 @@ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
17
  from typing import Any, Dict, List, Optional, Tuple, Union
18
18
  from typing_extensions import Annotated
19
19
 
20
- from typing import Optional
20
+ from pydantic import StrictStr
21
+ from typing import List, Optional
21
22
  from graphscope.flex.rest.models.service_status import ServiceStatus
22
23
  from graphscope.flex.rest.models.start_service_request import StartServiceRequest
23
24
 
@@ -40,8 +41,9 @@ class ServiceApi:
40
41
 
41
42
 
42
43
  @validate_call
43
- def get_service_status(
44
+ def get_service_status_by_id(
44
45
  self,
46
+ graph_id: StrictStr,
45
47
  _request_timeout: Union[
46
48
  None,
47
49
  Annotated[StrictFloat, Field(gt=0)],
@@ -55,10 +57,12 @@ class ServiceApi:
55
57
  _headers: Optional[Dict[StrictStr, Any]] = None,
56
58
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
57
59
  ) -> ServiceStatus:
58
- """get_service_status
60
+ """get_service_status_by_id
59
61
 
60
- Get service status
62
+ Get service status by graph ID
61
63
 
64
+ :param graph_id: (required)
65
+ :type graph_id: str
62
66
  :param _request_timeout: timeout setting for this request. If one
63
67
  number provided, it will be total request
64
68
  timeout. It can also be a pair (tuple) of
@@ -81,7 +85,8 @@ class ServiceApi:
81
85
  :return: Returns the result object.
82
86
  """ # noqa: E501
83
87
 
84
- _param = self._get_service_status_serialize(
88
+ _param = self._get_service_status_by_id_serialize(
89
+ graph_id=graph_id,
85
90
  _request_auth=_request_auth,
86
91
  _content_type=_content_type,
87
92
  _headers=_headers,
@@ -90,6 +95,7 @@ class ServiceApi:
90
95
 
91
96
  _response_types_map: Dict[str, Optional[str]] = {
92
97
  '200': "ServiceStatus",
98
+ '500': "Error",
93
99
  }
94
100
  response_data = self.api_client.call_api(
95
101
  *_param,
@@ -103,8 +109,9 @@ class ServiceApi:
103
109
 
104
110
 
105
111
  @validate_call
106
- def get_service_status_with_http_info(
112
+ def get_service_status_by_id_with_http_info(
107
113
  self,
114
+ graph_id: StrictStr,
108
115
  _request_timeout: Union[
109
116
  None,
110
117
  Annotated[StrictFloat, Field(gt=0)],
@@ -118,10 +125,12 @@ class ServiceApi:
118
125
  _headers: Optional[Dict[StrictStr, Any]] = None,
119
126
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
120
127
  ) -> ApiResponse[ServiceStatus]:
121
- """get_service_status
128
+ """get_service_status_by_id
122
129
 
123
- Get service status
130
+ Get service status by graph ID
124
131
 
132
+ :param graph_id: (required)
133
+ :type graph_id: str
125
134
  :param _request_timeout: timeout setting for this request. If one
126
135
  number provided, it will be total request
127
136
  timeout. It can also be a pair (tuple) of
@@ -144,7 +153,8 @@ class ServiceApi:
144
153
  :return: Returns the result object.
145
154
  """ # noqa: E501
146
155
 
147
- _param = self._get_service_status_serialize(
156
+ _param = self._get_service_status_by_id_serialize(
157
+ graph_id=graph_id,
148
158
  _request_auth=_request_auth,
149
159
  _content_type=_content_type,
150
160
  _headers=_headers,
@@ -153,6 +163,7 @@ class ServiceApi:
153
163
 
154
164
  _response_types_map: Dict[str, Optional[str]] = {
155
165
  '200': "ServiceStatus",
166
+ '500': "Error",
156
167
  }
157
168
  response_data = self.api_client.call_api(
158
169
  *_param,
@@ -166,8 +177,9 @@ class ServiceApi:
166
177
 
167
178
 
168
179
  @validate_call
169
- def get_service_status_without_preload_content(
180
+ def get_service_status_by_id_without_preload_content(
170
181
  self,
182
+ graph_id: StrictStr,
171
183
  _request_timeout: Union[
172
184
  None,
173
185
  Annotated[StrictFloat, Field(gt=0)],
@@ -181,10 +193,12 @@ class ServiceApi:
181
193
  _headers: Optional[Dict[StrictStr, Any]] = None,
182
194
  _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
183
195
  ) -> RESTResponseType:
184
- """get_service_status
196
+ """get_service_status_by_id
185
197
 
186
- Get service status
198
+ Get service status by graph ID
187
199
 
200
+ :param graph_id: (required)
201
+ :type graph_id: str
188
202
  :param _request_timeout: timeout setting for this request. If one
189
203
  number provided, it will be total request
190
204
  timeout. It can also be a pair (tuple) of
@@ -207,7 +221,8 @@ class ServiceApi:
207
221
  :return: Returns the result object.
208
222
  """ # noqa: E501
209
223
 
210
- _param = self._get_service_status_serialize(
224
+ _param = self._get_service_status_by_id_serialize(
225
+ graph_id=graph_id,
211
226
  _request_auth=_request_auth,
212
227
  _content_type=_content_type,
213
228
  _headers=_headers,
@@ -216,6 +231,7 @@ class ServiceApi:
216
231
 
217
232
  _response_types_map: Dict[str, Optional[str]] = {
218
233
  '200': "ServiceStatus",
234
+ '500': "Error",
219
235
  }
220
236
  response_data = self.api_client.call_api(
221
237
  *_param,
@@ -224,8 +240,9 @@ class ServiceApi:
224
240
  return response_data.response
225
241
 
226
242
 
227
- def _get_service_status_serialize(
243
+ def _get_service_status_by_id_serialize(
228
244
  self,
245
+ graph_id,
229
246
  _request_auth,
230
247
  _content_type,
231
248
  _headers,
@@ -241,10 +258,12 @@ class ServiceApi:
241
258
  _query_params: List[Tuple[str, str]] = []
242
259
  _header_params: Dict[str, Optional[str]] = _headers or {}
243
260
  _form_params: List[Tuple[str, str]] = []
244
- _files: Dict[str, str] = {}
261
+ _files: Dict[str, Union[str, bytes]] = {}
245
262
  _body_params: Optional[bytes] = None
246
263
 
247
264
  # process the path parameters
265
+ if graph_id is not None:
266
+ _path_params['graph_id'] = graph_id
248
267
  # process the query parameters
249
268
  # process the header parameters
250
269
  # process the form parameters
@@ -252,11 +271,258 @@ class ServiceApi:
252
271
 
253
272
 
254
273
  # set the HTTP header `Accept`
255
- _header_params['Accept'] = self.api_client.select_header_accept(
256
- [
257
- 'application/json'
274
+ if 'Accept' not in _header_params:
275
+ _header_params['Accept'] = self.api_client.select_header_accept(
276
+ [
277
+ 'application/json'
278
+ ]
279
+ )
280
+
281
+
282
+ # authentication setting
283
+ _auth_settings: List[str] = [
284
+ ]
285
+
286
+ return self.api_client.param_serialize(
287
+ method='GET',
288
+ resource_path='/api/v1/graph/{graph_id}/service',
289
+ path_params=_path_params,
290
+ query_params=_query_params,
291
+ header_params=_header_params,
292
+ body=_body_params,
293
+ post_params=_form_params,
294
+ files=_files,
295
+ auth_settings=_auth_settings,
296
+ collection_formats=_collection_formats,
297
+ _host=_host,
298
+ _request_auth=_request_auth
299
+ )
300
+
301
+
302
+
303
+
304
+ @validate_call
305
+ def list_service_status(
306
+ self,
307
+ _request_timeout: Union[
308
+ None,
309
+ Annotated[StrictFloat, Field(gt=0)],
310
+ Tuple[
311
+ Annotated[StrictFloat, Field(gt=0)],
312
+ Annotated[StrictFloat, Field(gt=0)]
313
+ ]
314
+ ] = None,
315
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
316
+ _content_type: Optional[StrictStr] = None,
317
+ _headers: Optional[Dict[StrictStr, Any]] = None,
318
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
319
+ ) -> List[ServiceStatus]:
320
+ """list_service_status
321
+
322
+ List all service status
323
+
324
+ :param _request_timeout: timeout setting for this request. If one
325
+ number provided, it will be total request
326
+ timeout. It can also be a pair (tuple) of
327
+ (connection, read) timeouts.
328
+ :type _request_timeout: int, tuple(int, int), optional
329
+ :param _request_auth: set to override the auth_settings for an a single
330
+ request; this effectively ignores the
331
+ authentication in the spec for a single request.
332
+ :type _request_auth: dict, optional
333
+ :param _content_type: force content-type for the request.
334
+ :type _content_type: str, Optional
335
+ :param _headers: set to override the headers for a single
336
+ request; this effectively ignores the headers
337
+ in the spec for a single request.
338
+ :type _headers: dict, optional
339
+ :param _host_index: set to override the host_index for a single
340
+ request; this effectively ignores the host_index
341
+ in the spec for a single request.
342
+ :type _host_index: int, optional
343
+ :return: Returns the result object.
344
+ """ # noqa: E501
345
+
346
+ _param = self._list_service_status_serialize(
347
+ _request_auth=_request_auth,
348
+ _content_type=_content_type,
349
+ _headers=_headers,
350
+ _host_index=_host_index
351
+ )
352
+
353
+ _response_types_map: Dict[str, Optional[str]] = {
354
+ '200': "List[ServiceStatus]",
355
+ '500': "Error",
356
+ }
357
+ response_data = self.api_client.call_api(
358
+ *_param,
359
+ _request_timeout=_request_timeout
360
+ )
361
+ response_data.read()
362
+ return self.api_client.response_deserialize(
363
+ response_data=response_data,
364
+ response_types_map=_response_types_map,
365
+ ).data
366
+
367
+
368
+ @validate_call
369
+ def list_service_status_with_http_info(
370
+ self,
371
+ _request_timeout: Union[
372
+ None,
373
+ Annotated[StrictFloat, Field(gt=0)],
374
+ Tuple[
375
+ Annotated[StrictFloat, Field(gt=0)],
376
+ Annotated[StrictFloat, Field(gt=0)]
377
+ ]
378
+ ] = None,
379
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
380
+ _content_type: Optional[StrictStr] = None,
381
+ _headers: Optional[Dict[StrictStr, Any]] = None,
382
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
383
+ ) -> ApiResponse[List[ServiceStatus]]:
384
+ """list_service_status
385
+
386
+ List all service status
387
+
388
+ :param _request_timeout: timeout setting for this request. If one
389
+ number provided, it will be total request
390
+ timeout. It can also be a pair (tuple) of
391
+ (connection, read) timeouts.
392
+ :type _request_timeout: int, tuple(int, int), optional
393
+ :param _request_auth: set to override the auth_settings for an a single
394
+ request; this effectively ignores the
395
+ authentication in the spec for a single request.
396
+ :type _request_auth: dict, optional
397
+ :param _content_type: force content-type for the request.
398
+ :type _content_type: str, Optional
399
+ :param _headers: set to override the headers for a single
400
+ request; this effectively ignores the headers
401
+ in the spec for a single request.
402
+ :type _headers: dict, optional
403
+ :param _host_index: set to override the host_index for a single
404
+ request; this effectively ignores the host_index
405
+ in the spec for a single request.
406
+ :type _host_index: int, optional
407
+ :return: Returns the result object.
408
+ """ # noqa: E501
409
+
410
+ _param = self._list_service_status_serialize(
411
+ _request_auth=_request_auth,
412
+ _content_type=_content_type,
413
+ _headers=_headers,
414
+ _host_index=_host_index
415
+ )
416
+
417
+ _response_types_map: Dict[str, Optional[str]] = {
418
+ '200': "List[ServiceStatus]",
419
+ '500': "Error",
420
+ }
421
+ response_data = self.api_client.call_api(
422
+ *_param,
423
+ _request_timeout=_request_timeout
424
+ )
425
+ response_data.read()
426
+ return self.api_client.response_deserialize(
427
+ response_data=response_data,
428
+ response_types_map=_response_types_map,
429
+ )
430
+
431
+
432
+ @validate_call
433
+ def list_service_status_without_preload_content(
434
+ self,
435
+ _request_timeout: Union[
436
+ None,
437
+ Annotated[StrictFloat, Field(gt=0)],
438
+ Tuple[
439
+ Annotated[StrictFloat, Field(gt=0)],
440
+ Annotated[StrictFloat, Field(gt=0)]
258
441
  ]
442
+ ] = None,
443
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
444
+ _content_type: Optional[StrictStr] = None,
445
+ _headers: Optional[Dict[StrictStr, Any]] = None,
446
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
447
+ ) -> RESTResponseType:
448
+ """list_service_status
449
+
450
+ List all service status
451
+
452
+ :param _request_timeout: timeout setting for this request. If one
453
+ number provided, it will be total request
454
+ timeout. It can also be a pair (tuple) of
455
+ (connection, read) timeouts.
456
+ :type _request_timeout: int, tuple(int, int), optional
457
+ :param _request_auth: set to override the auth_settings for an a single
458
+ request; this effectively ignores the
459
+ authentication in the spec for a single request.
460
+ :type _request_auth: dict, optional
461
+ :param _content_type: force content-type for the request.
462
+ :type _content_type: str, Optional
463
+ :param _headers: set to override the headers for a single
464
+ request; this effectively ignores the headers
465
+ in the spec for a single request.
466
+ :type _headers: dict, optional
467
+ :param _host_index: set to override the host_index for a single
468
+ request; this effectively ignores the host_index
469
+ in the spec for a single request.
470
+ :type _host_index: int, optional
471
+ :return: Returns the result object.
472
+ """ # noqa: E501
473
+
474
+ _param = self._list_service_status_serialize(
475
+ _request_auth=_request_auth,
476
+ _content_type=_content_type,
477
+ _headers=_headers,
478
+ _host_index=_host_index
479
+ )
480
+
481
+ _response_types_map: Dict[str, Optional[str]] = {
482
+ '200': "List[ServiceStatus]",
483
+ '500': "Error",
484
+ }
485
+ response_data = self.api_client.call_api(
486
+ *_param,
487
+ _request_timeout=_request_timeout
259
488
  )
489
+ return response_data.response
490
+
491
+
492
+ def _list_service_status_serialize(
493
+ self,
494
+ _request_auth,
495
+ _content_type,
496
+ _headers,
497
+ _host_index,
498
+ ) -> RequestSerialized:
499
+
500
+ _host = None
501
+
502
+ _collection_formats: Dict[str, str] = {
503
+ }
504
+
505
+ _path_params: Dict[str, str] = {}
506
+ _query_params: List[Tuple[str, str]] = []
507
+ _header_params: Dict[str, Optional[str]] = _headers or {}
508
+ _form_params: List[Tuple[str, str]] = []
509
+ _files: Dict[str, Union[str, bytes]] = {}
510
+ _body_params: Optional[bytes] = None
511
+
512
+ # process the path parameters
513
+ # process the query parameters
514
+ # process the header parameters
515
+ # process the form parameters
516
+ # process the body parameter
517
+
518
+
519
+ # set the HTTP header `Accept`
520
+ if 'Accept' not in _header_params:
521
+ _header_params['Accept'] = self.api_client.select_header_accept(
522
+ [
523
+ 'application/json'
524
+ ]
525
+ )
260
526
 
261
527
 
262
528
  # authentication setting
@@ -265,7 +531,7 @@ class ServiceApi:
265
531
 
266
532
  return self.api_client.param_serialize(
267
533
  method='GET',
268
- resource_path='/api/v1/service/status',
534
+ resource_path='/api/v1/service',
269
535
  path_params=_path_params,
270
536
  query_params=_query_params,
271
537
  header_params=_header_params,
@@ -332,6 +598,7 @@ class ServiceApi:
332
598
 
333
599
  _response_types_map: Dict[str, Optional[str]] = {
334
600
  '200': "str",
601
+ '500': "Error",
335
602
  }
336
603
  response_data = self.api_client.call_api(
337
604
  *_param,
@@ -395,6 +662,7 @@ class ServiceApi:
395
662
 
396
663
  _response_types_map: Dict[str, Optional[str]] = {
397
664
  '200': "str",
665
+ '500': "Error",
398
666
  }
399
667
  response_data = self.api_client.call_api(
400
668
  *_param,
@@ -458,6 +726,7 @@ class ServiceApi:
458
726
 
459
727
  _response_types_map: Dict[str, Optional[str]] = {
460
728
  '200': "str",
729
+ '500': "Error",
461
730
  }
462
731
  response_data = self.api_client.call_api(
463
732
  *_param,
@@ -483,7 +752,7 @@ class ServiceApi:
483
752
  _query_params: List[Tuple[str, str]] = []
484
753
  _header_params: Dict[str, Optional[str]] = _headers or {}
485
754
  _form_params: List[Tuple[str, str]] = []
486
- _files: Dict[str, str] = {}
755
+ _files: Dict[str, Union[str, bytes]] = {}
487
756
  _body_params: Optional[bytes] = None
488
757
 
489
758
  # process the path parameters
@@ -494,11 +763,12 @@ class ServiceApi:
494
763
 
495
764
 
496
765
  # set the HTTP header `Accept`
497
- _header_params['Accept'] = self.api_client.select_header_accept(
498
- [
499
- 'application/json'
500
- ]
501
- )
766
+ if 'Accept' not in _header_params:
767
+ _header_params['Accept'] = self.api_client.select_header_accept(
768
+ [
769
+ 'application/json'
770
+ ]
771
+ )
502
772
 
503
773
 
504
774
  # authentication setting
@@ -578,6 +848,8 @@ class ServiceApi:
578
848
 
579
849
  _response_types_map: Dict[str, Optional[str]] = {
580
850
  '200': "str",
851
+ '400': "Error",
852
+ '500': "Error",
581
853
  }
582
854
  response_data = self.api_client.call_api(
583
855
  *_param,
@@ -645,6 +917,8 @@ class ServiceApi:
645
917
 
646
918
  _response_types_map: Dict[str, Optional[str]] = {
647
919
  '200': "str",
920
+ '400': "Error",
921
+ '500': "Error",
648
922
  }
649
923
  response_data = self.api_client.call_api(
650
924
  *_param,
@@ -712,6 +986,8 @@ class ServiceApi:
712
986
 
713
987
  _response_types_map: Dict[str, Optional[str]] = {
714
988
  '200': "str",
989
+ '400': "Error",
990
+ '500': "Error",
715
991
  }
716
992
  response_data = self.api_client.call_api(
717
993
  *_param,
@@ -738,7 +1014,7 @@ class ServiceApi:
738
1014
  _query_params: List[Tuple[str, str]] = []
739
1015
  _header_params: Dict[str, Optional[str]] = _headers or {}
740
1016
  _form_params: List[Tuple[str, str]] = []
741
- _files: Dict[str, str] = {}
1017
+ _files: Dict[str, Union[str, bytes]] = {}
742
1018
  _body_params: Optional[bytes] = None
743
1019
 
744
1020
  # process the path parameters
@@ -751,11 +1027,12 @@ class ServiceApi:
751
1027
 
752
1028
 
753
1029
  # set the HTTP header `Accept`
754
- _header_params['Accept'] = self.api_client.select_header_accept(
755
- [
756
- 'application/json'
757
- ]
758
- )
1030
+ if 'Accept' not in _header_params:
1031
+ _header_params['Accept'] = self.api_client.select_header_accept(
1032
+ [
1033
+ 'application/json'
1034
+ ]
1035
+ )
759
1036
 
760
1037
  # set the HTTP header `Content-Type`
761
1038
  if _content_type:
@@ -844,6 +1121,7 @@ class ServiceApi:
844
1121
 
845
1122
  _response_types_map: Dict[str, Optional[str]] = {
846
1123
  '200': "str",
1124
+ '500': "Error",
847
1125
  }
848
1126
  response_data = self.api_client.call_api(
849
1127
  *_param,
@@ -907,6 +1185,7 @@ class ServiceApi:
907
1185
 
908
1186
  _response_types_map: Dict[str, Optional[str]] = {
909
1187
  '200': "str",
1188
+ '500': "Error",
910
1189
  }
911
1190
  response_data = self.api_client.call_api(
912
1191
  *_param,
@@ -970,6 +1249,7 @@ class ServiceApi:
970
1249
 
971
1250
  _response_types_map: Dict[str, Optional[str]] = {
972
1251
  '200': "str",
1252
+ '500': "Error",
973
1253
  }
974
1254
  response_data = self.api_client.call_api(
975
1255
  *_param,
@@ -995,7 +1275,7 @@ class ServiceApi:
995
1275
  _query_params: List[Tuple[str, str]] = []
996
1276
  _header_params: Dict[str, Optional[str]] = _headers or {}
997
1277
  _form_params: List[Tuple[str, str]] = []
998
- _files: Dict[str, str] = {}
1278
+ _files: Dict[str, Union[str, bytes]] = {}
999
1279
  _body_params: Optional[bytes] = None
1000
1280
 
1001
1281
  # process the path parameters
@@ -1006,11 +1286,12 @@ class ServiceApi:
1006
1286
 
1007
1287
 
1008
1288
  # set the HTTP header `Accept`
1009
- _header_params['Accept'] = self.api_client.select_header_accept(
1010
- [
1011
- 'application/json'
1012
- ]
1013
- )
1289
+ if 'Accept' not in _header_params:
1290
+ _header_params['Accept'] = self.api_client.select_header_accept(
1291
+ [
1292
+ 'application/json'
1293
+ ]
1294
+ )
1014
1295
 
1015
1296
 
1016
1297
  # authentication setting