pyegeria 0.6.3__py3-none-any.whl → 0.6.6__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.
- examples/widgets/cat/get_project_structure.py +165 -0
- examples/widgets/cat/list_cert_types.py +176 -0
- examples/widgets/cat/list_projects.py +20 -3
- examples/widgets/ops/monitor_engine_activity.py +14 -3
- pyegeria/__init__.py +4 -2
- pyegeria/_globals.py +1 -0
- pyegeria/asset_catalog_omvs.py +24 -29
- pyegeria/classification_manager_omvs.py +1830 -0
- pyegeria/feedback_manager_omvs.py +667 -674
- pyegeria/my_profile_omvs.py +6 -5
- pyegeria/project_manager_omvs.py +1 -1
- {pyegeria-0.6.3.dist-info → pyegeria-0.6.6.dist-info}/METADATA +3 -1
- {pyegeria-0.6.3.dist-info → pyegeria-0.6.6.dist-info}/RECORD +16 -14
- {pyegeria-0.6.3.dist-info → pyegeria-0.6.6.dist-info}/entry_points.txt +1 -0
- pyegeria/Xfeedback_manager_omvs.py +0 -238
- {pyegeria-0.6.3.dist-info → pyegeria-0.6.6.dist-info}/LICENSE +0 -0
- {pyegeria-0.6.3.dist-info → pyegeria-0.6.6.dist-info}/WHEEL +0 -0
@@ -6,20 +6,12 @@ module.
|
|
6
6
|
|
7
7
|
"""
|
8
8
|
|
9
|
-
import json
|
10
|
-
from datetime import datetime
|
11
9
|
import asyncio
|
10
|
+
import json
|
12
11
|
|
13
12
|
# import json
|
14
13
|
from pyegeria._client import Client, max_paging_size
|
15
14
|
from pyegeria._globals import enable_ssl_check
|
16
|
-
from pyegeria._validators import (
|
17
|
-
validate_name,
|
18
|
-
validate_guid,
|
19
|
-
validate_url,
|
20
|
-
validate_search_string,
|
21
|
-
)
|
22
|
-
from pyegeria.utils import body_slimmer
|
23
15
|
|
24
16
|
|
25
17
|
def jprint(info, comment=None):
|
@@ -119,14 +111,14 @@ class FeedbackManager(Client):
|
|
119
111
|
"""
|
120
112
|
|
121
113
|
def __init__(
|
122
|
-
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
|
114
|
+
self,
|
115
|
+
server_name: str,
|
116
|
+
platform_url: str,
|
117
|
+
token: str = None,
|
118
|
+
user_id: str = None,
|
119
|
+
user_pwd: str = None,
|
120
|
+
verify_flag: bool = enable_ssl_check,
|
121
|
+
sync_mode: bool = True,
|
130
122
|
):
|
131
123
|
self.admin_command_root: str
|
132
124
|
Client.__init__(
|
@@ -134,19 +126,20 @@ class FeedbackManager(Client):
|
|
134
126
|
server_name,
|
135
127
|
platform_url,
|
136
128
|
user_id=user_id,
|
129
|
+
user_pwd=user_pwd,
|
137
130
|
token=token,
|
138
131
|
async_mode=sync_mode,
|
139
132
|
)
|
140
133
|
|
141
134
|
async def _async_add_comment_reply(
|
142
|
-
|
143
|
-
|
144
|
-
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
|
135
|
+
self,
|
136
|
+
element_guid: str,
|
137
|
+
comment_guid: str,
|
138
|
+
server_name: str = None,
|
139
|
+
is_public: bool = True,
|
140
|
+
body: dict = {},
|
141
|
+
view_service_url_marker: str = None,
|
142
|
+
access_service_url_marker: str = None,
|
150
143
|
) -> dict | str:
|
151
144
|
"""
|
152
145
|
Adds a reply to a comment.
|
@@ -191,19 +184,19 @@ class FeedbackManager(Client):
|
|
191
184
|
("accessServiceUrlMarker", access_service_url_marker),
|
192
185
|
]
|
193
186
|
)
|
194
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/comments/{comment_guid}/replies{possible_query_params}"
|
187
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/comments/{comment_guid}/replies{possible_query_params}"
|
195
188
|
response = await self._async_make_request("POST", url, body)
|
196
189
|
return response.json()
|
197
190
|
|
198
191
|
def add_comment_reply(
|
199
|
-
|
200
|
-
|
201
|
-
|
202
|
-
|
203
|
-
|
204
|
-
|
205
|
-
|
206
|
-
|
192
|
+
self,
|
193
|
+
element_guid: str,
|
194
|
+
comment_guid: str,
|
195
|
+
server_name: str = None,
|
196
|
+
is_public: bool = True,
|
197
|
+
body: dict = {},
|
198
|
+
view_service_url_marker: str = None,
|
199
|
+
access_service_url_marker: str = None,
|
207
200
|
) -> dict | str:
|
208
201
|
"""
|
209
202
|
Adds a reply to a comment.
|
@@ -263,13 +256,13 @@ class FeedbackManager(Client):
|
|
263
256
|
#
|
264
257
|
|
265
258
|
async def _async_add_comment_to_element(
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
259
|
+
self,
|
260
|
+
element_guid: str,
|
261
|
+
server_name: str = None,
|
262
|
+
is_public: bool = True,
|
263
|
+
body: dict = {},
|
264
|
+
view_service_url_marker: str = None,
|
265
|
+
access_service_url_marker: str = None,
|
273
266
|
) -> dict | str:
|
274
267
|
"""
|
275
268
|
Creates a comment and attaches it to an element.
|
@@ -312,19 +305,19 @@ class FeedbackManager(Client):
|
|
312
305
|
("accessServiceUrlMarker", access_service_url_marker),
|
313
306
|
]
|
314
307
|
)
|
315
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/comments{possible_query_params}"
|
308
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/comments{possible_query_params}"
|
316
309
|
|
317
310
|
response = await self._async_make_request("POST", url, body)
|
318
311
|
return response.json()
|
319
312
|
|
320
313
|
def add_comment_to_element(
|
321
|
-
|
322
|
-
|
323
|
-
|
324
|
-
|
325
|
-
|
326
|
-
|
327
|
-
|
314
|
+
self,
|
315
|
+
element_guid: str,
|
316
|
+
server_name: str = None,
|
317
|
+
is_public: bool = True,
|
318
|
+
body: dict = {},
|
319
|
+
view_service_url_marker: str = None,
|
320
|
+
access_service_url_marker: str = None,
|
328
321
|
) -> dict | str:
|
329
322
|
"""
|
330
323
|
Creates a comment and attaches it to an element.
|
@@ -376,13 +369,13 @@ class FeedbackManager(Client):
|
|
376
369
|
#
|
377
370
|
|
378
371
|
async def _async_add_like_to_element(
|
379
|
-
|
380
|
-
|
381
|
-
|
382
|
-
|
383
|
-
|
384
|
-
|
385
|
-
|
372
|
+
self,
|
373
|
+
element_guid: str,
|
374
|
+
server_name: str = None,
|
375
|
+
is_public: bool = True,
|
376
|
+
body: dict = {},
|
377
|
+
view_service_url_marker: str = None,
|
378
|
+
access_service_url_marker: str = None,
|
386
379
|
) -> dict | str:
|
387
380
|
"""
|
388
381
|
Creates a "like" object and attaches it to an element.
|
@@ -426,19 +419,19 @@ class FeedbackManager(Client):
|
|
426
419
|
]
|
427
420
|
)
|
428
421
|
|
429
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/likes{possible_query_params}"
|
422
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/likes{possible_query_params}"
|
430
423
|
|
431
424
|
response = await self._async_make_request("POST", url, body)
|
432
425
|
return response.json()
|
433
426
|
|
434
427
|
def add_like_to_element(
|
435
|
-
|
436
|
-
|
437
|
-
|
438
|
-
|
439
|
-
|
440
|
-
|
441
|
-
|
428
|
+
self,
|
429
|
+
element_guid: str,
|
430
|
+
server_name: str = None,
|
431
|
+
is_public: bool = True,
|
432
|
+
body: dict = {},
|
433
|
+
view_service_url_marker: str = None,
|
434
|
+
access_service_url_marker: str = None,
|
442
435
|
) -> dict | str:
|
443
436
|
"""
|
444
437
|
Creates a "like" object and attaches it to an element.
|
@@ -489,13 +482,13 @@ class FeedbackManager(Client):
|
|
489
482
|
#
|
490
483
|
|
491
484
|
async def _async_add_rating_to_element(
|
492
|
-
|
493
|
-
|
494
|
-
|
495
|
-
|
496
|
-
|
497
|
-
|
498
|
-
|
485
|
+
self,
|
486
|
+
element_guid: str,
|
487
|
+
server_name: str = None,
|
488
|
+
is_public: bool = True,
|
489
|
+
body: dict = {},
|
490
|
+
view_service_url_marker: str = None,
|
491
|
+
access_service_url_marker: str = None,
|
499
492
|
) -> dict | str:
|
500
493
|
"""
|
501
494
|
Adds a star rating and optional review text to the element.
|
@@ -538,19 +531,19 @@ class FeedbackManager(Client):
|
|
538
531
|
("accessServiceUrlMarker", access_service_url_marker),
|
539
532
|
]
|
540
533
|
)
|
541
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/ratings{possible_query_params}"
|
534
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/ratings{possible_query_params}"
|
542
535
|
|
543
536
|
response = await self._async_make_request("POST", url, body)
|
544
537
|
return response.json()
|
545
538
|
|
546
539
|
def add_rating_to_element(
|
547
|
-
|
548
|
-
|
549
|
-
|
550
|
-
|
551
|
-
|
552
|
-
|
553
|
-
|
540
|
+
self,
|
541
|
+
element_guid: str,
|
542
|
+
server_name: str = None,
|
543
|
+
is_public: bool = True,
|
544
|
+
body: dict = {},
|
545
|
+
view_service_url_marker: str = None,
|
546
|
+
access_service_url_marker: str = None,
|
554
547
|
) -> dict | str:
|
555
548
|
"""
|
556
549
|
Adds a star rating and optional review text to the element.
|
@@ -601,14 +594,14 @@ class FeedbackManager(Client):
|
|
601
594
|
#
|
602
595
|
|
603
596
|
async def _async_add_tag_to_element(
|
604
|
-
|
605
|
-
|
606
|
-
|
607
|
-
|
608
|
-
|
609
|
-
|
610
|
-
|
611
|
-
|
597
|
+
self,
|
598
|
+
element_guid: str,
|
599
|
+
tag_guid: str,
|
600
|
+
server_name: str = None,
|
601
|
+
is_public: bool = False,
|
602
|
+
body: dict = {},
|
603
|
+
view_service_url_marker: str = None,
|
604
|
+
access_service_url_marker: str = None,
|
612
605
|
) -> dict | str:
|
613
606
|
"""
|
614
607
|
Adds an informal tag (either private of public) to an element.
|
@@ -651,19 +644,19 @@ class FeedbackManager(Client):
|
|
651
644
|
("accessServiceUrlMarker", access_service_url_marker),
|
652
645
|
]
|
653
646
|
)
|
654
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/tags/{tag_guid}{possible_query_params}"
|
647
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/tags/{tag_guid}{possible_query_params}"
|
655
648
|
response = await self._async_make_request("POST", url, body)
|
656
649
|
return response.json()
|
657
650
|
|
658
651
|
def add_tag_to_element(
|
659
|
-
|
660
|
-
|
661
|
-
|
662
|
-
|
663
|
-
|
664
|
-
|
665
|
-
|
666
|
-
|
652
|
+
self,
|
653
|
+
element_guid: str,
|
654
|
+
tag_guid: str,
|
655
|
+
server_name: str = None,
|
656
|
+
is_public: bool = False,
|
657
|
+
body: dict = {},
|
658
|
+
view_service_url_marker: str = None,
|
659
|
+
access_service_url_marker: str = None,
|
667
660
|
) -> dict | str:
|
668
661
|
"""
|
669
662
|
Adds an informal tag (either private of public) to an element.
|
@@ -717,13 +710,13 @@ class FeedbackManager(Client):
|
|
717
710
|
#
|
718
711
|
|
719
712
|
async def _async_clear_accepted_answer(
|
720
|
-
|
721
|
-
|
722
|
-
|
723
|
-
|
724
|
-
|
725
|
-
|
726
|
-
|
713
|
+
self,
|
714
|
+
question_comment_guid: str,
|
715
|
+
answer_comment_guid: str,
|
716
|
+
server_name: str = None,
|
717
|
+
body: dict = {},
|
718
|
+
view_service_url_marker: str = None,
|
719
|
+
access_service_url_marker: str = None,
|
727
720
|
) -> dict | str:
|
728
721
|
"""
|
729
722
|
Unlink a comment that contains an answer to a question posed in another comment.
|
@@ -765,18 +758,18 @@ class FeedbackManager(Client):
|
|
765
758
|
("accessServiceUrlMarker", access_service_url_marker),
|
766
759
|
]
|
767
760
|
)
|
768
|
-
url = f"{base_path(self,server_name)}/comments/questions/{question_comment_guid}/answers/{answer_comment_guid}/remove{possible_query_params}"
|
761
|
+
url = f"{base_path(self, server_name)}/comments/questions/{question_comment_guid}/answers/{answer_comment_guid}/remove{possible_query_params}"
|
769
762
|
response = await self._async_make_request("POST", url, body)
|
770
763
|
return response.json()
|
771
764
|
|
772
765
|
def clear_accepted_answer(
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
|
778
|
-
|
779
|
-
|
766
|
+
self,
|
767
|
+
question_comment_guid: str,
|
768
|
+
answer_comment_guid: str,
|
769
|
+
server_name: str = None,
|
770
|
+
body: dict = {},
|
771
|
+
view_service_url_marker: str = None,
|
772
|
+
access_service_url_marker: str = None,
|
780
773
|
) -> dict | str:
|
781
774
|
"""
|
782
775
|
Unlink a comment that contains an answer to a question posed in another comment.
|
@@ -827,11 +820,11 @@ class FeedbackManager(Client):
|
|
827
820
|
#
|
828
821
|
|
829
822
|
async def _async_create_informal_tag(
|
830
|
-
|
831
|
-
|
832
|
-
|
833
|
-
|
834
|
-
|
823
|
+
self,
|
824
|
+
body: dict,
|
825
|
+
server_name: str = None,
|
826
|
+
view_service_url_marker: str = None,
|
827
|
+
access_service_url_marker: str = None,
|
835
828
|
) -> dict | str:
|
836
829
|
"""
|
837
830
|
Creates a new informal tag and returns the unique identifier for it.
|
@@ -881,17 +874,17 @@ class FeedbackManager(Client):
|
|
881
874
|
("accessServiceUrlMarker", access_service_url_marker),
|
882
875
|
]
|
883
876
|
)
|
884
|
-
url = f"{base_path(self,server_name)}/tags{possible_query_params}"
|
877
|
+
url = f"{base_path(self, server_name)}/tags{possible_query_params}"
|
885
878
|
|
886
879
|
response = await self._async_make_request("POST", url, body)
|
887
880
|
return response.json()
|
888
881
|
|
889
882
|
def create_informal_tag(
|
890
|
-
|
891
|
-
|
892
|
-
|
893
|
-
|
894
|
-
|
883
|
+
self,
|
884
|
+
body: dict,
|
885
|
+
server_name: str = None,
|
886
|
+
view_service_url_marker: str = None,
|
887
|
+
access_service_url_marker: str = None,
|
895
888
|
) -> dict | str:
|
896
889
|
"""
|
897
890
|
Creates a new informal tag and returns the unique identifier for it.
|
@@ -943,12 +936,12 @@ class FeedbackManager(Client):
|
|
943
936
|
#
|
944
937
|
|
945
938
|
async def _async_create_note(
|
946
|
-
|
947
|
-
|
948
|
-
|
949
|
-
|
950
|
-
|
951
|
-
|
939
|
+
self,
|
940
|
+
note_log_guid: str,
|
941
|
+
server_name: str = None,
|
942
|
+
body: dict = {},
|
943
|
+
view_service_url_marker: str = None,
|
944
|
+
access_service_url_marker: str = None,
|
952
945
|
) -> dict | str:
|
953
946
|
"""
|
954
947
|
Creates a new note for a note log and returns the unique identifier for it.
|
@@ -989,17 +982,17 @@ class FeedbackManager(Client):
|
|
989
982
|
]
|
990
983
|
)
|
991
984
|
|
992
|
-
url = f"{base_path(self,server_name)}/note-logs/{note_log_guid}/notes{possible_query_params}"
|
985
|
+
url = f"{base_path(self, server_name)}/note-logs/{note_log_guid}/notes{possible_query_params}"
|
993
986
|
response = await self._async_make_request("POST", url, body)
|
994
987
|
return response.json()
|
995
988
|
|
996
989
|
def create_note(
|
997
|
-
|
998
|
-
|
999
|
-
|
1000
|
-
|
1001
|
-
|
1002
|
-
|
990
|
+
self,
|
991
|
+
note_log_guid: str,
|
992
|
+
server_name: str = None,
|
993
|
+
body: dict = {},
|
994
|
+
view_service_url_marker: str = None,
|
995
|
+
access_service_url_marker: str = None,
|
1003
996
|
) -> dict | str:
|
1004
997
|
"""
|
1005
998
|
Creates a new note for a note log and returns the unique identifier for it.
|
@@ -1047,13 +1040,13 @@ class FeedbackManager(Client):
|
|
1047
1040
|
#
|
1048
1041
|
|
1049
1042
|
async def _async_create_note_log(
|
1050
|
-
|
1051
|
-
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1055
|
-
|
1056
|
-
|
1043
|
+
self,
|
1044
|
+
element_guid: str,
|
1045
|
+
server_name: str = None,
|
1046
|
+
is_public: bool = True,
|
1047
|
+
body: dict = {},
|
1048
|
+
view_service_url_marker: str = None,
|
1049
|
+
access_service_url_marker: str = None,
|
1057
1050
|
) -> dict | str:
|
1058
1051
|
"""
|
1059
1052
|
Creates a new noteLog and returns the unique identifier for it.
|
@@ -1096,18 +1089,18 @@ class FeedbackManager(Client):
|
|
1096
1089
|
("accessServiceUrlMarker", access_service_url_marker),
|
1097
1090
|
]
|
1098
1091
|
)
|
1099
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/note-logs{possible_query_params}"
|
1092
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/note-logs{possible_query_params}"
|
1100
1093
|
response = await self._async_make_request("POST", url, body)
|
1101
1094
|
return response.json()
|
1102
1095
|
|
1103
1096
|
def create_note_log(
|
1104
|
-
|
1105
|
-
|
1106
|
-
|
1107
|
-
|
1108
|
-
|
1109
|
-
|
1110
|
-
|
1097
|
+
self,
|
1098
|
+
element_guid: str,
|
1099
|
+
server_name: str = None,
|
1100
|
+
is_public: bool = True,
|
1101
|
+
body: dict = {},
|
1102
|
+
view_service_url_marker: str = None,
|
1103
|
+
access_service_url_marker: str = None,
|
1111
1104
|
) -> dict | str:
|
1112
1105
|
"""
|
1113
1106
|
Creates a new noteLog and returns the unique identifier for it.
|
@@ -1158,12 +1151,12 @@ class FeedbackManager(Client):
|
|
1158
1151
|
#
|
1159
1152
|
|
1160
1153
|
async def _async_delete_tag(
|
1161
|
-
|
1162
|
-
|
1163
|
-
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1154
|
+
self,
|
1155
|
+
tag_guid: str,
|
1156
|
+
server_name: str = None,
|
1157
|
+
body: dict = {},
|
1158
|
+
view_service_url_marker: str = None,
|
1159
|
+
access_service_url_marker: str = None,
|
1167
1160
|
) -> dict | str:
|
1168
1161
|
"""
|
1169
1162
|
Removes an informal tag from the repository.
|
@@ -1229,12 +1222,12 @@ class FeedbackManager(Client):
|
|
1229
1222
|
return response.json()
|
1230
1223
|
|
1231
1224
|
def delete_tag(
|
1232
|
-
|
1233
|
-
|
1234
|
-
|
1235
|
-
|
1236
|
-
|
1237
|
-
|
1225
|
+
self,
|
1226
|
+
tag_guid: str,
|
1227
|
+
server_name: str = None,
|
1228
|
+
body: dict = {},
|
1229
|
+
view_service_url_marker: str = None,
|
1230
|
+
access_service_url_marker: str = None,
|
1238
1231
|
) -> dict | str:
|
1239
1232
|
"""
|
1240
1233
|
Removes an informal tag from the repository.
|
@@ -1302,17 +1295,17 @@ class FeedbackManager(Client):
|
|
1302
1295
|
#
|
1303
1296
|
|
1304
1297
|
async def _async_find_my_tags(
|
1305
|
-
|
1306
|
-
|
1307
|
-
|
1308
|
-
|
1309
|
-
|
1310
|
-
|
1311
|
-
|
1312
|
-
|
1313
|
-
|
1314
|
-
|
1315
|
-
|
1298
|
+
self,
|
1299
|
+
body: str,
|
1300
|
+
server_name: str = None,
|
1301
|
+
starts_with: bool = None,
|
1302
|
+
ends_with: bool = None,
|
1303
|
+
ignore_case: bool = None,
|
1304
|
+
start_from: int = 0,
|
1305
|
+
page_size: int = max_paging_size,
|
1306
|
+
view_service_url_marker: str = None,
|
1307
|
+
access_service_url_marker: str = None,
|
1308
|
+
detailed_response: bool = False,
|
1316
1309
|
) -> dict | str:
|
1317
1310
|
"""
|
1318
1311
|
Return the list of the calling user's private tags containing the supplied string in either the name or description. The search string is a regular expression (RegEx).
|
@@ -1366,22 +1359,22 @@ class FeedbackManager(Client):
|
|
1366
1359
|
("accessServiceUrlMarker", access_service_url_marker),
|
1367
1360
|
]
|
1368
1361
|
)
|
1369
|
-
url = f"{base_path(self,server_name)}/tags/by-search-string{possible_query_params}"
|
1362
|
+
url = f"{base_path(self, server_name)}/tags/by-search-string{possible_query_params}"
|
1370
1363
|
response = await self._async_make_request("POST", url, body)
|
1371
1364
|
return elements_response(response.json(), "tags", detailed_response)
|
1372
1365
|
|
1373
1366
|
def find_my_tags(
|
1374
|
-
|
1375
|
-
|
1376
|
-
|
1377
|
-
|
1378
|
-
|
1379
|
-
|
1380
|
-
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1367
|
+
self,
|
1368
|
+
body: str,
|
1369
|
+
server_name: str = None,
|
1370
|
+
starts_with: bool = None,
|
1371
|
+
ends_with: bool = None,
|
1372
|
+
ignore_case: bool = None,
|
1373
|
+
start_from: int = 0,
|
1374
|
+
page_size: int = max_paging_size,
|
1375
|
+
view_service_url_marker: str = None,
|
1376
|
+
access_service_url_marker: str = None,
|
1377
|
+
detailed_response: bool = False,
|
1385
1378
|
) -> dict | str:
|
1386
1379
|
"""
|
1387
1380
|
Return the list of the calling user's private tags containing the supplied string in either the name or description. The search string is a regular expression (RegEx).
|
@@ -1443,17 +1436,17 @@ class FeedbackManager(Client):
|
|
1443
1436
|
#
|
1444
1437
|
|
1445
1438
|
async def _async_find_note_logs(
|
1446
|
-
|
1447
|
-
|
1448
|
-
|
1449
|
-
|
1450
|
-
|
1451
|
-
|
1452
|
-
|
1453
|
-
|
1454
|
-
|
1455
|
-
|
1456
|
-
|
1439
|
+
self,
|
1440
|
+
body: dict,
|
1441
|
+
server_name: str = None,
|
1442
|
+
starts_with: bool = None,
|
1443
|
+
ends_with: bool = None,
|
1444
|
+
ignore_case: bool = None,
|
1445
|
+
start_from: int = 0,
|
1446
|
+
page_size: int = max_paging_size,
|
1447
|
+
view_service_url_marker: str = None,
|
1448
|
+
access_service_url_marker: str = None,
|
1449
|
+
detailed_response: bool = False,
|
1457
1450
|
) -> dict | str:
|
1458
1451
|
"""
|
1459
1452
|
Retrieve the list of note log metadata elements that contain the search string.
|
@@ -1506,22 +1499,22 @@ class FeedbackManager(Client):
|
|
1506
1499
|
("accessServiceUrlMarker", access_service_url_marker),
|
1507
1500
|
]
|
1508
1501
|
)
|
1509
|
-
url = f"{base_path(self,server_name)}/note-logs/by-search-string{possible_query_params}"
|
1502
|
+
url = f"{base_path(self, server_name)}/note-logs/by-search-string{possible_query_params}"
|
1510
1503
|
response = await self._async_make_request("POST", url, body)
|
1511
1504
|
return elements_response(response.json(), "elementList", detailed_response)
|
1512
1505
|
|
1513
1506
|
def find_note_logs(
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1517
|
-
|
1518
|
-
|
1519
|
-
|
1520
|
-
|
1521
|
-
|
1522
|
-
|
1523
|
-
|
1524
|
-
|
1507
|
+
self,
|
1508
|
+
body: dict,
|
1509
|
+
server_name: str = None,
|
1510
|
+
starts_with: bool = None,
|
1511
|
+
ends_with: bool = None,
|
1512
|
+
ignore_case: bool = None,
|
1513
|
+
start_from: int = 0,
|
1514
|
+
page_size: int = max_paging_size,
|
1515
|
+
view_service_url_marker: str = None,
|
1516
|
+
access_service_url_marker: str = None,
|
1517
|
+
detailed_response: bool = False,
|
1525
1518
|
) -> dict | str:
|
1526
1519
|
"""
|
1527
1520
|
Retrieve the list of note log metadata elements that contain the search string.
|
@@ -1582,17 +1575,17 @@ class FeedbackManager(Client):
|
|
1582
1575
|
#
|
1583
1576
|
|
1584
1577
|
async def _async_find_notes(
|
1585
|
-
|
1586
|
-
|
1587
|
-
|
1588
|
-
|
1589
|
-
|
1590
|
-
|
1591
|
-
|
1592
|
-
|
1593
|
-
|
1594
|
-
|
1595
|
-
|
1578
|
+
self,
|
1579
|
+
body: dict,
|
1580
|
+
server_name: str = None,
|
1581
|
+
starts_with: bool = None,
|
1582
|
+
ends_with: bool = None,
|
1583
|
+
ignore_case: bool = None,
|
1584
|
+
start_from: int = 0,
|
1585
|
+
page_size: int = max_paging_size,
|
1586
|
+
view_service_url_marker: str = None,
|
1587
|
+
access_service_url_marker: str = None,
|
1588
|
+
detailed_response: bool = False,
|
1596
1589
|
) -> dict | str:
|
1597
1590
|
"""
|
1598
1591
|
Retrieve the list of note metadata elements that contain the search string.
|
@@ -1645,22 +1638,22 @@ class FeedbackManager(Client):
|
|
1645
1638
|
("accessServiceUrlMarker", access_service_url_marker),
|
1646
1639
|
]
|
1647
1640
|
)
|
1648
|
-
url = f"{base_path(self,server_name)}/note-logs/notes/by-search-string{possible_query_params}"
|
1641
|
+
url = f"{base_path(self, server_name)}/note-logs/notes/by-search-string{possible_query_params}"
|
1649
1642
|
response = await self._async_make_request("POST", url, body)
|
1650
1643
|
return elements_response(response.json(), "elementList", detailed_response)
|
1651
1644
|
|
1652
1645
|
def find_notes(
|
1653
|
-
|
1654
|
-
|
1655
|
-
|
1656
|
-
|
1657
|
-
|
1658
|
-
|
1659
|
-
|
1660
|
-
|
1661
|
-
|
1662
|
-
|
1663
|
-
|
1646
|
+
self,
|
1647
|
+
body: dict,
|
1648
|
+
server_name: str = None,
|
1649
|
+
starts_with: bool = None,
|
1650
|
+
ends_with: bool = None,
|
1651
|
+
ignore_case: bool = None,
|
1652
|
+
start_from: int = 0,
|
1653
|
+
page_size: int = max_paging_size,
|
1654
|
+
view_service_url_marker: str = None,
|
1655
|
+
access_service_url_marker: str = None,
|
1656
|
+
detailed_response: bool = False,
|
1664
1657
|
) -> dict | str:
|
1665
1658
|
"""
|
1666
1659
|
Retrieve the list of note metadata elements that contain the search string.
|
@@ -1721,17 +1714,17 @@ class FeedbackManager(Client):
|
|
1721
1714
|
#
|
1722
1715
|
|
1723
1716
|
async def _async_find_tags(
|
1724
|
-
|
1725
|
-
|
1726
|
-
|
1727
|
-
|
1728
|
-
|
1729
|
-
|
1730
|
-
|
1731
|
-
|
1732
|
-
|
1733
|
-
|
1734
|
-
|
1717
|
+
self,
|
1718
|
+
body: str,
|
1719
|
+
server_name: str = None,
|
1720
|
+
starts_with: bool = None,
|
1721
|
+
ends_with: bool = None,
|
1722
|
+
ignore_case: bool = None,
|
1723
|
+
start_from: int = 0,
|
1724
|
+
page_size: int = max_paging_size,
|
1725
|
+
detailed_response: bool = False,
|
1726
|
+
view_service_url_marker: str = None,
|
1727
|
+
access_service_url_marker: str = None,
|
1735
1728
|
) -> dict | str:
|
1736
1729
|
"""
|
1737
1730
|
Return the list of tags containing the supplied string in the text. The search string is a regular expression (RegEx).
|
@@ -1784,22 +1777,22 @@ class FeedbackManager(Client):
|
|
1784
1777
|
("accessServiceUrlMarker", access_service_url_marker),
|
1785
1778
|
]
|
1786
1779
|
)
|
1787
|
-
url = f"{base_path(self,server_name)}/tags/by-search-string{possible_query_params}"
|
1780
|
+
url = f"{base_path(self, server_name)}/tags/by-search-string{possible_query_params}"
|
1788
1781
|
response = await self._async_make_request("POST", url, body)
|
1789
1782
|
return elements_response(response.json(), "tags", detailed_response)
|
1790
1783
|
|
1791
1784
|
def find_tags(
|
1792
|
-
|
1793
|
-
|
1794
|
-
|
1795
|
-
|
1796
|
-
|
1797
|
-
|
1798
|
-
|
1799
|
-
|
1800
|
-
|
1801
|
-
|
1802
|
-
|
1785
|
+
self,
|
1786
|
+
body: str,
|
1787
|
+
server_name: str = None,
|
1788
|
+
starts_with: bool = None,
|
1789
|
+
ends_with: bool = None,
|
1790
|
+
ignore_case: bool = None,
|
1791
|
+
start_from: int = 0,
|
1792
|
+
page_size: int = max_paging_size,
|
1793
|
+
view_service_url_marker: str = None,
|
1794
|
+
access_service_url_marker: str = None,
|
1795
|
+
detailed_response: bool = False,
|
1803
1796
|
) -> dict | str:
|
1804
1797
|
"""
|
1805
1798
|
Return the list of tags containing the supplied string in the text. The search string is a regular expression (RegEx).
|
@@ -1860,17 +1853,17 @@ class FeedbackManager(Client):
|
|
1860
1853
|
#
|
1861
1854
|
|
1862
1855
|
async def _async_find_comments(
|
1863
|
-
|
1864
|
-
|
1865
|
-
|
1866
|
-
|
1867
|
-
|
1868
|
-
|
1869
|
-
|
1870
|
-
|
1871
|
-
|
1872
|
-
|
1873
|
-
|
1856
|
+
self,
|
1857
|
+
body: str,
|
1858
|
+
server_name: str = None,
|
1859
|
+
starts_with: bool = None,
|
1860
|
+
ends_with: bool = None,
|
1861
|
+
ignore_case: bool = None,
|
1862
|
+
start_from: int = 0,
|
1863
|
+
page_size: int = max_paging_size,
|
1864
|
+
view_service_url_marker: str = None,
|
1865
|
+
access_service_url_marker: str = None,
|
1866
|
+
detailed_response: bool = False,
|
1874
1867
|
) -> dict | str:
|
1875
1868
|
"""
|
1876
1869
|
Return the list of comments containing the supplied string.
|
@@ -1923,22 +1916,22 @@ class FeedbackManager(Client):
|
|
1923
1916
|
("accessServiceUrlMarker", access_service_url_marker),
|
1924
1917
|
]
|
1925
1918
|
)
|
1926
|
-
url = f"{base_path(self,server_name)}/comments/by-search-string{possible_query_params}"
|
1919
|
+
url = f"{base_path(self, server_name)}/comments/by-search-string{possible_query_params}"
|
1927
1920
|
response = await self._async_make_request("POST", url, body)
|
1928
1921
|
return elements_response(response.json(), "elementList", detailed_response)
|
1929
1922
|
|
1930
1923
|
def find_comments(
|
1931
|
-
|
1932
|
-
|
1933
|
-
|
1934
|
-
|
1935
|
-
|
1936
|
-
|
1937
|
-
|
1938
|
-
|
1939
|
-
|
1940
|
-
|
1941
|
-
|
1924
|
+
self,
|
1925
|
+
body: str,
|
1926
|
+
server_name: str = None,
|
1927
|
+
starts_with: bool = None,
|
1928
|
+
ends_with: bool = None,
|
1929
|
+
ignore_case: bool = None,
|
1930
|
+
start_from: int = 0,
|
1931
|
+
page_size: int = max_paging_size,
|
1932
|
+
view_service_url_marker: str = None,
|
1933
|
+
access_service_url_marker: str = None,
|
1934
|
+
detailed_response: bool = False,
|
1942
1935
|
) -> dict | str:
|
1943
1936
|
"""
|
1944
1937
|
Return the list of comments containing the supplied string.
|
@@ -1999,15 +1992,15 @@ class FeedbackManager(Client):
|
|
1999
1992
|
#
|
2000
1993
|
|
2001
1994
|
async def _async_get_attached_comments(
|
2002
|
-
|
2003
|
-
|
2004
|
-
|
2005
|
-
|
2006
|
-
|
2007
|
-
|
2008
|
-
|
2009
|
-
|
2010
|
-
|
1995
|
+
self,
|
1996
|
+
element_guid: str,
|
1997
|
+
server_name: str = None,
|
1998
|
+
body: dict = {},
|
1999
|
+
start_from: int = 0,
|
2000
|
+
page_size: int = max_paging_size,
|
2001
|
+
view_service_url_marker: str = None,
|
2002
|
+
access_service_url_marker: str = None,
|
2003
|
+
detailed_response: bool = False,
|
2011
2004
|
) -> dict | str:
|
2012
2005
|
"""
|
2013
2006
|
Return the comments attached to an element.
|
@@ -2053,20 +2046,20 @@ class FeedbackManager(Client):
|
|
2053
2046
|
("accessServiceUrlMarker", access_service_url_marker),
|
2054
2047
|
]
|
2055
2048
|
)
|
2056
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/comments/retrieve{possible_query_params}"
|
2049
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/comments/retrieve{possible_query_params}"
|
2057
2050
|
response = await self._async_make_request("POST", url, body)
|
2058
2051
|
return elements_response(response.json(), "elementList", detailed_response)
|
2059
2052
|
|
2060
2053
|
def get_attached_comments(
|
2061
|
-
|
2062
|
-
|
2063
|
-
|
2064
|
-
|
2065
|
-
|
2066
|
-
|
2067
|
-
|
2068
|
-
|
2069
|
-
|
2054
|
+
self,
|
2055
|
+
element_guid: str,
|
2056
|
+
server_name: str = None,
|
2057
|
+
body: dict = {},
|
2058
|
+
start_from: int = 0,
|
2059
|
+
page_size: int = max_paging_size,
|
2060
|
+
view_service_url_marker: str = None,
|
2061
|
+
access_service_url_marker: str = None,
|
2062
|
+
detailed_response: bool = False,
|
2070
2063
|
) -> dict | str:
|
2071
2064
|
"""
|
2072
2065
|
Return the comments attached to an element.
|
@@ -2121,13 +2114,13 @@ class FeedbackManager(Client):
|
|
2121
2114
|
#
|
2122
2115
|
|
2123
2116
|
async def _async_get_comment(
|
2124
|
-
|
2125
|
-
|
2126
|
-
|
2127
|
-
|
2128
|
-
|
2129
|
-
|
2130
|
-
|
2117
|
+
self,
|
2118
|
+
comment_guid: str,
|
2119
|
+
server_name: str = None,
|
2120
|
+
body: dict = {},
|
2121
|
+
view_service_url_marker: str = None,
|
2122
|
+
access_service_url_marker: str = None,
|
2123
|
+
detailed_response: bool = False,
|
2131
2124
|
) -> dict | str:
|
2132
2125
|
"""
|
2133
2126
|
Return the requested comment.
|
@@ -2167,18 +2160,18 @@ class FeedbackManager(Client):
|
|
2167
2160
|
("accessServiceUrlMarker", access_service_url_marker),
|
2168
2161
|
]
|
2169
2162
|
)
|
2170
|
-
url = f"{base_path(self,server_name)}/comments/{comment_guid}/retrieve{possible_query_params}"
|
2163
|
+
url = f"{base_path(self, server_name)}/comments/{comment_guid}/retrieve{possible_query_params}"
|
2171
2164
|
response = await self._async_make_request("POST", url, body)
|
2172
2165
|
return element_response(response.json(), "element", detailed_response)
|
2173
2166
|
|
2174
2167
|
def get_comment(
|
2175
|
-
|
2176
|
-
|
2177
|
-
|
2178
|
-
|
2179
|
-
|
2180
|
-
|
2181
|
-
|
2168
|
+
self,
|
2169
|
+
comment_guid: str,
|
2170
|
+
server_name: str = None,
|
2171
|
+
body: dict = {},
|
2172
|
+
view_service_url_marker: str = None,
|
2173
|
+
access_service_url_marker: str = None,
|
2174
|
+
detailed_response: bool = False,
|
2182
2175
|
) -> dict | str:
|
2183
2176
|
"""
|
2184
2177
|
Return the requested comment.
|
@@ -2226,15 +2219,15 @@ class FeedbackManager(Client):
|
|
2226
2219
|
## get_attached_likes implementation
|
2227
2220
|
#
|
2228
2221
|
async def _async_get_attached_likes(
|
2229
|
-
|
2230
|
-
|
2231
|
-
|
2232
|
-
|
2233
|
-
|
2234
|
-
|
2235
|
-
|
2236
|
-
|
2237
|
-
|
2222
|
+
self,
|
2223
|
+
element_guid: str,
|
2224
|
+
server_name: str = None,
|
2225
|
+
body: dict = {},
|
2226
|
+
start_from: int = 0,
|
2227
|
+
page_size: int = max_paging_size,
|
2228
|
+
view_service_url_marker: str = None,
|
2229
|
+
access_service_url_marker: str = None,
|
2230
|
+
detailed_response: bool = False,
|
2238
2231
|
) -> dict | str:
|
2239
2232
|
"""
|
2240
2233
|
Return the likes attached to an element
|
@@ -2281,20 +2274,20 @@ class FeedbackManager(Client):
|
|
2281
2274
|
("accessServiceUrlMarker", access_service_url_marker),
|
2282
2275
|
]
|
2283
2276
|
)
|
2284
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/likes/retrieve{possible_query_params}"
|
2277
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/likes/retrieve{possible_query_params}"
|
2285
2278
|
response = await self._async_make_request("POST", url, body)
|
2286
2279
|
return elements_response(response.json(), "elementList", detailed_response)
|
2287
2280
|
|
2288
2281
|
def get_attached_likes(
|
2289
|
-
|
2290
|
-
|
2291
|
-
|
2292
|
-
|
2293
|
-
|
2294
|
-
|
2295
|
-
|
2296
|
-
|
2297
|
-
|
2282
|
+
self,
|
2283
|
+
element_guid: str,
|
2284
|
+
server_name: str = None,
|
2285
|
+
body: dict = {},
|
2286
|
+
start_from: int = 0,
|
2287
|
+
page_size: int = max_paging_size,
|
2288
|
+
view_service_url_marker: str = None,
|
2289
|
+
access_service_url_marker: str = None,
|
2290
|
+
detailed_response: bool = False,
|
2298
2291
|
) -> dict | str:
|
2299
2292
|
"""
|
2300
2293
|
Return the likes attached to an element
|
@@ -2350,15 +2343,15 @@ class FeedbackManager(Client):
|
|
2350
2343
|
## get_attached_ratings implementation
|
2351
2344
|
#
|
2352
2345
|
async def _async_get_attached_ratings(
|
2353
|
-
|
2354
|
-
|
2355
|
-
|
2356
|
-
|
2357
|
-
|
2358
|
-
|
2359
|
-
|
2360
|
-
|
2361
|
-
|
2346
|
+
self,
|
2347
|
+
element_guid: str,
|
2348
|
+
server_name: str = None,
|
2349
|
+
body: dict = {},
|
2350
|
+
start_from: int = 0,
|
2351
|
+
page_size: int = max_paging_size,
|
2352
|
+
view_service_url_marker: str = None,
|
2353
|
+
access_service_url_marker: str = None,
|
2354
|
+
detailed_response: bool = False,
|
2362
2355
|
) -> dict | str:
|
2363
2356
|
"""
|
2364
2357
|
Return the ratings attached to an element.
|
@@ -2404,20 +2397,20 @@ class FeedbackManager(Client):
|
|
2404
2397
|
("accessServiceUrlMarker", access_service_url_marker),
|
2405
2398
|
]
|
2406
2399
|
)
|
2407
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/ratings/retrieve{possible_query_params}"
|
2400
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/ratings/retrieve{possible_query_params}"
|
2408
2401
|
response = await self._async_make_request("POST", url, body)
|
2409
2402
|
return elements_response(response.json(), "elementList", detailed_response)
|
2410
2403
|
|
2411
2404
|
def get_attached_ratings(
|
2412
|
-
|
2413
|
-
|
2414
|
-
|
2415
|
-
|
2416
|
-
|
2417
|
-
|
2418
|
-
|
2419
|
-
|
2420
|
-
|
2405
|
+
self,
|
2406
|
+
element_guid: str,
|
2407
|
+
server_name: str = None,
|
2408
|
+
body: dict = {},
|
2409
|
+
start_from: int = 0,
|
2410
|
+
page_size: int = max_paging_size,
|
2411
|
+
view_service_url_marker: str = None,
|
2412
|
+
access_service_url_marker: str = None,
|
2413
|
+
detailed_response: bool = False,
|
2421
2414
|
) -> dict | str:
|
2422
2415
|
"""
|
2423
2416
|
Return the ratings attached to an element.
|
@@ -2471,15 +2464,15 @@ class FeedbackManager(Client):
|
|
2471
2464
|
## get_attached_tags implementation
|
2472
2465
|
#
|
2473
2466
|
async def _async_get_attached_tags(
|
2474
|
-
|
2475
|
-
|
2476
|
-
|
2477
|
-
|
2478
|
-
|
2479
|
-
|
2480
|
-
|
2481
|
-
|
2482
|
-
|
2467
|
+
self,
|
2468
|
+
element_guid: str,
|
2469
|
+
server_name: str = None,
|
2470
|
+
body: dict = {},
|
2471
|
+
start_from: int = 0,
|
2472
|
+
page_size: int = max_paging_size,
|
2473
|
+
view_service_url_marker: str = None,
|
2474
|
+
access_service_url_marker: str = None,
|
2475
|
+
detailed_response: bool = False,
|
2483
2476
|
) -> dict | str:
|
2484
2477
|
"""
|
2485
2478
|
Return the informal tags attached to an element.
|
@@ -2525,20 +2518,20 @@ class FeedbackManager(Client):
|
|
2525
2518
|
("accessServiceUrlMarker", access_service_url_marker),
|
2526
2519
|
]
|
2527
2520
|
)
|
2528
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/tags/retrieve{possible_query_params}"
|
2521
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/tags/retrieve{possible_query_params}"
|
2529
2522
|
response = await self._async_make_request("POST", url, body)
|
2530
2523
|
return elements_response(response.json(), "tags", detailed_response)
|
2531
2524
|
|
2532
2525
|
def get_attached_tags(
|
2533
|
-
|
2534
|
-
|
2535
|
-
|
2536
|
-
|
2537
|
-
|
2538
|
-
|
2539
|
-
|
2540
|
-
|
2541
|
-
|
2526
|
+
self,
|
2527
|
+
element_guid: str,
|
2528
|
+
server_name: str = None,
|
2529
|
+
body: dict = {},
|
2530
|
+
start_from: int = 0,
|
2531
|
+
page_size: int = max_paging_size,
|
2532
|
+
view_service_url_marker: str = None,
|
2533
|
+
access_service_url_marker: str = None,
|
2534
|
+
detailed_response: bool = False,
|
2542
2535
|
) -> dict | str:
|
2543
2536
|
"""
|
2544
2537
|
Return the informal tags attached to an element.
|
@@ -2593,15 +2586,15 @@ class FeedbackManager(Client):
|
|
2593
2586
|
#
|
2594
2587
|
|
2595
2588
|
async def _async_get_elements_by_tag(
|
2596
|
-
|
2597
|
-
|
2598
|
-
|
2599
|
-
|
2600
|
-
|
2601
|
-
|
2602
|
-
|
2603
|
-
|
2604
|
-
|
2589
|
+
self,
|
2590
|
+
tag_guid: str,
|
2591
|
+
server_name: str = None,
|
2592
|
+
body: dict = {},
|
2593
|
+
start_from: int = 0,
|
2594
|
+
page_size: int = max_paging_size,
|
2595
|
+
view_service_url_marker: str = None,
|
2596
|
+
access_service_url_marker: str = None,
|
2597
|
+
detailed_response: bool = False,
|
2605
2598
|
) -> dict | str:
|
2606
2599
|
"""
|
2607
2600
|
Return the list of unique identifiers for elements that are linked to a specific tag either directly, or via one of its schema elements.
|
@@ -2647,20 +2640,20 @@ class FeedbackManager(Client):
|
|
2647
2640
|
("accessServiceUrlMarker", access_service_url_marker),
|
2648
2641
|
]
|
2649
2642
|
)
|
2650
|
-
url = f"{base_path(self,server_name)}/elements/by-tag/{tag_guid}/retrieve{possible_query_params}"
|
2643
|
+
url = f"{base_path(self, server_name)}/elements/by-tag/{tag_guid}/retrieve{possible_query_params}"
|
2651
2644
|
response = await self._async_make_request("POST", url, body)
|
2652
2645
|
return related_elements_response(response.json(), detailed_response)
|
2653
2646
|
|
2654
2647
|
def get_elements_by_tag(
|
2655
|
-
|
2656
|
-
|
2657
|
-
|
2658
|
-
|
2659
|
-
|
2660
|
-
|
2661
|
-
|
2662
|
-
|
2663
|
-
|
2648
|
+
self,
|
2649
|
+
tag_guid: str,
|
2650
|
+
server_name: str = None,
|
2651
|
+
body: dict = {},
|
2652
|
+
start_from: int = 0,
|
2653
|
+
page_size: int = max_paging_size,
|
2654
|
+
view_service_url_marker: str = None,
|
2655
|
+
access_service_url_marker: str = None,
|
2656
|
+
detailed_response: bool = False,
|
2664
2657
|
) -> dict | str:
|
2665
2658
|
"""
|
2666
2659
|
Return the list of unique identifiers for elements that are linked to a specific tag either directly, or via one of its schema elements.
|
@@ -2715,13 +2708,13 @@ class FeedbackManager(Client):
|
|
2715
2708
|
#
|
2716
2709
|
|
2717
2710
|
async def _async_get_note_by_guid(
|
2718
|
-
|
2719
|
-
|
2720
|
-
|
2721
|
-
|
2722
|
-
|
2723
|
-
|
2724
|
-
|
2711
|
+
self,
|
2712
|
+
note_guid: str,
|
2713
|
+
server_name: str = None,
|
2714
|
+
body: str = {},
|
2715
|
+
view_service_url_marker: str = None,
|
2716
|
+
access_service_url_marker: str = None,
|
2717
|
+
detailed_response: bool = False,
|
2725
2718
|
) -> dict | str:
|
2726
2719
|
"""
|
2727
2720
|
Retrieve the note metadata element with the supplied unique identifier.
|
@@ -2759,18 +2752,18 @@ class FeedbackManager(Client):
|
|
2759
2752
|
("accessServiceUrlMarker", access_service_url_marker),
|
2760
2753
|
]
|
2761
2754
|
)
|
2762
|
-
url = f"{base_path(self,server_name)}/note-logs/notes/{note_guid}/retrieve{possible_query_params}"
|
2755
|
+
url = f"{base_path(self, server_name)}/note-logs/notes/{note_guid}/retrieve{possible_query_params}"
|
2763
2756
|
response = await self._async_make_request("POST", url, body)
|
2764
2757
|
return element_response(response.json(), "element", detailed_response)
|
2765
2758
|
|
2766
2759
|
def get_note_by_guid(
|
2767
|
-
|
2768
|
-
|
2769
|
-
|
2770
|
-
|
2771
|
-
|
2772
|
-
|
2773
|
-
|
2760
|
+
self,
|
2761
|
+
note_guid: str,
|
2762
|
+
server_name: str = None,
|
2763
|
+
body: str = {},
|
2764
|
+
view_service_url_marker: str = None,
|
2765
|
+
access_service_url_marker: str = None,
|
2766
|
+
detailed_response: bool = False,
|
2774
2767
|
) -> dict | str:
|
2775
2768
|
"""
|
2776
2769
|
Retrieve the note metadata element with the supplied unique identifier.
|
@@ -2817,13 +2810,13 @@ class FeedbackManager(Client):
|
|
2817
2810
|
#
|
2818
2811
|
|
2819
2812
|
async def _async_get_note_log_by_guid(
|
2820
|
-
|
2821
|
-
|
2822
|
-
|
2823
|
-
|
2824
|
-
|
2825
|
-
|
2826
|
-
|
2813
|
+
self,
|
2814
|
+
note_log_guid: str,
|
2815
|
+
server_name: str = None,
|
2816
|
+
body: str = {},
|
2817
|
+
view_service_url_marker: str = None,
|
2818
|
+
access_service_url_marker: str = None,
|
2819
|
+
detailed_response: bool = False,
|
2827
2820
|
) -> dict | str:
|
2828
2821
|
"""
|
2829
2822
|
Retrieve the note log metadata element with the supplied unique identifier.
|
@@ -2863,18 +2856,18 @@ class FeedbackManager(Client):
|
|
2863
2856
|
("accessServiceUrlMarker", access_service_url_marker),
|
2864
2857
|
]
|
2865
2858
|
)
|
2866
|
-
url = f"{base_path(self,server_name)}/note-logs/{note_log_guid}/retrieve{possible_query_params}"
|
2859
|
+
url = f"{base_path(self, server_name)}/note-logs/{note_log_guid}/retrieve{possible_query_params}"
|
2867
2860
|
response = await self._async_make_request("POST", url, body)
|
2868
2861
|
return element_response(response.json(), "element", detailed_response)
|
2869
2862
|
|
2870
2863
|
def get_note_log_by_guid(
|
2871
|
-
|
2872
|
-
|
2873
|
-
|
2874
|
-
|
2875
|
-
|
2876
|
-
|
2877
|
-
|
2864
|
+
self,
|
2865
|
+
note_log_guid: str,
|
2866
|
+
server_name: str = None,
|
2867
|
+
body: str = {},
|
2868
|
+
view_service_url_marker: str = None,
|
2869
|
+
access_service_url_marker: str = None,
|
2870
|
+
detailed_response: bool = False,
|
2878
2871
|
) -> dict | str:
|
2879
2872
|
"""
|
2880
2873
|
Retrieve the note log metadata element with the supplied unique identifier.
|
@@ -2923,14 +2916,14 @@ class FeedbackManager(Client):
|
|
2923
2916
|
#
|
2924
2917
|
|
2925
2918
|
async def _async_get_note_logs_by_name(
|
2926
|
-
|
2927
|
-
|
2928
|
-
|
2929
|
-
|
2930
|
-
|
2931
|
-
|
2932
|
-
|
2933
|
-
|
2919
|
+
self,
|
2920
|
+
body: dict,
|
2921
|
+
server_name: str = None,
|
2922
|
+
start_from: int = 0,
|
2923
|
+
page_size: int = max_paging_size,
|
2924
|
+
view_service_url_marker: str = None,
|
2925
|
+
access_service_url_marker: str = None,
|
2926
|
+
detailed_response: bool = False,
|
2934
2927
|
) -> dict | str:
|
2935
2928
|
"""
|
2936
2929
|
Retrieve the list of note log metadata elements with a matching qualified or display name.
|
@@ -2976,19 +2969,19 @@ class FeedbackManager(Client):
|
|
2976
2969
|
("accessServiceUrlMarker", access_service_url_marker),
|
2977
2970
|
]
|
2978
2971
|
)
|
2979
|
-
url = f"{base_path(self,server_name)}/note-logs/by-name{possible_query_params}"
|
2972
|
+
url = f"{base_path(self, server_name)}/note-logs/by-name{possible_query_params}"
|
2980
2973
|
response = await self._async_make_request("POST", url, body)
|
2981
2974
|
return elements_response(response.json(), "elementList", detailed_response)
|
2982
2975
|
|
2983
2976
|
def get_note_logs_by_name(
|
2984
|
-
|
2985
|
-
|
2986
|
-
|
2987
|
-
|
2988
|
-
|
2989
|
-
|
2990
|
-
|
2991
|
-
|
2977
|
+
self,
|
2978
|
+
body: dict,
|
2979
|
+
server_name: str = None,
|
2980
|
+
start_from: int = 0,
|
2981
|
+
page_size: int = max_paging_size,
|
2982
|
+
view_service_url_marker: str = None,
|
2983
|
+
access_service_url_marker: str = None,
|
2984
|
+
detailed_response: bool = False,
|
2992
2985
|
) -> dict | str:
|
2993
2986
|
"""
|
2994
2987
|
Retrieve the list of note log metadata elements with a matching qualified or display name.
|
@@ -3042,15 +3035,15 @@ class FeedbackManager(Client):
|
|
3042
3035
|
#
|
3043
3036
|
|
3044
3037
|
async def _async_get_note_logs_for_element(
|
3045
|
-
|
3046
|
-
|
3047
|
-
|
3048
|
-
|
3049
|
-
|
3050
|
-
|
3051
|
-
|
3052
|
-
|
3053
|
-
|
3038
|
+
self,
|
3039
|
+
element_guid: str,
|
3040
|
+
body: dict = {},
|
3041
|
+
server_name: str = None,
|
3042
|
+
start_from: int = 0,
|
3043
|
+
page_size: int = max_paging_size,
|
3044
|
+
view_service_url_marker: str = None,
|
3045
|
+
access_service_url_marker: str = None,
|
3046
|
+
detailed_response: bool = False,
|
3054
3047
|
) -> dict | str:
|
3055
3048
|
"""
|
3056
3049
|
Retrieve the list of note log metadata elements attached to the element.
|
@@ -3096,20 +3089,20 @@ class FeedbackManager(Client):
|
|
3096
3089
|
("accessServiceUrlMarker", access_service_url_marker),
|
3097
3090
|
]
|
3098
3091
|
)
|
3099
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/note-logs/retrieve{possible_query_params}"
|
3092
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/note-logs/retrieve{possible_query_params}"
|
3100
3093
|
response = await self._async_make_request("POST", url, body)
|
3101
3094
|
return elements_response(response.json(), "elementList", detailed_response)
|
3102
3095
|
|
3103
3096
|
def get_note_logs_for_element(
|
3104
|
-
|
3105
|
-
|
3106
|
-
|
3107
|
-
|
3108
|
-
|
3109
|
-
|
3110
|
-
|
3111
|
-
|
3112
|
-
|
3097
|
+
self,
|
3098
|
+
element_guid: str,
|
3099
|
+
body: dict = {},
|
3100
|
+
server_name: str = None,
|
3101
|
+
start_from: int = 0,
|
3102
|
+
page_size: int = max_paging_size,
|
3103
|
+
view_service_url_marker: str = None,
|
3104
|
+
access_service_url_marker: str = None,
|
3105
|
+
detailed_response: bool = False,
|
3113
3106
|
) -> dict | str:
|
3114
3107
|
"""
|
3115
3108
|
Retrieve the list of note log metadata elements attached to the element.
|
@@ -3164,15 +3157,15 @@ class FeedbackManager(Client):
|
|
3164
3157
|
#
|
3165
3158
|
|
3166
3159
|
async def _async_get_notes_for_note_log(
|
3167
|
-
|
3168
|
-
|
3169
|
-
|
3170
|
-
|
3171
|
-
|
3172
|
-
|
3173
|
-
|
3174
|
-
|
3175
|
-
|
3160
|
+
self,
|
3161
|
+
note_log_guid: str,
|
3162
|
+
body: dict = {},
|
3163
|
+
server_name: str = None,
|
3164
|
+
start_from: int = 0,
|
3165
|
+
page_size: int = max_paging_size,
|
3166
|
+
view_service_url_marker: str = None,
|
3167
|
+
access_service_url_marker: str = None,
|
3168
|
+
detailed_response: bool = False,
|
3176
3169
|
) -> dict | str:
|
3177
3170
|
"""
|
3178
3171
|
Retrieve the list of notes associated with a note log.
|
@@ -3218,20 +3211,20 @@ class FeedbackManager(Client):
|
|
3218
3211
|
("accessServiceUrlMarker", access_service_url_marker),
|
3219
3212
|
]
|
3220
3213
|
)
|
3221
|
-
url = f"{base_path(self,server_name)}/note-logs/{note_log_guid}/notes/retrieve{possible_query_params}"
|
3214
|
+
url = f"{base_path(self, server_name)}/note-logs/{note_log_guid}/notes/retrieve{possible_query_params}"
|
3222
3215
|
response = await self._async_make_request("POST", url, body)
|
3223
3216
|
return elements_response(response.json(), "elementList", detailed_response)
|
3224
3217
|
|
3225
3218
|
def get_notes_for_note_log(
|
3226
|
-
|
3227
|
-
|
3228
|
-
|
3229
|
-
|
3230
|
-
|
3231
|
-
|
3232
|
-
|
3233
|
-
|
3234
|
-
|
3219
|
+
self,
|
3220
|
+
note_log_guid: str,
|
3221
|
+
body: dict = {},
|
3222
|
+
server_name: str = None,
|
3223
|
+
start_from: int = 0,
|
3224
|
+
page_size: int = max_paging_size,
|
3225
|
+
view_service_url_marker: str = None,
|
3226
|
+
access_service_url_marker: str = None,
|
3227
|
+
detailed_response: bool = False,
|
3235
3228
|
) -> dict | str:
|
3236
3229
|
"""
|
3237
3230
|
Retrieve the list of notes associated with a note log.
|
@@ -3286,12 +3279,12 @@ class FeedbackManager(Client):
|
|
3286
3279
|
#
|
3287
3280
|
|
3288
3281
|
async def _async_get_tag(
|
3289
|
-
|
3290
|
-
|
3291
|
-
|
3292
|
-
|
3293
|
-
|
3294
|
-
|
3282
|
+
self,
|
3283
|
+
tag_guid: str,
|
3284
|
+
server_name: str = None,
|
3285
|
+
view_service_url_marker: str = None,
|
3286
|
+
access_service_url_marker: str = None,
|
3287
|
+
detailed_response: bool = False,
|
3295
3288
|
) -> dict | str:
|
3296
3289
|
"""
|
3297
3290
|
Return the informal tag for the supplied unique identifier (tagGUID).
|
@@ -3332,18 +3325,18 @@ class FeedbackManager(Client):
|
|
3332
3325
|
("accessServiceUrlMarker", access_service_url_marker),
|
3333
3326
|
]
|
3334
3327
|
)
|
3335
|
-
url = f"{base_path(self,server_name)}/tags/{tag_guid}/retrieve{possible_query_params}"
|
3328
|
+
url = f"{base_path(self, server_name)}/tags/{tag_guid}/retrieve{possible_query_params}"
|
3336
3329
|
|
3337
3330
|
response = await self._async_make_request("POST", url, {})
|
3338
3331
|
return element_response(response.json(), "tag", detailed_response)
|
3339
3332
|
|
3340
3333
|
def get_tag(
|
3341
|
-
|
3342
|
-
|
3343
|
-
|
3344
|
-
|
3345
|
-
|
3346
|
-
|
3334
|
+
self,
|
3335
|
+
tag_guid: str,
|
3336
|
+
server_name: str = None,
|
3337
|
+
view_service_url_marker: str = None,
|
3338
|
+
access_service_url_marker: str = None,
|
3339
|
+
detailed_response: bool = False,
|
3347
3340
|
) -> dict | str:
|
3348
3341
|
"""
|
3349
3342
|
Return the informal tag for the supplied unique identifier (tagGUID).
|
@@ -3391,14 +3384,14 @@ class FeedbackManager(Client):
|
|
3391
3384
|
#
|
3392
3385
|
|
3393
3386
|
async def _async_get_tags_by_name(
|
3394
|
-
|
3395
|
-
|
3396
|
-
|
3397
|
-
|
3398
|
-
|
3399
|
-
|
3400
|
-
|
3401
|
-
|
3387
|
+
self,
|
3388
|
+
body: str,
|
3389
|
+
server_name: str = None,
|
3390
|
+
start_from: int = 0,
|
3391
|
+
page_size: int = max_paging_size,
|
3392
|
+
view_service_url_marker: str = None,
|
3393
|
+
access_service_url_marker: str = None,
|
3394
|
+
detailed_response: bool = False,
|
3402
3395
|
) -> dict | str:
|
3403
3396
|
"""
|
3404
3397
|
Return the tags exactly matching the supplied name.
|
@@ -3442,20 +3435,20 @@ class FeedbackManager(Client):
|
|
3442
3435
|
("accessServiceUrlMarker", access_service_url_marker),
|
3443
3436
|
]
|
3444
3437
|
)
|
3445
|
-
url = f"{base_path(self,server_name)}/tags/by-name{possible_query_params}"
|
3438
|
+
url = f"{base_path(self, server_name)}/tags/by-name{possible_query_params}"
|
3446
3439
|
|
3447
3440
|
response = await self._async_make_request("POST", url, body)
|
3448
3441
|
return elements_response(response.json(), "tags", detailed_response)
|
3449
3442
|
|
3450
3443
|
def get_tags_by_name(
|
3451
|
-
|
3452
|
-
|
3453
|
-
|
3454
|
-
|
3455
|
-
|
3456
|
-
|
3457
|
-
|
3458
|
-
|
3444
|
+
self,
|
3445
|
+
body: str,
|
3446
|
+
server_name: str = None,
|
3447
|
+
start_from: int = 0,
|
3448
|
+
page_size: int = max_paging_size,
|
3449
|
+
view_service_url_marker: str = None,
|
3450
|
+
access_service_url_marker: str = None,
|
3451
|
+
detailed_response: bool = False,
|
3459
3452
|
) -> dict | str:
|
3460
3453
|
"""
|
3461
3454
|
Return the tags exactly matching the supplied name.
|
@@ -3507,12 +3500,12 @@ class FeedbackManager(Client):
|
|
3507
3500
|
#
|
3508
3501
|
|
3509
3502
|
async def _async_remove_comment_from_element(
|
3510
|
-
|
3511
|
-
|
3512
|
-
|
3513
|
-
|
3514
|
-
|
3515
|
-
|
3503
|
+
self,
|
3504
|
+
comment_guid: str,
|
3505
|
+
server_name: str = None,
|
3506
|
+
body: dict = {},
|
3507
|
+
view_service_url_marker: str = None,
|
3508
|
+
access_service_url_marker: str = None,
|
3516
3509
|
) -> dict | str:
|
3517
3510
|
"""
|
3518
3511
|
Removes a comment added to the element by this user.
|
@@ -3554,17 +3547,17 @@ class FeedbackManager(Client):
|
|
3554
3547
|
("accessServiceUrlMarker", access_service_url_marker),
|
3555
3548
|
]
|
3556
3549
|
)
|
3557
|
-
url = f"{base_path(self,server_name)}/comments/{comment_guid}/remove{possible_query_params}"
|
3550
|
+
url = f"{base_path(self, server_name)}/comments/{comment_guid}/remove{possible_query_params}"
|
3558
3551
|
response = await self._async_make_request("POST", url, body)
|
3559
3552
|
return response.json()
|
3560
3553
|
|
3561
3554
|
def remove_comment_from_element(
|
3562
|
-
|
3563
|
-
|
3564
|
-
|
3565
|
-
|
3566
|
-
|
3567
|
-
|
3555
|
+
self,
|
3556
|
+
comment_guid: str,
|
3557
|
+
server_name: str = None,
|
3558
|
+
body: dict = {},
|
3559
|
+
view_service_url_marker: str = None,
|
3560
|
+
access_service_url_marker: str = None,
|
3568
3561
|
) -> dict | str:
|
3569
3562
|
"""
|
3570
3563
|
Removes a comment added to the element by this user.
|
@@ -3614,12 +3607,12 @@ class FeedbackManager(Client):
|
|
3614
3607
|
#
|
3615
3608
|
|
3616
3609
|
async def _async_remove_like_from_element(
|
3617
|
-
|
3618
|
-
|
3619
|
-
|
3620
|
-
|
3621
|
-
|
3622
|
-
|
3610
|
+
self,
|
3611
|
+
element_guid: str,
|
3612
|
+
server_name: str = None,
|
3613
|
+
body: dict = {},
|
3614
|
+
view_service_url_marker: str = None,
|
3615
|
+
access_service_url_marker: str = None,
|
3623
3616
|
) -> dict | str:
|
3624
3617
|
"""
|
3625
3618
|
Removes a "Like" added to the element by this user.
|
@@ -3659,17 +3652,17 @@ class FeedbackManager(Client):
|
|
3659
3652
|
("accessServiceUrlMarker", access_service_url_marker),
|
3660
3653
|
]
|
3661
3654
|
)
|
3662
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/likes/remove{possible_query_params}"
|
3655
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/likes/remove{possible_query_params}"
|
3663
3656
|
response = await self._async_make_request("POST", url, body)
|
3664
3657
|
return response.json()
|
3665
3658
|
|
3666
3659
|
def remove_like_from_element(
|
3667
|
-
|
3668
|
-
|
3669
|
-
|
3670
|
-
|
3671
|
-
|
3672
|
-
|
3660
|
+
self,
|
3661
|
+
element_guid: str,
|
3662
|
+
server_name: str = None,
|
3663
|
+
body: dict = {},
|
3664
|
+
view_service_url_marker: str = None,
|
3665
|
+
access_service_url_marker: str = None,
|
3673
3666
|
) -> dict | str:
|
3674
3667
|
"""
|
3675
3668
|
Removes a "Like" added to the element by this user.
|
@@ -3717,12 +3710,12 @@ class FeedbackManager(Client):
|
|
3717
3710
|
#
|
3718
3711
|
|
3719
3712
|
async def _async_remove_note(
|
3720
|
-
|
3721
|
-
|
3722
|
-
|
3723
|
-
|
3724
|
-
|
3725
|
-
|
3713
|
+
self,
|
3714
|
+
note_guid: str,
|
3715
|
+
server_name: str = None,
|
3716
|
+
body: dict = {},
|
3717
|
+
view_service_url_marker: str = None,
|
3718
|
+
access_service_url_marker: str = None,
|
3726
3719
|
) -> dict | str:
|
3727
3720
|
"""
|
3728
3721
|
Removes a note from the repository.
|
@@ -3765,17 +3758,17 @@ class FeedbackManager(Client):
|
|
3765
3758
|
("accessServiceUrlMarker", access_service_url_marker),
|
3766
3759
|
]
|
3767
3760
|
)
|
3768
|
-
url = f"{base_path(self,server_name)}/notes/{note_guid}/remove{possible_query_params}"
|
3761
|
+
url = f"{base_path(self, server_name)}/notes/{note_guid}/remove{possible_query_params}"
|
3769
3762
|
response = await self._async_make_request("POST", url, body)
|
3770
3763
|
return response.json()
|
3771
3764
|
|
3772
3765
|
def remove_note(
|
3773
|
-
|
3774
|
-
|
3775
|
-
|
3776
|
-
|
3777
|
-
|
3778
|
-
|
3766
|
+
self,
|
3767
|
+
note_guid: str,
|
3768
|
+
server_name: str = None,
|
3769
|
+
body: dict = {},
|
3770
|
+
view_service_url_marker: str = None,
|
3771
|
+
access_service_url_marker: str = None,
|
3779
3772
|
) -> dict | str:
|
3780
3773
|
"""
|
3781
3774
|
Removes a note from the repository.
|
@@ -3826,12 +3819,12 @@ class FeedbackManager(Client):
|
|
3826
3819
|
#
|
3827
3820
|
|
3828
3821
|
async def _async_remove_note_log(
|
3829
|
-
|
3830
|
-
|
3831
|
-
|
3832
|
-
|
3833
|
-
|
3834
|
-
|
3822
|
+
self,
|
3823
|
+
note_log_guid: str,
|
3824
|
+
server_name: str = None,
|
3825
|
+
body: dict = {},
|
3826
|
+
view_service_url_marker: str = None,
|
3827
|
+
access_service_url_marker: str = None,
|
3835
3828
|
) -> dict | str:
|
3836
3829
|
"""
|
3837
3830
|
Removes a note log from the repository.
|
@@ -3873,17 +3866,17 @@ class FeedbackManager(Client):
|
|
3873
3866
|
("accessServiceUrlMarker", access_service_url_marker),
|
3874
3867
|
]
|
3875
3868
|
)
|
3876
|
-
url = f"{base_path(self,server_name)}/note-logs/{note_log_guid}/remove{possible_query_params}"
|
3869
|
+
url = f"{base_path(self, server_name)}/note-logs/{note_log_guid}/remove{possible_query_params}"
|
3877
3870
|
response = await self._async_make_request("POST", url, body)
|
3878
3871
|
return response.json()
|
3879
3872
|
|
3880
3873
|
def remove_note_log(
|
3881
|
-
|
3882
|
-
|
3883
|
-
|
3884
|
-
|
3885
|
-
|
3886
|
-
|
3874
|
+
self,
|
3875
|
+
note_log_guid: str,
|
3876
|
+
server_name: str = None,
|
3877
|
+
body: dict = {},
|
3878
|
+
view_service_url_marker: str = None,
|
3879
|
+
access_service_url_marker: str = None,
|
3887
3880
|
) -> dict | str:
|
3888
3881
|
"""
|
3889
3882
|
Removes a note log from the repository.
|
@@ -3933,12 +3926,12 @@ class FeedbackManager(Client):
|
|
3933
3926
|
#
|
3934
3927
|
|
3935
3928
|
async def _async_remove_rating_from_element(
|
3936
|
-
|
3937
|
-
|
3938
|
-
|
3939
|
-
|
3940
|
-
|
3941
|
-
|
3929
|
+
self,
|
3930
|
+
element_guid: str,
|
3931
|
+
server_name: str = None,
|
3932
|
+
body: dict = {},
|
3933
|
+
view_service_url_marker: str = None,
|
3934
|
+
access_service_url_marker: str = None,
|
3942
3935
|
) -> dict | str:
|
3943
3936
|
"""
|
3944
3937
|
Removes of a star rating/review that was added to the element by this user.
|
@@ -3978,17 +3971,17 @@ class FeedbackManager(Client):
|
|
3978
3971
|
("accessServiceUrlMarker", access_service_url_marker),
|
3979
3972
|
]
|
3980
3973
|
)
|
3981
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/ratings/remove{possible_query_params}"
|
3974
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/ratings/remove{possible_query_params}"
|
3982
3975
|
response = await self._async_make_request("POST", url, body)
|
3983
3976
|
return response.json()
|
3984
3977
|
|
3985
3978
|
def remove_rating_from_element(
|
3986
|
-
|
3987
|
-
|
3988
|
-
|
3989
|
-
|
3990
|
-
|
3991
|
-
|
3979
|
+
self,
|
3980
|
+
element_guid: str,
|
3981
|
+
server_name: str = None,
|
3982
|
+
body: dict = {},
|
3983
|
+
view_service_url_marker: str = None,
|
3984
|
+
access_service_url_marker: str = None,
|
3992
3985
|
) -> dict | str:
|
3993
3986
|
"""
|
3994
3987
|
Removes of a star rating/review that was added to the element by this user.
|
@@ -4036,13 +4029,13 @@ class FeedbackManager(Client):
|
|
4036
4029
|
#
|
4037
4030
|
|
4038
4031
|
async def _async_remove_tag_from_element(
|
4039
|
-
|
4040
|
-
|
4041
|
-
|
4042
|
-
|
4043
|
-
|
4044
|
-
|
4045
|
-
|
4032
|
+
self,
|
4033
|
+
element_guid: str,
|
4034
|
+
tag_guid: str,
|
4035
|
+
server_name: str = None,
|
4036
|
+
body: dict = {},
|
4037
|
+
view_service_url_marker: str = None,
|
4038
|
+
access_service_url_marker: str = None,
|
4046
4039
|
) -> dict | str:
|
4047
4040
|
"""
|
4048
4041
|
Removes a link between a tag and an element that was added by this user.
|
@@ -4085,18 +4078,18 @@ class FeedbackManager(Client):
|
|
4085
4078
|
("accessServiceUrlMarker", access_service_url_marker),
|
4086
4079
|
]
|
4087
4080
|
)
|
4088
|
-
url = f"{base_path(self,server_name)}/elements/{element_guid}/tags/{tag_guid}/remove{possible_query_params}"
|
4081
|
+
url = f"{base_path(self, server_name)}/elements/{element_guid}/tags/{tag_guid}/remove{possible_query_params}"
|
4089
4082
|
response = await self._async_make_request("POST", url, body)
|
4090
4083
|
return response.json()
|
4091
4084
|
|
4092
4085
|
def remove_tag_from_element(
|
4093
|
-
|
4094
|
-
|
4095
|
-
|
4096
|
-
|
4097
|
-
|
4098
|
-
|
4099
|
-
|
4086
|
+
self,
|
4087
|
+
element_guid: str,
|
4088
|
+
tag_guid: str,
|
4089
|
+
server_name: str = None,
|
4090
|
+
body: dict = {},
|
4091
|
+
view_service_url_marker: str = None,
|
4092
|
+
access_service_url_marker: str = None,
|
4100
4093
|
) -> dict | str:
|
4101
4094
|
"""
|
4102
4095
|
Removes a link between a tag and an element that was added by this user.
|
@@ -4148,14 +4141,14 @@ class FeedbackManager(Client):
|
|
4148
4141
|
#
|
4149
4142
|
|
4150
4143
|
async def _async_setup_accepted_answer(
|
4151
|
-
|
4152
|
-
|
4153
|
-
|
4154
|
-
|
4155
|
-
|
4156
|
-
|
4157
|
-
|
4158
|
-
|
4144
|
+
self,
|
4145
|
+
question_comment_guid: str,
|
4146
|
+
answer_comment_guid: str,
|
4147
|
+
server_name: str = None,
|
4148
|
+
is_public: bool = True,
|
4149
|
+
body: dict = {},
|
4150
|
+
view_service_url_marker: str = None,
|
4151
|
+
access_service_url_marker: str = None,
|
4159
4152
|
) -> dict | str:
|
4160
4153
|
"""
|
4161
4154
|
Link a comment that contains the best answer to a question posed in another comment.
|
@@ -4200,19 +4193,19 @@ class FeedbackManager(Client):
|
|
4200
4193
|
("accessServiceUrlMarker", access_service_url_marker),
|
4201
4194
|
]
|
4202
4195
|
)
|
4203
|
-
url = f"{base_path(self,server_name)}/comments/questions/{question_comment_guid}/answers/{answer_comment_guid}{possible_query_params}"
|
4196
|
+
url = f"{base_path(self, server_name)}/comments/questions/{question_comment_guid}/answers/{answer_comment_guid}{possible_query_params}"
|
4204
4197
|
response = await self._async_make_request("POST", url, body)
|
4205
4198
|
return response.json()
|
4206
4199
|
|
4207
4200
|
def setup_accepted_answer(
|
4208
|
-
|
4209
|
-
|
4210
|
-
|
4211
|
-
|
4212
|
-
|
4213
|
-
|
4214
|
-
|
4215
|
-
|
4201
|
+
self,
|
4202
|
+
question_comment_guid: str,
|
4203
|
+
answer_comment_guid: str,
|
4204
|
+
server_name: str = None,
|
4205
|
+
is_public: bool = True,
|
4206
|
+
body: dict = {},
|
4207
|
+
view_service_url_marker: str = None,
|
4208
|
+
access_service_url_marker: str = None,
|
4216
4209
|
) -> dict | str:
|
4217
4210
|
"""
|
4218
4211
|
Link a comment that contains the best answer to a question posed in another comment.
|
@@ -4266,13 +4259,13 @@ class FeedbackManager(Client):
|
|
4266
4259
|
#
|
4267
4260
|
|
4268
4261
|
async def _async_update_comment(
|
4269
|
-
|
4270
|
-
|
4271
|
-
|
4272
|
-
|
4273
|
-
|
4274
|
-
|
4275
|
-
|
4262
|
+
self,
|
4263
|
+
comment_guid: str,
|
4264
|
+
body: dict,
|
4265
|
+
server_name: str = None,
|
4266
|
+
is_merge_update: bool = None,
|
4267
|
+
view_service_url_marker: str = None,
|
4268
|
+
access_service_url_marker: str = None,
|
4276
4269
|
) -> dict | str:
|
4277
4270
|
"""
|
4278
4271
|
Update an existing comment.
|
@@ -4315,18 +4308,18 @@ class FeedbackManager(Client):
|
|
4315
4308
|
("accessServiceUrlMarker", access_service_url_marker),
|
4316
4309
|
]
|
4317
4310
|
)
|
4318
|
-
url = f"{base_path(self,server_name)}/comments/{comment_guid}/update{possible_query_params}"
|
4311
|
+
url = f"{base_path(self, server_name)}/comments/{comment_guid}/update{possible_query_params}"
|
4319
4312
|
response = await self._async_make_request("POST", url, body)
|
4320
4313
|
return response.json()
|
4321
4314
|
|
4322
4315
|
def update_comment(
|
4323
|
-
|
4324
|
-
|
4325
|
-
|
4326
|
-
|
4327
|
-
|
4328
|
-
|
4329
|
-
|
4316
|
+
self,
|
4317
|
+
comment_guid: str,
|
4318
|
+
body: dict,
|
4319
|
+
server_name: str = None,
|
4320
|
+
is_merge_update: bool = None,
|
4321
|
+
view_service_url_marker: str = None,
|
4322
|
+
access_service_url_marker: str = None,
|
4330
4323
|
) -> dict | str:
|
4331
4324
|
"""
|
4332
4325
|
Update an existing comment.
|
@@ -4377,14 +4370,14 @@ class FeedbackManager(Client):
|
|
4377
4370
|
#
|
4378
4371
|
|
4379
4372
|
async def _async_update_comment_visibility(
|
4380
|
-
|
4381
|
-
|
4382
|
-
|
4383
|
-
|
4384
|
-
|
4385
|
-
|
4386
|
-
|
4387
|
-
|
4373
|
+
self,
|
4374
|
+
parent_guid: str,
|
4375
|
+
comment_guid: str,
|
4376
|
+
is_public: bool,
|
4377
|
+
body: dict = {},
|
4378
|
+
server_name: str = None,
|
4379
|
+
view_service_url_marker: str = None,
|
4380
|
+
access_service_url_marker: str = None,
|
4388
4381
|
) -> dict | str:
|
4389
4382
|
"""
|
4390
4383
|
Update an existing comment's visibility.
|
@@ -4427,19 +4420,19 @@ class FeedbackManager(Client):
|
|
4427
4420
|
("accessServiceUrlMarker", access_service_url_marker),
|
4428
4421
|
]
|
4429
4422
|
)
|
4430
|
-
url = f"{base_path(self,server_name)}/parents/{parent_guid}/comments/{comment_guid}/update-visibility{possible_query_params}"
|
4423
|
+
url = f"{base_path(self, server_name)}/parents/{parent_guid}/comments/{comment_guid}/update-visibility{possible_query_params}"
|
4431
4424
|
response = await self._async_make_request("POST", url, body)
|
4432
4425
|
return response.json()
|
4433
4426
|
|
4434
4427
|
def update_comment_visibility(
|
4435
|
-
|
4436
|
-
|
4437
|
-
|
4438
|
-
|
4439
|
-
|
4440
|
-
|
4441
|
-
|
4442
|
-
|
4428
|
+
self,
|
4429
|
+
parent_guid: str,
|
4430
|
+
comment_guid: str,
|
4431
|
+
is_public: bool,
|
4432
|
+
body: dict = {},
|
4433
|
+
server_name: str = None,
|
4434
|
+
view_service_url_marker: str = None,
|
4435
|
+
access_service_url_marker: str = None,
|
4443
4436
|
) -> dict | str:
|
4444
4437
|
"""
|
4445
4438
|
Update an existing comment's visibility.
|
@@ -4491,13 +4484,13 @@ class FeedbackManager(Client):
|
|
4491
4484
|
#
|
4492
4485
|
|
4493
4486
|
async def _async_update_note(
|
4494
|
-
|
4495
|
-
|
4496
|
-
|
4497
|
-
|
4498
|
-
|
4499
|
-
|
4500
|
-
|
4487
|
+
self,
|
4488
|
+
note_guid: str,
|
4489
|
+
body: dict,
|
4490
|
+
server_name: str = None,
|
4491
|
+
is_merge_update: bool = None,
|
4492
|
+
view_service_url_marker: str = None,
|
4493
|
+
access_service_url_marker: str = None,
|
4501
4494
|
) -> dict | str:
|
4502
4495
|
"""
|
4503
4496
|
Update an existing note.
|
@@ -4540,18 +4533,18 @@ class FeedbackManager(Client):
|
|
4540
4533
|
("accessServiceUrlMarker", access_service_url_marker),
|
4541
4534
|
]
|
4542
4535
|
)
|
4543
|
-
url = f"{base_path(self,server_name)}/notes/{note_guid}{possible_query_params}"
|
4536
|
+
url = f"{base_path(self, server_name)}/notes/{note_guid}{possible_query_params}"
|
4544
4537
|
response = await self._async_make_request("POST", url, body)
|
4545
4538
|
return response.json()
|
4546
4539
|
|
4547
4540
|
def update_note(
|
4548
|
-
|
4549
|
-
|
4550
|
-
|
4551
|
-
|
4552
|
-
|
4553
|
-
|
4554
|
-
|
4541
|
+
self,
|
4542
|
+
note_guid: str,
|
4543
|
+
body: dict,
|
4544
|
+
server_name: str = None,
|
4545
|
+
is_merge_update: bool = None,
|
4546
|
+
view_service_url_marker: str = None,
|
4547
|
+
access_service_url_marker: str = None,
|
4555
4548
|
) -> dict | str:
|
4556
4549
|
"""
|
4557
4550
|
Update an existing note.
|
@@ -4602,13 +4595,13 @@ class FeedbackManager(Client):
|
|
4602
4595
|
#
|
4603
4596
|
|
4604
4597
|
async def _async_update_note_log(
|
4605
|
-
|
4606
|
-
|
4607
|
-
|
4608
|
-
|
4609
|
-
|
4610
|
-
|
4611
|
-
|
4598
|
+
self,
|
4599
|
+
note_log_guid: str,
|
4600
|
+
body: dict,
|
4601
|
+
server_name: str = None,
|
4602
|
+
is_merge_update: bool = None,
|
4603
|
+
view_service_url_marker: str = None,
|
4604
|
+
access_service_url_marker: str = None,
|
4612
4605
|
) -> dict | str:
|
4613
4606
|
"""
|
4614
4607
|
Update an existing note log.
|
@@ -4651,18 +4644,18 @@ class FeedbackManager(Client):
|
|
4651
4644
|
("accessServiceUrlMarker", access_service_url_marker),
|
4652
4645
|
]
|
4653
4646
|
)
|
4654
|
-
url = f"{base_path(self,server_name)}/note-logs/{note_log_guid}{possible_query_params}"
|
4647
|
+
url = f"{base_path(self, server_name)}/note-logs/{note_log_guid}{possible_query_params}"
|
4655
4648
|
response = await self._async_make_request("POST", url, body)
|
4656
4649
|
return response.json()
|
4657
4650
|
|
4658
4651
|
def update_note_log(
|
4659
|
-
|
4660
|
-
|
4661
|
-
|
4662
|
-
|
4663
|
-
|
4664
|
-
|
4665
|
-
|
4652
|
+
self,
|
4653
|
+
note_log_guid: str,
|
4654
|
+
body: dict,
|
4655
|
+
server_name: str = None,
|
4656
|
+
is_merge_update: bool = None,
|
4657
|
+
view_service_url_marker: str = None,
|
4658
|
+
access_service_url_marker: str = None,
|
4666
4659
|
) -> dict | str:
|
4667
4660
|
"""
|
4668
4661
|
Update an existing note log.
|
@@ -4713,12 +4706,12 @@ class FeedbackManager(Client):
|
|
4713
4706
|
#
|
4714
4707
|
|
4715
4708
|
async def _async_update_tag_description(
|
4716
|
-
|
4717
|
-
|
4718
|
-
|
4719
|
-
|
4720
|
-
|
4721
|
-
|
4709
|
+
self,
|
4710
|
+
tag_guid: str,
|
4711
|
+
body: str,
|
4712
|
+
server_name: str = None,
|
4713
|
+
view_service_url_marker: str = None,
|
4714
|
+
access_service_url_marker: str = None,
|
4722
4715
|
) -> dict | str:
|
4723
4716
|
"""
|
4724
4717
|
Updates the description of an existing tag (either private or public).
|
@@ -4758,18 +4751,18 @@ class FeedbackManager(Client):
|
|
4758
4751
|
("accessServiceUrlMarker", access_service_url_marker),
|
4759
4752
|
]
|
4760
4753
|
)
|
4761
|
-
url = f"{base_path(self,server_name)}/tags/{tag_guid}/update{possible_query_params}"
|
4754
|
+
url = f"{base_path(self, server_name)}/tags/{tag_guid}/update{possible_query_params}"
|
4762
4755
|
|
4763
4756
|
response = await self._async_make_request("POST", url, body)
|
4764
4757
|
return response.json()
|
4765
4758
|
|
4766
4759
|
def update_tag_description(
|
4767
|
-
|
4768
|
-
|
4769
|
-
|
4770
|
-
|
4771
|
-
|
4772
|
-
|
4760
|
+
self,
|
4761
|
+
tag_guid: str,
|
4762
|
+
body: str,
|
4763
|
+
server_name: str = None,
|
4764
|
+
view_service_url_marker: str = None,
|
4765
|
+
access_service_url_marker: str = None,
|
4773
4766
|
) -> dict | str:
|
4774
4767
|
"""
|
4775
4768
|
Updates the description of an existing tag (either private or public).
|