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