lucius-mcp 0.1.0__py3-none-any.whl → 0.2.2__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.1.0.dist-info → lucius_mcp-0.2.2.dist-info}/METADATA +23 -2
- {lucius_mcp-0.1.0.dist-info → lucius_mcp-0.2.2.dist-info}/RECORD +29 -14
- src/client/client.py +105 -0
- src/client/generated/README.md +65 -7
- src/client/generated/__init__.py +16 -0
- src/client/generated/api/__init__.py +8 -0
- src/client/generated/api/custom_field_controller_api.py +2617 -0
- src/client/generated/api/custom_field_project_controller_api.py +2337 -0
- src/client/generated/api/custom_field_project_controller_v2_api.py +659 -0
- src/client/generated/api/custom_field_schema_controller_api.py +1710 -0
- src/client/generated/api/custom_field_value_controller_api.py +3106 -0
- src/client/generated/api/custom_field_value_project_controller_api.py +1835 -0
- src/client/generated/api/project_controller_api.py +2986 -0
- src/client/generated/api/status_controller_api.py +1780 -0
- src/client/generated/docs/CustomFieldControllerApi.md +616 -0
- src/client/generated/docs/CustomFieldProjectControllerApi.md +554 -0
- src/client/generated/docs/CustomFieldProjectControllerV2Api.md +149 -0
- src/client/generated/docs/CustomFieldSchemaControllerApi.md +421 -0
- src/client/generated/docs/CustomFieldValueControllerApi.md +723 -0
- src/client/generated/docs/CustomFieldValueProjectControllerApi.md +430 -0
- src/client/generated/docs/LaunchControllerApi.md +2 -2
- src/client/generated/docs/ProjectControllerApi.md +717 -0
- src/client/generated/docs/StatusControllerApi.md +429 -0
- src/services/test_case_service.py +92 -33
- src/tools/__init__.py +3 -0
- src/tools/get_custom_fields.py +48 -0
- src/client/refactor-hotspots.md +0 -53
- src/client/refactor-plan.md +0 -78
- {lucius_mcp-0.1.0.dist-info → lucius_mcp-0.2.2.dist-info}/WHEEL +0 -0
- {lucius_mcp-0.1.0.dist-info → lucius_mcp-0.2.2.dist-info}/entry_points.txt +0 -0
- {lucius_mcp-0.1.0.dist-info → lucius_mcp-0.2.2.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,723 @@
|
|
|
1
|
+
# src.client.generated.CustomFieldValueControllerApi
|
|
2
|
+
|
|
3
|
+
All URIs are relative to *http://localhost*
|
|
4
|
+
|
|
5
|
+
Method | HTTP request | Description
|
|
6
|
+
------------- | ------------- | -------------
|
|
7
|
+
[**create50**](CustomFieldValueControllerApi.md#create50) | **POST** /api/cfv | Deprecated. Use POST /api/project/{projectId}/cfv instead
|
|
8
|
+
[**delete41**](CustomFieldValueControllerApi.md#delete41) | **DELETE** /api/cfv/{id} | Delete custom field value by id
|
|
9
|
+
[**find_all44**](CustomFieldValueControllerApi.md#find_all44) | **GET** /api/cfv | Find all custom field values
|
|
10
|
+
[**find_one35**](CustomFieldValueControllerApi.md#find_one35) | **GET** /api/cfv/{id} | Find custom field value by id
|
|
11
|
+
[**merge_project_fields_to_existing_global_value**](CustomFieldValueControllerApi.md#merge_project_fields_to_existing_global_value) | **POST** /api/cfv/merge-to/{toCfvId} | Merge project custom field values into existing global
|
|
12
|
+
[**merge_project_fields_to_new_global_value**](CustomFieldValueControllerApi.md#merge_project_fields_to_new_global_value) | **POST** /api/cfv/merge | Merge project custom field values into new global
|
|
13
|
+
[**patch46**](CustomFieldValueControllerApi.md#patch46) | **PATCH** /api/cfv/{id} | Patch custom field value
|
|
14
|
+
[**rename_custom_field_value**](CustomFieldValueControllerApi.md#rename_custom_field_value) | **POST** /api/cfv/{id}/rename | Deprecated. Use PUT /api/project/{projectId}/cfv/{cvfId}/name instead
|
|
15
|
+
[**suggest21**](CustomFieldValueControllerApi.md#suggest21) | **GET** /api/cfv/suggest | Suggest custom field values
|
|
16
|
+
[**suggest_v2**](CustomFieldValueControllerApi.md#suggest_v2) | **GET** /api/cfv/suggest/{projectId} | Suggest custom field values
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
# **create50**
|
|
20
|
+
> CustomFieldValueWithCfDto create50(custom_field_value_project_create_dto)
|
|
21
|
+
|
|
22
|
+
Deprecated. Use POST /api/project/{projectId}/cfv instead
|
|
23
|
+
|
|
24
|
+
### Example
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
```python
|
|
28
|
+
import src.client.generated
|
|
29
|
+
from src.client.generated.models.custom_field_value_project_create_dto import CustomFieldValueProjectCreateDto
|
|
30
|
+
from src.client.generated.models.custom_field_value_with_cf_dto import CustomFieldValueWithCfDto
|
|
31
|
+
from src.client.generated.rest import ApiException
|
|
32
|
+
from pprint import pprint
|
|
33
|
+
|
|
34
|
+
# Defining the host is optional and defaults to http://localhost
|
|
35
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
36
|
+
configuration = src.client.generated.Configuration(
|
|
37
|
+
host = "http://localhost"
|
|
38
|
+
)
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
# Enter a context with an instance of the API client
|
|
42
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
43
|
+
# Create an instance of the API class
|
|
44
|
+
api_instance = src.client.generated.CustomFieldValueControllerApi(api_client)
|
|
45
|
+
custom_field_value_project_create_dto = src.client.generated.CustomFieldValueProjectCreateDto() # CustomFieldValueProjectCreateDto |
|
|
46
|
+
|
|
47
|
+
try:
|
|
48
|
+
# Deprecated. Use POST /api/project/{projectId}/cfv instead
|
|
49
|
+
api_response = await api_instance.create50(custom_field_value_project_create_dto)
|
|
50
|
+
print("The response of CustomFieldValueControllerApi->create50:\n")
|
|
51
|
+
pprint(api_response)
|
|
52
|
+
except Exception as e:
|
|
53
|
+
print("Exception when calling CustomFieldValueControllerApi->create50: %s\n" % e)
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Parameters
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
Name | Type | Description | Notes
|
|
62
|
+
------------- | ------------- | ------------- | -------------
|
|
63
|
+
**custom_field_value_project_create_dto** | [**CustomFieldValueProjectCreateDto**](CustomFieldValueProjectCreateDto.md)| |
|
|
64
|
+
|
|
65
|
+
### Return type
|
|
66
|
+
|
|
67
|
+
[**CustomFieldValueWithCfDto**](CustomFieldValueWithCfDto.md)
|
|
68
|
+
|
|
69
|
+
### Authorization
|
|
70
|
+
|
|
71
|
+
No authorization required
|
|
72
|
+
|
|
73
|
+
### HTTP request headers
|
|
74
|
+
|
|
75
|
+
- **Content-Type**: application/json
|
|
76
|
+
- **Accept**: */*
|
|
77
|
+
|
|
78
|
+
### HTTP response details
|
|
79
|
+
|
|
80
|
+
| Status code | Description | Response headers |
|
|
81
|
+
|-------------|-------------|------------------|
|
|
82
|
+
**200** | OK | - |
|
|
83
|
+
|
|
84
|
+
[[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)
|
|
85
|
+
|
|
86
|
+
# **delete41**
|
|
87
|
+
> delete41(id, project_id=project_id)
|
|
88
|
+
|
|
89
|
+
Delete custom field value by id
|
|
90
|
+
|
|
91
|
+
### Example
|
|
92
|
+
|
|
93
|
+
|
|
94
|
+
```python
|
|
95
|
+
import src.client.generated
|
|
96
|
+
from src.client.generated.rest import ApiException
|
|
97
|
+
from pprint import pprint
|
|
98
|
+
|
|
99
|
+
# Defining the host is optional and defaults to http://localhost
|
|
100
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
101
|
+
configuration = src.client.generated.Configuration(
|
|
102
|
+
host = "http://localhost"
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
# Enter a context with an instance of the API client
|
|
107
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
108
|
+
# Create an instance of the API class
|
|
109
|
+
api_instance = src.client.generated.CustomFieldValueControllerApi(api_client)
|
|
110
|
+
id = 56 # int |
|
|
111
|
+
project_id = 56 # int | (optional)
|
|
112
|
+
|
|
113
|
+
try:
|
|
114
|
+
# Delete custom field value by id
|
|
115
|
+
await api_instance.delete41(id, project_id=project_id)
|
|
116
|
+
except Exception as e:
|
|
117
|
+
print("Exception when calling CustomFieldValueControllerApi->delete41: %s\n" % e)
|
|
118
|
+
```
|
|
119
|
+
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
### Parameters
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
Name | Type | Description | Notes
|
|
126
|
+
------------- | ------------- | ------------- | -------------
|
|
127
|
+
**id** | **int**| |
|
|
128
|
+
**project_id** | **int**| | [optional]
|
|
129
|
+
|
|
130
|
+
### Return type
|
|
131
|
+
|
|
132
|
+
void (empty response body)
|
|
133
|
+
|
|
134
|
+
### Authorization
|
|
135
|
+
|
|
136
|
+
No authorization required
|
|
137
|
+
|
|
138
|
+
### HTTP request headers
|
|
139
|
+
|
|
140
|
+
- **Content-Type**: Not defined
|
|
141
|
+
- **Accept**: Not defined
|
|
142
|
+
|
|
143
|
+
### HTTP response details
|
|
144
|
+
|
|
145
|
+
| Status code | Description | Response headers |
|
|
146
|
+
|-------------|-------------|------------------|
|
|
147
|
+
**204** | No Content | - |
|
|
148
|
+
|
|
149
|
+
[[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)
|
|
150
|
+
|
|
151
|
+
# **find_all44**
|
|
152
|
+
> PageCustomFieldValueWithTcCountDto find_all44(custom_field_id, project_id=project_id, var_global=var_global, query=query, strict=strict, test_case_search=test_case_search, page=page, size=size, sort=sort)
|
|
153
|
+
|
|
154
|
+
Find all custom field values
|
|
155
|
+
|
|
156
|
+
### Example
|
|
157
|
+
|
|
158
|
+
|
|
159
|
+
```python
|
|
160
|
+
import src.client.generated
|
|
161
|
+
from src.client.generated.models.page_custom_field_value_with_tc_count_dto import PageCustomFieldValueWithTcCountDto
|
|
162
|
+
from src.client.generated.rest import ApiException
|
|
163
|
+
from pprint import pprint
|
|
164
|
+
|
|
165
|
+
# Defining the host is optional and defaults to http://localhost
|
|
166
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
167
|
+
configuration = src.client.generated.Configuration(
|
|
168
|
+
host = "http://localhost"
|
|
169
|
+
)
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
# Enter a context with an instance of the API client
|
|
173
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
174
|
+
# Create an instance of the API class
|
|
175
|
+
api_instance = src.client.generated.CustomFieldValueControllerApi(api_client)
|
|
176
|
+
custom_field_id = 56 # int |
|
|
177
|
+
project_id = 56 # int | (optional)
|
|
178
|
+
var_global = True # bool | (optional)
|
|
179
|
+
query = 'query_example' # str | (optional)
|
|
180
|
+
strict = True # bool | (optional)
|
|
181
|
+
test_case_search = 'test_case_search_example' # str | (optional)
|
|
182
|
+
page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
|
|
183
|
+
size = 10 # int | The size of the page to be returned (optional) (default to 10)
|
|
184
|
+
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])
|
|
185
|
+
|
|
186
|
+
try:
|
|
187
|
+
# Find all custom field values
|
|
188
|
+
api_response = await api_instance.find_all44(custom_field_id, project_id=project_id, var_global=var_global, query=query, strict=strict, test_case_search=test_case_search, page=page, size=size, sort=sort)
|
|
189
|
+
print("The response of CustomFieldValueControllerApi->find_all44:\n")
|
|
190
|
+
pprint(api_response)
|
|
191
|
+
except Exception as e:
|
|
192
|
+
print("Exception when calling CustomFieldValueControllerApi->find_all44: %s\n" % e)
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
### Parameters
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
Name | Type | Description | Notes
|
|
201
|
+
------------- | ------------- | ------------- | -------------
|
|
202
|
+
**custom_field_id** | **int**| |
|
|
203
|
+
**project_id** | **int**| | [optional]
|
|
204
|
+
**var_global** | **bool**| | [optional]
|
|
205
|
+
**query** | **str**| | [optional]
|
|
206
|
+
**strict** | **bool**| | [optional]
|
|
207
|
+
**test_case_search** | **str**| | [optional]
|
|
208
|
+
**page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
|
|
209
|
+
**size** | **int**| The size of the page to be returned | [optional] [default to 10]
|
|
210
|
+
**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]]
|
|
211
|
+
|
|
212
|
+
### Return type
|
|
213
|
+
|
|
214
|
+
[**PageCustomFieldValueWithTcCountDto**](PageCustomFieldValueWithTcCountDto.md)
|
|
215
|
+
|
|
216
|
+
### Authorization
|
|
217
|
+
|
|
218
|
+
No authorization required
|
|
219
|
+
|
|
220
|
+
### HTTP request headers
|
|
221
|
+
|
|
222
|
+
- **Content-Type**: Not defined
|
|
223
|
+
- **Accept**: */*
|
|
224
|
+
|
|
225
|
+
### HTTP response details
|
|
226
|
+
|
|
227
|
+
| Status code | Description | Response headers |
|
|
228
|
+
|-------------|-------------|------------------|
|
|
229
|
+
**200** | OK | - |
|
|
230
|
+
|
|
231
|
+
[[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)
|
|
232
|
+
|
|
233
|
+
# **find_one35**
|
|
234
|
+
> CustomFieldValueWithCfDto find_one35(id)
|
|
235
|
+
|
|
236
|
+
Find custom field value by id
|
|
237
|
+
|
|
238
|
+
### Example
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
```python
|
|
242
|
+
import src.client.generated
|
|
243
|
+
from src.client.generated.models.custom_field_value_with_cf_dto import CustomFieldValueWithCfDto
|
|
244
|
+
from src.client.generated.rest import ApiException
|
|
245
|
+
from pprint import pprint
|
|
246
|
+
|
|
247
|
+
# Defining the host is optional and defaults to http://localhost
|
|
248
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
249
|
+
configuration = src.client.generated.Configuration(
|
|
250
|
+
host = "http://localhost"
|
|
251
|
+
)
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
# Enter a context with an instance of the API client
|
|
255
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
256
|
+
# Create an instance of the API class
|
|
257
|
+
api_instance = src.client.generated.CustomFieldValueControllerApi(api_client)
|
|
258
|
+
id = 56 # int |
|
|
259
|
+
|
|
260
|
+
try:
|
|
261
|
+
# Find custom field value by id
|
|
262
|
+
api_response = await api_instance.find_one35(id)
|
|
263
|
+
print("The response of CustomFieldValueControllerApi->find_one35:\n")
|
|
264
|
+
pprint(api_response)
|
|
265
|
+
except Exception as e:
|
|
266
|
+
print("Exception when calling CustomFieldValueControllerApi->find_one35: %s\n" % e)
|
|
267
|
+
```
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
### Parameters
|
|
272
|
+
|
|
273
|
+
|
|
274
|
+
Name | Type | Description | Notes
|
|
275
|
+
------------- | ------------- | ------------- | -------------
|
|
276
|
+
**id** | **int**| |
|
|
277
|
+
|
|
278
|
+
### Return type
|
|
279
|
+
|
|
280
|
+
[**CustomFieldValueWithCfDto**](CustomFieldValueWithCfDto.md)
|
|
281
|
+
|
|
282
|
+
### Authorization
|
|
283
|
+
|
|
284
|
+
No authorization required
|
|
285
|
+
|
|
286
|
+
### HTTP request headers
|
|
287
|
+
|
|
288
|
+
- **Content-Type**: Not defined
|
|
289
|
+
- **Accept**: */*
|
|
290
|
+
|
|
291
|
+
### HTTP response details
|
|
292
|
+
|
|
293
|
+
| Status code | Description | Response headers |
|
|
294
|
+
|-------------|-------------|------------------|
|
|
295
|
+
**200** | OK | - |
|
|
296
|
+
|
|
297
|
+
[[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)
|
|
298
|
+
|
|
299
|
+
# **merge_project_fields_to_existing_global_value**
|
|
300
|
+
> merge_project_fields_to_existing_global_value(to_cfv_id, cfv_merge_to_existing_global_value_dto)
|
|
301
|
+
|
|
302
|
+
Merge project custom field values into existing global
|
|
303
|
+
|
|
304
|
+
### Example
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
```python
|
|
308
|
+
import src.client.generated
|
|
309
|
+
from src.client.generated.models.cfv_merge_to_existing_global_value_dto import CfvMergeToExistingGlobalValueDto
|
|
310
|
+
from src.client.generated.rest import ApiException
|
|
311
|
+
from pprint import pprint
|
|
312
|
+
|
|
313
|
+
# Defining the host is optional and defaults to http://localhost
|
|
314
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
315
|
+
configuration = src.client.generated.Configuration(
|
|
316
|
+
host = "http://localhost"
|
|
317
|
+
)
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
# Enter a context with an instance of the API client
|
|
321
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
322
|
+
# Create an instance of the API class
|
|
323
|
+
api_instance = src.client.generated.CustomFieldValueControllerApi(api_client)
|
|
324
|
+
to_cfv_id = 56 # int |
|
|
325
|
+
cfv_merge_to_existing_global_value_dto = src.client.generated.CfvMergeToExistingGlobalValueDto() # CfvMergeToExistingGlobalValueDto |
|
|
326
|
+
|
|
327
|
+
try:
|
|
328
|
+
# Merge project custom field values into existing global
|
|
329
|
+
await api_instance.merge_project_fields_to_existing_global_value(to_cfv_id, cfv_merge_to_existing_global_value_dto)
|
|
330
|
+
except Exception as e:
|
|
331
|
+
print("Exception when calling CustomFieldValueControllerApi->merge_project_fields_to_existing_global_value: %s\n" % e)
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
### Parameters
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
Name | Type | Description | Notes
|
|
340
|
+
------------- | ------------- | ------------- | -------------
|
|
341
|
+
**to_cfv_id** | **int**| |
|
|
342
|
+
**cfv_merge_to_existing_global_value_dto** | [**CfvMergeToExistingGlobalValueDto**](CfvMergeToExistingGlobalValueDto.md)| |
|
|
343
|
+
|
|
344
|
+
### Return type
|
|
345
|
+
|
|
346
|
+
void (empty response body)
|
|
347
|
+
|
|
348
|
+
### Authorization
|
|
349
|
+
|
|
350
|
+
No authorization required
|
|
351
|
+
|
|
352
|
+
### HTTP request headers
|
|
353
|
+
|
|
354
|
+
- **Content-Type**: application/json
|
|
355
|
+
- **Accept**: Not defined
|
|
356
|
+
|
|
357
|
+
### HTTP response details
|
|
358
|
+
|
|
359
|
+
| Status code | Description | Response headers |
|
|
360
|
+
|-------------|-------------|------------------|
|
|
361
|
+
**204** | No Content | - |
|
|
362
|
+
|
|
363
|
+
[[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)
|
|
364
|
+
|
|
365
|
+
# **merge_project_fields_to_new_global_value**
|
|
366
|
+
> merge_project_fields_to_new_global_value(cfv_merge_to_new_global_value_dto)
|
|
367
|
+
|
|
368
|
+
Merge project custom field values into new global
|
|
369
|
+
|
|
370
|
+
### Example
|
|
371
|
+
|
|
372
|
+
|
|
373
|
+
```python
|
|
374
|
+
import src.client.generated
|
|
375
|
+
from src.client.generated.models.cfv_merge_to_new_global_value_dto import CfvMergeToNewGlobalValueDto
|
|
376
|
+
from src.client.generated.rest import ApiException
|
|
377
|
+
from pprint import pprint
|
|
378
|
+
|
|
379
|
+
# Defining the host is optional and defaults to http://localhost
|
|
380
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
381
|
+
configuration = src.client.generated.Configuration(
|
|
382
|
+
host = "http://localhost"
|
|
383
|
+
)
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
# Enter a context with an instance of the API client
|
|
387
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
388
|
+
# Create an instance of the API class
|
|
389
|
+
api_instance = src.client.generated.CustomFieldValueControllerApi(api_client)
|
|
390
|
+
cfv_merge_to_new_global_value_dto = src.client.generated.CfvMergeToNewGlobalValueDto() # CfvMergeToNewGlobalValueDto |
|
|
391
|
+
|
|
392
|
+
try:
|
|
393
|
+
# Merge project custom field values into new global
|
|
394
|
+
await api_instance.merge_project_fields_to_new_global_value(cfv_merge_to_new_global_value_dto)
|
|
395
|
+
except Exception as e:
|
|
396
|
+
print("Exception when calling CustomFieldValueControllerApi->merge_project_fields_to_new_global_value: %s\n" % e)
|
|
397
|
+
```
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
### Parameters
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
Name | Type | Description | Notes
|
|
405
|
+
------------- | ------------- | ------------- | -------------
|
|
406
|
+
**cfv_merge_to_new_global_value_dto** | [**CfvMergeToNewGlobalValueDto**](CfvMergeToNewGlobalValueDto.md)| |
|
|
407
|
+
|
|
408
|
+
### Return type
|
|
409
|
+
|
|
410
|
+
void (empty response body)
|
|
411
|
+
|
|
412
|
+
### Authorization
|
|
413
|
+
|
|
414
|
+
No authorization required
|
|
415
|
+
|
|
416
|
+
### HTTP request headers
|
|
417
|
+
|
|
418
|
+
- **Content-Type**: application/json
|
|
419
|
+
- **Accept**: Not defined
|
|
420
|
+
|
|
421
|
+
### HTTP response details
|
|
422
|
+
|
|
423
|
+
| Status code | Description | Response headers |
|
|
424
|
+
|-------------|-------------|------------------|
|
|
425
|
+
**204** | No Content | - |
|
|
426
|
+
|
|
427
|
+
[[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)
|
|
428
|
+
|
|
429
|
+
# **patch46**
|
|
430
|
+
> CustomFieldValueWithCfDto patch46(id, custom_field_value_patch_dto)
|
|
431
|
+
|
|
432
|
+
Patch custom field value
|
|
433
|
+
|
|
434
|
+
### Example
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
```python
|
|
438
|
+
import src.client.generated
|
|
439
|
+
from src.client.generated.models.custom_field_value_patch_dto import CustomFieldValuePatchDto
|
|
440
|
+
from src.client.generated.models.custom_field_value_with_cf_dto import CustomFieldValueWithCfDto
|
|
441
|
+
from src.client.generated.rest import ApiException
|
|
442
|
+
from pprint import pprint
|
|
443
|
+
|
|
444
|
+
# Defining the host is optional and defaults to http://localhost
|
|
445
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
446
|
+
configuration = src.client.generated.Configuration(
|
|
447
|
+
host = "http://localhost"
|
|
448
|
+
)
|
|
449
|
+
|
|
450
|
+
|
|
451
|
+
# Enter a context with an instance of the API client
|
|
452
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
453
|
+
# Create an instance of the API class
|
|
454
|
+
api_instance = src.client.generated.CustomFieldValueControllerApi(api_client)
|
|
455
|
+
id = 56 # int |
|
|
456
|
+
custom_field_value_patch_dto = src.client.generated.CustomFieldValuePatchDto() # CustomFieldValuePatchDto |
|
|
457
|
+
|
|
458
|
+
try:
|
|
459
|
+
# Patch custom field value
|
|
460
|
+
api_response = await api_instance.patch46(id, custom_field_value_patch_dto)
|
|
461
|
+
print("The response of CustomFieldValueControllerApi->patch46:\n")
|
|
462
|
+
pprint(api_response)
|
|
463
|
+
except Exception as e:
|
|
464
|
+
print("Exception when calling CustomFieldValueControllerApi->patch46: %s\n" % e)
|
|
465
|
+
```
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
### Parameters
|
|
470
|
+
|
|
471
|
+
|
|
472
|
+
Name | Type | Description | Notes
|
|
473
|
+
------------- | ------------- | ------------- | -------------
|
|
474
|
+
**id** | **int**| |
|
|
475
|
+
**custom_field_value_patch_dto** | [**CustomFieldValuePatchDto**](CustomFieldValuePatchDto.md)| |
|
|
476
|
+
|
|
477
|
+
### Return type
|
|
478
|
+
|
|
479
|
+
[**CustomFieldValueWithCfDto**](CustomFieldValueWithCfDto.md)
|
|
480
|
+
|
|
481
|
+
### Authorization
|
|
482
|
+
|
|
483
|
+
No authorization required
|
|
484
|
+
|
|
485
|
+
### HTTP request headers
|
|
486
|
+
|
|
487
|
+
- **Content-Type**: application/json
|
|
488
|
+
- **Accept**: */*
|
|
489
|
+
|
|
490
|
+
### HTTP response details
|
|
491
|
+
|
|
492
|
+
| Status code | Description | Response headers |
|
|
493
|
+
|-------------|-------------|------------------|
|
|
494
|
+
**200** | OK | - |
|
|
495
|
+
|
|
496
|
+
[[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)
|
|
497
|
+
|
|
498
|
+
# **rename_custom_field_value**
|
|
499
|
+
> rename_custom_field_value(id, custom_field_value_project_rename_dto)
|
|
500
|
+
|
|
501
|
+
Deprecated. Use PUT /api/project/{projectId}/cfv/{cvfId}/name instead
|
|
502
|
+
|
|
503
|
+
### Example
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
```python
|
|
507
|
+
import src.client.generated
|
|
508
|
+
from src.client.generated.models.custom_field_value_project_rename_dto import CustomFieldValueProjectRenameDto
|
|
509
|
+
from src.client.generated.rest import ApiException
|
|
510
|
+
from pprint import pprint
|
|
511
|
+
|
|
512
|
+
# Defining the host is optional and defaults to http://localhost
|
|
513
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
514
|
+
configuration = src.client.generated.Configuration(
|
|
515
|
+
host = "http://localhost"
|
|
516
|
+
)
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
# Enter a context with an instance of the API client
|
|
520
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
521
|
+
# Create an instance of the API class
|
|
522
|
+
api_instance = src.client.generated.CustomFieldValueControllerApi(api_client)
|
|
523
|
+
id = 56 # int |
|
|
524
|
+
custom_field_value_project_rename_dto = src.client.generated.CustomFieldValueProjectRenameDto() # CustomFieldValueProjectRenameDto |
|
|
525
|
+
|
|
526
|
+
try:
|
|
527
|
+
# Deprecated. Use PUT /api/project/{projectId}/cfv/{cvfId}/name instead
|
|
528
|
+
await api_instance.rename_custom_field_value(id, custom_field_value_project_rename_dto)
|
|
529
|
+
except Exception as e:
|
|
530
|
+
print("Exception when calling CustomFieldValueControllerApi->rename_custom_field_value: %s\n" % e)
|
|
531
|
+
```
|
|
532
|
+
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
### Parameters
|
|
536
|
+
|
|
537
|
+
|
|
538
|
+
Name | Type | Description | Notes
|
|
539
|
+
------------- | ------------- | ------------- | -------------
|
|
540
|
+
**id** | **int**| |
|
|
541
|
+
**custom_field_value_project_rename_dto** | [**CustomFieldValueProjectRenameDto**](CustomFieldValueProjectRenameDto.md)| |
|
|
542
|
+
|
|
543
|
+
### Return type
|
|
544
|
+
|
|
545
|
+
void (empty response body)
|
|
546
|
+
|
|
547
|
+
### Authorization
|
|
548
|
+
|
|
549
|
+
No authorization required
|
|
550
|
+
|
|
551
|
+
### HTTP request headers
|
|
552
|
+
|
|
553
|
+
- **Content-Type**: application/json
|
|
554
|
+
- **Accept**: Not defined
|
|
555
|
+
|
|
556
|
+
### HTTP response details
|
|
557
|
+
|
|
558
|
+
| Status code | Description | Response headers |
|
|
559
|
+
|-------------|-------------|------------------|
|
|
560
|
+
**200** | OK | - |
|
|
561
|
+
|
|
562
|
+
[[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)
|
|
563
|
+
|
|
564
|
+
# **suggest21**
|
|
565
|
+
> PageIdAndNameOnlyDto suggest21(custom_field_id=custom_field_id, query=query, project_id=project_id, id=id, ignore_id=ignore_id, page=page, size=size, sort=sort)
|
|
566
|
+
|
|
567
|
+
Suggest custom field values
|
|
568
|
+
|
|
569
|
+
### Example
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
```python
|
|
573
|
+
import src.client.generated
|
|
574
|
+
from src.client.generated.models.page_id_and_name_only_dto import PageIdAndNameOnlyDto
|
|
575
|
+
from src.client.generated.rest import ApiException
|
|
576
|
+
from pprint import pprint
|
|
577
|
+
|
|
578
|
+
# Defining the host is optional and defaults to http://localhost
|
|
579
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
580
|
+
configuration = src.client.generated.Configuration(
|
|
581
|
+
host = "http://localhost"
|
|
582
|
+
)
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
# Enter a context with an instance of the API client
|
|
586
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
587
|
+
# Create an instance of the API class
|
|
588
|
+
api_instance = src.client.generated.CustomFieldValueControllerApi(api_client)
|
|
589
|
+
custom_field_id = 56 # int | (optional)
|
|
590
|
+
query = 'query_example' # str | (optional)
|
|
591
|
+
project_id = 56 # int | (optional)
|
|
592
|
+
id = [56] # List[int] | (optional)
|
|
593
|
+
ignore_id = [56] # List[int] | (optional)
|
|
594
|
+
page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
|
|
595
|
+
size = 10 # int | The size of the page to be returned (optional) (default to 10)
|
|
596
|
+
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])
|
|
597
|
+
|
|
598
|
+
try:
|
|
599
|
+
# Suggest custom field values
|
|
600
|
+
api_response = await api_instance.suggest21(custom_field_id=custom_field_id, query=query, project_id=project_id, id=id, ignore_id=ignore_id, page=page, size=size, sort=sort)
|
|
601
|
+
print("The response of CustomFieldValueControllerApi->suggest21:\n")
|
|
602
|
+
pprint(api_response)
|
|
603
|
+
except Exception as e:
|
|
604
|
+
print("Exception when calling CustomFieldValueControllerApi->suggest21: %s\n" % e)
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
### Parameters
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
Name | Type | Description | Notes
|
|
613
|
+
------------- | ------------- | ------------- | -------------
|
|
614
|
+
**custom_field_id** | **int**| | [optional]
|
|
615
|
+
**query** | **str**| | [optional]
|
|
616
|
+
**project_id** | **int**| | [optional]
|
|
617
|
+
**id** | [**List[int]**](int.md)| | [optional]
|
|
618
|
+
**ignore_id** | [**List[int]**](int.md)| | [optional]
|
|
619
|
+
**page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
|
|
620
|
+
**size** | **int**| The size of the page to be returned | [optional] [default to 10]
|
|
621
|
+
**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]]
|
|
622
|
+
|
|
623
|
+
### Return type
|
|
624
|
+
|
|
625
|
+
[**PageIdAndNameOnlyDto**](PageIdAndNameOnlyDto.md)
|
|
626
|
+
|
|
627
|
+
### Authorization
|
|
628
|
+
|
|
629
|
+
No authorization required
|
|
630
|
+
|
|
631
|
+
### HTTP request headers
|
|
632
|
+
|
|
633
|
+
- **Content-Type**: Not defined
|
|
634
|
+
- **Accept**: */*
|
|
635
|
+
|
|
636
|
+
### HTTP response details
|
|
637
|
+
|
|
638
|
+
| Status code | Description | Response headers |
|
|
639
|
+
|-------------|-------------|------------------|
|
|
640
|
+
**200** | OK | - |
|
|
641
|
+
|
|
642
|
+
[[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)
|
|
643
|
+
|
|
644
|
+
# **suggest_v2**
|
|
645
|
+
> PageIdAndNameOnlyDto suggest_v2(project_id, custom_field_id=custom_field_id, query=query, id=id, ignore_id=ignore_id, page=page, size=size, sort=sort)
|
|
646
|
+
|
|
647
|
+
Suggest custom field values
|
|
648
|
+
|
|
649
|
+
### Example
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
```python
|
|
653
|
+
import src.client.generated
|
|
654
|
+
from src.client.generated.models.page_id_and_name_only_dto import PageIdAndNameOnlyDto
|
|
655
|
+
from src.client.generated.rest import ApiException
|
|
656
|
+
from pprint import pprint
|
|
657
|
+
|
|
658
|
+
# Defining the host is optional and defaults to http://localhost
|
|
659
|
+
# See configuration.py for a list of all supported configuration parameters.
|
|
660
|
+
configuration = src.client.generated.Configuration(
|
|
661
|
+
host = "http://localhost"
|
|
662
|
+
)
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
# Enter a context with an instance of the API client
|
|
666
|
+
async with src.client.generated.ApiClient(configuration) as api_client:
|
|
667
|
+
# Create an instance of the API class
|
|
668
|
+
api_instance = src.client.generated.CustomFieldValueControllerApi(api_client)
|
|
669
|
+
project_id = 56 # int |
|
|
670
|
+
custom_field_id = 56 # int | (optional)
|
|
671
|
+
query = 'query_example' # str | (optional)
|
|
672
|
+
id = [56] # List[int] | (optional)
|
|
673
|
+
ignore_id = [56] # List[int] | (optional)
|
|
674
|
+
page = 0 # int | Zero-based page index (0..N) (optional) (default to 0)
|
|
675
|
+
size = 10 # int | The size of the page to be returned (optional) (default to 10)
|
|
676
|
+
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])
|
|
677
|
+
|
|
678
|
+
try:
|
|
679
|
+
# Suggest custom field values
|
|
680
|
+
api_response = await api_instance.suggest_v2(project_id, custom_field_id=custom_field_id, query=query, id=id, ignore_id=ignore_id, page=page, size=size, sort=sort)
|
|
681
|
+
print("The response of CustomFieldValueControllerApi->suggest_v2:\n")
|
|
682
|
+
pprint(api_response)
|
|
683
|
+
except Exception as e:
|
|
684
|
+
print("Exception when calling CustomFieldValueControllerApi->suggest_v2: %s\n" % e)
|
|
685
|
+
```
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
### Parameters
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
Name | Type | Description | Notes
|
|
693
|
+
------------- | ------------- | ------------- | -------------
|
|
694
|
+
**project_id** | **int**| |
|
|
695
|
+
**custom_field_id** | **int**| | [optional]
|
|
696
|
+
**query** | **str**| | [optional]
|
|
697
|
+
**id** | [**List[int]**](int.md)| | [optional]
|
|
698
|
+
**ignore_id** | [**List[int]**](int.md)| | [optional]
|
|
699
|
+
**page** | **int**| Zero-based page index (0..N) | [optional] [default to 0]
|
|
700
|
+
**size** | **int**| The size of the page to be returned | [optional] [default to 10]
|
|
701
|
+
**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]]
|
|
702
|
+
|
|
703
|
+
### Return type
|
|
704
|
+
|
|
705
|
+
[**PageIdAndNameOnlyDto**](PageIdAndNameOnlyDto.md)
|
|
706
|
+
|
|
707
|
+
### Authorization
|
|
708
|
+
|
|
709
|
+
No authorization required
|
|
710
|
+
|
|
711
|
+
### HTTP request headers
|
|
712
|
+
|
|
713
|
+
- **Content-Type**: Not defined
|
|
714
|
+
- **Accept**: */*
|
|
715
|
+
|
|
716
|
+
### HTTP response details
|
|
717
|
+
|
|
718
|
+
| Status code | Description | Response headers |
|
|
719
|
+
|-------------|-------------|------------------|
|
|
720
|
+
**200** | OK | - |
|
|
721
|
+
|
|
722
|
+
[[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)
|
|
723
|
+
|