lucius-mcp 0.3.0__py3-none-any.whl → 0.4.0__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.
- lucius_mcp-0.4.0.dist-info/METADATA +124 -0
- {lucius_mcp-0.3.0.dist-info → lucius_mcp-0.4.0.dist-info}/RECORD +38 -29
- src/client/__init__.py +6 -0
- src/client/client.py +271 -7
- src/client/exceptions.py +23 -0
- src/client/generated/README.md +18 -0
- src/client/generated/__init__.py +2 -0
- src/client/generated/api/__init__.py +1 -0
- src/client/generated/api/integration_controller_api.py +5285 -0
- src/client/generated/docs/IntegrationControllerApi.md +1224 -0
- src/services/__init__.py +9 -1
- src/services/custom_field_value_service.py +301 -0
- src/services/integration_service.py +205 -0
- src/services/launch_service.py +29 -1
- src/services/shared_step_service.py +34 -17
- src/services/test_case_service.py +269 -37
- src/services/test_layer_service.py +11 -0
- src/tools/__init__.py +19 -1
- src/tools/create_custom_field_value.py +38 -0
- src/tools/create_test_case.py +32 -2
- src/tools/delete_custom_field_value.py +57 -0
- src/tools/delete_test_case.py +5 -4
- src/tools/delete_test_layer.py +17 -4
- src/tools/delete_test_layer_schema.py +17 -4
- src/tools/launches.py +86 -0
- src/tools/link_shared_step.py +18 -12
- src/tools/list_custom_field_values.py +72 -0
- src/tools/list_integrations.py +77 -0
- src/tools/search.py +3 -3
- src/tools/shared_steps.py +23 -8
- src/tools/unlink_shared_step.py +19 -5
- src/tools/update_custom_field_value.py +55 -0
- src/tools/update_test_case.py +67 -2
- src/tools/update_test_layer.py +15 -4
- src/tools/update_test_layer_schema.py +16 -5
- lucius_mcp-0.3.0.dist-info/METADATA +0 -297
- {lucius_mcp-0.3.0.dist-info → lucius_mcp-0.4.0.dist-info}/WHEEL +0 -0
- {lucius_mcp-0.3.0.dist-info → lucius_mcp-0.4.0.dist-info}/entry_points.txt +0 -0
- {lucius_mcp-0.3.0.dist-info → lucius_mcp-0.4.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,1224 @@
|
|
|
1
|
+
# src.client.generated.IntegrationControllerApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**create37**](IntegrationControllerApi.md#create37) | **POST** /api/integration |
|
|
8
|
+
[**create_project_integration**](IntegrationControllerApi.md#create_project_integration) | **POST** /api/integration/project |
|
|
9
|
+
[**delete_by_id3**](IntegrationControllerApi.md#delete_by_id3) | **DELETE** /api/integration/{id} |
|
|
10
|
+
[**delete_project_integration**](IntegrationControllerApi.md#delete_project_integration) | **DELETE** /api/integration/{integrationId}/project/{projectId} |
|
|
11
|
+
[**find_one_by_id**](IntegrationControllerApi.md#find_one_by_id) | **GET** /api/integration/{id} |
|
|
12
|
+
[**find_project_integration_by_id**](IntegrationControllerApi.md#find_project_integration_by_id) | **GET** /api/integration/{integrationId}/project/{projectId} |
|
|
13
|
+
[**get_available_integrations**](IntegrationControllerApi.md#get_available_integrations) | **GET** /api/integration/available |
|
|
14
|
+
[**get_global_fields**](IntegrationControllerApi.md#get_global_fields) | **GET** /api/integration/globalfields |
|
|
15
|
+
[**get_integration_projects**](IntegrationControllerApi.md#get_integration_projects) | **GET** /api/integration/{id}/project |
|
|
16
|
+
[**get_integrations**](IntegrationControllerApi.md#get_integrations) | **GET** /api/integration |
|
|
17
|
+
[**get_project_available_integrations**](IntegrationControllerApi.md#get_project_available_integrations) | **GET** /api/integration/project/{projectId}/available |
|
|
18
|
+
[**get_project_integration_fields**](IntegrationControllerApi.md#get_project_integration_fields) | **GET** /api/integration/projectfields |
|
|
19
|
+
[**get_project_integrations**](IntegrationControllerApi.md#get_project_integrations) | **GET** /api/integration/project/{projectId} |
|
|
20
|
+
[**patch34**](IntegrationControllerApi.md#patch34) | **PATCH** /api/integration/{id} |
|
|
21
|
+
[**patch_project_integration**](IntegrationControllerApi.md#patch_project_integration) | **PATCH** /api/integration/{integrationId}/project/{projectId} |
|
|
22
|
+
[**suggest15**](IntegrationControllerApi.md#suggest15) | **GET** /api/integration/suggest | Suggest integrations
|
|
23
|
+
[**validate1**](IntegrationControllerApi.md#validate1) | **POST** /api/integration/validate |
|
|
24
|
+
[**validate2**](IntegrationControllerApi.md#validate2) | **POST** /api/integration/project/validate |
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# **create37**
|
|
28
|
+
> IntegrationDto create37(integration_create_dto)
|
|
29
|
+
|
|
30
|
+
### Example
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
```python
|
|
34
|
+
import src.client.generated
|
|
35
|
+
from src.client.generated.models.integration_create_dto import IntegrationCreateDto
|
|
36
|
+
from src.client.generated.models.integration_dto import IntegrationDto
|
|
37
|
+
from src.client.generated.rest import ApiException
|
|
38
|
+
from pprint import pprint
|
|
39
|
+
|
|
40
|
+
# Defining the host is optional and defaults to http://localhost
|
|
41
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
42
|
+
configuration = src.client.generated.Configuration(
|
|
43
|
+
host = "http://localhost"
|
|
44
|
+
)
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
# Enter a context with an instance of the API client
|
|
48
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
49
|
+
# Create an instance of the API class
|
|
50
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
51
|
+
integration_create_dto = src.client.generated.IntegrationCreateDto() # IntegrationCreateDto |
|
|
52
|
+
|
|
53
|
+
try:
|
|
54
|
+
api_response = await api_instance.create37(integration_create_dto)
|
|
55
|
+
print("The response of IntegrationControllerApi->create37:\n")
|
|
56
|
+
pprint(api_response)
|
|
57
|
+
except Exception as e:
|
|
58
|
+
print("Exception when calling IntegrationControllerApi->create37: %s\n" % e)
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
### Parameters
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
Name | Type | Description | Notes
|
|
67
|
+
------------- | ------------- | ------------- | -------------
|
|
68
|
+
**integration_create_dto** | [**IntegrationCreateDto**](IntegrationCreateDto.md)| |
|
|
69
|
+
|
|
70
|
+
### Return type
|
|
71
|
+
|
|
72
|
+
[**IntegrationDto**](IntegrationDto.md)
|
|
73
|
+
|
|
74
|
+
### Authorization
|
|
75
|
+
|
|
76
|
+
No authorization required
|
|
77
|
+
|
|
78
|
+
### HTTP request headers
|
|
79
|
+
|
|
80
|
+
- **Content-Type**: application/json
|
|
81
|
+
- **Accept**: */*
|
|
82
|
+
|
|
83
|
+
### HTTP response details
|
|
84
|
+
|
|
85
|
+
| Status code | Description | Response headers |
|
|
86
|
+
|-------------|-------------|------------------|
|
|
87
|
+
**200** | OK | - |
|
|
88
|
+
|
|
89
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
90
|
+
|
|
91
|
+
# **create_project_integration**
|
|
92
|
+
> ProjectIntegrationDto create_project_integration(project_integration_create_dto)
|
|
93
|
+
|
|
94
|
+
### Example
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
```python
|
|
98
|
+
import src.client.generated
|
|
99
|
+
from src.client.generated.models.project_integration_create_dto import ProjectIntegrationCreateDto
|
|
100
|
+
from src.client.generated.models.project_integration_dto import ProjectIntegrationDto
|
|
101
|
+
from src.client.generated.rest import ApiException
|
|
102
|
+
from pprint import pprint
|
|
103
|
+
|
|
104
|
+
# Defining the host is optional and defaults to http://localhost
|
|
105
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
106
|
+
configuration = src.client.generated.Configuration(
|
|
107
|
+
host = "http://localhost"
|
|
108
|
+
)
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
# Enter a context with an instance of the API client
|
|
112
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
113
|
+
# Create an instance of the API class
|
|
114
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
115
|
+
project_integration_create_dto = src.client.generated.ProjectIntegrationCreateDto() # ProjectIntegrationCreateDto |
|
|
116
|
+
|
|
117
|
+
try:
|
|
118
|
+
api_response = await api_instance.create_project_integration(project_integration_create_dto)
|
|
119
|
+
print("The response of IntegrationControllerApi->create_project_integration:\n")
|
|
120
|
+
pprint(api_response)
|
|
121
|
+
except Exception as e:
|
|
122
|
+
print("Exception when calling IntegrationControllerApi->create_project_integration: %s\n" % e)
|
|
123
|
+
```
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
|
|
127
|
+
### Parameters
|
|
128
|
+
|
|
129
|
+
|
|
130
|
+
Name | Type | Description | Notes
|
|
131
|
+
------------- | ------------- | ------------- | -------------
|
|
132
|
+
**project_integration_create_dto** | [**ProjectIntegrationCreateDto**](ProjectIntegrationCreateDto.md)| |
|
|
133
|
+
|
|
134
|
+
### Return type
|
|
135
|
+
|
|
136
|
+
[**ProjectIntegrationDto**](ProjectIntegrationDto.md)
|
|
137
|
+
|
|
138
|
+
### Authorization
|
|
139
|
+
|
|
140
|
+
No authorization required
|
|
141
|
+
|
|
142
|
+
### HTTP request headers
|
|
143
|
+
|
|
144
|
+
- **Content-Type**: application/json
|
|
145
|
+
- **Accept**: */*
|
|
146
|
+
|
|
147
|
+
### HTTP response details
|
|
148
|
+
|
|
149
|
+
| Status code | Description | Response headers |
|
|
150
|
+
|-------------|-------------|------------------|
|
|
151
|
+
**200** | OK | - |
|
|
152
|
+
|
|
153
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
154
|
+
|
|
155
|
+
# **delete_by_id3**
|
|
156
|
+
> delete_by_id3(id)
|
|
157
|
+
|
|
158
|
+
### Example
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
```python
|
|
162
|
+
import src.client.generated
|
|
163
|
+
from src.client.generated.rest import ApiException
|
|
164
|
+
from pprint import pprint
|
|
165
|
+
|
|
166
|
+
# Defining the host is optional and defaults to http://localhost
|
|
167
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
168
|
+
configuration = src.client.generated.Configuration(
|
|
169
|
+
host = "http://localhost"
|
|
170
|
+
)
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
# Enter a context with an instance of the API client
|
|
174
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
175
|
+
# Create an instance of the API class
|
|
176
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
177
|
+
id = 56 # int |
|
|
178
|
+
|
|
179
|
+
try:
|
|
180
|
+
await api_instance.delete_by_id3(id)
|
|
181
|
+
except Exception as e:
|
|
182
|
+
print("Exception when calling IntegrationControllerApi->delete_by_id3: %s\n" % e)
|
|
183
|
+
```
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
### Parameters
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
Name | Type | Description | Notes
|
|
191
|
+
------------- | ------------- | ------------- | -------------
|
|
192
|
+
**id** | **int**| |
|
|
193
|
+
|
|
194
|
+
### Return type
|
|
195
|
+
|
|
196
|
+
void (empty response body)
|
|
197
|
+
|
|
198
|
+
### Authorization
|
|
199
|
+
|
|
200
|
+
No authorization required
|
|
201
|
+
|
|
202
|
+
### HTTP request headers
|
|
203
|
+
|
|
204
|
+
- **Content-Type**: Not defined
|
|
205
|
+
- **Accept**: Not defined
|
|
206
|
+
|
|
207
|
+
### HTTP response details
|
|
208
|
+
|
|
209
|
+
| Status code | Description | Response headers |
|
|
210
|
+
|-------------|-------------|------------------|
|
|
211
|
+
**202** | Accepted | - |
|
|
212
|
+
|
|
213
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
214
|
+
|
|
215
|
+
# **delete_project_integration**
|
|
216
|
+
> delete_project_integration(integration_id, project_id)
|
|
217
|
+
|
|
218
|
+
### Example
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
```python
|
|
222
|
+
import src.client.generated
|
|
223
|
+
from src.client.generated.rest import ApiException
|
|
224
|
+
from pprint import pprint
|
|
225
|
+
|
|
226
|
+
# Defining the host is optional and defaults to http://localhost
|
|
227
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
228
|
+
configuration = src.client.generated.Configuration(
|
|
229
|
+
host = "http://localhost"
|
|
230
|
+
)
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
# Enter a context with an instance of the API client
|
|
234
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
235
|
+
# Create an instance of the API class
|
|
236
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
237
|
+
integration_id = 56 # int |
|
|
238
|
+
project_id = 56 # int |
|
|
239
|
+
|
|
240
|
+
try:
|
|
241
|
+
await api_instance.delete_project_integration(integration_id, project_id)
|
|
242
|
+
except Exception as e:
|
|
243
|
+
print("Exception when calling IntegrationControllerApi->delete_project_integration: %s\n" % e)
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
### Parameters
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
Name | Type | Description | Notes
|
|
252
|
+
------------- | ------------- | ------------- | -------------
|
|
253
|
+
**integration_id** | **int**| |
|
|
254
|
+
**project_id** | **int**| |
|
|
255
|
+
|
|
256
|
+
### Return type
|
|
257
|
+
|
|
258
|
+
void (empty response body)
|
|
259
|
+
|
|
260
|
+
### Authorization
|
|
261
|
+
|
|
262
|
+
No authorization required
|
|
263
|
+
|
|
264
|
+
### HTTP request headers
|
|
265
|
+
|
|
266
|
+
- **Content-Type**: Not defined
|
|
267
|
+
- **Accept**: Not defined
|
|
268
|
+
|
|
269
|
+
### HTTP response details
|
|
270
|
+
|
|
271
|
+
| Status code | Description | Response headers |
|
|
272
|
+
|-------------|-------------|------------------|
|
|
273
|
+
**202** | Accepted | - |
|
|
274
|
+
|
|
275
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
276
|
+
|
|
277
|
+
# **find_one_by_id**
|
|
278
|
+
> IntegrationDto find_one_by_id(id)
|
|
279
|
+
|
|
280
|
+
### Example
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
```python
|
|
284
|
+
import src.client.generated
|
|
285
|
+
from src.client.generated.models.integration_dto import IntegrationDto
|
|
286
|
+
from src.client.generated.rest import ApiException
|
|
287
|
+
from pprint import pprint
|
|
288
|
+
|
|
289
|
+
# Defining the host is optional and defaults to http://localhost
|
|
290
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
291
|
+
configuration = src.client.generated.Configuration(
|
|
292
|
+
host = "http://localhost"
|
|
293
|
+
)
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
# Enter a context with an instance of the API client
|
|
297
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
298
|
+
# Create an instance of the API class
|
|
299
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
300
|
+
id = 56 # int |
|
|
301
|
+
|
|
302
|
+
try:
|
|
303
|
+
api_response = await api_instance.find_one_by_id(id)
|
|
304
|
+
print("The response of IntegrationControllerApi->find_one_by_id:\n")
|
|
305
|
+
pprint(api_response)
|
|
306
|
+
except Exception as e:
|
|
307
|
+
print("Exception when calling IntegrationControllerApi->find_one_by_id: %s\n" % e)
|
|
308
|
+
```
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
### Parameters
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
Name | Type | Description | Notes
|
|
316
|
+
------------- | ------------- | ------------- | -------------
|
|
317
|
+
**id** | **int**| |
|
|
318
|
+
|
|
319
|
+
### Return type
|
|
320
|
+
|
|
321
|
+
[**IntegrationDto**](IntegrationDto.md)
|
|
322
|
+
|
|
323
|
+
### Authorization
|
|
324
|
+
|
|
325
|
+
No authorization required
|
|
326
|
+
|
|
327
|
+
### HTTP request headers
|
|
328
|
+
|
|
329
|
+
- **Content-Type**: Not defined
|
|
330
|
+
- **Accept**: */*
|
|
331
|
+
|
|
332
|
+
### HTTP response details
|
|
333
|
+
|
|
334
|
+
| Status code | Description | Response headers |
|
|
335
|
+
|-------------|-------------|------------------|
|
|
336
|
+
**200** | OK | - |
|
|
337
|
+
|
|
338
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
339
|
+
|
|
340
|
+
# **find_project_integration_by_id**
|
|
341
|
+
> ProjectIntegrationDto find_project_integration_by_id(integration_id, project_id)
|
|
342
|
+
|
|
343
|
+
### Example
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
```python
|
|
347
|
+
import src.client.generated
|
|
348
|
+
from src.client.generated.models.project_integration_dto import ProjectIntegrationDto
|
|
349
|
+
from src.client.generated.rest import ApiException
|
|
350
|
+
from pprint import pprint
|
|
351
|
+
|
|
352
|
+
# Defining the host is optional and defaults to http://localhost
|
|
353
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
354
|
+
configuration = src.client.generated.Configuration(
|
|
355
|
+
host = "http://localhost"
|
|
356
|
+
)
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
# Enter a context with an instance of the API client
|
|
360
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
361
|
+
# Create an instance of the API class
|
|
362
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
363
|
+
integration_id = 56 # int |
|
|
364
|
+
project_id = 56 # int |
|
|
365
|
+
|
|
366
|
+
try:
|
|
367
|
+
api_response = await api_instance.find_project_integration_by_id(integration_id, project_id)
|
|
368
|
+
print("The response of IntegrationControllerApi->find_project_integration_by_id:\n")
|
|
369
|
+
pprint(api_response)
|
|
370
|
+
except Exception as e:
|
|
371
|
+
print("Exception when calling IntegrationControllerApi->find_project_integration_by_id: %s\n" % e)
|
|
372
|
+
```
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
|
|
376
|
+
### Parameters
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
Name | Type | Description | Notes
|
|
380
|
+
------------- | ------------- | ------------- | -------------
|
|
381
|
+
**integration_id** | **int**| |
|
|
382
|
+
**project_id** | **int**| |
|
|
383
|
+
|
|
384
|
+
### Return type
|
|
385
|
+
|
|
386
|
+
[**ProjectIntegrationDto**](ProjectIntegrationDto.md)
|
|
387
|
+
|
|
388
|
+
### Authorization
|
|
389
|
+
|
|
390
|
+
No authorization required
|
|
391
|
+
|
|
392
|
+
### HTTP request headers
|
|
393
|
+
|
|
394
|
+
- **Content-Type**: Not defined
|
|
395
|
+
- **Accept**: */*
|
|
396
|
+
|
|
397
|
+
### HTTP response details
|
|
398
|
+
|
|
399
|
+
| Status code | Description | Response headers |
|
|
400
|
+
|-------------|-------------|------------------|
|
|
401
|
+
**200** | OK | - |
|
|
402
|
+
|
|
403
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
404
|
+
|
|
405
|
+
# **get_available_integrations**
|
|
406
|
+
> PageIntegrationInfoDto get_available_integrations(query=query, page=page, size=size, sort=sort)
|
|
407
|
+
|
|
408
|
+
### Example
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
```python
|
|
412
|
+
import src.client.generated
|
|
413
|
+
from src.client.generated.models.page_integration_info_dto import PageIntegrationInfoDto
|
|
414
|
+
from src.client.generated.rest import ApiException
|
|
415
|
+
from pprint import pprint
|
|
416
|
+
|
|
417
|
+
# Defining the host is optional and defaults to http://localhost
|
|
418
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
419
|
+
configuration = src.client.generated.Configuration(
|
|
420
|
+
host = "http://localhost"
|
|
421
|
+
)
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
# Enter a context with an instance of the API client
|
|
425
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
426
|
+
# Create an instance of the API class
|
|
427
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
428
|
+
query = 'query_example' # str | (optional)
|
|
429
|
+
page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
|
|
430
|
+
size = 10 # int | The size of the page to be returned (optional) (default to 10)
|
|
431
|
+
sort = [name,ASC] # List[str] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to [name,ASC])
|
|
432
|
+
|
|
433
|
+
try:
|
|
434
|
+
api_response = await api_instance.get_available_integrations(query=query, page=page, size=size, sort=sort)
|
|
435
|
+
print("The response of IntegrationControllerApi->get_available_integrations:\n")
|
|
436
|
+
pprint(api_response)
|
|
437
|
+
except Exception as e:
|
|
438
|
+
print("Exception when calling IntegrationControllerApi->get_available_integrations: %s\n" % e)
|
|
439
|
+
```
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
### Parameters
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
Name | Type | Description | Notes
|
|
447
|
+
------------- | ------------- | ------------- | -------------
|
|
448
|
+
**query** | **str**| | [optional]
|
|
449
|
+
**page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
|
|
450
|
+
**size** | **int**| The size of the page to be returned | [optional] [default to 10]
|
|
451
|
+
**sort** | [**List[str]**](str.md)| Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] [default to [name,ASC]]
|
|
452
|
+
|
|
453
|
+
### Return type
|
|
454
|
+
|
|
455
|
+
[**PageIntegrationInfoDto**](PageIntegrationInfoDto.md)
|
|
456
|
+
|
|
457
|
+
### Authorization
|
|
458
|
+
|
|
459
|
+
No authorization required
|
|
460
|
+
|
|
461
|
+
### HTTP request headers
|
|
462
|
+
|
|
463
|
+
- **Content-Type**: Not defined
|
|
464
|
+
- **Accept**: */*
|
|
465
|
+
|
|
466
|
+
### HTTP response details
|
|
467
|
+
|
|
468
|
+
| Status code | Description | Response headers |
|
|
469
|
+
|-------------|-------------|------------------|
|
|
470
|
+
**200** | OK | - |
|
|
471
|
+
|
|
472
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
473
|
+
|
|
474
|
+
# **get_global_fields**
|
|
475
|
+
> IntegrationFieldsFormDto get_global_fields(type, integration_id)
|
|
476
|
+
|
|
477
|
+
### Example
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
```python
|
|
481
|
+
import src.client.generated
|
|
482
|
+
from src.client.generated.models.integration_fields_form_dto import IntegrationFieldsFormDto
|
|
483
|
+
from src.client.generated.models.integration_type_dto import IntegrationTypeDto
|
|
484
|
+
from src.client.generated.rest import ApiException
|
|
485
|
+
from pprint import pprint
|
|
486
|
+
|
|
487
|
+
# Defining the host is optional and defaults to http://localhost
|
|
488
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
489
|
+
configuration = src.client.generated.Configuration(
|
|
490
|
+
host = "http://localhost"
|
|
491
|
+
)
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
# Enter a context with an instance of the API client
|
|
495
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
496
|
+
# Create an instance of the API class
|
|
497
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
498
|
+
type = src.client.generated.IntegrationTypeDto() # IntegrationTypeDto |
|
|
499
|
+
integration_id = 56 # int |
|
|
500
|
+
|
|
501
|
+
try:
|
|
502
|
+
api_response = await api_instance.get_global_fields(type, integration_id)
|
|
503
|
+
print("The response of IntegrationControllerApi->get_global_fields:\n")
|
|
504
|
+
pprint(api_response)
|
|
505
|
+
except Exception as e:
|
|
506
|
+
print("Exception when calling IntegrationControllerApi->get_global_fields: %s\n" % e)
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
### Parameters
|
|
512
|
+
|
|
513
|
+
|
|
514
|
+
Name | Type | Description | Notes
|
|
515
|
+
------------- | ------------- | ------------- | -------------
|
|
516
|
+
**type** | [**IntegrationTypeDto**](.md)| |
|
|
517
|
+
**integration_id** | **int**| |
|
|
518
|
+
|
|
519
|
+
### Return type
|
|
520
|
+
|
|
521
|
+
[**IntegrationFieldsFormDto**](IntegrationFieldsFormDto.md)
|
|
522
|
+
|
|
523
|
+
### Authorization
|
|
524
|
+
|
|
525
|
+
No authorization required
|
|
526
|
+
|
|
527
|
+
### HTTP request headers
|
|
528
|
+
|
|
529
|
+
- **Content-Type**: Not defined
|
|
530
|
+
- **Accept**: */*
|
|
531
|
+
|
|
532
|
+
### HTTP response details
|
|
533
|
+
|
|
534
|
+
| Status code | Description | Response headers |
|
|
535
|
+
|-------------|-------------|------------------|
|
|
536
|
+
**200** | OK | - |
|
|
537
|
+
|
|
538
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
539
|
+
|
|
540
|
+
# **get_integration_projects**
|
|
541
|
+
> PageProjectSuggestDto get_integration_projects(id, query=query, my=my, favorite=favorite, page=page, size=size, sort=sort)
|
|
542
|
+
|
|
543
|
+
### Example
|
|
544
|
+
|
|
545
|
+
|
|
546
|
+
```python
|
|
547
|
+
import src.client.generated
|
|
548
|
+
from src.client.generated.models.page_project_suggest_dto import PageProjectSuggestDto
|
|
549
|
+
from src.client.generated.rest import ApiException
|
|
550
|
+
from pprint import pprint
|
|
551
|
+
|
|
552
|
+
# Defining the host is optional and defaults to http://localhost
|
|
553
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
554
|
+
configuration = src.client.generated.Configuration(
|
|
555
|
+
host = "http://localhost"
|
|
556
|
+
)
|
|
557
|
+
|
|
558
|
+
|
|
559
|
+
# Enter a context with an instance of the API client
|
|
560
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
561
|
+
# Create an instance of the API class
|
|
562
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
563
|
+
id = 56 # int |
|
|
564
|
+
query = 'query_example' # str | (optional)
|
|
565
|
+
my = True # bool | (optional)
|
|
566
|
+
favorite = True # bool | (optional)
|
|
567
|
+
page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
|
|
568
|
+
size = 10 # int | The size of the page to be returned (optional) (default to 10)
|
|
569
|
+
sort = [name,ASC] # List[str] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to [name,ASC])
|
|
570
|
+
|
|
571
|
+
try:
|
|
572
|
+
api_response = await api_instance.get_integration_projects(id, query=query, my=my, favorite=favorite, page=page, size=size, sort=sort)
|
|
573
|
+
print("The response of IntegrationControllerApi->get_integration_projects:\n")
|
|
574
|
+
pprint(api_response)
|
|
575
|
+
except Exception as e:
|
|
576
|
+
print("Exception when calling IntegrationControllerApi->get_integration_projects: %s\n" % e)
|
|
577
|
+
```
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
|
|
581
|
+
### Parameters
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
Name | Type | Description | Notes
|
|
585
|
+
------------- | ------------- | ------------- | -------------
|
|
586
|
+
**id** | **int**| |
|
|
587
|
+
**query** | **str**| | [optional]
|
|
588
|
+
**my** | **bool**| | [optional]
|
|
589
|
+
**favorite** | **bool**| | [optional]
|
|
590
|
+
**page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
|
|
591
|
+
**size** | **int**| The size of the page to be returned | [optional] [default to 10]
|
|
592
|
+
**sort** | [**List[str]**](str.md)| Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] [default to [name,ASC]]
|
|
593
|
+
|
|
594
|
+
### Return type
|
|
595
|
+
|
|
596
|
+
[**PageProjectSuggestDto**](PageProjectSuggestDto.md)
|
|
597
|
+
|
|
598
|
+
### Authorization
|
|
599
|
+
|
|
600
|
+
No authorization required
|
|
601
|
+
|
|
602
|
+
### HTTP request headers
|
|
603
|
+
|
|
604
|
+
- **Content-Type**: Not defined
|
|
605
|
+
- **Accept**: */*
|
|
606
|
+
|
|
607
|
+
### HTTP response details
|
|
608
|
+
|
|
609
|
+
| Status code | Description | Response headers |
|
|
610
|
+
|-------------|-------------|------------------|
|
|
611
|
+
**200** | OK | - |
|
|
612
|
+
|
|
613
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
614
|
+
|
|
615
|
+
# **get_integrations**
|
|
616
|
+
> PageIntegrationDto get_integrations(page=page, size=size, sort=sort)
|
|
617
|
+
|
|
618
|
+
### Example
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
```python
|
|
622
|
+
import src.client.generated
|
|
623
|
+
from src.client.generated.models.page_integration_dto import PageIntegrationDto
|
|
624
|
+
from src.client.generated.rest import ApiException
|
|
625
|
+
from pprint import pprint
|
|
626
|
+
|
|
627
|
+
# Defining the host is optional and defaults to http://localhost
|
|
628
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
629
|
+
configuration = src.client.generated.Configuration(
|
|
630
|
+
host = "http://localhost"
|
|
631
|
+
)
|
|
632
|
+
|
|
633
|
+
|
|
634
|
+
# Enter a context with an instance of the API client
|
|
635
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
636
|
+
# Create an instance of the API class
|
|
637
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
638
|
+
page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
|
|
639
|
+
size = 10 # int | The size of the page to be returned (optional) (default to 10)
|
|
640
|
+
sort = [name,ASC] # List[str] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to [name,ASC])
|
|
641
|
+
|
|
642
|
+
try:
|
|
643
|
+
api_response = await api_instance.get_integrations(page=page, size=size, sort=sort)
|
|
644
|
+
print("The response of IntegrationControllerApi->get_integrations:\n")
|
|
645
|
+
pprint(api_response)
|
|
646
|
+
except Exception as e:
|
|
647
|
+
print("Exception when calling IntegrationControllerApi->get_integrations: %s\n" % e)
|
|
648
|
+
```
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
### Parameters
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
Name | Type | Description | Notes
|
|
656
|
+
------------- | ------------- | ------------- | -------------
|
|
657
|
+
**page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
|
|
658
|
+
**size** | **int**| The size of the page to be returned | [optional] [default to 10]
|
|
659
|
+
**sort** | [**List[str]**](str.md)| Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] [default to [name,ASC]]
|
|
660
|
+
|
|
661
|
+
### Return type
|
|
662
|
+
|
|
663
|
+
[**PageIntegrationDto**](PageIntegrationDto.md)
|
|
664
|
+
|
|
665
|
+
### Authorization
|
|
666
|
+
|
|
667
|
+
No authorization required
|
|
668
|
+
|
|
669
|
+
### HTTP request headers
|
|
670
|
+
|
|
671
|
+
- **Content-Type**: Not defined
|
|
672
|
+
- **Accept**: */*
|
|
673
|
+
|
|
674
|
+
### HTTP response details
|
|
675
|
+
|
|
676
|
+
| Status code | Description | Response headers |
|
|
677
|
+
|-------------|-------------|------------------|
|
|
678
|
+
**200** | OK | - |
|
|
679
|
+
|
|
680
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
681
|
+
|
|
682
|
+
# **get_project_available_integrations**
|
|
683
|
+
> PageIntegrationDto get_project_available_integrations(project_id, page=page, size=size, sort=sort)
|
|
684
|
+
|
|
685
|
+
### Example
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
```python
|
|
689
|
+
import src.client.generated
|
|
690
|
+
from src.client.generated.models.page_integration_dto import PageIntegrationDto
|
|
691
|
+
from src.client.generated.rest import ApiException
|
|
692
|
+
from pprint import pprint
|
|
693
|
+
|
|
694
|
+
# Defining the host is optional and defaults to http://localhost
|
|
695
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
696
|
+
configuration = src.client.generated.Configuration(
|
|
697
|
+
host = "http://localhost"
|
|
698
|
+
)
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
# Enter a context with an instance of the API client
|
|
702
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
703
|
+
# Create an instance of the API class
|
|
704
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
705
|
+
project_id = 56 # int |
|
|
706
|
+
page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
|
|
707
|
+
size = 10 # int | The size of the page to be returned (optional) (default to 10)
|
|
708
|
+
sort = [name,ASC] # List[str] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to [name,ASC])
|
|
709
|
+
|
|
710
|
+
try:
|
|
711
|
+
api_response = await api_instance.get_project_available_integrations(project_id, page=page, size=size, sort=sort)
|
|
712
|
+
print("The response of IntegrationControllerApi->get_project_available_integrations:\n")
|
|
713
|
+
pprint(api_response)
|
|
714
|
+
except Exception as e:
|
|
715
|
+
print("Exception when calling IntegrationControllerApi->get_project_available_integrations: %s\n" % e)
|
|
716
|
+
```
|
|
717
|
+
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
### Parameters
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
Name | Type | Description | Notes
|
|
724
|
+
------------- | ------------- | ------------- | -------------
|
|
725
|
+
**project_id** | **int**| |
|
|
726
|
+
**page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
|
|
727
|
+
**size** | **int**| The size of the page to be returned | [optional] [default to 10]
|
|
728
|
+
**sort** | [**List[str]**](str.md)| Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] [default to [name,ASC]]
|
|
729
|
+
|
|
730
|
+
### Return type
|
|
731
|
+
|
|
732
|
+
[**PageIntegrationDto**](PageIntegrationDto.md)
|
|
733
|
+
|
|
734
|
+
### Authorization
|
|
735
|
+
|
|
736
|
+
No authorization required
|
|
737
|
+
|
|
738
|
+
### HTTP request headers
|
|
739
|
+
|
|
740
|
+
- **Content-Type**: Not defined
|
|
741
|
+
- **Accept**: */*
|
|
742
|
+
|
|
743
|
+
### HTTP response details
|
|
744
|
+
|
|
745
|
+
| Status code | Description | Response headers |
|
|
746
|
+
|-------------|-------------|------------------|
|
|
747
|
+
**200** | OK | - |
|
|
748
|
+
|
|
749
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
750
|
+
|
|
751
|
+
# **get_project_integration_fields**
|
|
752
|
+
> ProjectIntegrationFieldsFormDto get_project_integration_fields(integration_id, project_id)
|
|
753
|
+
|
|
754
|
+
### Example
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
```python
|
|
758
|
+
import src.client.generated
|
|
759
|
+
from src.client.generated.models.project_integration_fields_form_dto import ProjectIntegrationFieldsFormDto
|
|
760
|
+
from src.client.generated.rest import ApiException
|
|
761
|
+
from pprint import pprint
|
|
762
|
+
|
|
763
|
+
# Defining the host is optional and defaults to http://localhost
|
|
764
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
765
|
+
configuration = src.client.generated.Configuration(
|
|
766
|
+
host = "http://localhost"
|
|
767
|
+
)
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
# Enter a context with an instance of the API client
|
|
771
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
772
|
+
# Create an instance of the API class
|
|
773
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
774
|
+
integration_id = 56 # int |
|
|
775
|
+
project_id = 56 # int |
|
|
776
|
+
|
|
777
|
+
try:
|
|
778
|
+
api_response = await api_instance.get_project_integration_fields(integration_id, project_id)
|
|
779
|
+
print("The response of IntegrationControllerApi->get_project_integration_fields:\n")
|
|
780
|
+
pprint(api_response)
|
|
781
|
+
except Exception as e:
|
|
782
|
+
print("Exception when calling IntegrationControllerApi->get_project_integration_fields: %s\n" % e)
|
|
783
|
+
```
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
### Parameters
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
Name | Type | Description | Notes
|
|
791
|
+
------------- | ------------- | ------------- | -------------
|
|
792
|
+
**integration_id** | **int**| |
|
|
793
|
+
**project_id** | **int**| |
|
|
794
|
+
|
|
795
|
+
### Return type
|
|
796
|
+
|
|
797
|
+
[**ProjectIntegrationFieldsFormDto**](ProjectIntegrationFieldsFormDto.md)
|
|
798
|
+
|
|
799
|
+
### Authorization
|
|
800
|
+
|
|
801
|
+
No authorization required
|
|
802
|
+
|
|
803
|
+
### HTTP request headers
|
|
804
|
+
|
|
805
|
+
- **Content-Type**: Not defined
|
|
806
|
+
- **Accept**: */*
|
|
807
|
+
|
|
808
|
+
### HTTP response details
|
|
809
|
+
|
|
810
|
+
| Status code | Description | Response headers |
|
|
811
|
+
|-------------|-------------|------------------|
|
|
812
|
+
**200** | OK | - |
|
|
813
|
+
|
|
814
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
815
|
+
|
|
816
|
+
# **get_project_integrations**
|
|
817
|
+
> PageProjectIntegrationDto get_project_integrations(project_id, page=page, size=size, sort=sort)
|
|
818
|
+
|
|
819
|
+
### Example
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
```python
|
|
823
|
+
import src.client.generated
|
|
824
|
+
from src.client.generated.models.page_project_integration_dto import PageProjectIntegrationDto
|
|
825
|
+
from src.client.generated.rest import ApiException
|
|
826
|
+
from pprint import pprint
|
|
827
|
+
|
|
828
|
+
# Defining the host is optional and defaults to http://localhost
|
|
829
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
830
|
+
configuration = src.client.generated.Configuration(
|
|
831
|
+
host = "http://localhost"
|
|
832
|
+
)
|
|
833
|
+
|
|
834
|
+
|
|
835
|
+
# Enter a context with an instance of the API client
|
|
836
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
837
|
+
# Create an instance of the API class
|
|
838
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
839
|
+
project_id = 56 # int |
|
|
840
|
+
page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
|
|
841
|
+
size = 10 # int | The size of the page to be returned (optional) (default to 10)
|
|
842
|
+
sort = [name,ASC] # List[str] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to [name,ASC])
|
|
843
|
+
|
|
844
|
+
try:
|
|
845
|
+
api_response = await api_instance.get_project_integrations(project_id, page=page, size=size, sort=sort)
|
|
846
|
+
print("The response of IntegrationControllerApi->get_project_integrations:\n")
|
|
847
|
+
pprint(api_response)
|
|
848
|
+
except Exception as e:
|
|
849
|
+
print("Exception when calling IntegrationControllerApi->get_project_integrations: %s\n" % e)
|
|
850
|
+
```
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
### Parameters
|
|
855
|
+
|
|
856
|
+
|
|
857
|
+
Name | Type | Description | Notes
|
|
858
|
+
------------- | ------------- | ------------- | -------------
|
|
859
|
+
**project_id** | **int**| |
|
|
860
|
+
**page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
|
|
861
|
+
**size** | **int**| The size of the page to be returned | [optional] [default to 10]
|
|
862
|
+
**sort** | [**List[str]**](str.md)| Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] [default to [name,ASC]]
|
|
863
|
+
|
|
864
|
+
### Return type
|
|
865
|
+
|
|
866
|
+
[**PageProjectIntegrationDto**](PageProjectIntegrationDto.md)
|
|
867
|
+
|
|
868
|
+
### Authorization
|
|
869
|
+
|
|
870
|
+
No authorization required
|
|
871
|
+
|
|
872
|
+
### HTTP request headers
|
|
873
|
+
|
|
874
|
+
- **Content-Type**: Not defined
|
|
875
|
+
- **Accept**: */*
|
|
876
|
+
|
|
877
|
+
### HTTP response details
|
|
878
|
+
|
|
879
|
+
| Status code | Description | Response headers |
|
|
880
|
+
|-------------|-------------|------------------|
|
|
881
|
+
**200** | OK | - |
|
|
882
|
+
|
|
883
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
884
|
+
|
|
885
|
+
# **patch34**
|
|
886
|
+
> IntegrationDto patch34(id, integration_patch_dto)
|
|
887
|
+
|
|
888
|
+
### Example
|
|
889
|
+
|
|
890
|
+
|
|
891
|
+
```python
|
|
892
|
+
import src.client.generated
|
|
893
|
+
from src.client.generated.models.integration_dto import IntegrationDto
|
|
894
|
+
from src.client.generated.models.integration_patch_dto import IntegrationPatchDto
|
|
895
|
+
from src.client.generated.rest import ApiException
|
|
896
|
+
from pprint import pprint
|
|
897
|
+
|
|
898
|
+
# Defining the host is optional and defaults to http://localhost
|
|
899
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
900
|
+
configuration = src.client.generated.Configuration(
|
|
901
|
+
host = "http://localhost"
|
|
902
|
+
)
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
# Enter a context with an instance of the API client
|
|
906
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
907
|
+
# Create an instance of the API class
|
|
908
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
909
|
+
id = 56 # int |
|
|
910
|
+
integration_patch_dto = src.client.generated.IntegrationPatchDto() # IntegrationPatchDto |
|
|
911
|
+
|
|
912
|
+
try:
|
|
913
|
+
api_response = await api_instance.patch34(id, integration_patch_dto)
|
|
914
|
+
print("The response of IntegrationControllerApi->patch34:\n")
|
|
915
|
+
pprint(api_response)
|
|
916
|
+
except Exception as e:
|
|
917
|
+
print("Exception when calling IntegrationControllerApi->patch34: %s\n" % e)
|
|
918
|
+
```
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
|
|
922
|
+
### Parameters
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
Name | Type | Description | Notes
|
|
926
|
+
------------- | ------------- | ------------- | -------------
|
|
927
|
+
**id** | **int**| |
|
|
928
|
+
**integration_patch_dto** | [**IntegrationPatchDto**](IntegrationPatchDto.md)| |
|
|
929
|
+
|
|
930
|
+
### Return type
|
|
931
|
+
|
|
932
|
+
[**IntegrationDto**](IntegrationDto.md)
|
|
933
|
+
|
|
934
|
+
### Authorization
|
|
935
|
+
|
|
936
|
+
No authorization required
|
|
937
|
+
|
|
938
|
+
### HTTP request headers
|
|
939
|
+
|
|
940
|
+
- **Content-Type**: application/json
|
|
941
|
+
- **Accept**: */*
|
|
942
|
+
|
|
943
|
+
### HTTP response details
|
|
944
|
+
|
|
945
|
+
| Status code | Description | Response headers |
|
|
946
|
+
|-------------|-------------|------------------|
|
|
947
|
+
**200** | OK | - |
|
|
948
|
+
|
|
949
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
950
|
+
|
|
951
|
+
# **patch_project_integration**
|
|
952
|
+
> ProjectIntegrationDto patch_project_integration(integration_id, project_id, project_integration_patch_dto)
|
|
953
|
+
|
|
954
|
+
### Example
|
|
955
|
+
|
|
956
|
+
|
|
957
|
+
```python
|
|
958
|
+
import src.client.generated
|
|
959
|
+
from src.client.generated.models.project_integration_dto import ProjectIntegrationDto
|
|
960
|
+
from src.client.generated.models.project_integration_patch_dto import ProjectIntegrationPatchDto
|
|
961
|
+
from src.client.generated.rest import ApiException
|
|
962
|
+
from pprint import pprint
|
|
963
|
+
|
|
964
|
+
# Defining the host is optional and defaults to http://localhost
|
|
965
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
966
|
+
configuration = src.client.generated.Configuration(
|
|
967
|
+
host = "http://localhost"
|
|
968
|
+
)
|
|
969
|
+
|
|
970
|
+
|
|
971
|
+
# Enter a context with an instance of the API client
|
|
972
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
973
|
+
# Create an instance of the API class
|
|
974
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
975
|
+
integration_id = 56 # int |
|
|
976
|
+
project_id = 56 # int |
|
|
977
|
+
project_integration_patch_dto = src.client.generated.ProjectIntegrationPatchDto() # ProjectIntegrationPatchDto |
|
|
978
|
+
|
|
979
|
+
try:
|
|
980
|
+
api_response = await api_instance.patch_project_integration(integration_id, project_id, project_integration_patch_dto)
|
|
981
|
+
print("The response of IntegrationControllerApi->patch_project_integration:\n")
|
|
982
|
+
pprint(api_response)
|
|
983
|
+
except Exception as e:
|
|
984
|
+
print("Exception when calling IntegrationControllerApi->patch_project_integration: %s\n" % e)
|
|
985
|
+
```
|
|
986
|
+
|
|
987
|
+
|
|
988
|
+
|
|
989
|
+
### Parameters
|
|
990
|
+
|
|
991
|
+
|
|
992
|
+
Name | Type | Description | Notes
|
|
993
|
+
------------- | ------------- | ------------- | -------------
|
|
994
|
+
**integration_id** | **int**| |
|
|
995
|
+
**project_id** | **int**| |
|
|
996
|
+
**project_integration_patch_dto** | [**ProjectIntegrationPatchDto**](ProjectIntegrationPatchDto.md)| |
|
|
997
|
+
|
|
998
|
+
### Return type
|
|
999
|
+
|
|
1000
|
+
[**ProjectIntegrationDto**](ProjectIntegrationDto.md)
|
|
1001
|
+
|
|
1002
|
+
### Authorization
|
|
1003
|
+
|
|
1004
|
+
No authorization required
|
|
1005
|
+
|
|
1006
|
+
### HTTP request headers
|
|
1007
|
+
|
|
1008
|
+
- **Content-Type**: application/json
|
|
1009
|
+
- **Accept**: */*
|
|
1010
|
+
|
|
1011
|
+
### HTTP response details
|
|
1012
|
+
|
|
1013
|
+
| Status code | Description | Response headers |
|
|
1014
|
+
|-------------|-------------|------------------|
|
|
1015
|
+
**200** | OK | - |
|
|
1016
|
+
|
|
1017
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1018
|
+
|
|
1019
|
+
# **suggest15**
|
|
1020
|
+
> PageIdAndNameOnlyDto suggest15(query=query, project_id=project_id, id=id, ignore_id=ignore_id, operation=operation, integration_type=integration_type, page=page, size=size, sort=sort)
|
|
1021
|
+
|
|
1022
|
+
Suggest integrations
|
|
1023
|
+
|
|
1024
|
+
### Example
|
|
1025
|
+
|
|
1026
|
+
|
|
1027
|
+
```python
|
|
1028
|
+
import src.client.generated
|
|
1029
|
+
from src.client.generated.models.integration_operation_type_dto import IntegrationOperationTypeDto
|
|
1030
|
+
from src.client.generated.models.integration_type_dto import IntegrationTypeDto
|
|
1031
|
+
from src.client.generated.models.page_id_and_name_only_dto import PageIdAndNameOnlyDto
|
|
1032
|
+
from src.client.generated.rest import ApiException
|
|
1033
|
+
from pprint import pprint
|
|
1034
|
+
|
|
1035
|
+
# Defining the host is optional and defaults to http://localhost
|
|
1036
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1037
|
+
configuration = src.client.generated.Configuration(
|
|
1038
|
+
host = "http://localhost"
|
|
1039
|
+
)
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
# Enter a context with an instance of the API client
|
|
1043
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
1044
|
+
# Create an instance of the API class
|
|
1045
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
1046
|
+
query = 'query_example' # str | (optional)
|
|
1047
|
+
project_id = 56 # int | (optional)
|
|
1048
|
+
id = [56] # List[int] | (optional)
|
|
1049
|
+
ignore_id = [56] # List[int] | (optional)
|
|
1050
|
+
operation = [src.client.generated.IntegrationOperationTypeDto()] # List[IntegrationOperationTypeDto] | (optional)
|
|
1051
|
+
integration_type = [src.client.generated.IntegrationTypeDto()] # List[IntegrationTypeDto] | (optional)
|
|
1052
|
+
page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
|
|
1053
|
+
size = 10 # int | The size of the page to be returned (optional) (default to 10)
|
|
1054
|
+
sort = [name,ASC] # List[str] | Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. (optional) (default to [name,ASC])
|
|
1055
|
+
|
|
1056
|
+
try:
|
|
1057
|
+
# Suggest integrations
|
|
1058
|
+
api_response = await api_instance.suggest15(query=query, project_id=project_id, id=id, ignore_id=ignore_id, operation=operation, integration_type=integration_type, page=page, size=size, sort=sort)
|
|
1059
|
+
print("The response of IntegrationControllerApi->suggest15:\n")
|
|
1060
|
+
pprint(api_response)
|
|
1061
|
+
except Exception as e:
|
|
1062
|
+
print("Exception when calling IntegrationControllerApi->suggest15: %s\n" % e)
|
|
1063
|
+
```
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
|
|
1067
|
+
### Parameters
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
Name | Type | Description | Notes
|
|
1071
|
+
------------- | ------------- | ------------- | -------------
|
|
1072
|
+
**query** | **str**| | [optional]
|
|
1073
|
+
**project_id** | **int**| | [optional]
|
|
1074
|
+
**id** | [**List[int]**](int.md)| | [optional]
|
|
1075
|
+
**ignore_id** | [**List[int]**](int.md)| | [optional]
|
|
1076
|
+
**operation** | [**List[IntegrationOperationTypeDto]**](IntegrationOperationTypeDto.md)| | [optional]
|
|
1077
|
+
**integration_type** | [**List[IntegrationTypeDto]**](IntegrationTypeDto.md)| | [optional]
|
|
1078
|
+
**page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
|
|
1079
|
+
**size** | **int**| The size of the page to be returned | [optional] [default to 10]
|
|
1080
|
+
**sort** | [**List[str]**](str.md)| Sorting criteria in the format: property(,asc|desc). Default sort order is ascending. Multiple sort criteria are supported. | [optional] [default to [name,ASC]]
|
|
1081
|
+
|
|
1082
|
+
### Return type
|
|
1083
|
+
|
|
1084
|
+
[**PageIdAndNameOnlyDto**](PageIdAndNameOnlyDto.md)
|
|
1085
|
+
|
|
1086
|
+
### Authorization
|
|
1087
|
+
|
|
1088
|
+
No authorization required
|
|
1089
|
+
|
|
1090
|
+
### HTTP request headers
|
|
1091
|
+
|
|
1092
|
+
- **Content-Type**: Not defined
|
|
1093
|
+
- **Accept**: */*
|
|
1094
|
+
|
|
1095
|
+
### HTTP response details
|
|
1096
|
+
|
|
1097
|
+
| Status code | Description | Response headers |
|
|
1098
|
+
|-------------|-------------|------------------|
|
|
1099
|
+
**200** | OK | - |
|
|
1100
|
+
|
|
1101
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1102
|
+
|
|
1103
|
+
# **validate1**
|
|
1104
|
+
> validate1(integration_validate_dto)
|
|
1105
|
+
|
|
1106
|
+
### Example
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+
```python
|
|
1110
|
+
import src.client.generated
|
|
1111
|
+
from src.client.generated.models.integration_validate_dto import IntegrationValidateDto
|
|
1112
|
+
from src.client.generated.rest import ApiException
|
|
1113
|
+
from pprint import pprint
|
|
1114
|
+
|
|
1115
|
+
# Defining the host is optional and defaults to http://localhost
|
|
1116
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1117
|
+
configuration = src.client.generated.Configuration(
|
|
1118
|
+
host = "http://localhost"
|
|
1119
|
+
)
|
|
1120
|
+
|
|
1121
|
+
|
|
1122
|
+
# Enter a context with an instance of the API client
|
|
1123
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
1124
|
+
# Create an instance of the API class
|
|
1125
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
1126
|
+
integration_validate_dto = src.client.generated.IntegrationValidateDto() # IntegrationValidateDto |
|
|
1127
|
+
|
|
1128
|
+
try:
|
|
1129
|
+
await api_instance.validate1(integration_validate_dto)
|
|
1130
|
+
except Exception as e:
|
|
1131
|
+
print("Exception when calling IntegrationControllerApi->validate1: %s\n" % e)
|
|
1132
|
+
```
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
|
|
1136
|
+
### Parameters
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
|
+
Name | Type | Description | Notes
|
|
1140
|
+
------------- | ------------- | ------------- | -------------
|
|
1141
|
+
**integration_validate_dto** | [**IntegrationValidateDto**](IntegrationValidateDto.md)| |
|
|
1142
|
+
|
|
1143
|
+
### Return type
|
|
1144
|
+
|
|
1145
|
+
void (empty response body)
|
|
1146
|
+
|
|
1147
|
+
### Authorization
|
|
1148
|
+
|
|
1149
|
+
No authorization required
|
|
1150
|
+
|
|
1151
|
+
### HTTP request headers
|
|
1152
|
+
|
|
1153
|
+
- **Content-Type**: application/json
|
|
1154
|
+
- **Accept**: Not defined
|
|
1155
|
+
|
|
1156
|
+
### HTTP response details
|
|
1157
|
+
|
|
1158
|
+
| Status code | Description | Response headers |
|
|
1159
|
+
|-------------|-------------|------------------|
|
|
1160
|
+
**200** | OK | - |
|
|
1161
|
+
|
|
1162
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1163
|
+
|
|
1164
|
+
# **validate2**
|
|
1165
|
+
> validate2(project_integration_validate_dto)
|
|
1166
|
+
|
|
1167
|
+
### Example
|
|
1168
|
+
|
|
1169
|
+
|
|
1170
|
+
```python
|
|
1171
|
+
import src.client.generated
|
|
1172
|
+
from src.client.generated.models.project_integration_validate_dto import ProjectIntegrationValidateDto
|
|
1173
|
+
from src.client.generated.rest import ApiException
|
|
1174
|
+
from pprint import pprint
|
|
1175
|
+
|
|
1176
|
+
# Defining the host is optional and defaults to http://localhost
|
|
1177
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
1178
|
+
configuration = src.client.generated.Configuration(
|
|
1179
|
+
host = "http://localhost"
|
|
1180
|
+
)
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
# Enter a context with an instance of the API client
|
|
1184
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
1185
|
+
# Create an instance of the API class
|
|
1186
|
+
api_instance = src.client.generated.IntegrationControllerApi(api_client)
|
|
1187
|
+
project_integration_validate_dto = src.client.generated.ProjectIntegrationValidateDto() # ProjectIntegrationValidateDto |
|
|
1188
|
+
|
|
1189
|
+
try:
|
|
1190
|
+
await api_instance.validate2(project_integration_validate_dto)
|
|
1191
|
+
except Exception as e:
|
|
1192
|
+
print("Exception when calling IntegrationControllerApi->validate2: %s\n" % e)
|
|
1193
|
+
```
|
|
1194
|
+
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
### Parameters
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
Name | Type | Description | Notes
|
|
1201
|
+
------------- | ------------- | ------------- | -------------
|
|
1202
|
+
**project_integration_validate_dto** | [**ProjectIntegrationValidateDto**](ProjectIntegrationValidateDto.md)| |
|
|
1203
|
+
|
|
1204
|
+
### Return type
|
|
1205
|
+
|
|
1206
|
+
void (empty response body)
|
|
1207
|
+
|
|
1208
|
+
### Authorization
|
|
1209
|
+
|
|
1210
|
+
No authorization required
|
|
1211
|
+
|
|
1212
|
+
### HTTP request headers
|
|
1213
|
+
|
|
1214
|
+
- **Content-Type**: application/json
|
|
1215
|
+
- **Accept**: Not defined
|
|
1216
|
+
|
|
1217
|
+
### HTTP response details
|
|
1218
|
+
|
|
1219
|
+
| Status code | Description | Response headers |
|
|
1220
|
+
|-------------|-------------|------------------|
|
|
1221
|
+
**200** | OK | - |
|
|
1222
|
+
|
|
1223
|
+
[[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
|
|
1224
|
+
|