fastcomments 1.2.1 → 3.0.0

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 (1089) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -9
  3. data/client/README.md +164 -102
  4. data/client/docs/APIBanUserChangeLog.md +24 -0
  5. data/client/docs/APIBanUserChangedValues.md +42 -0
  6. data/client/docs/APIBannedUser.md +42 -0
  7. data/client/docs/APIBannedUserWithMultiMatchInfo.md +34 -0
  8. data/client/docs/APIComment.md +2 -2
  9. data/client/docs/APICommentBase.md +2 -2
  10. data/client/docs/APICommentCommonBannedUser.md +32 -0
  11. data/client/docs/APIModerateGetUserBanPreferencesResponse.md +20 -0
  12. data/client/docs/APIModerateUserBanPreferences.md +24 -0
  13. data/client/docs/{SaveCommentResponse.md → APISaveCommentResponse.md} +3 -3
  14. data/client/docs/AddDomainConfigResponse.md +24 -0
  15. data/client/docs/{AddDomainConfig200ResponseAnyOf.md → AddDomainConfigResponseAnyOf.md} +2 -2
  16. data/client/docs/AdjustCommentVotesParams.md +18 -0
  17. data/client/docs/AdjustVotesResponse.md +20 -0
  18. data/client/docs/AggregateResponse.md +28 -0
  19. data/client/docs/{AddDomainConfig200Response.md → AggregationAPIError.md} +6 -6
  20. data/client/docs/AwardUserBadgeResponse.md +22 -0
  21. data/client/docs/BanUserFromCommentResult.md +24 -0
  22. data/client/docs/BanUserUndoParams.md +18 -0
  23. data/client/docs/BannedUserMatch.md +20 -0
  24. data/client/docs/{RecordStringStringOrNumberValue.md → BannedUserMatchMatchedOnValue.md} +2 -2
  25. data/client/docs/BannedUserMatchType.md +15 -0
  26. data/client/docs/BuildModerationFilterParams.md +26 -0
  27. data/client/docs/BuildModerationFilterResponse.md +20 -0
  28. data/client/docs/BulkCreateHashTagsResponse.md +1 -1
  29. data/client/docs/{PatchHashTag200Response.md → BulkCreateHashTagsResponseResultsInner.md} +5 -5
  30. data/client/docs/BulkPreBanParams.md +18 -0
  31. data/client/docs/BulkPreBanSummary.md +28 -0
  32. data/client/docs/CommentData.md +4 -2
  33. data/client/docs/CommentLogData.md +2 -0
  34. data/client/docs/CommentsByIdsParams.md +18 -0
  35. data/client/docs/CreateCommentParams.md +3 -1
  36. data/client/docs/CreateTenantPackageBody.md +4 -4
  37. data/client/docs/CreateV1PageReact.md +20 -0
  38. data/client/docs/CustomConfigParameters.md +10 -0
  39. data/client/docs/DefaultApi.md +422 -426
  40. data/client/docs/{DeleteDomainConfig200Response.md → DeleteDomainConfigResponse.md} +2 -2
  41. data/client/docs/{DeleteFeedPostPublic200ResponseAnyOf.md → DeleteFeedPostPublicResponse.md} +2 -2
  42. data/client/docs/{DeleteHashTagRequest.md → DeleteHashTagRequestBody.md} +2 -2
  43. data/client/docs/FComment.md +3 -1
  44. data/client/docs/GetBannedUsersCountResponse.md +20 -0
  45. data/client/docs/GetBannedUsersFromCommentResponse.md +22 -0
  46. data/client/docs/GetCommentBanStatusResponse.md +22 -0
  47. data/client/docs/GetCommentTextResponse.md +20 -0
  48. data/client/docs/GetCommentsForUserResponse.md +18 -0
  49. data/client/docs/{GetDomainConfig200Response.md → GetDomainConfigResponse.md} +5 -5
  50. data/client/docs/{GetDomainConfigs200Response.md → GetDomainConfigsResponse.md} +5 -5
  51. data/client/docs/{GetDomainConfigs200ResponseAnyOf.md → GetDomainConfigsResponseAnyOf.md} +2 -2
  52. data/client/docs/{GetDomainConfigs200ResponseAnyOf1.md → GetDomainConfigsResponseAnyOf1.md} +2 -2
  53. data/client/docs/GetGifsSearchResponse.md +22 -0
  54. data/client/docs/GetGifsTrendingResponse.md +22 -0
  55. data/client/docs/GetPublicPagesResponse.md +22 -0
  56. data/client/docs/{GetSSOUsers200Response.md → GetSSOUsersResponse.md} +2 -2
  57. data/client/docs/GetTenantManualBadgesResponse.md +20 -0
  58. data/client/docs/GetTranslationsResponse.md +20 -0
  59. data/client/docs/GetUserInternalProfileResponse.md +20 -0
  60. data/client/docs/GetUserInternalProfileResponseProfile.md +50 -0
  61. data/client/docs/GetUserManualBadgesResponse.md +20 -0
  62. data/client/docs/GetUserTrustFactorResponse.md +22 -0
  63. data/client/docs/GetV1PageLikes.md +26 -0
  64. data/client/docs/GetV2PageReactUsersResponse.md +20 -0
  65. data/client/docs/GetV2PageReacts.md +22 -0
  66. data/client/docs/GifGetLargeResponse.md +20 -0
  67. data/client/docs/GifSearchInternalError.md +20 -0
  68. data/client/docs/GifSearchResponse.md +20 -0
  69. data/client/docs/GifSearchResponseImagesInnerInner.md +15 -0
  70. data/client/docs/HeaderAccountNotification.md +3 -1
  71. data/client/docs/ImportedAgentApprovalNotificationFrequency.md +15 -0
  72. data/client/docs/LiveEvent.md +2 -0
  73. data/client/docs/ModerationAPIChildCommentsResponse.md +20 -0
  74. data/client/docs/ModerationAPIComment.md +100 -0
  75. data/client/docs/ModerationAPICommentLog.md +24 -0
  76. data/client/docs/ModerationAPICommentResponse.md +20 -0
  77. data/client/docs/ModerationAPICountCommentsResponse.md +20 -0
  78. data/client/docs/ModerationAPIGetCommentIdsResponse.md +22 -0
  79. data/client/docs/ModerationAPIGetCommentsResponse.md +24 -0
  80. data/client/docs/ModerationAPIGetLogsResponse.md +20 -0
  81. data/client/docs/ModerationApi.md +3098 -0
  82. data/client/docs/ModerationCommentSearchResponse.md +20 -0
  83. data/client/docs/ModerationExportResponse.md +20 -0
  84. data/client/docs/ModerationExportStatusResponse.md +24 -0
  85. data/client/docs/ModerationFilter.md +40 -0
  86. data/client/docs/ModerationPageSearchProjected.md +24 -0
  87. data/client/docs/ModerationPageSearchResponse.md +20 -0
  88. data/client/docs/ModerationSiteSearchProjected.md +20 -0
  89. data/client/docs/ModerationSiteSearchResponse.md +20 -0
  90. data/client/docs/ModerationSuggestResponse.md +24 -0
  91. data/client/docs/ModerationUserSearchProjected.md +24 -0
  92. data/client/docs/ModerationUserSearchResponse.md +20 -0
  93. data/client/docs/PageUserEntry.md +24 -0
  94. data/client/docs/PageUsersInfoResponse.md +20 -0
  95. data/client/docs/PageUsersOfflineResponse.md +24 -0
  96. data/client/docs/PageUsersOnlineResponse.md +28 -0
  97. data/client/docs/PagesSortBy.md +15 -0
  98. data/client/docs/PatchDomainConfigResponse.md +24 -0
  99. data/client/docs/PostRemoveCommentApiResponse.md +20 -0
  100. data/client/docs/PreBanSummary.md +22 -0
  101. data/client/docs/PublicApi.md +1569 -385
  102. data/client/docs/PublicPage.md +26 -0
  103. data/client/docs/PutDomainConfigResponse.md +24 -0
  104. data/client/docs/RemoveCommentActionResponse.md +20 -0
  105. data/client/docs/RemoveUserBadgeResponse.md +20 -0
  106. data/client/docs/{SaveComment200Response.md → SaveCommentsBulkResponse.md} +6 -6
  107. data/client/docs/SearchUsersResult.md +22 -0
  108. data/client/docs/SetCommentApprovedResponse.md +20 -0
  109. data/client/docs/SetCommentTextParams.md +18 -0
  110. data/client/docs/SetCommentTextResponse.md +20 -0
  111. data/client/docs/SetUserTrustFactorResponse.md +20 -0
  112. data/client/docs/TenantBadge.md +58 -0
  113. data/client/docs/TenantPackage.md +15 -1
  114. data/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +24 -0
  115. data/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +24 -0
  116. data/client/docs/UpdateUserNotificationStatusResponse.md +24 -0
  117. data/client/docs/User.md +2 -0
  118. data/client/docs/UsersListLocation.md +15 -0
  119. data/client/fastcomments-client.gemspec +1 -1
  120. data/client/lib/fastcomments-client/api/default_api.rb +419 -397
  121. data/client/lib/fastcomments-client/api/moderation_api.rb +3162 -0
  122. data/client/lib/fastcomments-client/api/public_api.rb +1497 -311
  123. data/client/lib/fastcomments-client/api_client.rb +1 -1
  124. data/client/lib/fastcomments-client/api_error.rb +1 -1
  125. data/client/lib/fastcomments-client/api_model_base.rb +1 -1
  126. data/client/lib/fastcomments-client/configuration.rb +1 -1
  127. data/client/lib/fastcomments-client/models/add_domain_config_params.rb +1 -1
  128. data/client/lib/fastcomments-client/models/add_domain_config_response.rb +103 -0
  129. data/client/lib/fastcomments-client/models/{add_domain_config200_response_any_of.rb → add_domain_config_response_any_of.rb} +4 -4
  130. data/client/lib/fastcomments-client/models/add_page_api_response.rb +1 -1
  131. data/client/lib/fastcomments-client/models/add_sso_user_api_response.rb +1 -1
  132. data/client/lib/fastcomments-client/models/adjust_comment_votes_params.rb +164 -0
  133. data/client/lib/fastcomments-client/models/adjust_votes_response.rb +190 -0
  134. data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +1 -1
  135. data/client/lib/fastcomments-client/models/{block_from_comment_public200_response.rb → aggregate_response.rb} +4 -4
  136. data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +1 -1
  137. data/client/lib/fastcomments-client/models/aggregation_api_error.rb +249 -0
  138. data/client/lib/fastcomments-client/models/aggregation_item.rb +1 -1
  139. data/client/lib/fastcomments-client/models/aggregation_op_type.rb +1 -1
  140. data/client/lib/fastcomments-client/models/aggregation_operation.rb +1 -1
  141. data/client/lib/fastcomments-client/models/aggregation_request.rb +1 -1
  142. data/client/lib/fastcomments-client/models/aggregation_request_sort.rb +1 -1
  143. data/client/lib/fastcomments-client/models/aggregation_response.rb +1 -1
  144. data/client/lib/fastcomments-client/models/aggregation_response_stats.rb +1 -1
  145. data/client/lib/fastcomments-client/models/aggregation_value.rb +1 -1
  146. data/client/lib/fastcomments-client/models/api_audit_log.rb +1 -1
  147. data/client/lib/fastcomments-client/models/api_ban_user_change_log.rb +176 -0
  148. data/client/lib/fastcomments-client/models/api_ban_user_changed_values.rb +260 -0
  149. data/client/lib/fastcomments-client/models/api_banned_user.rb +381 -0
  150. data/client/lib/fastcomments-client/models/api_banned_user_with_multi_match_info.rb +302 -0
  151. data/client/lib/fastcomments-client/models/api_comment.rb +17 -17
  152. data/client/lib/fastcomments-client/models/api_comment_base.rb +17 -17
  153. data/client/lib/fastcomments-client/models/api_comment_base_meta.rb +1 -1
  154. data/client/lib/fastcomments-client/models/api_comment_common_banned_user.rb +267 -0
  155. data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +1 -1
  156. data/client/lib/fastcomments-client/models/api_domain_configuration.rb +1 -1
  157. data/client/lib/fastcomments-client/models/api_empty_response.rb +1 -1
  158. data/client/lib/fastcomments-client/models/api_empty_success_response.rb +1 -1
  159. data/client/lib/fastcomments-client/models/api_error.rb +1 -1
  160. data/client/lib/fastcomments-client/models/api_get_comment_response.rb +1 -1
  161. data/client/lib/fastcomments-client/models/api_get_comments_response.rb +1 -1
  162. data/client/lib/fastcomments-client/models/api_get_user_badge_progress_list_response.rb +1 -1
  163. data/client/lib/fastcomments-client/models/api_get_user_badge_progress_response.rb +1 -1
  164. data/client/lib/fastcomments-client/models/api_get_user_badge_response.rb +1 -1
  165. data/client/lib/fastcomments-client/models/api_get_user_badges_response.rb +1 -1
  166. data/client/lib/fastcomments-client/models/api_moderate_get_user_ban_preferences_response.rb +198 -0
  167. data/client/lib/fastcomments-client/models/api_moderate_user_ban_preferences.rb +242 -0
  168. data/client/lib/fastcomments-client/models/api_page.rb +1 -1
  169. data/client/lib/fastcomments-client/models/{save_comment_response.rb → api_save_comment_response.rb} +5 -5
  170. data/client/lib/fastcomments-client/models/api_status.rb +1 -1
  171. data/client/lib/fastcomments-client/models/api_tenant.rb +1 -1
  172. data/client/lib/fastcomments-client/models/api_tenant_daily_usage.rb +1 -1
  173. data/client/lib/fastcomments-client/models/api_ticket.rb +1 -1
  174. data/client/lib/fastcomments-client/models/api_ticket_detail.rb +1 -1
  175. data/client/lib/fastcomments-client/models/api_ticket_file.rb +1 -1
  176. data/client/lib/fastcomments-client/models/api_user_subscription.rb +1 -1
  177. data/client/lib/fastcomments-client/models/apisso_user.rb +1 -1
  178. data/client/lib/fastcomments-client/models/award_user_badge_response.rb +208 -0
  179. data/client/lib/fastcomments-client/models/ban_user_from_comment_result.rb +191 -0
  180. data/client/lib/fastcomments-client/models/ban_user_undo_params.rb +164 -0
  181. data/client/lib/fastcomments-client/models/banned_user_match.rb +198 -0
  182. data/client/lib/fastcomments-client/models/{record_string_string_or_number_value.rb → banned_user_match_matched_on_value.rb} +2 -2
  183. data/client/lib/fastcomments-client/models/banned_user_match_type.rb +42 -0
  184. data/client/lib/fastcomments-client/models/billing_info.rb +1 -1
  185. data/client/lib/fastcomments-client/models/block_from_comment_params.rb +1 -1
  186. data/client/lib/fastcomments-client/models/block_success.rb +1 -1
  187. data/client/lib/fastcomments-client/models/build_moderation_filter_params.rb +217 -0
  188. data/client/lib/fastcomments-client/models/build_moderation_filter_response.rb +190 -0
  189. data/client/lib/fastcomments-client/models/bulk_aggregate_question_item.rb +1 -1
  190. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_request.rb +1 -1
  191. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_response.rb +1 -1
  192. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body.rb +1 -1
  193. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body_tags_inner.rb +1 -1
  194. data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response.rb +2 -2
  195. data/client/lib/fastcomments-client/models/{add_hash_tag200_response.rb → bulk_create_hash_tags_response_results_inner.rb} +2 -2
  196. data/client/lib/fastcomments-client/models/bulk_pre_ban_params.rb +166 -0
  197. data/client/lib/fastcomments-client/models/bulk_pre_ban_summary.rb +302 -0
  198. data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +1 -1
  199. data/client/lib/fastcomments-client/models/change_ticket_state_body.rb +1 -1
  200. data/client/lib/fastcomments-client/models/change_ticket_state_response.rb +1 -1
  201. data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +1 -1
  202. data/client/lib/fastcomments-client/models/combine_question_results_with_comments_response.rb +1 -1
  203. data/client/lib/fastcomments-client/models/comment_data.rb +15 -6
  204. data/client/lib/fastcomments-client/models/comment_html_rendering_mode.rb +1 -1
  205. data/client/lib/fastcomments-client/models/comment_log_data.rb +11 -2
  206. data/client/lib/fastcomments-client/models/comment_log_entry.rb +1 -1
  207. data/client/lib/fastcomments-client/models/comment_log_type.rb +1 -1
  208. data/client/lib/fastcomments-client/models/comment_question_results_rendering_type.rb +1 -1
  209. data/client/lib/fastcomments-client/models/comment_questions_required.rb +1 -1
  210. data/client/lib/fastcomments-client/models/comment_text_update_request.rb +1 -1
  211. data/client/lib/fastcomments-client/models/comment_thread_deletion_mode.rb +1 -1
  212. data/client/lib/fastcomments-client/models/comment_user_badge_info.rb +1 -1
  213. data/client/lib/fastcomments-client/models/comment_user_hash_tag_info.rb +1 -1
  214. data/client/lib/fastcomments-client/models/comment_user_mention_info.rb +1 -1
  215. data/client/lib/fastcomments-client/models/commenter_name_formats.rb +1 -1
  216. data/client/lib/fastcomments-client/models/comments_by_ids_params.rb +166 -0
  217. data/client/lib/fastcomments-client/models/create_api_page_data.rb +1 -1
  218. data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +1 -1
  219. data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +1 -1
  220. data/client/lib/fastcomments-client/models/create_comment_params.rb +12 -3
  221. data/client/lib/fastcomments-client/models/create_email_template_body.rb +1 -1
  222. data/client/lib/fastcomments-client/models/create_email_template_response.rb +1 -1
  223. data/client/lib/fastcomments-client/models/create_feed_post_params.rb +1 -1
  224. data/client/lib/fastcomments-client/models/create_feed_post_response.rb +1 -1
  225. data/client/lib/fastcomments-client/models/create_feed_posts_response.rb +1 -1
  226. data/client/lib/fastcomments-client/models/create_hash_tag_body.rb +1 -1
  227. data/client/lib/fastcomments-client/models/create_hash_tag_response.rb +1 -1
  228. data/client/lib/fastcomments-client/models/create_moderator_body.rb +1 -1
  229. data/client/lib/fastcomments-client/models/create_moderator_response.rb +1 -1
  230. data/client/lib/fastcomments-client/models/create_question_config_body.rb +1 -1
  231. data/client/lib/fastcomments-client/models/create_question_config_response.rb +1 -1
  232. data/client/lib/fastcomments-client/models/create_question_result_body.rb +1 -1
  233. data/client/lib/fastcomments-client/models/create_question_result_response.rb +1 -1
  234. data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +1 -1
  235. data/client/lib/fastcomments-client/models/create_tenant_body.rb +1 -1
  236. data/client/lib/fastcomments-client/models/create_tenant_package_body.rb +14 -14
  237. data/client/lib/fastcomments-client/models/create_tenant_package_response.rb +1 -1
  238. data/client/lib/fastcomments-client/models/create_tenant_response.rb +1 -1
  239. data/client/lib/fastcomments-client/models/create_tenant_user_body.rb +1 -1
  240. data/client/lib/fastcomments-client/models/create_tenant_user_response.rb +1 -1
  241. data/client/lib/fastcomments-client/models/create_ticket_body.rb +1 -1
  242. data/client/lib/fastcomments-client/models/create_ticket_response.rb +1 -1
  243. data/client/lib/fastcomments-client/models/create_user_badge_params.rb +1 -1
  244. data/client/lib/fastcomments-client/models/create_v1_page_react.rb +195 -0
  245. data/client/lib/fastcomments-client/models/custom_config_parameters.rb +50 -2
  246. data/client/lib/fastcomments-client/models/custom_email_template.rb +1 -1
  247. data/client/lib/fastcomments-client/models/delete_comment_action.rb +1 -1
  248. data/client/lib/fastcomments-client/models/delete_comment_result.rb +1 -1
  249. data/client/lib/fastcomments-client/models/{delete_domain_config200_response.rb → delete_domain_config_response.rb} +4 -4
  250. data/client/lib/fastcomments-client/models/{delete_feed_post_public200_response_any_of.rb → delete_feed_post_public_response.rb} +4 -4
  251. data/client/lib/fastcomments-client/models/{delete_hash_tag_request.rb → delete_hash_tag_request_body.rb} +4 -4
  252. data/client/lib/fastcomments-client/models/delete_page_api_response.rb +1 -1
  253. data/client/lib/fastcomments-client/models/delete_sso_user_api_response.rb +1 -1
  254. data/client/lib/fastcomments-client/models/delete_subscription_api_response.rb +1 -1
  255. data/client/lib/fastcomments-client/models/deleted_comment_result_comment.rb +1 -1
  256. data/client/lib/fastcomments-client/models/digest_email_frequency.rb +1 -1
  257. data/client/lib/fastcomments-client/models/email_template_definition.rb +1 -1
  258. data/client/lib/fastcomments-client/models/email_template_render_error_response.rb +1 -1
  259. data/client/lib/fastcomments-client/models/event_log_entry.rb +1 -1
  260. data/client/lib/fastcomments-client/models/f_comment.rb +14 -5
  261. data/client/lib/fastcomments-client/models/f_comment_meta.rb +1 -1
  262. data/client/lib/fastcomments-client/models/feed_post.rb +1 -1
  263. data/client/lib/fastcomments-client/models/feed_post_link.rb +1 -1
  264. data/client/lib/fastcomments-client/models/feed_post_media_item.rb +1 -1
  265. data/client/lib/fastcomments-client/models/feed_post_media_item_asset.rb +1 -1
  266. data/client/lib/fastcomments-client/models/feed_post_stats.rb +1 -1
  267. data/client/lib/fastcomments-client/models/feed_posts_stats_response.rb +1 -1
  268. data/client/lib/fastcomments-client/models/find_comments_by_range_item.rb +1 -1
  269. data/client/lib/fastcomments-client/models/find_comments_by_range_response.rb +1 -1
  270. data/client/lib/fastcomments-client/models/flag_comment_response.rb +1 -1
  271. data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +1 -1
  272. data/client/lib/fastcomments-client/models/get_banned_users_count_response.rb +190 -0
  273. data/client/lib/fastcomments-client/models/get_banned_users_from_comment_response.rb +235 -0
  274. data/client/lib/fastcomments-client/models/get_cached_notification_count_response.rb +1 -1
  275. data/client/lib/fastcomments-client/models/get_comment_ban_status_response.rb +188 -0
  276. data/client/lib/fastcomments-client/models/get_comment_text_response.rb +196 -0
  277. data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +1 -1
  278. data/client/lib/fastcomments-client/models/get_comments_for_user_response.rb +149 -0
  279. data/client/lib/fastcomments-client/models/get_comments_response_public_comment.rb +1 -1
  280. data/client/lib/fastcomments-client/models/get_comments_response_with_presence_public_comment.rb +1 -1
  281. data/client/lib/fastcomments-client/models/get_domain_config_response.rb +103 -0
  282. data/client/lib/fastcomments-client/models/get_domain_configs_response.rb +103 -0
  283. data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of.rb → get_domain_configs_response_any_of.rb} +4 -4
  284. data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of1.rb → get_domain_configs_response_any_of1.rb} +4 -4
  285. data/client/lib/fastcomments-client/models/get_email_template_definitions_response.rb +1 -1
  286. data/client/lib/fastcomments-client/models/get_email_template_render_errors_response.rb +1 -1
  287. data/client/lib/fastcomments-client/models/get_email_template_response.rb +1 -1
  288. data/client/lib/fastcomments-client/models/get_email_templates_response.rb +1 -1
  289. data/client/lib/fastcomments-client/models/get_event_log_response.rb +1 -1
  290. data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +1 -1
  291. data/client/lib/fastcomments-client/models/{add_hash_tags_bulk200_response.rb → get_gifs_search_response.rb} +4 -4
  292. data/client/lib/fastcomments-client/models/{change_ticket_state200_response.rb → get_gifs_trending_response.rb} +4 -4
  293. data/client/lib/fastcomments-client/models/get_hash_tags_response.rb +1 -1
  294. data/client/lib/fastcomments-client/models/get_moderator_response.rb +1 -1
  295. data/client/lib/fastcomments-client/models/get_moderators_response.rb +1 -1
  296. data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +1 -1
  297. data/client/lib/fastcomments-client/models/get_notification_count_response.rb +1 -1
  298. data/client/lib/fastcomments-client/models/get_notifications_response.rb +1 -1
  299. data/client/lib/fastcomments-client/models/get_page_by_urlid_api_response.rb +1 -1
  300. data/client/lib/fastcomments-client/models/get_pages_api_response.rb +1 -1
  301. data/client/lib/fastcomments-client/models/get_pending_webhook_event_count_response.rb +1 -1
  302. data/client/lib/fastcomments-client/models/get_pending_webhook_events_response.rb +1 -1
  303. data/client/lib/fastcomments-client/models/get_public_feed_posts_response.rb +1 -1
  304. data/client/lib/fastcomments-client/models/get_public_pages_response.rb +226 -0
  305. data/client/lib/fastcomments-client/models/get_question_config_response.rb +1 -1
  306. data/client/lib/fastcomments-client/models/get_question_configs_response.rb +1 -1
  307. data/client/lib/fastcomments-client/models/get_question_result_response.rb +1 -1
  308. data/client/lib/fastcomments-client/models/get_question_results_response.rb +1 -1
  309. data/client/lib/fastcomments-client/models/get_sso_user_by_email_api_response.rb +1 -1
  310. data/client/lib/fastcomments-client/models/get_sso_user_by_id_api_response.rb +1 -1
  311. data/client/lib/fastcomments-client/models/{get_sso_users200_response.rb → get_sso_users_response.rb} +4 -4
  312. data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +1 -1
  313. data/client/lib/fastcomments-client/models/get_tenant_daily_usages_response.rb +1 -1
  314. data/client/lib/fastcomments-client/models/get_tenant_manual_badges_response.rb +214 -0
  315. data/client/lib/fastcomments-client/models/get_tenant_package_response.rb +1 -1
  316. data/client/lib/fastcomments-client/models/get_tenant_packages_response.rb +1 -1
  317. data/client/lib/fastcomments-client/models/get_tenant_response.rb +1 -1
  318. data/client/lib/fastcomments-client/models/get_tenant_user_response.rb +1 -1
  319. data/client/lib/fastcomments-client/models/get_tenant_users_response.rb +1 -1
  320. data/client/lib/fastcomments-client/models/get_tenants_response.rb +1 -1
  321. data/client/lib/fastcomments-client/models/get_ticket_response.rb +1 -1
  322. data/client/lib/fastcomments-client/models/get_tickets_response.rb +1 -1
  323. data/client/lib/fastcomments-client/models/get_translations_response.rb +215 -0
  324. data/client/lib/fastcomments-client/models/get_user_internal_profile_response.rb +212 -0
  325. data/client/lib/fastcomments-client/models/get_user_internal_profile_response_profile.rb +298 -0
  326. data/client/lib/fastcomments-client/models/get_user_manual_badges_response.rb +214 -0
  327. data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +1 -1
  328. data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +1 -1
  329. data/client/lib/fastcomments-client/models/get_user_response.rb +1 -1
  330. data/client/lib/fastcomments-client/models/get_user_trust_factor_response.rb +204 -0
  331. data/client/lib/fastcomments-client/models/get_v1_page_likes.rb +290 -0
  332. data/client/lib/fastcomments-client/models/get_v2_page_react_users_response.rb +214 -0
  333. data/client/lib/fastcomments-client/models/get_v2_page_reacts.rb +209 -0
  334. data/client/lib/fastcomments-client/models/get_votes_for_user_response.rb +1 -1
  335. data/client/lib/fastcomments-client/models/get_votes_response.rb +1 -1
  336. data/client/lib/fastcomments-client/models/gif_get_large_response.rb +212 -0
  337. data/client/lib/fastcomments-client/models/gif_rating.rb +1 -1
  338. data/client/lib/fastcomments-client/models/gif_search_internal_error.rb +212 -0
  339. data/client/lib/fastcomments-client/models/gif_search_response.rb +214 -0
  340. data/client/lib/fastcomments-client/models/{get_user200_response.rb → gif_search_response_images_inner_inner.rb} +4 -4
  341. data/client/lib/fastcomments-client/models/header_account_notification.rb +16 -5
  342. data/client/lib/fastcomments-client/models/header_state.rb +1 -1
  343. data/client/lib/fastcomments-client/models/ignored_response.rb +1 -1
  344. data/client/lib/fastcomments-client/models/image_content_profanity_level.rb +1 -1
  345. data/client/lib/fastcomments-client/models/imported_agent_approval_notification_frequency.rb +42 -0
  346. data/client/lib/fastcomments-client/models/imported_site_type.rb +1 -1
  347. data/client/lib/fastcomments-client/models/live_event.rb +11 -2
  348. data/client/lib/fastcomments-client/models/live_event_extra_info.rb +1 -1
  349. data/client/lib/fastcomments-client/models/live_event_type.rb +8 -2
  350. data/client/lib/fastcomments-client/models/media_asset.rb +1 -1
  351. data/client/lib/fastcomments-client/models/mention_auto_complete_mode.rb +1 -1
  352. data/client/lib/fastcomments-client/models/meta_item.rb +1 -1
  353. data/client/lib/fastcomments-client/models/moderation_api_child_comments_response.rb +214 -0
  354. data/client/lib/fastcomments-client/models/moderation_api_comment.rb +680 -0
  355. data/client/lib/fastcomments-client/models/moderation_api_comment_log.rb +225 -0
  356. data/client/lib/fastcomments-client/models/moderation_api_comment_response.rb +212 -0
  357. data/client/lib/fastcomments-client/models/moderation_api_count_comments_response.rb +212 -0
  358. data/client/lib/fastcomments-client/models/moderation_api_get_comment_ids_response.rb +240 -0
  359. data/client/lib/fastcomments-client/models/moderation_api_get_comments_response.rb +249 -0
  360. data/client/lib/fastcomments-client/models/moderation_api_get_logs_response.rb +214 -0
  361. data/client/lib/fastcomments-client/models/moderation_comment_search_response.rb +212 -0
  362. data/client/lib/fastcomments-client/models/moderation_export_response.rb +190 -0
  363. data/client/lib/fastcomments-client/models/moderation_export_status_response.rb +225 -0
  364. data/client/lib/fastcomments-client/models/moderation_filter.rb +252 -0
  365. data/client/lib/fastcomments-client/models/moderation_page_search_projected.rb +242 -0
  366. data/client/lib/fastcomments-client/models/moderation_page_search_response.rb +214 -0
  367. data/client/lib/fastcomments-client/models/moderation_site_search_projected.rb +174 -0
  368. data/client/lib/fastcomments-client/models/moderation_site_search_response.rb +214 -0
  369. data/client/lib/fastcomments-client/models/moderation_suggest_response.rb +195 -0
  370. data/client/lib/fastcomments-client/models/moderation_user_search_projected.rb +210 -0
  371. data/client/lib/fastcomments-client/models/moderation_user_search_response.rb +214 -0
  372. data/client/lib/fastcomments-client/models/moderator.rb +1 -1
  373. data/client/lib/fastcomments-client/models/notification_and_count.rb +1 -1
  374. data/client/lib/fastcomments-client/models/notification_object_type.rb +1 -1
  375. data/client/lib/fastcomments-client/models/notification_type.rb +1 -1
  376. data/client/lib/fastcomments-client/models/page_user_entry.rb +208 -0
  377. data/client/lib/fastcomments-client/models/page_users_info_response.rb +214 -0
  378. data/client/lib/fastcomments-client/models/page_users_offline_response.rb +238 -0
  379. data/client/lib/fastcomments-client/models/page_users_online_response.rb +290 -0
  380. data/client/lib/fastcomments-client/models/pages_sort_by.rb +41 -0
  381. data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +1 -1
  382. data/client/lib/fastcomments-client/models/patch_domain_config_response.rb +103 -0
  383. data/client/lib/fastcomments-client/models/patch_page_api_response.rb +1 -1
  384. data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +1 -1
  385. data/client/lib/fastcomments-client/models/pending_comment_to_sync_outbound.rb +1 -1
  386. data/client/lib/fastcomments-client/models/post_remove_comment_api_response.rb +103 -0
  387. data/client/lib/fastcomments-client/models/pre_ban_summary.rb +240 -0
  388. data/client/lib/fastcomments-client/models/pub_sub_comment.rb +1 -1
  389. data/client/lib/fastcomments-client/models/pub_sub_comment_base.rb +1 -1
  390. data/client/lib/fastcomments-client/models/pub_sub_vote.rb +1 -1
  391. data/client/lib/fastcomments-client/models/public_api_delete_comment_response.rb +1 -1
  392. data/client/lib/fastcomments-client/models/public_api_get_comment_text_response.rb +1 -1
  393. data/client/lib/fastcomments-client/models/public_api_set_comment_text_response.rb +1 -1
  394. data/client/lib/fastcomments-client/models/public_block_from_comment_params.rb +1 -1
  395. data/client/lib/fastcomments-client/models/public_comment.rb +1 -1
  396. data/client/lib/fastcomments-client/models/public_comment_base.rb +1 -1
  397. data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +1 -1
  398. data/client/lib/fastcomments-client/models/public_page.rb +268 -0
  399. data/client/lib/fastcomments-client/models/public_vote.rb +1 -1
  400. data/client/lib/fastcomments-client/models/put_domain_config_response.rb +103 -0
  401. data/client/lib/fastcomments-client/models/put_sso_user_api_response.rb +1 -1
  402. data/client/lib/fastcomments-client/models/query_predicate.rb +1 -1
  403. data/client/lib/fastcomments-client/models/query_predicate_value.rb +1 -1
  404. data/client/lib/fastcomments-client/models/question_config.rb +1 -1
  405. data/client/lib/fastcomments-client/models/question_config_custom_options_inner.rb +1 -1
  406. data/client/lib/fastcomments-client/models/question_datum.rb +1 -1
  407. data/client/lib/fastcomments-client/models/question_rendering_type.rb +1 -1
  408. data/client/lib/fastcomments-client/models/question_result.rb +1 -1
  409. data/client/lib/fastcomments-client/models/question_result_aggregation_overall.rb +1 -1
  410. data/client/lib/fastcomments-client/models/question_sub_question_visibility.rb +1 -1
  411. data/client/lib/fastcomments-client/models/question_when_save.rb +1 -1
  412. data/client/lib/fastcomments-client/models/react_body_params.rb +1 -1
  413. data/client/lib/fastcomments-client/models/react_feed_post_response.rb +1 -1
  414. data/client/lib/fastcomments-client/models/record_string_before_string_or_null_after_string_or_null_value.rb +3 -31
  415. data/client/lib/fastcomments-client/models/remove_comment_action_response.rb +190 -0
  416. data/client/lib/fastcomments-client/models/remove_user_badge_response.rb +197 -0
  417. data/client/lib/fastcomments-client/models/render_email_template_body.rb +1 -1
  418. data/client/lib/fastcomments-client/models/render_email_template_response.rb +1 -1
  419. data/client/lib/fastcomments-client/models/renderable_user_notification.rb +1 -1
  420. data/client/lib/fastcomments-client/models/repeat_comment_check_ignored_reason.rb +1 -1
  421. data/client/lib/fastcomments-client/models/repeat_comment_handling_action.rb +1 -1
  422. data/client/lib/fastcomments-client/models/replace_tenant_package_body.rb +1 -1
  423. data/client/lib/fastcomments-client/models/replace_tenant_user_body.rb +1 -1
  424. data/client/lib/fastcomments-client/models/reset_user_notifications_response.rb +1 -1
  425. data/client/lib/fastcomments-client/models/save_comment_response_optimized.rb +1 -1
  426. data/client/lib/fastcomments-client/models/{create_tenant200_response.rb → save_comments_bulk_response.rb} +3 -3
  427. data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +1 -1
  428. data/client/lib/fastcomments-client/models/search_users_response.rb +1 -1
  429. data/client/lib/fastcomments-client/models/{search_users200_response.rb → search_users_result.rb} +2 -3
  430. data/client/lib/fastcomments-client/models/search_users_sectioned_response.rb +1 -1
  431. data/client/lib/fastcomments-client/models/set_comment_approved_response.rb +195 -0
  432. data/client/lib/fastcomments-client/models/set_comment_text_params.rb +164 -0
  433. data/client/lib/fastcomments-client/models/set_comment_text_response.rb +212 -0
  434. data/client/lib/fastcomments-client/models/set_comment_text_result.rb +1 -1
  435. data/client/lib/fastcomments-client/models/set_user_trust_factor_response.rb +195 -0
  436. data/client/lib/fastcomments-client/models/size_preset.rb +1 -1
  437. data/client/lib/fastcomments-client/models/sort_directions.rb +1 -1
  438. data/client/lib/fastcomments-client/models/sortdir.rb +1 -1
  439. data/client/lib/fastcomments-client/models/spam_rule.rb +1 -1
  440. data/client/lib/fastcomments-client/models/sso_security_level.rb +1 -1
  441. data/client/lib/fastcomments-client/models/tenant_badge.rb +564 -0
  442. data/client/lib/fastcomments-client/models/tenant_hash_tag.rb +1 -1
  443. data/client/lib/fastcomments-client/models/tenant_package.rb +68 -5
  444. data/client/lib/fastcomments-client/models/tos_config.rb +1 -1
  445. data/client/lib/fastcomments-client/models/un_block_from_comment_params.rb +1 -1
  446. data/client/lib/fastcomments-client/models/unblock_success.rb +1 -1
  447. data/client/lib/fastcomments-client/models/updatable_comment_params.rb +1 -1
  448. data/client/lib/fastcomments-client/models/update_api_page_data.rb +1 -1
  449. data/client/lib/fastcomments-client/models/update_api_user_subscription_data.rb +1 -1
  450. data/client/lib/fastcomments-client/models/update_apisso_user_data.rb +1 -1
  451. data/client/lib/fastcomments-client/models/update_domain_config_params.rb +1 -1
  452. data/client/lib/fastcomments-client/models/update_email_template_body.rb +1 -1
  453. data/client/lib/fastcomments-client/models/update_feed_post_params.rb +1 -1
  454. data/client/lib/fastcomments-client/models/update_hash_tag_body.rb +1 -1
  455. data/client/lib/fastcomments-client/models/update_hash_tag_response.rb +1 -1
  456. data/client/lib/fastcomments-client/models/update_moderator_body.rb +1 -1
  457. data/client/lib/fastcomments-client/models/update_notification_body.rb +1 -1
  458. data/client/lib/fastcomments-client/models/update_question_config_body.rb +1 -1
  459. data/client/lib/fastcomments-client/models/update_question_result_body.rb +1 -1
  460. data/client/lib/fastcomments-client/models/update_subscription_api_response.rb +1 -1
  461. data/client/lib/fastcomments-client/models/update_tenant_body.rb +1 -1
  462. data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +1 -1
  463. data/client/lib/fastcomments-client/models/update_tenant_user_body.rb +1 -1
  464. data/client/lib/fastcomments-client/models/update_user_badge_params.rb +1 -1
  465. data/client/lib/fastcomments-client/models/{update_user_notification_status200_response.rb → update_user_notification_comment_subscription_status_response.rb} +2 -3
  466. data/client/lib/fastcomments-client/models/{add_domain_config200_response.rb → update_user_notification_page_subscription_status_response.rb} +4 -4
  467. data/client/lib/fastcomments-client/models/{aggregate_question_results200_response.rb → update_user_notification_status_response.rb} +4 -4
  468. data/client/lib/fastcomments-client/models/upload_image_response.rb +1 -1
  469. data/client/lib/fastcomments-client/models/user.rb +11 -2
  470. data/client/lib/fastcomments-client/models/user_badge.rb +1 -1
  471. data/client/lib/fastcomments-client/models/user_badge_progress.rb +1 -1
  472. data/client/lib/fastcomments-client/models/user_notification.rb +1 -1
  473. data/client/lib/fastcomments-client/models/user_notification_count.rb +1 -1
  474. data/client/lib/fastcomments-client/models/user_notification_write_response.rb +1 -1
  475. data/client/lib/fastcomments-client/models/user_presence_data.rb +1 -1
  476. data/client/lib/fastcomments-client/models/user_reacts_response.rb +1 -1
  477. data/client/lib/fastcomments-client/models/user_search_result.rb +1 -1
  478. data/client/lib/fastcomments-client/models/user_search_section.rb +1 -1
  479. data/client/lib/fastcomments-client/models/user_search_section_result.rb +1 -1
  480. data/client/lib/fastcomments-client/models/user_session_info.rb +1 -1
  481. data/client/lib/fastcomments-client/models/users_list_location.rb +42 -0
  482. data/client/lib/fastcomments-client/models/vote_body_params.rb +1 -1
  483. data/client/lib/fastcomments-client/models/vote_delete_response.rb +1 -1
  484. data/client/lib/fastcomments-client/models/vote_response.rb +1 -1
  485. data/client/lib/fastcomments-client/models/vote_response_user.rb +1 -1
  486. data/client/lib/fastcomments-client/models/vote_style.rb +1 -1
  487. data/client/lib/fastcomments-client/version.rb +2 -2
  488. data/client/lib/fastcomments-client.rb +101 -98
  489. data/client/spec/api/default_api_spec.rb +107 -105
  490. data/client/spec/api/moderation_api_spec.rb +613 -0
  491. data/client/spec/api/public_api_spec.rb +253 -37
  492. data/client/spec/models/add_domain_config_params_spec.rb +1 -1
  493. data/client/spec/models/{add_domain_config200_response_any_of_spec.rb → add_domain_config_response_any_of_spec.rb} +7 -7
  494. data/client/spec/models/{create_tenant200_response_spec.rb → add_domain_config_response_spec.rb} +3 -3
  495. data/client/spec/models/add_page_api_response_spec.rb +1 -1
  496. data/client/spec/models/add_sso_user_api_response_spec.rb +1 -1
  497. data/client/spec/models/adjust_comment_votes_params_spec.rb +36 -0
  498. data/client/spec/models/adjust_votes_response_spec.rb +42 -0
  499. data/client/spec/models/aggregate_question_results_response_spec.rb +1 -1
  500. data/client/spec/models/{get_user200_response_spec.rb → aggregate_response_spec.rb} +3 -3
  501. data/client/spec/models/aggregate_time_bucket_spec.rb +1 -1
  502. data/client/spec/models/aggregation_api_error_spec.rb +54 -0
  503. data/client/spec/models/aggregation_item_spec.rb +1 -1
  504. data/client/spec/models/aggregation_op_type_spec.rb +1 -1
  505. data/client/spec/models/aggregation_operation_spec.rb +1 -1
  506. data/client/spec/models/aggregation_request_sort_spec.rb +1 -1
  507. data/client/spec/models/aggregation_request_spec.rb +1 -1
  508. data/client/spec/models/aggregation_response_spec.rb +1 -1
  509. data/client/spec/models/aggregation_response_stats_spec.rb +1 -1
  510. data/client/spec/models/aggregation_value_spec.rb +1 -1
  511. data/client/spec/models/api_audit_log_spec.rb +1 -1
  512. data/client/spec/models/api_ban_user_change_log_spec.rb +54 -0
  513. data/client/spec/models/api_ban_user_changed_values_spec.rb +108 -0
  514. data/client/spec/models/api_banned_user_spec.rb +108 -0
  515. data/client/spec/models/api_banned_user_with_multi_match_info_spec.rb +84 -0
  516. data/client/spec/models/api_comment_base_meta_spec.rb +1 -1
  517. data/client/spec/models/api_comment_base_spec.rb +2 -2
  518. data/client/spec/models/api_comment_common_banned_user_spec.rb +78 -0
  519. data/client/spec/models/api_comment_spec.rb +2 -2
  520. data/client/spec/models/api_create_user_badge_response_spec.rb +1 -1
  521. data/client/spec/models/api_domain_configuration_spec.rb +1 -1
  522. data/client/spec/models/api_empty_response_spec.rb +1 -1
  523. data/client/spec/models/api_empty_success_response_spec.rb +1 -1
  524. data/client/spec/models/api_error_spec.rb +1 -1
  525. data/client/spec/models/api_get_comment_response_spec.rb +1 -1
  526. data/client/spec/models/api_get_comments_response_spec.rb +1 -1
  527. data/client/spec/models/api_get_user_badge_progress_list_response_spec.rb +1 -1
  528. data/client/spec/models/api_get_user_badge_progress_response_spec.rb +1 -1
  529. data/client/spec/models/api_get_user_badge_response_spec.rb +1 -1
  530. data/client/spec/models/api_get_user_badges_response_spec.rb +1 -1
  531. data/client/spec/models/api_moderate_get_user_ban_preferences_response_spec.rb +42 -0
  532. data/client/spec/models/api_moderate_user_ban_preferences_spec.rb +54 -0
  533. data/client/spec/models/api_page_spec.rb +1 -1
  534. data/client/spec/models/{save_comment_response_spec.rb → api_save_comment_response_spec.rb} +7 -7
  535. data/client/spec/models/api_status_spec.rb +1 -1
  536. data/client/spec/models/api_tenant_daily_usage_spec.rb +1 -1
  537. data/client/spec/models/api_tenant_spec.rb +1 -1
  538. data/client/spec/models/api_ticket_detail_spec.rb +1 -1
  539. data/client/spec/models/api_ticket_file_spec.rb +1 -1
  540. data/client/spec/models/api_ticket_spec.rb +1 -1
  541. data/client/spec/models/api_user_subscription_spec.rb +1 -1
  542. data/client/spec/models/apisso_user_spec.rb +1 -1
  543. data/client/spec/models/award_user_badge_response_spec.rb +48 -0
  544. data/client/spec/models/ban_user_from_comment_result_spec.rb +54 -0
  545. data/client/spec/models/ban_user_undo_params_spec.rb +36 -0
  546. data/client/spec/models/{add_domain_config200_response_spec.rb → banned_user_match_matched_on_value_spec.rb} +3 -3
  547. data/client/spec/models/banned_user_match_spec.rb +42 -0
  548. data/client/spec/models/banned_user_match_type_spec.rb +30 -0
  549. data/client/spec/models/billing_info_spec.rb +1 -1
  550. data/client/spec/models/block_from_comment_params_spec.rb +1 -1
  551. data/client/spec/models/block_success_spec.rb +1 -1
  552. data/client/spec/models/build_moderation_filter_params_spec.rb +60 -0
  553. data/client/spec/models/build_moderation_filter_response_spec.rb +42 -0
  554. data/client/spec/models/bulk_aggregate_question_item_spec.rb +1 -1
  555. data/client/spec/models/bulk_aggregate_question_results_request_spec.rb +1 -1
  556. data/client/spec/models/bulk_aggregate_question_results_response_spec.rb +1 -1
  557. data/client/spec/models/bulk_create_hash_tags_body_spec.rb +1 -1
  558. data/client/spec/models/bulk_create_hash_tags_body_tags_inner_spec.rb +1 -1
  559. data/client/spec/models/{add_hash_tags_bulk200_response_spec.rb → bulk_create_hash_tags_response_results_inner_spec.rb} +3 -3
  560. data/client/spec/models/bulk_create_hash_tags_response_spec.rb +1 -1
  561. data/client/spec/models/bulk_pre_ban_params_spec.rb +36 -0
  562. data/client/spec/models/bulk_pre_ban_summary_spec.rb +66 -0
  563. data/client/spec/models/change_comment_pin_status_response_spec.rb +1 -1
  564. data/client/spec/models/change_ticket_state_body_spec.rb +1 -1
  565. data/client/spec/models/change_ticket_state_response_spec.rb +1 -1
  566. data/client/spec/models/check_blocked_comments_response_spec.rb +1 -1
  567. data/client/spec/models/combine_question_results_with_comments_response_spec.rb +1 -1
  568. data/client/spec/models/comment_data_spec.rb +7 -1
  569. data/client/spec/models/comment_html_rendering_mode_spec.rb +1 -1
  570. data/client/spec/models/comment_log_data_spec.rb +7 -1
  571. data/client/spec/models/comment_log_entry_spec.rb +1 -1
  572. data/client/spec/models/comment_log_type_spec.rb +1 -1
  573. data/client/spec/models/comment_question_results_rendering_type_spec.rb +1 -1
  574. data/client/spec/models/comment_questions_required_spec.rb +1 -1
  575. data/client/spec/models/comment_text_update_request_spec.rb +1 -1
  576. data/client/spec/models/comment_thread_deletion_mode_spec.rb +1 -1
  577. data/client/spec/models/comment_user_badge_info_spec.rb +1 -1
  578. data/client/spec/models/comment_user_hash_tag_info_spec.rb +1 -1
  579. data/client/spec/models/comment_user_mention_info_spec.rb +1 -1
  580. data/client/spec/models/commenter_name_formats_spec.rb +1 -1
  581. data/client/spec/models/comments_by_ids_params_spec.rb +36 -0
  582. data/client/spec/models/create_api_page_data_spec.rb +1 -1
  583. data/client/spec/models/create_api_user_subscription_data_spec.rb +1 -1
  584. data/client/spec/models/create_apisso_user_data_spec.rb +1 -1
  585. data/client/spec/models/create_comment_params_spec.rb +7 -1
  586. data/client/spec/models/create_email_template_body_spec.rb +1 -1
  587. data/client/spec/models/create_email_template_response_spec.rb +1 -1
  588. data/client/spec/models/create_feed_post_params_spec.rb +1 -1
  589. data/client/spec/models/create_feed_post_response_spec.rb +1 -1
  590. data/client/spec/models/create_feed_posts_response_spec.rb +1 -1
  591. data/client/spec/models/create_hash_tag_body_spec.rb +1 -1
  592. data/client/spec/models/create_hash_tag_response_spec.rb +1 -1
  593. data/client/spec/models/create_moderator_body_spec.rb +1 -1
  594. data/client/spec/models/create_moderator_response_spec.rb +1 -1
  595. data/client/spec/models/create_question_config_body_spec.rb +1 -1
  596. data/client/spec/models/create_question_config_response_spec.rb +1 -1
  597. data/client/spec/models/create_question_result_body_spec.rb +1 -1
  598. data/client/spec/models/create_question_result_response_spec.rb +1 -1
  599. data/client/spec/models/create_subscription_api_response_spec.rb +1 -1
  600. data/client/spec/models/create_tenant_body_spec.rb +1 -1
  601. data/client/spec/models/create_tenant_package_body_spec.rb +3 -3
  602. data/client/spec/models/create_tenant_package_response_spec.rb +1 -1
  603. data/client/spec/models/create_tenant_response_spec.rb +1 -1
  604. data/client/spec/models/create_tenant_user_body_spec.rb +1 -1
  605. data/client/spec/models/create_tenant_user_response_spec.rb +1 -1
  606. data/client/spec/models/create_ticket_body_spec.rb +1 -1
  607. data/client/spec/models/create_ticket_response_spec.rb +1 -1
  608. data/client/spec/models/create_user_badge_params_spec.rb +1 -1
  609. data/client/spec/models/create_v1_page_react_spec.rb +42 -0
  610. data/client/spec/models/custom_config_parameters_spec.rb +31 -1
  611. data/client/spec/models/custom_email_template_spec.rb +1 -1
  612. data/client/spec/models/delete_comment_action_spec.rb +1 -1
  613. data/client/spec/models/delete_comment_result_spec.rb +1 -1
  614. data/client/spec/models/{delete_domain_config200_response_spec.rb → delete_domain_config_response_spec.rb} +7 -7
  615. data/client/spec/models/{delete_feed_post_public200_response_any_of_spec.rb → delete_feed_post_public_response_spec.rb} +7 -7
  616. data/client/spec/models/{delete_hash_tag_request_spec.rb → delete_hash_tag_request_body_spec.rb} +7 -7
  617. data/client/spec/models/delete_page_api_response_spec.rb +1 -1
  618. data/client/spec/models/delete_sso_user_api_response_spec.rb +1 -1
  619. data/client/spec/models/delete_subscription_api_response_spec.rb +1 -1
  620. data/client/spec/models/deleted_comment_result_comment_spec.rb +1 -1
  621. data/client/spec/models/digest_email_frequency_spec.rb +1 -1
  622. data/client/spec/models/email_template_definition_spec.rb +1 -1
  623. data/client/spec/models/email_template_render_error_response_spec.rb +1 -1
  624. data/client/spec/models/event_log_entry_spec.rb +1 -1
  625. data/client/spec/models/f_comment_meta_spec.rb +1 -1
  626. data/client/spec/models/f_comment_spec.rb +7 -1
  627. data/client/spec/models/feed_post_link_spec.rb +1 -1
  628. data/client/spec/models/feed_post_media_item_asset_spec.rb +1 -1
  629. data/client/spec/models/feed_post_media_item_spec.rb +1 -1
  630. data/client/spec/models/feed_post_spec.rb +1 -1
  631. data/client/spec/models/feed_post_stats_spec.rb +1 -1
  632. data/client/spec/models/feed_posts_stats_response_spec.rb +1 -1
  633. data/client/spec/models/find_comments_by_range_item_spec.rb +1 -1
  634. data/client/spec/models/find_comments_by_range_response_spec.rb +1 -1
  635. data/client/spec/models/flag_comment_response_spec.rb +1 -1
  636. data/client/spec/models/get_audit_logs_response_spec.rb +1 -1
  637. data/client/spec/models/get_banned_users_count_response_spec.rb +42 -0
  638. data/client/spec/models/get_banned_users_from_comment_response_spec.rb +52 -0
  639. data/client/spec/models/get_cached_notification_count_response_spec.rb +1 -1
  640. data/client/spec/models/get_comment_ban_status_response_spec.rb +48 -0
  641. data/client/spec/models/get_comment_text_response_spec.rb +42 -0
  642. data/client/spec/models/get_comment_vote_user_names_success_response_spec.rb +1 -1
  643. data/client/spec/models/get_comments_for_user_response_spec.rb +36 -0
  644. data/client/spec/models/get_comments_response_public_comment_spec.rb +1 -1
  645. data/client/spec/models/get_comments_response_with_presence_public_comment_spec.rb +1 -1
  646. data/client/spec/models/{add_hash_tag200_response_spec.rb → get_domain_config_response_spec.rb} +3 -3
  647. data/client/spec/models/{get_domain_configs200_response_any_of1_spec.rb → get_domain_configs_response_any_of1_spec.rb} +7 -7
  648. data/client/spec/models/{get_domain_configs200_response_any_of_spec.rb → get_domain_configs_response_any_of_spec.rb} +7 -7
  649. data/client/spec/models/{delete_comment200_response_spec.rb → get_domain_configs_response_spec.rb} +3 -3
  650. data/client/spec/models/get_email_template_definitions_response_spec.rb +1 -1
  651. data/client/spec/models/get_email_template_render_errors_response_spec.rb +1 -1
  652. data/client/spec/models/get_email_template_response_spec.rb +1 -1
  653. data/client/spec/models/get_email_templates_response_spec.rb +1 -1
  654. data/client/spec/models/get_event_log_response_spec.rb +1 -1
  655. data/client/spec/models/get_feed_posts_response_spec.rb +1 -1
  656. data/client/spec/models/{get_comment200_response_spec.rb → get_gifs_search_response_spec.rb} +3 -3
  657. data/client/spec/models/{create_ticket200_response_spec.rb → get_gifs_trending_response_spec.rb} +3 -3
  658. data/client/spec/models/get_hash_tags_response_spec.rb +1 -1
  659. data/client/spec/models/get_moderator_response_spec.rb +1 -1
  660. data/client/spec/models/get_moderators_response_spec.rb +1 -1
  661. data/client/spec/models/get_my_notifications_response_spec.rb +1 -1
  662. data/client/spec/models/get_notification_count_response_spec.rb +1 -1
  663. data/client/spec/models/get_notifications_response_spec.rb +1 -1
  664. data/client/spec/models/get_page_by_urlid_api_response_spec.rb +1 -1
  665. data/client/spec/models/get_pages_api_response_spec.rb +1 -1
  666. data/client/spec/models/get_pending_webhook_event_count_response_spec.rb +1 -1
  667. data/client/spec/models/get_pending_webhook_events_response_spec.rb +1 -1
  668. data/client/spec/models/get_public_feed_posts_response_spec.rb +1 -1
  669. data/client/spec/models/get_public_pages_response_spec.rb +48 -0
  670. data/client/spec/models/get_question_config_response_spec.rb +1 -1
  671. data/client/spec/models/get_question_configs_response_spec.rb +1 -1
  672. data/client/spec/models/get_question_result_response_spec.rb +1 -1
  673. data/client/spec/models/get_question_results_response_spec.rb +1 -1
  674. data/client/spec/models/get_sso_user_by_email_api_response_spec.rb +1 -1
  675. data/client/spec/models/get_sso_user_by_id_api_response_spec.rb +1 -1
  676. data/client/spec/models/{get_sso_users200_response_spec.rb → get_sso_users_response_spec.rb} +7 -7
  677. data/client/spec/models/get_subscriptions_api_response_spec.rb +1 -1
  678. data/client/spec/models/get_tenant_daily_usages_response_spec.rb +1 -1
  679. data/client/spec/models/get_tenant_manual_badges_response_spec.rb +42 -0
  680. data/client/spec/models/get_tenant_package_response_spec.rb +1 -1
  681. data/client/spec/models/get_tenant_packages_response_spec.rb +1 -1
  682. data/client/spec/models/get_tenant_response_spec.rb +1 -1
  683. data/client/spec/models/get_tenant_user_response_spec.rb +1 -1
  684. data/client/spec/models/get_tenant_users_response_spec.rb +1 -1
  685. data/client/spec/models/get_tenants_response_spec.rb +1 -1
  686. data/client/spec/models/get_ticket_response_spec.rb +1 -1
  687. data/client/spec/models/get_tickets_response_spec.rb +1 -1
  688. data/client/spec/models/get_translations_response_spec.rb +42 -0
  689. data/client/spec/models/get_user_internal_profile_response_profile_spec.rb +132 -0
  690. data/client/spec/models/get_user_internal_profile_response_spec.rb +42 -0
  691. data/client/spec/models/get_user_manual_badges_response_spec.rb +42 -0
  692. data/client/spec/models/get_user_notification_count_response_spec.rb +1 -1
  693. data/client/spec/models/get_user_presence_statuses_response_spec.rb +1 -1
  694. data/client/spec/models/get_user_response_spec.rb +1 -1
  695. data/client/spec/models/get_user_trust_factor_response_spec.rb +48 -0
  696. data/client/spec/models/get_v1_page_likes_spec.rb +60 -0
  697. data/client/spec/models/get_v2_page_react_users_response_spec.rb +42 -0
  698. data/client/spec/models/get_v2_page_reacts_spec.rb +48 -0
  699. data/client/spec/models/get_votes_for_user_response_spec.rb +1 -1
  700. data/client/spec/models/get_votes_response_spec.rb +1 -1
  701. data/client/spec/models/gif_get_large_response_spec.rb +42 -0
  702. data/client/spec/models/gif_rating_spec.rb +1 -1
  703. data/client/spec/models/gif_search_internal_error_spec.rb +42 -0
  704. data/client/spec/models/{reset_user_notifications200_response_spec.rb → gif_search_response_images_inner_inner_spec.rb} +3 -3
  705. data/client/spec/models/gif_search_response_spec.rb +42 -0
  706. data/client/spec/models/header_account_notification_spec.rb +7 -1
  707. data/client/spec/models/header_state_spec.rb +1 -1
  708. data/client/spec/models/ignored_response_spec.rb +1 -1
  709. data/client/spec/models/image_content_profanity_level_spec.rb +1 -1
  710. data/client/spec/models/imported_agent_approval_notification_frequency_spec.rb +30 -0
  711. data/client/spec/models/imported_site_type_spec.rb +1 -1
  712. data/client/spec/models/live_event_extra_info_spec.rb +1 -1
  713. data/client/spec/models/live_event_spec.rb +7 -1
  714. data/client/spec/models/live_event_type_spec.rb +1 -1
  715. data/client/spec/models/media_asset_spec.rb +1 -1
  716. data/client/spec/models/mention_auto_complete_mode_spec.rb +1 -1
  717. data/client/spec/models/meta_item_spec.rb +1 -1
  718. data/client/spec/models/moderation_api_child_comments_response_spec.rb +42 -0
  719. data/client/spec/models/moderation_api_comment_log_spec.rb +54 -0
  720. data/client/spec/models/moderation_api_comment_response_spec.rb +42 -0
  721. data/client/spec/models/moderation_api_comment_spec.rb +282 -0
  722. data/client/spec/models/moderation_api_count_comments_response_spec.rb +42 -0
  723. data/client/spec/models/moderation_api_get_comment_ids_response_spec.rb +48 -0
  724. data/client/spec/models/moderation_api_get_comments_response_spec.rb +54 -0
  725. data/client/spec/models/moderation_api_get_logs_response_spec.rb +42 -0
  726. data/client/spec/models/moderation_comment_search_response_spec.rb +42 -0
  727. data/client/spec/models/moderation_export_response_spec.rb +42 -0
  728. data/client/spec/models/moderation_export_status_response_spec.rb +54 -0
  729. data/client/spec/models/moderation_filter_spec.rb +102 -0
  730. data/client/spec/models/moderation_page_search_projected_spec.rb +54 -0
  731. data/client/spec/models/moderation_page_search_response_spec.rb +42 -0
  732. data/client/spec/models/moderation_site_search_projected_spec.rb +42 -0
  733. data/client/spec/models/moderation_site_search_response_spec.rb +42 -0
  734. data/client/spec/models/moderation_suggest_response_spec.rb +54 -0
  735. data/client/spec/models/moderation_user_search_projected_spec.rb +54 -0
  736. data/client/spec/models/moderation_user_search_response_spec.rb +42 -0
  737. data/client/spec/models/moderator_spec.rb +1 -1
  738. data/client/spec/models/notification_and_count_spec.rb +1 -1
  739. data/client/spec/models/notification_object_type_spec.rb +1 -1
  740. data/client/spec/models/notification_type_spec.rb +1 -1
  741. data/client/spec/models/page_user_entry_spec.rb +54 -0
  742. data/client/spec/models/page_users_info_response_spec.rb +42 -0
  743. data/client/spec/models/page_users_offline_response_spec.rb +54 -0
  744. data/client/spec/models/page_users_online_response_spec.rb +66 -0
  745. data/client/spec/models/pages_sort_by_spec.rb +30 -0
  746. data/client/spec/models/patch_domain_config_params_spec.rb +1 -1
  747. data/client/spec/models/{create_feed_post200_response_spec.rb → patch_domain_config_response_spec.rb} +3 -3
  748. data/client/spec/models/patch_page_api_response_spec.rb +1 -1
  749. data/client/spec/models/patch_sso_user_api_response_spec.rb +1 -1
  750. data/client/spec/models/pending_comment_to_sync_outbound_spec.rb +1 -1
  751. data/client/spec/models/{delete_comment_vote200_response_spec.rb → post_remove_comment_api_response_spec.rb} +3 -3
  752. data/client/spec/models/pre_ban_summary_spec.rb +48 -0
  753. data/client/spec/models/pub_sub_comment_base_spec.rb +1 -1
  754. data/client/spec/models/pub_sub_comment_spec.rb +1 -1
  755. data/client/spec/models/pub_sub_vote_spec.rb +1 -1
  756. data/client/spec/models/public_api_delete_comment_response_spec.rb +1 -1
  757. data/client/spec/models/public_api_get_comment_text_response_spec.rb +1 -1
  758. data/client/spec/models/public_api_set_comment_text_response_spec.rb +1 -1
  759. data/client/spec/models/public_block_from_comment_params_spec.rb +1 -1
  760. data/client/spec/models/public_comment_base_spec.rb +1 -1
  761. data/client/spec/models/public_comment_spec.rb +1 -1
  762. data/client/spec/models/public_feed_posts_response_spec.rb +1 -1
  763. data/client/spec/models/public_page_spec.rb +60 -0
  764. data/client/spec/models/public_vote_spec.rb +1 -1
  765. data/client/spec/models/{flag_comment200_response_spec.rb → put_domain_config_response_spec.rb} +3 -3
  766. data/client/spec/models/put_sso_user_api_response_spec.rb +1 -1
  767. data/client/spec/models/query_predicate_spec.rb +1 -1
  768. data/client/spec/models/query_predicate_value_spec.rb +1 -1
  769. data/client/spec/models/question_config_custom_options_inner_spec.rb +1 -1
  770. data/client/spec/models/question_config_spec.rb +1 -1
  771. data/client/spec/models/question_datum_spec.rb +1 -1
  772. data/client/spec/models/question_rendering_type_spec.rb +1 -1
  773. data/client/spec/models/question_result_aggregation_overall_spec.rb +1 -1
  774. data/client/spec/models/question_result_spec.rb +1 -1
  775. data/client/spec/models/question_sub_question_visibility_spec.rb +1 -1
  776. data/client/spec/models/question_when_save_spec.rb +1 -1
  777. data/client/spec/models/react_body_params_spec.rb +1 -1
  778. data/client/spec/models/react_feed_post_response_spec.rb +1 -1
  779. data/client/spec/models/record_string_before_string_or_null_after_string_or_null_value_spec.rb +1 -1
  780. data/client/spec/models/remove_comment_action_response_spec.rb +42 -0
  781. data/client/spec/models/remove_user_badge_response_spec.rb +42 -0
  782. data/client/spec/models/render_email_template_body_spec.rb +1 -1
  783. data/client/spec/models/render_email_template_response_spec.rb +1 -1
  784. data/client/spec/models/renderable_user_notification_spec.rb +1 -1
  785. data/client/spec/models/repeat_comment_check_ignored_reason_spec.rb +1 -1
  786. data/client/spec/models/repeat_comment_handling_action_spec.rb +1 -1
  787. data/client/spec/models/replace_tenant_package_body_spec.rb +1 -1
  788. data/client/spec/models/replace_tenant_user_body_spec.rb +1 -1
  789. data/client/spec/models/reset_user_notifications_response_spec.rb +1 -1
  790. data/client/spec/models/save_comment_response_optimized_spec.rb +1 -1
  791. data/client/spec/models/save_comments_bulk_response_spec.rb +21 -0
  792. data/client/spec/models/save_comments_response_with_presence_spec.rb +1 -1
  793. data/client/spec/models/search_users_response_spec.rb +1 -1
  794. data/client/spec/models/{get_votes200_response_spec.rb → search_users_result_spec.rb} +3 -3
  795. data/client/spec/models/search_users_sectioned_response_spec.rb +1 -1
  796. data/client/spec/models/set_comment_approved_response_spec.rb +42 -0
  797. data/client/spec/models/set_comment_text_params_spec.rb +36 -0
  798. data/client/spec/models/set_comment_text_response_spec.rb +42 -0
  799. data/client/spec/models/set_comment_text_result_spec.rb +1 -1
  800. data/client/spec/models/set_user_trust_factor_response_spec.rb +42 -0
  801. data/client/spec/models/size_preset_spec.rb +1 -1
  802. data/client/spec/models/sort_directions_spec.rb +1 -1
  803. data/client/spec/models/sortdir_spec.rb +1 -1
  804. data/client/spec/models/spam_rule_spec.rb +1 -1
  805. data/client/spec/models/sso_security_level_spec.rb +1 -1
  806. data/client/spec/models/tenant_badge_spec.rb +156 -0
  807. data/client/spec/models/tenant_hash_tag_spec.rb +1 -1
  808. data/client/spec/models/tenant_package_spec.rb +43 -1
  809. data/client/spec/models/tos_config_spec.rb +1 -1
  810. data/client/spec/models/un_block_from_comment_params_spec.rb +1 -1
  811. data/client/spec/models/unblock_success_spec.rb +1 -1
  812. data/client/spec/models/updatable_comment_params_spec.rb +1 -1
  813. data/client/spec/models/update_api_page_data_spec.rb +1 -1
  814. data/client/spec/models/update_api_user_subscription_data_spec.rb +1 -1
  815. data/client/spec/models/update_apisso_user_data_spec.rb +1 -1
  816. data/client/spec/models/update_domain_config_params_spec.rb +1 -1
  817. data/client/spec/models/update_email_template_body_spec.rb +1 -1
  818. data/client/spec/models/update_feed_post_params_spec.rb +1 -1
  819. data/client/spec/models/update_hash_tag_body_spec.rb +1 -1
  820. data/client/spec/models/update_hash_tag_response_spec.rb +1 -1
  821. data/client/spec/models/update_moderator_body_spec.rb +1 -1
  822. data/client/spec/models/update_notification_body_spec.rb +1 -1
  823. data/client/spec/models/update_question_config_body_spec.rb +1 -1
  824. data/client/spec/models/update_question_result_body_spec.rb +1 -1
  825. data/client/spec/models/update_subscription_api_response_spec.rb +1 -1
  826. data/client/spec/models/update_tenant_body_spec.rb +1 -1
  827. data/client/spec/models/update_tenant_package_body_spec.rb +1 -1
  828. data/client/spec/models/update_tenant_user_body_spec.rb +1 -1
  829. data/client/spec/models/update_user_badge_params_spec.rb +1 -1
  830. data/client/spec/models/update_user_notification_comment_subscription_status_response_spec.rb +21 -0
  831. data/client/spec/models/{aggregate_question_results200_response_spec.rb → update_user_notification_page_subscription_status_response_spec.rb} +3 -3
  832. data/client/spec/models/{update_user_notification_status200_response_spec.rb → update_user_notification_status_response_spec.rb} +3 -3
  833. data/client/spec/models/upload_image_response_spec.rb +1 -1
  834. data/client/spec/models/user_badge_progress_spec.rb +1 -1
  835. data/client/spec/models/user_badge_spec.rb +1 -1
  836. data/client/spec/models/user_notification_count_spec.rb +1 -1
  837. data/client/spec/models/user_notification_spec.rb +1 -1
  838. data/client/spec/models/user_notification_write_response_spec.rb +1 -1
  839. data/client/spec/models/user_presence_data_spec.rb +1 -1
  840. data/client/spec/models/user_reacts_response_spec.rb +1 -1
  841. data/client/spec/models/user_search_result_spec.rb +1 -1
  842. data/client/spec/models/user_search_section_result_spec.rb +1 -1
  843. data/client/spec/models/user_search_section_spec.rb +1 -1
  844. data/client/spec/models/user_session_info_spec.rb +1 -1
  845. data/client/spec/models/user_spec.rb +7 -1
  846. data/client/spec/models/users_list_location_spec.rb +30 -0
  847. data/client/spec/models/vote_body_params_spec.rb +1 -1
  848. data/client/spec/models/vote_delete_response_spec.rb +1 -1
  849. data/client/spec/models/vote_response_spec.rb +1 -1
  850. data/client/spec/models/vote_response_user_spec.rb +1 -1
  851. data/client/spec/models/vote_style_spec.rb +1 -1
  852. data/client/spec/spec_helper.rb +1 -1
  853. data/lib/fastcomments.rb +1 -1
  854. metadata +302 -293
  855. data/client/docs/AddHashTag200Response.md +0 -34
  856. data/client/docs/AddHashTagsBulk200Response.md +0 -34
  857. data/client/docs/AggregateQuestionResults200Response.md +0 -34
  858. data/client/docs/BlockFromCommentPublic200Response.md +0 -34
  859. data/client/docs/BulkAggregateQuestionResults200Response.md +0 -34
  860. data/client/docs/ChangeTicketState200Response.md +0 -34
  861. data/client/docs/CheckedCommentsForBlocked200Response.md +0 -34
  862. data/client/docs/CombineCommentsWithQuestionResults200Response.md +0 -34
  863. data/client/docs/CreateCommentPublic200Response.md +0 -40
  864. data/client/docs/CreateEmailTemplate200Response.md +0 -34
  865. data/client/docs/CreateFeedPost200Response.md +0 -34
  866. data/client/docs/CreateFeedPostPublic200Response.md +0 -34
  867. data/client/docs/CreateModerator200Response.md +0 -34
  868. data/client/docs/CreateQuestionConfig200Response.md +0 -34
  869. data/client/docs/CreateQuestionResult200Response.md +0 -34
  870. data/client/docs/CreateTenant200Response.md +0 -34
  871. data/client/docs/CreateTenantPackage200Response.md +0 -34
  872. data/client/docs/CreateTenantUser200Response.md +0 -34
  873. data/client/docs/CreateTicket200Response.md +0 -34
  874. data/client/docs/CreateUserBadge200Response.md +0 -36
  875. data/client/docs/DeleteComment200Response.md +0 -34
  876. data/client/docs/DeleteCommentPublic200Response.md +0 -36
  877. data/client/docs/DeleteCommentVote200Response.md +0 -34
  878. data/client/docs/DeleteFeedPostPublic200Response.md +0 -32
  879. data/client/docs/FlagComment200Response.md +0 -36
  880. data/client/docs/FlagCommentPublic200Response.md +0 -32
  881. data/client/docs/GetAuditLogs200Response.md +0 -34
  882. data/client/docs/GetCachedNotificationCount200Response.md +0 -34
  883. data/client/docs/GetComment200Response.md +0 -34
  884. data/client/docs/GetCommentText200Response.md +0 -36
  885. data/client/docs/GetCommentVoteUserNames200Response.md +0 -36
  886. data/client/docs/GetComments200Response.md +0 -34
  887. data/client/docs/GetCommentsPublic200Response.md +0 -78
  888. data/client/docs/GetEmailTemplate200Response.md +0 -34
  889. data/client/docs/GetEmailTemplateDefinitions200Response.md +0 -34
  890. data/client/docs/GetEmailTemplateRenderErrors200Response.md +0 -34
  891. data/client/docs/GetEmailTemplates200Response.md +0 -34
  892. data/client/docs/GetEventLog200Response.md +0 -34
  893. data/client/docs/GetFeedPosts200Response.md +0 -34
  894. data/client/docs/GetFeedPostsPublic200Response.md +0 -44
  895. data/client/docs/GetFeedPostsStats200Response.md +0 -34
  896. data/client/docs/GetHashTags200Response.md +0 -34
  897. data/client/docs/GetModerator200Response.md +0 -34
  898. data/client/docs/GetModerators200Response.md +0 -34
  899. data/client/docs/GetNotificationCount200Response.md +0 -34
  900. data/client/docs/GetNotifications200Response.md +0 -34
  901. data/client/docs/GetPendingWebhookEventCount200Response.md +0 -34
  902. data/client/docs/GetPendingWebhookEvents200Response.md +0 -34
  903. data/client/docs/GetQuestionConfig200Response.md +0 -34
  904. data/client/docs/GetQuestionConfigs200Response.md +0 -34
  905. data/client/docs/GetQuestionResult200Response.md +0 -34
  906. data/client/docs/GetQuestionResults200Response.md +0 -34
  907. data/client/docs/GetTenant200Response.md +0 -34
  908. data/client/docs/GetTenantDailyUsages200Response.md +0 -34
  909. data/client/docs/GetTenantPackage200Response.md +0 -34
  910. data/client/docs/GetTenantPackages200Response.md +0 -34
  911. data/client/docs/GetTenantUser200Response.md +0 -34
  912. data/client/docs/GetTenantUsers200Response.md +0 -34
  913. data/client/docs/GetTenants200Response.md +0 -34
  914. data/client/docs/GetTicket200Response.md +0 -36
  915. data/client/docs/GetTickets200Response.md +0 -34
  916. data/client/docs/GetUser200Response.md +0 -34
  917. data/client/docs/GetUserBadge200Response.md +0 -34
  918. data/client/docs/GetUserBadgeProgressById200Response.md +0 -34
  919. data/client/docs/GetUserBadgeProgressList200Response.md +0 -34
  920. data/client/docs/GetUserBadges200Response.md +0 -34
  921. data/client/docs/GetUserNotificationCount200Response.md +0 -34
  922. data/client/docs/GetUserNotifications200Response.md +0 -40
  923. data/client/docs/GetUserPresenceStatuses200Response.md +0 -34
  924. data/client/docs/GetUserReactsPublic200Response.md +0 -34
  925. data/client/docs/GetVotes200Response.md +0 -38
  926. data/client/docs/GetVotesForUser200Response.md +0 -38
  927. data/client/docs/LockComment200Response.md +0 -32
  928. data/client/docs/PinComment200Response.md +0 -34
  929. data/client/docs/ReactFeedPostPublic200Response.md +0 -36
  930. data/client/docs/RenderEmailTemplate200Response.md +0 -34
  931. data/client/docs/ResetUserNotifications200Response.md +0 -32
  932. data/client/docs/SearchUsers200Response.md +0 -36
  933. data/client/docs/SetCommentText200Response.md +0 -34
  934. data/client/docs/UnBlockCommentPublic200Response.md +0 -34
  935. data/client/docs/UpdateUserBadge200Response.md +0 -32
  936. data/client/docs/UpdateUserNotificationStatus200Response.md +0 -38
  937. data/client/docs/VoteComment200Response.md +0 -40
  938. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results200_response.rb +0 -103
  939. data/client/lib/fastcomments-client/models/checked_comments_for_blocked200_response.rb +0 -103
  940. data/client/lib/fastcomments-client/models/combine_comments_with_question_results200_response.rb +0 -103
  941. data/client/lib/fastcomments-client/models/create_comment_public200_response.rb +0 -103
  942. data/client/lib/fastcomments-client/models/create_email_template200_response.rb +0 -103
  943. data/client/lib/fastcomments-client/models/create_feed_post200_response.rb +0 -103
  944. data/client/lib/fastcomments-client/models/create_feed_post_public200_response.rb +0 -103
  945. data/client/lib/fastcomments-client/models/create_moderator200_response.rb +0 -103
  946. data/client/lib/fastcomments-client/models/create_question_config200_response.rb +0 -103
  947. data/client/lib/fastcomments-client/models/create_question_result200_response.rb +0 -103
  948. data/client/lib/fastcomments-client/models/create_tenant_package200_response.rb +0 -103
  949. data/client/lib/fastcomments-client/models/create_tenant_user200_response.rb +0 -103
  950. data/client/lib/fastcomments-client/models/create_ticket200_response.rb +0 -103
  951. data/client/lib/fastcomments-client/models/create_user_badge200_response.rb +0 -103
  952. data/client/lib/fastcomments-client/models/delete_comment200_response.rb +0 -103
  953. data/client/lib/fastcomments-client/models/delete_comment_public200_response.rb +0 -103
  954. data/client/lib/fastcomments-client/models/delete_comment_vote200_response.rb +0 -103
  955. data/client/lib/fastcomments-client/models/delete_feed_post_public200_response.rb +0 -103
  956. data/client/lib/fastcomments-client/models/flag_comment200_response.rb +0 -103
  957. data/client/lib/fastcomments-client/models/flag_comment_public200_response.rb +0 -103
  958. data/client/lib/fastcomments-client/models/get_audit_logs200_response.rb +0 -103
  959. data/client/lib/fastcomments-client/models/get_cached_notification_count200_response.rb +0 -103
  960. data/client/lib/fastcomments-client/models/get_comment200_response.rb +0 -103
  961. data/client/lib/fastcomments-client/models/get_comment_text200_response.rb +0 -103
  962. data/client/lib/fastcomments-client/models/get_comment_vote_user_names200_response.rb +0 -103
  963. data/client/lib/fastcomments-client/models/get_comments200_response.rb +0 -103
  964. data/client/lib/fastcomments-client/models/get_comments_public200_response.rb +0 -103
  965. data/client/lib/fastcomments-client/models/get_domain_config200_response.rb +0 -103
  966. data/client/lib/fastcomments-client/models/get_domain_configs200_response.rb +0 -103
  967. data/client/lib/fastcomments-client/models/get_email_template200_response.rb +0 -103
  968. data/client/lib/fastcomments-client/models/get_email_template_definitions200_response.rb +0 -103
  969. data/client/lib/fastcomments-client/models/get_email_template_render_errors200_response.rb +0 -103
  970. data/client/lib/fastcomments-client/models/get_email_templates200_response.rb +0 -103
  971. data/client/lib/fastcomments-client/models/get_event_log200_response.rb +0 -103
  972. data/client/lib/fastcomments-client/models/get_feed_posts200_response.rb +0 -103
  973. data/client/lib/fastcomments-client/models/get_feed_posts_public200_response.rb +0 -103
  974. data/client/lib/fastcomments-client/models/get_feed_posts_stats200_response.rb +0 -103
  975. data/client/lib/fastcomments-client/models/get_hash_tags200_response.rb +0 -103
  976. data/client/lib/fastcomments-client/models/get_moderator200_response.rb +0 -103
  977. data/client/lib/fastcomments-client/models/get_moderators200_response.rb +0 -103
  978. data/client/lib/fastcomments-client/models/get_notification_count200_response.rb +0 -103
  979. data/client/lib/fastcomments-client/models/get_notifications200_response.rb +0 -103
  980. data/client/lib/fastcomments-client/models/get_pending_webhook_event_count200_response.rb +0 -103
  981. data/client/lib/fastcomments-client/models/get_pending_webhook_events200_response.rb +0 -103
  982. data/client/lib/fastcomments-client/models/get_question_config200_response.rb +0 -103
  983. data/client/lib/fastcomments-client/models/get_question_configs200_response.rb +0 -103
  984. data/client/lib/fastcomments-client/models/get_question_result200_response.rb +0 -103
  985. data/client/lib/fastcomments-client/models/get_question_results200_response.rb +0 -103
  986. data/client/lib/fastcomments-client/models/get_tenant200_response.rb +0 -103
  987. data/client/lib/fastcomments-client/models/get_tenant_daily_usages200_response.rb +0 -103
  988. data/client/lib/fastcomments-client/models/get_tenant_package200_response.rb +0 -103
  989. data/client/lib/fastcomments-client/models/get_tenant_packages200_response.rb +0 -103
  990. data/client/lib/fastcomments-client/models/get_tenant_user200_response.rb +0 -103
  991. data/client/lib/fastcomments-client/models/get_tenant_users200_response.rb +0 -103
  992. data/client/lib/fastcomments-client/models/get_tenants200_response.rb +0 -103
  993. data/client/lib/fastcomments-client/models/get_ticket200_response.rb +0 -103
  994. data/client/lib/fastcomments-client/models/get_tickets200_response.rb +0 -103
  995. data/client/lib/fastcomments-client/models/get_user_badge200_response.rb +0 -103
  996. data/client/lib/fastcomments-client/models/get_user_badge_progress_by_id200_response.rb +0 -103
  997. data/client/lib/fastcomments-client/models/get_user_badge_progress_list200_response.rb +0 -103
  998. data/client/lib/fastcomments-client/models/get_user_badges200_response.rb +0 -103
  999. data/client/lib/fastcomments-client/models/get_user_notification_count200_response.rb +0 -103
  1000. data/client/lib/fastcomments-client/models/get_user_notifications200_response.rb +0 -103
  1001. data/client/lib/fastcomments-client/models/get_user_presence_statuses200_response.rb +0 -103
  1002. data/client/lib/fastcomments-client/models/get_user_reacts_public200_response.rb +0 -103
  1003. data/client/lib/fastcomments-client/models/get_votes200_response.rb +0 -103
  1004. data/client/lib/fastcomments-client/models/get_votes_for_user200_response.rb +0 -103
  1005. data/client/lib/fastcomments-client/models/lock_comment200_response.rb +0 -103
  1006. data/client/lib/fastcomments-client/models/patch_hash_tag200_response.rb +0 -103
  1007. data/client/lib/fastcomments-client/models/pin_comment200_response.rb +0 -103
  1008. data/client/lib/fastcomments-client/models/react_feed_post_public200_response.rb +0 -103
  1009. data/client/lib/fastcomments-client/models/render_email_template200_response.rb +0 -103
  1010. data/client/lib/fastcomments-client/models/reset_user_notifications200_response.rb +0 -103
  1011. data/client/lib/fastcomments-client/models/save_comment200_response.rb +0 -103
  1012. data/client/lib/fastcomments-client/models/set_comment_text200_response.rb +0 -103
  1013. data/client/lib/fastcomments-client/models/un_block_comment_public200_response.rb +0 -103
  1014. data/client/lib/fastcomments-client/models/update_user_badge200_response.rb +0 -103
  1015. data/client/lib/fastcomments-client/models/vote_comment200_response.rb +0 -103
  1016. data/client/spec/models/block_from_comment_public200_response_spec.rb +0 -21
  1017. data/client/spec/models/bulk_aggregate_question_results200_response_spec.rb +0 -21
  1018. data/client/spec/models/change_ticket_state200_response_spec.rb +0 -21
  1019. data/client/spec/models/checked_comments_for_blocked200_response_spec.rb +0 -21
  1020. data/client/spec/models/combine_comments_with_question_results200_response_spec.rb +0 -21
  1021. data/client/spec/models/create_comment_public200_response_spec.rb +0 -21
  1022. data/client/spec/models/create_email_template200_response_spec.rb +0 -21
  1023. data/client/spec/models/create_feed_post_public200_response_spec.rb +0 -21
  1024. data/client/spec/models/create_moderator200_response_spec.rb +0 -21
  1025. data/client/spec/models/create_question_config200_response_spec.rb +0 -21
  1026. data/client/spec/models/create_question_result200_response_spec.rb +0 -21
  1027. data/client/spec/models/create_tenant_package200_response_spec.rb +0 -21
  1028. data/client/spec/models/create_tenant_user200_response_spec.rb +0 -21
  1029. data/client/spec/models/create_user_badge200_response_spec.rb +0 -21
  1030. data/client/spec/models/delete_comment_public200_response_spec.rb +0 -21
  1031. data/client/spec/models/delete_feed_post_public200_response_spec.rb +0 -21
  1032. data/client/spec/models/flag_comment_public200_response_spec.rb +0 -21
  1033. data/client/spec/models/get_audit_logs200_response_spec.rb +0 -21
  1034. data/client/spec/models/get_cached_notification_count200_response_spec.rb +0 -21
  1035. data/client/spec/models/get_comment_text200_response_spec.rb +0 -21
  1036. data/client/spec/models/get_comment_vote_user_names200_response_spec.rb +0 -21
  1037. data/client/spec/models/get_comments200_response_spec.rb +0 -21
  1038. data/client/spec/models/get_comments_public200_response_spec.rb +0 -21
  1039. data/client/spec/models/get_domain_config200_response_spec.rb +0 -21
  1040. data/client/spec/models/get_domain_configs200_response_spec.rb +0 -21
  1041. data/client/spec/models/get_email_template200_response_spec.rb +0 -21
  1042. data/client/spec/models/get_email_template_definitions200_response_spec.rb +0 -21
  1043. data/client/spec/models/get_email_template_render_errors200_response_spec.rb +0 -21
  1044. data/client/spec/models/get_email_templates200_response_spec.rb +0 -21
  1045. data/client/spec/models/get_event_log200_response_spec.rb +0 -21
  1046. data/client/spec/models/get_feed_posts200_response_spec.rb +0 -21
  1047. data/client/spec/models/get_feed_posts_public200_response_spec.rb +0 -21
  1048. data/client/spec/models/get_feed_posts_stats200_response_spec.rb +0 -21
  1049. data/client/spec/models/get_hash_tags200_response_spec.rb +0 -21
  1050. data/client/spec/models/get_moderator200_response_spec.rb +0 -21
  1051. data/client/spec/models/get_moderators200_response_spec.rb +0 -21
  1052. data/client/spec/models/get_notification_count200_response_spec.rb +0 -21
  1053. data/client/spec/models/get_notifications200_response_spec.rb +0 -21
  1054. data/client/spec/models/get_pending_webhook_event_count200_response_spec.rb +0 -21
  1055. data/client/spec/models/get_pending_webhook_events200_response_spec.rb +0 -21
  1056. data/client/spec/models/get_question_config200_response_spec.rb +0 -21
  1057. data/client/spec/models/get_question_configs200_response_spec.rb +0 -21
  1058. data/client/spec/models/get_question_result200_response_spec.rb +0 -21
  1059. data/client/spec/models/get_question_results200_response_spec.rb +0 -21
  1060. data/client/spec/models/get_tenant200_response_spec.rb +0 -21
  1061. data/client/spec/models/get_tenant_daily_usages200_response_spec.rb +0 -21
  1062. data/client/spec/models/get_tenant_package200_response_spec.rb +0 -21
  1063. data/client/spec/models/get_tenant_packages200_response_spec.rb +0 -21
  1064. data/client/spec/models/get_tenant_user200_response_spec.rb +0 -21
  1065. data/client/spec/models/get_tenant_users200_response_spec.rb +0 -21
  1066. data/client/spec/models/get_tenants200_response_spec.rb +0 -21
  1067. data/client/spec/models/get_ticket200_response_spec.rb +0 -21
  1068. data/client/spec/models/get_tickets200_response_spec.rb +0 -21
  1069. data/client/spec/models/get_user_badge200_response_spec.rb +0 -21
  1070. data/client/spec/models/get_user_badge_progress_by_id200_response_spec.rb +0 -21
  1071. data/client/spec/models/get_user_badge_progress_list200_response_spec.rb +0 -21
  1072. data/client/spec/models/get_user_badges200_response_spec.rb +0 -21
  1073. data/client/spec/models/get_user_notification_count200_response_spec.rb +0 -21
  1074. data/client/spec/models/get_user_notifications200_response_spec.rb +0 -21
  1075. data/client/spec/models/get_user_presence_statuses200_response_spec.rb +0 -21
  1076. data/client/spec/models/get_user_reacts_public200_response_spec.rb +0 -21
  1077. data/client/spec/models/get_votes_for_user200_response_spec.rb +0 -21
  1078. data/client/spec/models/lock_comment200_response_spec.rb +0 -21
  1079. data/client/spec/models/patch_hash_tag200_response_spec.rb +0 -21
  1080. data/client/spec/models/pin_comment200_response_spec.rb +0 -21
  1081. data/client/spec/models/react_feed_post_public200_response_spec.rb +0 -21
  1082. data/client/spec/models/record_string_string_or_number_value_spec.rb +0 -21
  1083. data/client/spec/models/render_email_template200_response_spec.rb +0 -21
  1084. data/client/spec/models/save_comment200_response_spec.rb +0 -21
  1085. data/client/spec/models/search_users200_response_spec.rb +0 -21
  1086. data/client/spec/models/set_comment_text200_response_spec.rb +0 -21
  1087. data/client/spec/models/un_block_comment_public200_response_spec.rb +0 -21
  1088. data/client/spec/models/update_user_badge200_response_spec.rb +0 -21
  1089. data/client/spec/models/vote_comment200_response_spec.rb +0 -21
@@ -0,0 +1,3098 @@
1
+ # FastCommentsClient::ModerationApi
2
+
3
+ All URIs are relative to *https://fastcomments.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**delete_moderation_vote**](ModerationApi.md#delete_moderation_vote) | **DELETE** /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | |
8
+ | [**get_api_comments**](ModerationApi.md#get_api_comments) | **GET** /auth/my-account/moderate-comments/mod_api/api/comments | |
9
+ | [**get_api_export_status**](ModerationApi.md#get_api_export_status) | **GET** /auth/my-account/moderate-comments/mod_api/api/export/status | |
10
+ | [**get_api_ids**](ModerationApi.md#get_api_ids) | **GET** /auth/my-account/moderate-comments/mod_api/api/ids | |
11
+ | [**get_ban_users_from_comment**](ModerationApi.md#get_ban_users_from_comment) | **GET** /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | |
12
+ | [**get_comment_ban_status**](ModerationApi.md#get_comment_ban_status) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | |
13
+ | [**get_comment_children**](ModerationApi.md#get_comment_children) | **GET** /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | |
14
+ | [**get_count**](ModerationApi.md#get_count) | **GET** /auth/my-account/moderate-comments/mod_api/count | |
15
+ | [**get_counts**](ModerationApi.md#get_counts) | **GET** /auth/my-account/moderate-comments/banned-users/mod_api/counts | |
16
+ | [**get_logs**](ModerationApi.md#get_logs) | **GET** /auth/my-account/moderate-comments/mod_api/logs/{commentId} | |
17
+ | [**get_manual_badges**](ModerationApi.md#get_manual_badges) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges | |
18
+ | [**get_manual_badges_for_user**](ModerationApi.md#get_manual_badges_for_user) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | |
19
+ | [**get_moderation_comment**](ModerationApi.md#get_moderation_comment) | **GET** /auth/my-account/moderate-comments/mod_api/comment/{commentId} | |
20
+ | [**get_moderation_comment_text**](ModerationApi.md#get_moderation_comment_text) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | |
21
+ | [**get_pre_ban_summary**](ModerationApi.md#get_pre_ban_summary) | **GET** /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | |
22
+ | [**get_search_comments_summary**](ModerationApi.md#get_search_comments_summary) | **GET** /auth/my-account/moderate-comments/mod_api/search/comments/summary | |
23
+ | [**get_search_pages**](ModerationApi.md#get_search_pages) | **GET** /auth/my-account/moderate-comments/mod_api/search/pages | |
24
+ | [**get_search_sites**](ModerationApi.md#get_search_sites) | **GET** /auth/my-account/moderate-comments/mod_api/search/sites | |
25
+ | [**get_search_suggest**](ModerationApi.md#get_search_suggest) | **GET** /auth/my-account/moderate-comments/mod_api/search/suggest | |
26
+ | [**get_search_users**](ModerationApi.md#get_search_users) | **GET** /auth/my-account/moderate-comments/mod_api/search/users | |
27
+ | [**get_trust_factor**](ModerationApi.md#get_trust_factor) | **GET** /auth/my-account/moderate-comments/mod_api/get-trust-factor | |
28
+ | [**get_user_ban_preference**](ModerationApi.md#get_user_ban_preference) | **GET** /auth/my-account/moderate-comments/mod_api/user-ban-preference | |
29
+ | [**get_user_internal_profile**](ModerationApi.md#get_user_internal_profile) | **GET** /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | |
30
+ | [**post_adjust_comment_votes**](ModerationApi.md#post_adjust_comment_votes) | **POST** /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | |
31
+ | [**post_api_export**](ModerationApi.md#post_api_export) | **POST** /auth/my-account/moderate-comments/mod_api/api/export | |
32
+ | [**post_ban_user_from_comment**](ModerationApi.md#post_ban_user_from_comment) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | |
33
+ | [**post_ban_user_undo**](ModerationApi.md#post_ban_user_undo) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/undo | |
34
+ | [**post_bulk_pre_ban_summary**](ModerationApi.md#post_bulk_pre_ban_summary) | **POST** /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | |
35
+ | [**post_comments_by_ids**](ModerationApi.md#post_comments_by_ids) | **POST** /auth/my-account/moderate-comments/mod_api/comments-by-ids | |
36
+ | [**post_flag_comment**](ModerationApi.md#post_flag_comment) | **POST** /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | |
37
+ | [**post_remove_comment**](ModerationApi.md#post_remove_comment) | **POST** /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | |
38
+ | [**post_restore_deleted_comment**](ModerationApi.md#post_restore_deleted_comment) | **POST** /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | |
39
+ | [**post_set_comment_approval_status**](ModerationApi.md#post_set_comment_approval_status) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | |
40
+ | [**post_set_comment_review_status**](ModerationApi.md#post_set_comment_review_status) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | |
41
+ | [**post_set_comment_spam_status**](ModerationApi.md#post_set_comment_spam_status) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | |
42
+ | [**post_set_comment_text**](ModerationApi.md#post_set_comment_text) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | |
43
+ | [**post_un_flag_comment**](ModerationApi.md#post_un_flag_comment) | **POST** /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | |
44
+ | [**post_vote**](ModerationApi.md#post_vote) | **POST** /auth/my-account/moderate-comments/mod_api/vote/{commentId} | |
45
+ | [**put_award_badge**](ModerationApi.md#put_award_badge) | **PUT** /auth/my-account/moderate-comments/mod_api/award-badge | |
46
+ | [**put_close_thread**](ModerationApi.md#put_close_thread) | **PUT** /auth/my-account/moderate-comments/mod_api/close-thread | |
47
+ | [**put_remove_badge**](ModerationApi.md#put_remove_badge) | **PUT** /auth/my-account/moderate-comments/mod_api/remove-badge | |
48
+ | [**put_reopen_thread**](ModerationApi.md#put_reopen_thread) | **PUT** /auth/my-account/moderate-comments/mod_api/reopen-thread | |
49
+ | [**set_trust_factor**](ModerationApi.md#set_trust_factor) | **PUT** /auth/my-account/moderate-comments/mod_api/set-trust-factor | |
50
+
51
+
52
+ ## delete_moderation_vote
53
+
54
+ > <VoteDeleteResponse> delete_moderation_vote(tenant_id, comment_id, vote_id, opts)
55
+
56
+
57
+
58
+ ### Examples
59
+
60
+ ```ruby
61
+ require 'time'
62
+ require 'fastcomments-client'
63
+
64
+ api_instance = FastCommentsClient::ModerationApi.new
65
+ tenant_id = 'tenant_id_example' # String |
66
+ comment_id = 'comment_id_example' # String |
67
+ vote_id = 'vote_id_example' # String |
68
+ opts = {
69
+ broadcast_id: 'broadcast_id_example', # String |
70
+ sso: 'sso_example' # String |
71
+ }
72
+
73
+ begin
74
+
75
+ result = api_instance.delete_moderation_vote(tenant_id, comment_id, vote_id, opts)
76
+ p result
77
+ rescue FastCommentsClient::ApiError => e
78
+ puts "Error when calling ModerationApi->delete_moderation_vote: #{e}"
79
+ end
80
+ ```
81
+
82
+ #### Using the delete_moderation_vote_with_http_info variant
83
+
84
+ This returns an Array which contains the response data, status code and headers.
85
+
86
+ > <Array(<VoteDeleteResponse>, Integer, Hash)> delete_moderation_vote_with_http_info(tenant_id, comment_id, vote_id, opts)
87
+
88
+ ```ruby
89
+ begin
90
+
91
+ data, status_code, headers = api_instance.delete_moderation_vote_with_http_info(tenant_id, comment_id, vote_id, opts)
92
+ p status_code # => 2xx
93
+ p headers # => { ... }
94
+ p data # => <VoteDeleteResponse>
95
+ rescue FastCommentsClient::ApiError => e
96
+ puts "Error when calling ModerationApi->delete_moderation_vote_with_http_info: #{e}"
97
+ end
98
+ ```
99
+
100
+ ### Parameters
101
+
102
+ | Name | Type | Description | Notes |
103
+ | ---- | ---- | ----------- | ----- |
104
+ | **tenant_id** | **String** | | |
105
+ | **comment_id** | **String** | | |
106
+ | **vote_id** | **String** | | |
107
+ | **broadcast_id** | **String** | | [optional] |
108
+ | **sso** | **String** | | [optional] |
109
+
110
+ ### Return type
111
+
112
+ [**VoteDeleteResponse**](VoteDeleteResponse.md)
113
+
114
+ ### Authorization
115
+
116
+ No authorization required
117
+
118
+ ### HTTP request headers
119
+
120
+ - **Content-Type**: Not defined
121
+ - **Accept**: application/json
122
+
123
+
124
+ ## get_api_comments
125
+
126
+ > <ModerationAPIGetCommentsResponse> get_api_comments(tenant_id, opts)
127
+
128
+
129
+
130
+ ### Examples
131
+
132
+ ```ruby
133
+ require 'time'
134
+ require 'fastcomments-client'
135
+
136
+ api_instance = FastCommentsClient::ModerationApi.new
137
+ tenant_id = 'tenant_id_example' # String |
138
+ opts = {
139
+ page: 1.2, # Float |
140
+ count: 1.2, # Float |
141
+ text_search: 'text_search_example', # String |
142
+ by_ip_from_comment: 'by_ip_from_comment_example', # String |
143
+ filters: 'filters_example', # String |
144
+ search_filters: 'search_filters_example', # String |
145
+ sorts: 'sorts_example', # String |
146
+ demo: true, # Boolean |
147
+ sso: 'sso_example' # String |
148
+ }
149
+
150
+ begin
151
+
152
+ result = api_instance.get_api_comments(tenant_id, opts)
153
+ p result
154
+ rescue FastCommentsClient::ApiError => e
155
+ puts "Error when calling ModerationApi->get_api_comments: #{e}"
156
+ end
157
+ ```
158
+
159
+ #### Using the get_api_comments_with_http_info variant
160
+
161
+ This returns an Array which contains the response data, status code and headers.
162
+
163
+ > <Array(<ModerationAPIGetCommentsResponse>, Integer, Hash)> get_api_comments_with_http_info(tenant_id, opts)
164
+
165
+ ```ruby
166
+ begin
167
+
168
+ data, status_code, headers = api_instance.get_api_comments_with_http_info(tenant_id, opts)
169
+ p status_code # => 2xx
170
+ p headers # => { ... }
171
+ p data # => <ModerationAPIGetCommentsResponse>
172
+ rescue FastCommentsClient::ApiError => e
173
+ puts "Error when calling ModerationApi->get_api_comments_with_http_info: #{e}"
174
+ end
175
+ ```
176
+
177
+ ### Parameters
178
+
179
+ | Name | Type | Description | Notes |
180
+ | ---- | ---- | ----------- | ----- |
181
+ | **tenant_id** | **String** | | |
182
+ | **page** | **Float** | | [optional] |
183
+ | **count** | **Float** | | [optional] |
184
+ | **text_search** | **String** | | [optional] |
185
+ | **by_ip_from_comment** | **String** | | [optional] |
186
+ | **filters** | **String** | | [optional] |
187
+ | **search_filters** | **String** | | [optional] |
188
+ | **sorts** | **String** | | [optional] |
189
+ | **demo** | **Boolean** | | [optional] |
190
+ | **sso** | **String** | | [optional] |
191
+
192
+ ### Return type
193
+
194
+ [**ModerationAPIGetCommentsResponse**](ModerationAPIGetCommentsResponse.md)
195
+
196
+ ### Authorization
197
+
198
+ No authorization required
199
+
200
+ ### HTTP request headers
201
+
202
+ - **Content-Type**: Not defined
203
+ - **Accept**: application/json
204
+
205
+
206
+ ## get_api_export_status
207
+
208
+ > <ModerationExportStatusResponse> get_api_export_status(tenant_id, opts)
209
+
210
+
211
+
212
+ ### Examples
213
+
214
+ ```ruby
215
+ require 'time'
216
+ require 'fastcomments-client'
217
+
218
+ api_instance = FastCommentsClient::ModerationApi.new
219
+ tenant_id = 'tenant_id_example' # String |
220
+ opts = {
221
+ batch_job_id: 'batch_job_id_example', # String |
222
+ sso: 'sso_example' # String |
223
+ }
224
+
225
+ begin
226
+
227
+ result = api_instance.get_api_export_status(tenant_id, opts)
228
+ p result
229
+ rescue FastCommentsClient::ApiError => e
230
+ puts "Error when calling ModerationApi->get_api_export_status: #{e}"
231
+ end
232
+ ```
233
+
234
+ #### Using the get_api_export_status_with_http_info variant
235
+
236
+ This returns an Array which contains the response data, status code and headers.
237
+
238
+ > <Array(<ModerationExportStatusResponse>, Integer, Hash)> get_api_export_status_with_http_info(tenant_id, opts)
239
+
240
+ ```ruby
241
+ begin
242
+
243
+ data, status_code, headers = api_instance.get_api_export_status_with_http_info(tenant_id, opts)
244
+ p status_code # => 2xx
245
+ p headers # => { ... }
246
+ p data # => <ModerationExportStatusResponse>
247
+ rescue FastCommentsClient::ApiError => e
248
+ puts "Error when calling ModerationApi->get_api_export_status_with_http_info: #{e}"
249
+ end
250
+ ```
251
+
252
+ ### Parameters
253
+
254
+ | Name | Type | Description | Notes |
255
+ | ---- | ---- | ----------- | ----- |
256
+ | **tenant_id** | **String** | | |
257
+ | **batch_job_id** | **String** | | [optional] |
258
+ | **sso** | **String** | | [optional] |
259
+
260
+ ### Return type
261
+
262
+ [**ModerationExportStatusResponse**](ModerationExportStatusResponse.md)
263
+
264
+ ### Authorization
265
+
266
+ No authorization required
267
+
268
+ ### HTTP request headers
269
+
270
+ - **Content-Type**: Not defined
271
+ - **Accept**: application/json
272
+
273
+
274
+ ## get_api_ids
275
+
276
+ > <ModerationAPIGetCommentIdsResponse> get_api_ids(tenant_id, opts)
277
+
278
+
279
+
280
+ ### Examples
281
+
282
+ ```ruby
283
+ require 'time'
284
+ require 'fastcomments-client'
285
+
286
+ api_instance = FastCommentsClient::ModerationApi.new
287
+ tenant_id = 'tenant_id_example' # String |
288
+ opts = {
289
+ text_search: 'text_search_example', # String |
290
+ by_ip_from_comment: 'by_ip_from_comment_example', # String |
291
+ filters: 'filters_example', # String |
292
+ search_filters: 'search_filters_example', # String |
293
+ after_id: 'after_id_example', # String |
294
+ demo: true, # Boolean |
295
+ sso: 'sso_example' # String |
296
+ }
297
+
298
+ begin
299
+
300
+ result = api_instance.get_api_ids(tenant_id, opts)
301
+ p result
302
+ rescue FastCommentsClient::ApiError => e
303
+ puts "Error when calling ModerationApi->get_api_ids: #{e}"
304
+ end
305
+ ```
306
+
307
+ #### Using the get_api_ids_with_http_info variant
308
+
309
+ This returns an Array which contains the response data, status code and headers.
310
+
311
+ > <Array(<ModerationAPIGetCommentIdsResponse>, Integer, Hash)> get_api_ids_with_http_info(tenant_id, opts)
312
+
313
+ ```ruby
314
+ begin
315
+
316
+ data, status_code, headers = api_instance.get_api_ids_with_http_info(tenant_id, opts)
317
+ p status_code # => 2xx
318
+ p headers # => { ... }
319
+ p data # => <ModerationAPIGetCommentIdsResponse>
320
+ rescue FastCommentsClient::ApiError => e
321
+ puts "Error when calling ModerationApi->get_api_ids_with_http_info: #{e}"
322
+ end
323
+ ```
324
+
325
+ ### Parameters
326
+
327
+ | Name | Type | Description | Notes |
328
+ | ---- | ---- | ----------- | ----- |
329
+ | **tenant_id** | **String** | | |
330
+ | **text_search** | **String** | | [optional] |
331
+ | **by_ip_from_comment** | **String** | | [optional] |
332
+ | **filters** | **String** | | [optional] |
333
+ | **search_filters** | **String** | | [optional] |
334
+ | **after_id** | **String** | | [optional] |
335
+ | **demo** | **Boolean** | | [optional] |
336
+ | **sso** | **String** | | [optional] |
337
+
338
+ ### Return type
339
+
340
+ [**ModerationAPIGetCommentIdsResponse**](ModerationAPIGetCommentIdsResponse.md)
341
+
342
+ ### Authorization
343
+
344
+ No authorization required
345
+
346
+ ### HTTP request headers
347
+
348
+ - **Content-Type**: Not defined
349
+ - **Accept**: application/json
350
+
351
+
352
+ ## get_ban_users_from_comment
353
+
354
+ > <GetBannedUsersFromCommentResponse> get_ban_users_from_comment(tenant_id, comment_id, opts)
355
+
356
+
357
+
358
+ ### Examples
359
+
360
+ ```ruby
361
+ require 'time'
362
+ require 'fastcomments-client'
363
+
364
+ api_instance = FastCommentsClient::ModerationApi.new
365
+ tenant_id = 'tenant_id_example' # String |
366
+ comment_id = 'comment_id_example' # String |
367
+ opts = {
368
+ sso: 'sso_example' # String |
369
+ }
370
+
371
+ begin
372
+
373
+ result = api_instance.get_ban_users_from_comment(tenant_id, comment_id, opts)
374
+ p result
375
+ rescue FastCommentsClient::ApiError => e
376
+ puts "Error when calling ModerationApi->get_ban_users_from_comment: #{e}"
377
+ end
378
+ ```
379
+
380
+ #### Using the get_ban_users_from_comment_with_http_info variant
381
+
382
+ This returns an Array which contains the response data, status code and headers.
383
+
384
+ > <Array(<GetBannedUsersFromCommentResponse>, Integer, Hash)> get_ban_users_from_comment_with_http_info(tenant_id, comment_id, opts)
385
+
386
+ ```ruby
387
+ begin
388
+
389
+ data, status_code, headers = api_instance.get_ban_users_from_comment_with_http_info(tenant_id, comment_id, opts)
390
+ p status_code # => 2xx
391
+ p headers # => { ... }
392
+ p data # => <GetBannedUsersFromCommentResponse>
393
+ rescue FastCommentsClient::ApiError => e
394
+ puts "Error when calling ModerationApi->get_ban_users_from_comment_with_http_info: #{e}"
395
+ end
396
+ ```
397
+
398
+ ### Parameters
399
+
400
+ | Name | Type | Description | Notes |
401
+ | ---- | ---- | ----------- | ----- |
402
+ | **tenant_id** | **String** | | |
403
+ | **comment_id** | **String** | | |
404
+ | **sso** | **String** | | [optional] |
405
+
406
+ ### Return type
407
+
408
+ [**GetBannedUsersFromCommentResponse**](GetBannedUsersFromCommentResponse.md)
409
+
410
+ ### Authorization
411
+
412
+ No authorization required
413
+
414
+ ### HTTP request headers
415
+
416
+ - **Content-Type**: Not defined
417
+ - **Accept**: application/json
418
+
419
+
420
+ ## get_comment_ban_status
421
+
422
+ > <GetCommentBanStatusResponse> get_comment_ban_status(tenant_id, comment_id, opts)
423
+
424
+
425
+
426
+ ### Examples
427
+
428
+ ```ruby
429
+ require 'time'
430
+ require 'fastcomments-client'
431
+
432
+ api_instance = FastCommentsClient::ModerationApi.new
433
+ tenant_id = 'tenant_id_example' # String |
434
+ comment_id = 'comment_id_example' # String |
435
+ opts = {
436
+ sso: 'sso_example' # String |
437
+ }
438
+
439
+ begin
440
+
441
+ result = api_instance.get_comment_ban_status(tenant_id, comment_id, opts)
442
+ p result
443
+ rescue FastCommentsClient::ApiError => e
444
+ puts "Error when calling ModerationApi->get_comment_ban_status: #{e}"
445
+ end
446
+ ```
447
+
448
+ #### Using the get_comment_ban_status_with_http_info variant
449
+
450
+ This returns an Array which contains the response data, status code and headers.
451
+
452
+ > <Array(<GetCommentBanStatusResponse>, Integer, Hash)> get_comment_ban_status_with_http_info(tenant_id, comment_id, opts)
453
+
454
+ ```ruby
455
+ begin
456
+
457
+ data, status_code, headers = api_instance.get_comment_ban_status_with_http_info(tenant_id, comment_id, opts)
458
+ p status_code # => 2xx
459
+ p headers # => { ... }
460
+ p data # => <GetCommentBanStatusResponse>
461
+ rescue FastCommentsClient::ApiError => e
462
+ puts "Error when calling ModerationApi->get_comment_ban_status_with_http_info: #{e}"
463
+ end
464
+ ```
465
+
466
+ ### Parameters
467
+
468
+ | Name | Type | Description | Notes |
469
+ | ---- | ---- | ----------- | ----- |
470
+ | **tenant_id** | **String** | | |
471
+ | **comment_id** | **String** | | |
472
+ | **sso** | **String** | | [optional] |
473
+
474
+ ### Return type
475
+
476
+ [**GetCommentBanStatusResponse**](GetCommentBanStatusResponse.md)
477
+
478
+ ### Authorization
479
+
480
+ No authorization required
481
+
482
+ ### HTTP request headers
483
+
484
+ - **Content-Type**: Not defined
485
+ - **Accept**: application/json
486
+
487
+
488
+ ## get_comment_children
489
+
490
+ > <ModerationAPIChildCommentsResponse> get_comment_children(tenant_id, comment_id, opts)
491
+
492
+
493
+
494
+ ### Examples
495
+
496
+ ```ruby
497
+ require 'time'
498
+ require 'fastcomments-client'
499
+
500
+ api_instance = FastCommentsClient::ModerationApi.new
501
+ tenant_id = 'tenant_id_example' # String |
502
+ comment_id = 'comment_id_example' # String |
503
+ opts = {
504
+ sso: 'sso_example' # String |
505
+ }
506
+
507
+ begin
508
+
509
+ result = api_instance.get_comment_children(tenant_id, comment_id, opts)
510
+ p result
511
+ rescue FastCommentsClient::ApiError => e
512
+ puts "Error when calling ModerationApi->get_comment_children: #{e}"
513
+ end
514
+ ```
515
+
516
+ #### Using the get_comment_children_with_http_info variant
517
+
518
+ This returns an Array which contains the response data, status code and headers.
519
+
520
+ > <Array(<ModerationAPIChildCommentsResponse>, Integer, Hash)> get_comment_children_with_http_info(tenant_id, comment_id, opts)
521
+
522
+ ```ruby
523
+ begin
524
+
525
+ data, status_code, headers = api_instance.get_comment_children_with_http_info(tenant_id, comment_id, opts)
526
+ p status_code # => 2xx
527
+ p headers # => { ... }
528
+ p data # => <ModerationAPIChildCommentsResponse>
529
+ rescue FastCommentsClient::ApiError => e
530
+ puts "Error when calling ModerationApi->get_comment_children_with_http_info: #{e}"
531
+ end
532
+ ```
533
+
534
+ ### Parameters
535
+
536
+ | Name | Type | Description | Notes |
537
+ | ---- | ---- | ----------- | ----- |
538
+ | **tenant_id** | **String** | | |
539
+ | **comment_id** | **String** | | |
540
+ | **sso** | **String** | | [optional] |
541
+
542
+ ### Return type
543
+
544
+ [**ModerationAPIChildCommentsResponse**](ModerationAPIChildCommentsResponse.md)
545
+
546
+ ### Authorization
547
+
548
+ No authorization required
549
+
550
+ ### HTTP request headers
551
+
552
+ - **Content-Type**: Not defined
553
+ - **Accept**: application/json
554
+
555
+
556
+ ## get_count
557
+
558
+ > <ModerationAPICountCommentsResponse> get_count(tenant_id, opts)
559
+
560
+
561
+
562
+ ### Examples
563
+
564
+ ```ruby
565
+ require 'time'
566
+ require 'fastcomments-client'
567
+
568
+ api_instance = FastCommentsClient::ModerationApi.new
569
+ tenant_id = 'tenant_id_example' # String |
570
+ opts = {
571
+ text_search: 'text_search_example', # String |
572
+ by_ip_from_comment: 'by_ip_from_comment_example', # String |
573
+ filter: 'filter_example', # String |
574
+ search_filters: 'search_filters_example', # String |
575
+ demo: true, # Boolean |
576
+ sso: 'sso_example' # String |
577
+ }
578
+
579
+ begin
580
+
581
+ result = api_instance.get_count(tenant_id, opts)
582
+ p result
583
+ rescue FastCommentsClient::ApiError => e
584
+ puts "Error when calling ModerationApi->get_count: #{e}"
585
+ end
586
+ ```
587
+
588
+ #### Using the get_count_with_http_info variant
589
+
590
+ This returns an Array which contains the response data, status code and headers.
591
+
592
+ > <Array(<ModerationAPICountCommentsResponse>, Integer, Hash)> get_count_with_http_info(tenant_id, opts)
593
+
594
+ ```ruby
595
+ begin
596
+
597
+ data, status_code, headers = api_instance.get_count_with_http_info(tenant_id, opts)
598
+ p status_code # => 2xx
599
+ p headers # => { ... }
600
+ p data # => <ModerationAPICountCommentsResponse>
601
+ rescue FastCommentsClient::ApiError => e
602
+ puts "Error when calling ModerationApi->get_count_with_http_info: #{e}"
603
+ end
604
+ ```
605
+
606
+ ### Parameters
607
+
608
+ | Name | Type | Description | Notes |
609
+ | ---- | ---- | ----------- | ----- |
610
+ | **tenant_id** | **String** | | |
611
+ | **text_search** | **String** | | [optional] |
612
+ | **by_ip_from_comment** | **String** | | [optional] |
613
+ | **filter** | **String** | | [optional] |
614
+ | **search_filters** | **String** | | [optional] |
615
+ | **demo** | **Boolean** | | [optional] |
616
+ | **sso** | **String** | | [optional] |
617
+
618
+ ### Return type
619
+
620
+ [**ModerationAPICountCommentsResponse**](ModerationAPICountCommentsResponse.md)
621
+
622
+ ### Authorization
623
+
624
+ No authorization required
625
+
626
+ ### HTTP request headers
627
+
628
+ - **Content-Type**: Not defined
629
+ - **Accept**: application/json
630
+
631
+
632
+ ## get_counts
633
+
634
+ > <GetBannedUsersCountResponse> get_counts(tenant_id, opts)
635
+
636
+
637
+
638
+ ### Examples
639
+
640
+ ```ruby
641
+ require 'time'
642
+ require 'fastcomments-client'
643
+
644
+ api_instance = FastCommentsClient::ModerationApi.new
645
+ tenant_id = 'tenant_id_example' # String |
646
+ opts = {
647
+ sso: 'sso_example' # String |
648
+ }
649
+
650
+ begin
651
+
652
+ result = api_instance.get_counts(tenant_id, opts)
653
+ p result
654
+ rescue FastCommentsClient::ApiError => e
655
+ puts "Error when calling ModerationApi->get_counts: #{e}"
656
+ end
657
+ ```
658
+
659
+ #### Using the get_counts_with_http_info variant
660
+
661
+ This returns an Array which contains the response data, status code and headers.
662
+
663
+ > <Array(<GetBannedUsersCountResponse>, Integer, Hash)> get_counts_with_http_info(tenant_id, opts)
664
+
665
+ ```ruby
666
+ begin
667
+
668
+ data, status_code, headers = api_instance.get_counts_with_http_info(tenant_id, opts)
669
+ p status_code # => 2xx
670
+ p headers # => { ... }
671
+ p data # => <GetBannedUsersCountResponse>
672
+ rescue FastCommentsClient::ApiError => e
673
+ puts "Error when calling ModerationApi->get_counts_with_http_info: #{e}"
674
+ end
675
+ ```
676
+
677
+ ### Parameters
678
+
679
+ | Name | Type | Description | Notes |
680
+ | ---- | ---- | ----------- | ----- |
681
+ | **tenant_id** | **String** | | |
682
+ | **sso** | **String** | | [optional] |
683
+
684
+ ### Return type
685
+
686
+ [**GetBannedUsersCountResponse**](GetBannedUsersCountResponse.md)
687
+
688
+ ### Authorization
689
+
690
+ No authorization required
691
+
692
+ ### HTTP request headers
693
+
694
+ - **Content-Type**: Not defined
695
+ - **Accept**: application/json
696
+
697
+
698
+ ## get_logs
699
+
700
+ > <ModerationAPIGetLogsResponse> get_logs(tenant_id, comment_id, opts)
701
+
702
+
703
+
704
+ ### Examples
705
+
706
+ ```ruby
707
+ require 'time'
708
+ require 'fastcomments-client'
709
+
710
+ api_instance = FastCommentsClient::ModerationApi.new
711
+ tenant_id = 'tenant_id_example' # String |
712
+ comment_id = 'comment_id_example' # String |
713
+ opts = {
714
+ sso: 'sso_example' # String |
715
+ }
716
+
717
+ begin
718
+
719
+ result = api_instance.get_logs(tenant_id, comment_id, opts)
720
+ p result
721
+ rescue FastCommentsClient::ApiError => e
722
+ puts "Error when calling ModerationApi->get_logs: #{e}"
723
+ end
724
+ ```
725
+
726
+ #### Using the get_logs_with_http_info variant
727
+
728
+ This returns an Array which contains the response data, status code and headers.
729
+
730
+ > <Array(<ModerationAPIGetLogsResponse>, Integer, Hash)> get_logs_with_http_info(tenant_id, comment_id, opts)
731
+
732
+ ```ruby
733
+ begin
734
+
735
+ data, status_code, headers = api_instance.get_logs_with_http_info(tenant_id, comment_id, opts)
736
+ p status_code # => 2xx
737
+ p headers # => { ... }
738
+ p data # => <ModerationAPIGetLogsResponse>
739
+ rescue FastCommentsClient::ApiError => e
740
+ puts "Error when calling ModerationApi->get_logs_with_http_info: #{e}"
741
+ end
742
+ ```
743
+
744
+ ### Parameters
745
+
746
+ | Name | Type | Description | Notes |
747
+ | ---- | ---- | ----------- | ----- |
748
+ | **tenant_id** | **String** | | |
749
+ | **comment_id** | **String** | | |
750
+ | **sso** | **String** | | [optional] |
751
+
752
+ ### Return type
753
+
754
+ [**ModerationAPIGetLogsResponse**](ModerationAPIGetLogsResponse.md)
755
+
756
+ ### Authorization
757
+
758
+ No authorization required
759
+
760
+ ### HTTP request headers
761
+
762
+ - **Content-Type**: Not defined
763
+ - **Accept**: application/json
764
+
765
+
766
+ ## get_manual_badges
767
+
768
+ > <GetTenantManualBadgesResponse> get_manual_badges(tenant_id, opts)
769
+
770
+
771
+
772
+ ### Examples
773
+
774
+ ```ruby
775
+ require 'time'
776
+ require 'fastcomments-client'
777
+
778
+ api_instance = FastCommentsClient::ModerationApi.new
779
+ tenant_id = 'tenant_id_example' # String |
780
+ opts = {
781
+ sso: 'sso_example' # String |
782
+ }
783
+
784
+ begin
785
+
786
+ result = api_instance.get_manual_badges(tenant_id, opts)
787
+ p result
788
+ rescue FastCommentsClient::ApiError => e
789
+ puts "Error when calling ModerationApi->get_manual_badges: #{e}"
790
+ end
791
+ ```
792
+
793
+ #### Using the get_manual_badges_with_http_info variant
794
+
795
+ This returns an Array which contains the response data, status code and headers.
796
+
797
+ > <Array(<GetTenantManualBadgesResponse>, Integer, Hash)> get_manual_badges_with_http_info(tenant_id, opts)
798
+
799
+ ```ruby
800
+ begin
801
+
802
+ data, status_code, headers = api_instance.get_manual_badges_with_http_info(tenant_id, opts)
803
+ p status_code # => 2xx
804
+ p headers # => { ... }
805
+ p data # => <GetTenantManualBadgesResponse>
806
+ rescue FastCommentsClient::ApiError => e
807
+ puts "Error when calling ModerationApi->get_manual_badges_with_http_info: #{e}"
808
+ end
809
+ ```
810
+
811
+ ### Parameters
812
+
813
+ | Name | Type | Description | Notes |
814
+ | ---- | ---- | ----------- | ----- |
815
+ | **tenant_id** | **String** | | |
816
+ | **sso** | **String** | | [optional] |
817
+
818
+ ### Return type
819
+
820
+ [**GetTenantManualBadgesResponse**](GetTenantManualBadgesResponse.md)
821
+
822
+ ### Authorization
823
+
824
+ No authorization required
825
+
826
+ ### HTTP request headers
827
+
828
+ - **Content-Type**: Not defined
829
+ - **Accept**: application/json
830
+
831
+
832
+ ## get_manual_badges_for_user
833
+
834
+ > <GetUserManualBadgesResponse> get_manual_badges_for_user(tenant_id, opts)
835
+
836
+
837
+
838
+ ### Examples
839
+
840
+ ```ruby
841
+ require 'time'
842
+ require 'fastcomments-client'
843
+
844
+ api_instance = FastCommentsClient::ModerationApi.new
845
+ tenant_id = 'tenant_id_example' # String |
846
+ opts = {
847
+ badges_user_id: 'badges_user_id_example', # String |
848
+ comment_id: 'comment_id_example', # String |
849
+ sso: 'sso_example' # String |
850
+ }
851
+
852
+ begin
853
+
854
+ result = api_instance.get_manual_badges_for_user(tenant_id, opts)
855
+ p result
856
+ rescue FastCommentsClient::ApiError => e
857
+ puts "Error when calling ModerationApi->get_manual_badges_for_user: #{e}"
858
+ end
859
+ ```
860
+
861
+ #### Using the get_manual_badges_for_user_with_http_info variant
862
+
863
+ This returns an Array which contains the response data, status code and headers.
864
+
865
+ > <Array(<GetUserManualBadgesResponse>, Integer, Hash)> get_manual_badges_for_user_with_http_info(tenant_id, opts)
866
+
867
+ ```ruby
868
+ begin
869
+
870
+ data, status_code, headers = api_instance.get_manual_badges_for_user_with_http_info(tenant_id, opts)
871
+ p status_code # => 2xx
872
+ p headers # => { ... }
873
+ p data # => <GetUserManualBadgesResponse>
874
+ rescue FastCommentsClient::ApiError => e
875
+ puts "Error when calling ModerationApi->get_manual_badges_for_user_with_http_info: #{e}"
876
+ end
877
+ ```
878
+
879
+ ### Parameters
880
+
881
+ | Name | Type | Description | Notes |
882
+ | ---- | ---- | ----------- | ----- |
883
+ | **tenant_id** | **String** | | |
884
+ | **badges_user_id** | **String** | | [optional] |
885
+ | **comment_id** | **String** | | [optional] |
886
+ | **sso** | **String** | | [optional] |
887
+
888
+ ### Return type
889
+
890
+ [**GetUserManualBadgesResponse**](GetUserManualBadgesResponse.md)
891
+
892
+ ### Authorization
893
+
894
+ No authorization required
895
+
896
+ ### HTTP request headers
897
+
898
+ - **Content-Type**: Not defined
899
+ - **Accept**: application/json
900
+
901
+
902
+ ## get_moderation_comment
903
+
904
+ > <ModerationAPICommentResponse> get_moderation_comment(tenant_id, comment_id, opts)
905
+
906
+
907
+
908
+ ### Examples
909
+
910
+ ```ruby
911
+ require 'time'
912
+ require 'fastcomments-client'
913
+
914
+ api_instance = FastCommentsClient::ModerationApi.new
915
+ tenant_id = 'tenant_id_example' # String |
916
+ comment_id = 'comment_id_example' # String |
917
+ opts = {
918
+ include_email: true, # Boolean |
919
+ include_ip: true, # Boolean |
920
+ sso: 'sso_example' # String |
921
+ }
922
+
923
+ begin
924
+
925
+ result = api_instance.get_moderation_comment(tenant_id, comment_id, opts)
926
+ p result
927
+ rescue FastCommentsClient::ApiError => e
928
+ puts "Error when calling ModerationApi->get_moderation_comment: #{e}"
929
+ end
930
+ ```
931
+
932
+ #### Using the get_moderation_comment_with_http_info variant
933
+
934
+ This returns an Array which contains the response data, status code and headers.
935
+
936
+ > <Array(<ModerationAPICommentResponse>, Integer, Hash)> get_moderation_comment_with_http_info(tenant_id, comment_id, opts)
937
+
938
+ ```ruby
939
+ begin
940
+
941
+ data, status_code, headers = api_instance.get_moderation_comment_with_http_info(tenant_id, comment_id, opts)
942
+ p status_code # => 2xx
943
+ p headers # => { ... }
944
+ p data # => <ModerationAPICommentResponse>
945
+ rescue FastCommentsClient::ApiError => e
946
+ puts "Error when calling ModerationApi->get_moderation_comment_with_http_info: #{e}"
947
+ end
948
+ ```
949
+
950
+ ### Parameters
951
+
952
+ | Name | Type | Description | Notes |
953
+ | ---- | ---- | ----------- | ----- |
954
+ | **tenant_id** | **String** | | |
955
+ | **comment_id** | **String** | | |
956
+ | **include_email** | **Boolean** | | [optional] |
957
+ | **include_ip** | **Boolean** | | [optional] |
958
+ | **sso** | **String** | | [optional] |
959
+
960
+ ### Return type
961
+
962
+ [**ModerationAPICommentResponse**](ModerationAPICommentResponse.md)
963
+
964
+ ### Authorization
965
+
966
+ No authorization required
967
+
968
+ ### HTTP request headers
969
+
970
+ - **Content-Type**: Not defined
971
+ - **Accept**: application/json
972
+
973
+
974
+ ## get_moderation_comment_text
975
+
976
+ > <GetCommentTextResponse> get_moderation_comment_text(tenant_id, comment_id, opts)
977
+
978
+
979
+
980
+ ### Examples
981
+
982
+ ```ruby
983
+ require 'time'
984
+ require 'fastcomments-client'
985
+
986
+ api_instance = FastCommentsClient::ModerationApi.new
987
+ tenant_id = 'tenant_id_example' # String |
988
+ comment_id = 'comment_id_example' # String |
989
+ opts = {
990
+ sso: 'sso_example' # String |
991
+ }
992
+
993
+ begin
994
+
995
+ result = api_instance.get_moderation_comment_text(tenant_id, comment_id, opts)
996
+ p result
997
+ rescue FastCommentsClient::ApiError => e
998
+ puts "Error when calling ModerationApi->get_moderation_comment_text: #{e}"
999
+ end
1000
+ ```
1001
+
1002
+ #### Using the get_moderation_comment_text_with_http_info variant
1003
+
1004
+ This returns an Array which contains the response data, status code and headers.
1005
+
1006
+ > <Array(<GetCommentTextResponse>, Integer, Hash)> get_moderation_comment_text_with_http_info(tenant_id, comment_id, opts)
1007
+
1008
+ ```ruby
1009
+ begin
1010
+
1011
+ data, status_code, headers = api_instance.get_moderation_comment_text_with_http_info(tenant_id, comment_id, opts)
1012
+ p status_code # => 2xx
1013
+ p headers # => { ... }
1014
+ p data # => <GetCommentTextResponse>
1015
+ rescue FastCommentsClient::ApiError => e
1016
+ puts "Error when calling ModerationApi->get_moderation_comment_text_with_http_info: #{e}"
1017
+ end
1018
+ ```
1019
+
1020
+ ### Parameters
1021
+
1022
+ | Name | Type | Description | Notes |
1023
+ | ---- | ---- | ----------- | ----- |
1024
+ | **tenant_id** | **String** | | |
1025
+ | **comment_id** | **String** | | |
1026
+ | **sso** | **String** | | [optional] |
1027
+
1028
+ ### Return type
1029
+
1030
+ [**GetCommentTextResponse**](GetCommentTextResponse.md)
1031
+
1032
+ ### Authorization
1033
+
1034
+ No authorization required
1035
+
1036
+ ### HTTP request headers
1037
+
1038
+ - **Content-Type**: Not defined
1039
+ - **Accept**: application/json
1040
+
1041
+
1042
+ ## get_pre_ban_summary
1043
+
1044
+ > <PreBanSummary> get_pre_ban_summary(tenant_id, comment_id, opts)
1045
+
1046
+
1047
+
1048
+ ### Examples
1049
+
1050
+ ```ruby
1051
+ require 'time'
1052
+ require 'fastcomments-client'
1053
+
1054
+ api_instance = FastCommentsClient::ModerationApi.new
1055
+ tenant_id = 'tenant_id_example' # String |
1056
+ comment_id = 'comment_id_example' # String |
1057
+ opts = {
1058
+ include_by_user_id_and_email: true, # Boolean |
1059
+ include_by_ip: true, # Boolean |
1060
+ include_by_email_domain: true, # Boolean |
1061
+ sso: 'sso_example' # String |
1062
+ }
1063
+
1064
+ begin
1065
+
1066
+ result = api_instance.get_pre_ban_summary(tenant_id, comment_id, opts)
1067
+ p result
1068
+ rescue FastCommentsClient::ApiError => e
1069
+ puts "Error when calling ModerationApi->get_pre_ban_summary: #{e}"
1070
+ end
1071
+ ```
1072
+
1073
+ #### Using the get_pre_ban_summary_with_http_info variant
1074
+
1075
+ This returns an Array which contains the response data, status code and headers.
1076
+
1077
+ > <Array(<PreBanSummary>, Integer, Hash)> get_pre_ban_summary_with_http_info(tenant_id, comment_id, opts)
1078
+
1079
+ ```ruby
1080
+ begin
1081
+
1082
+ data, status_code, headers = api_instance.get_pre_ban_summary_with_http_info(tenant_id, comment_id, opts)
1083
+ p status_code # => 2xx
1084
+ p headers # => { ... }
1085
+ p data # => <PreBanSummary>
1086
+ rescue FastCommentsClient::ApiError => e
1087
+ puts "Error when calling ModerationApi->get_pre_ban_summary_with_http_info: #{e}"
1088
+ end
1089
+ ```
1090
+
1091
+ ### Parameters
1092
+
1093
+ | Name | Type | Description | Notes |
1094
+ | ---- | ---- | ----------- | ----- |
1095
+ | **tenant_id** | **String** | | |
1096
+ | **comment_id** | **String** | | |
1097
+ | **include_by_user_id_and_email** | **Boolean** | | [optional] |
1098
+ | **include_by_ip** | **Boolean** | | [optional] |
1099
+ | **include_by_email_domain** | **Boolean** | | [optional] |
1100
+ | **sso** | **String** | | [optional] |
1101
+
1102
+ ### Return type
1103
+
1104
+ [**PreBanSummary**](PreBanSummary.md)
1105
+
1106
+ ### Authorization
1107
+
1108
+ No authorization required
1109
+
1110
+ ### HTTP request headers
1111
+
1112
+ - **Content-Type**: Not defined
1113
+ - **Accept**: application/json
1114
+
1115
+
1116
+ ## get_search_comments_summary
1117
+
1118
+ > <ModerationCommentSearchResponse> get_search_comments_summary(tenant_id, opts)
1119
+
1120
+
1121
+
1122
+ ### Examples
1123
+
1124
+ ```ruby
1125
+ require 'time'
1126
+ require 'fastcomments-client'
1127
+
1128
+ api_instance = FastCommentsClient::ModerationApi.new
1129
+ tenant_id = 'tenant_id_example' # String |
1130
+ opts = {
1131
+ value: 'value_example', # String |
1132
+ filters: 'filters_example', # String |
1133
+ search_filters: 'search_filters_example', # String |
1134
+ sso: 'sso_example' # String |
1135
+ }
1136
+
1137
+ begin
1138
+
1139
+ result = api_instance.get_search_comments_summary(tenant_id, opts)
1140
+ p result
1141
+ rescue FastCommentsClient::ApiError => e
1142
+ puts "Error when calling ModerationApi->get_search_comments_summary: #{e}"
1143
+ end
1144
+ ```
1145
+
1146
+ #### Using the get_search_comments_summary_with_http_info variant
1147
+
1148
+ This returns an Array which contains the response data, status code and headers.
1149
+
1150
+ > <Array(<ModerationCommentSearchResponse>, Integer, Hash)> get_search_comments_summary_with_http_info(tenant_id, opts)
1151
+
1152
+ ```ruby
1153
+ begin
1154
+
1155
+ data, status_code, headers = api_instance.get_search_comments_summary_with_http_info(tenant_id, opts)
1156
+ p status_code # => 2xx
1157
+ p headers # => { ... }
1158
+ p data # => <ModerationCommentSearchResponse>
1159
+ rescue FastCommentsClient::ApiError => e
1160
+ puts "Error when calling ModerationApi->get_search_comments_summary_with_http_info: #{e}"
1161
+ end
1162
+ ```
1163
+
1164
+ ### Parameters
1165
+
1166
+ | Name | Type | Description | Notes |
1167
+ | ---- | ---- | ----------- | ----- |
1168
+ | **tenant_id** | **String** | | |
1169
+ | **value** | **String** | | [optional] |
1170
+ | **filters** | **String** | | [optional] |
1171
+ | **search_filters** | **String** | | [optional] |
1172
+ | **sso** | **String** | | [optional] |
1173
+
1174
+ ### Return type
1175
+
1176
+ [**ModerationCommentSearchResponse**](ModerationCommentSearchResponse.md)
1177
+
1178
+ ### Authorization
1179
+
1180
+ No authorization required
1181
+
1182
+ ### HTTP request headers
1183
+
1184
+ - **Content-Type**: Not defined
1185
+ - **Accept**: application/json
1186
+
1187
+
1188
+ ## get_search_pages
1189
+
1190
+ > <ModerationPageSearchResponse> get_search_pages(tenant_id, opts)
1191
+
1192
+
1193
+
1194
+ ### Examples
1195
+
1196
+ ```ruby
1197
+ require 'time'
1198
+ require 'fastcomments-client'
1199
+
1200
+ api_instance = FastCommentsClient::ModerationApi.new
1201
+ tenant_id = 'tenant_id_example' # String |
1202
+ opts = {
1203
+ value: 'value_example', # String |
1204
+ sso: 'sso_example' # String |
1205
+ }
1206
+
1207
+ begin
1208
+
1209
+ result = api_instance.get_search_pages(tenant_id, opts)
1210
+ p result
1211
+ rescue FastCommentsClient::ApiError => e
1212
+ puts "Error when calling ModerationApi->get_search_pages: #{e}"
1213
+ end
1214
+ ```
1215
+
1216
+ #### Using the get_search_pages_with_http_info variant
1217
+
1218
+ This returns an Array which contains the response data, status code and headers.
1219
+
1220
+ > <Array(<ModerationPageSearchResponse>, Integer, Hash)> get_search_pages_with_http_info(tenant_id, opts)
1221
+
1222
+ ```ruby
1223
+ begin
1224
+
1225
+ data, status_code, headers = api_instance.get_search_pages_with_http_info(tenant_id, opts)
1226
+ p status_code # => 2xx
1227
+ p headers # => { ... }
1228
+ p data # => <ModerationPageSearchResponse>
1229
+ rescue FastCommentsClient::ApiError => e
1230
+ puts "Error when calling ModerationApi->get_search_pages_with_http_info: #{e}"
1231
+ end
1232
+ ```
1233
+
1234
+ ### Parameters
1235
+
1236
+ | Name | Type | Description | Notes |
1237
+ | ---- | ---- | ----------- | ----- |
1238
+ | **tenant_id** | **String** | | |
1239
+ | **value** | **String** | | [optional] |
1240
+ | **sso** | **String** | | [optional] |
1241
+
1242
+ ### Return type
1243
+
1244
+ [**ModerationPageSearchResponse**](ModerationPageSearchResponse.md)
1245
+
1246
+ ### Authorization
1247
+
1248
+ No authorization required
1249
+
1250
+ ### HTTP request headers
1251
+
1252
+ - **Content-Type**: Not defined
1253
+ - **Accept**: application/json
1254
+
1255
+
1256
+ ## get_search_sites
1257
+
1258
+ > <ModerationSiteSearchResponse> get_search_sites(tenant_id, opts)
1259
+
1260
+
1261
+
1262
+ ### Examples
1263
+
1264
+ ```ruby
1265
+ require 'time'
1266
+ require 'fastcomments-client'
1267
+
1268
+ api_instance = FastCommentsClient::ModerationApi.new
1269
+ tenant_id = 'tenant_id_example' # String |
1270
+ opts = {
1271
+ value: 'value_example', # String |
1272
+ sso: 'sso_example' # String |
1273
+ }
1274
+
1275
+ begin
1276
+
1277
+ result = api_instance.get_search_sites(tenant_id, opts)
1278
+ p result
1279
+ rescue FastCommentsClient::ApiError => e
1280
+ puts "Error when calling ModerationApi->get_search_sites: #{e}"
1281
+ end
1282
+ ```
1283
+
1284
+ #### Using the get_search_sites_with_http_info variant
1285
+
1286
+ This returns an Array which contains the response data, status code and headers.
1287
+
1288
+ > <Array(<ModerationSiteSearchResponse>, Integer, Hash)> get_search_sites_with_http_info(tenant_id, opts)
1289
+
1290
+ ```ruby
1291
+ begin
1292
+
1293
+ data, status_code, headers = api_instance.get_search_sites_with_http_info(tenant_id, opts)
1294
+ p status_code # => 2xx
1295
+ p headers # => { ... }
1296
+ p data # => <ModerationSiteSearchResponse>
1297
+ rescue FastCommentsClient::ApiError => e
1298
+ puts "Error when calling ModerationApi->get_search_sites_with_http_info: #{e}"
1299
+ end
1300
+ ```
1301
+
1302
+ ### Parameters
1303
+
1304
+ | Name | Type | Description | Notes |
1305
+ | ---- | ---- | ----------- | ----- |
1306
+ | **tenant_id** | **String** | | |
1307
+ | **value** | **String** | | [optional] |
1308
+ | **sso** | **String** | | [optional] |
1309
+
1310
+ ### Return type
1311
+
1312
+ [**ModerationSiteSearchResponse**](ModerationSiteSearchResponse.md)
1313
+
1314
+ ### Authorization
1315
+
1316
+ No authorization required
1317
+
1318
+ ### HTTP request headers
1319
+
1320
+ - **Content-Type**: Not defined
1321
+ - **Accept**: application/json
1322
+
1323
+
1324
+ ## get_search_suggest
1325
+
1326
+ > <ModerationSuggestResponse> get_search_suggest(tenant_id, opts)
1327
+
1328
+
1329
+
1330
+ ### Examples
1331
+
1332
+ ```ruby
1333
+ require 'time'
1334
+ require 'fastcomments-client'
1335
+
1336
+ api_instance = FastCommentsClient::ModerationApi.new
1337
+ tenant_id = 'tenant_id_example' # String |
1338
+ opts = {
1339
+ text_search: 'text_search_example', # String |
1340
+ sso: 'sso_example' # String |
1341
+ }
1342
+
1343
+ begin
1344
+
1345
+ result = api_instance.get_search_suggest(tenant_id, opts)
1346
+ p result
1347
+ rescue FastCommentsClient::ApiError => e
1348
+ puts "Error when calling ModerationApi->get_search_suggest: #{e}"
1349
+ end
1350
+ ```
1351
+
1352
+ #### Using the get_search_suggest_with_http_info variant
1353
+
1354
+ This returns an Array which contains the response data, status code and headers.
1355
+
1356
+ > <Array(<ModerationSuggestResponse>, Integer, Hash)> get_search_suggest_with_http_info(tenant_id, opts)
1357
+
1358
+ ```ruby
1359
+ begin
1360
+
1361
+ data, status_code, headers = api_instance.get_search_suggest_with_http_info(tenant_id, opts)
1362
+ p status_code # => 2xx
1363
+ p headers # => { ... }
1364
+ p data # => <ModerationSuggestResponse>
1365
+ rescue FastCommentsClient::ApiError => e
1366
+ puts "Error when calling ModerationApi->get_search_suggest_with_http_info: #{e}"
1367
+ end
1368
+ ```
1369
+
1370
+ ### Parameters
1371
+
1372
+ | Name | Type | Description | Notes |
1373
+ | ---- | ---- | ----------- | ----- |
1374
+ | **tenant_id** | **String** | | |
1375
+ | **text_search** | **String** | | [optional] |
1376
+ | **sso** | **String** | | [optional] |
1377
+
1378
+ ### Return type
1379
+
1380
+ [**ModerationSuggestResponse**](ModerationSuggestResponse.md)
1381
+
1382
+ ### Authorization
1383
+
1384
+ No authorization required
1385
+
1386
+ ### HTTP request headers
1387
+
1388
+ - **Content-Type**: Not defined
1389
+ - **Accept**: application/json
1390
+
1391
+
1392
+ ## get_search_users
1393
+
1394
+ > <ModerationUserSearchResponse> get_search_users(tenant_id, opts)
1395
+
1396
+
1397
+
1398
+ ### Examples
1399
+
1400
+ ```ruby
1401
+ require 'time'
1402
+ require 'fastcomments-client'
1403
+
1404
+ api_instance = FastCommentsClient::ModerationApi.new
1405
+ tenant_id = 'tenant_id_example' # String |
1406
+ opts = {
1407
+ value: 'value_example', # String |
1408
+ sso: 'sso_example' # String |
1409
+ }
1410
+
1411
+ begin
1412
+
1413
+ result = api_instance.get_search_users(tenant_id, opts)
1414
+ p result
1415
+ rescue FastCommentsClient::ApiError => e
1416
+ puts "Error when calling ModerationApi->get_search_users: #{e}"
1417
+ end
1418
+ ```
1419
+
1420
+ #### Using the get_search_users_with_http_info variant
1421
+
1422
+ This returns an Array which contains the response data, status code and headers.
1423
+
1424
+ > <Array(<ModerationUserSearchResponse>, Integer, Hash)> get_search_users_with_http_info(tenant_id, opts)
1425
+
1426
+ ```ruby
1427
+ begin
1428
+
1429
+ data, status_code, headers = api_instance.get_search_users_with_http_info(tenant_id, opts)
1430
+ p status_code # => 2xx
1431
+ p headers # => { ... }
1432
+ p data # => <ModerationUserSearchResponse>
1433
+ rescue FastCommentsClient::ApiError => e
1434
+ puts "Error when calling ModerationApi->get_search_users_with_http_info: #{e}"
1435
+ end
1436
+ ```
1437
+
1438
+ ### Parameters
1439
+
1440
+ | Name | Type | Description | Notes |
1441
+ | ---- | ---- | ----------- | ----- |
1442
+ | **tenant_id** | **String** | | |
1443
+ | **value** | **String** | | [optional] |
1444
+ | **sso** | **String** | | [optional] |
1445
+
1446
+ ### Return type
1447
+
1448
+ [**ModerationUserSearchResponse**](ModerationUserSearchResponse.md)
1449
+
1450
+ ### Authorization
1451
+
1452
+ No authorization required
1453
+
1454
+ ### HTTP request headers
1455
+
1456
+ - **Content-Type**: Not defined
1457
+ - **Accept**: application/json
1458
+
1459
+
1460
+ ## get_trust_factor
1461
+
1462
+ > <GetUserTrustFactorResponse> get_trust_factor(tenant_id, opts)
1463
+
1464
+
1465
+
1466
+ ### Examples
1467
+
1468
+ ```ruby
1469
+ require 'time'
1470
+ require 'fastcomments-client'
1471
+
1472
+ api_instance = FastCommentsClient::ModerationApi.new
1473
+ tenant_id = 'tenant_id_example' # String |
1474
+ opts = {
1475
+ user_id: 'user_id_example', # String |
1476
+ sso: 'sso_example' # String |
1477
+ }
1478
+
1479
+ begin
1480
+
1481
+ result = api_instance.get_trust_factor(tenant_id, opts)
1482
+ p result
1483
+ rescue FastCommentsClient::ApiError => e
1484
+ puts "Error when calling ModerationApi->get_trust_factor: #{e}"
1485
+ end
1486
+ ```
1487
+
1488
+ #### Using the get_trust_factor_with_http_info variant
1489
+
1490
+ This returns an Array which contains the response data, status code and headers.
1491
+
1492
+ > <Array(<GetUserTrustFactorResponse>, Integer, Hash)> get_trust_factor_with_http_info(tenant_id, opts)
1493
+
1494
+ ```ruby
1495
+ begin
1496
+
1497
+ data, status_code, headers = api_instance.get_trust_factor_with_http_info(tenant_id, opts)
1498
+ p status_code # => 2xx
1499
+ p headers # => { ... }
1500
+ p data # => <GetUserTrustFactorResponse>
1501
+ rescue FastCommentsClient::ApiError => e
1502
+ puts "Error when calling ModerationApi->get_trust_factor_with_http_info: #{e}"
1503
+ end
1504
+ ```
1505
+
1506
+ ### Parameters
1507
+
1508
+ | Name | Type | Description | Notes |
1509
+ | ---- | ---- | ----------- | ----- |
1510
+ | **tenant_id** | **String** | | |
1511
+ | **user_id** | **String** | | [optional] |
1512
+ | **sso** | **String** | | [optional] |
1513
+
1514
+ ### Return type
1515
+
1516
+ [**GetUserTrustFactorResponse**](GetUserTrustFactorResponse.md)
1517
+
1518
+ ### Authorization
1519
+
1520
+ No authorization required
1521
+
1522
+ ### HTTP request headers
1523
+
1524
+ - **Content-Type**: Not defined
1525
+ - **Accept**: application/json
1526
+
1527
+
1528
+ ## get_user_ban_preference
1529
+
1530
+ > <APIModerateGetUserBanPreferencesResponse> get_user_ban_preference(tenant_id, opts)
1531
+
1532
+
1533
+
1534
+ ### Examples
1535
+
1536
+ ```ruby
1537
+ require 'time'
1538
+ require 'fastcomments-client'
1539
+
1540
+ api_instance = FastCommentsClient::ModerationApi.new
1541
+ tenant_id = 'tenant_id_example' # String |
1542
+ opts = {
1543
+ sso: 'sso_example' # String |
1544
+ }
1545
+
1546
+ begin
1547
+
1548
+ result = api_instance.get_user_ban_preference(tenant_id, opts)
1549
+ p result
1550
+ rescue FastCommentsClient::ApiError => e
1551
+ puts "Error when calling ModerationApi->get_user_ban_preference: #{e}"
1552
+ end
1553
+ ```
1554
+
1555
+ #### Using the get_user_ban_preference_with_http_info variant
1556
+
1557
+ This returns an Array which contains the response data, status code and headers.
1558
+
1559
+ > <Array(<APIModerateGetUserBanPreferencesResponse>, Integer, Hash)> get_user_ban_preference_with_http_info(tenant_id, opts)
1560
+
1561
+ ```ruby
1562
+ begin
1563
+
1564
+ data, status_code, headers = api_instance.get_user_ban_preference_with_http_info(tenant_id, opts)
1565
+ p status_code # => 2xx
1566
+ p headers # => { ... }
1567
+ p data # => <APIModerateGetUserBanPreferencesResponse>
1568
+ rescue FastCommentsClient::ApiError => e
1569
+ puts "Error when calling ModerationApi->get_user_ban_preference_with_http_info: #{e}"
1570
+ end
1571
+ ```
1572
+
1573
+ ### Parameters
1574
+
1575
+ | Name | Type | Description | Notes |
1576
+ | ---- | ---- | ----------- | ----- |
1577
+ | **tenant_id** | **String** | | |
1578
+ | **sso** | **String** | | [optional] |
1579
+
1580
+ ### Return type
1581
+
1582
+ [**APIModerateGetUserBanPreferencesResponse**](APIModerateGetUserBanPreferencesResponse.md)
1583
+
1584
+ ### Authorization
1585
+
1586
+ No authorization required
1587
+
1588
+ ### HTTP request headers
1589
+
1590
+ - **Content-Type**: Not defined
1591
+ - **Accept**: application/json
1592
+
1593
+
1594
+ ## get_user_internal_profile
1595
+
1596
+ > <GetUserInternalProfileResponse> get_user_internal_profile(tenant_id, opts)
1597
+
1598
+
1599
+
1600
+ ### Examples
1601
+
1602
+ ```ruby
1603
+ require 'time'
1604
+ require 'fastcomments-client'
1605
+
1606
+ api_instance = FastCommentsClient::ModerationApi.new
1607
+ tenant_id = 'tenant_id_example' # String |
1608
+ opts = {
1609
+ comment_id: 'comment_id_example', # String |
1610
+ sso: 'sso_example' # String |
1611
+ }
1612
+
1613
+ begin
1614
+
1615
+ result = api_instance.get_user_internal_profile(tenant_id, opts)
1616
+ p result
1617
+ rescue FastCommentsClient::ApiError => e
1618
+ puts "Error when calling ModerationApi->get_user_internal_profile: #{e}"
1619
+ end
1620
+ ```
1621
+
1622
+ #### Using the get_user_internal_profile_with_http_info variant
1623
+
1624
+ This returns an Array which contains the response data, status code and headers.
1625
+
1626
+ > <Array(<GetUserInternalProfileResponse>, Integer, Hash)> get_user_internal_profile_with_http_info(tenant_id, opts)
1627
+
1628
+ ```ruby
1629
+ begin
1630
+
1631
+ data, status_code, headers = api_instance.get_user_internal_profile_with_http_info(tenant_id, opts)
1632
+ p status_code # => 2xx
1633
+ p headers # => { ... }
1634
+ p data # => <GetUserInternalProfileResponse>
1635
+ rescue FastCommentsClient::ApiError => e
1636
+ puts "Error when calling ModerationApi->get_user_internal_profile_with_http_info: #{e}"
1637
+ end
1638
+ ```
1639
+
1640
+ ### Parameters
1641
+
1642
+ | Name | Type | Description | Notes |
1643
+ | ---- | ---- | ----------- | ----- |
1644
+ | **tenant_id** | **String** | | |
1645
+ | **comment_id** | **String** | | [optional] |
1646
+ | **sso** | **String** | | [optional] |
1647
+
1648
+ ### Return type
1649
+
1650
+ [**GetUserInternalProfileResponse**](GetUserInternalProfileResponse.md)
1651
+
1652
+ ### Authorization
1653
+
1654
+ No authorization required
1655
+
1656
+ ### HTTP request headers
1657
+
1658
+ - **Content-Type**: Not defined
1659
+ - **Accept**: application/json
1660
+
1661
+
1662
+ ## post_adjust_comment_votes
1663
+
1664
+ > <AdjustVotesResponse> post_adjust_comment_votes(tenant_id, comment_id, adjust_comment_votes_params, opts)
1665
+
1666
+
1667
+
1668
+ ### Examples
1669
+
1670
+ ```ruby
1671
+ require 'time'
1672
+ require 'fastcomments-client'
1673
+
1674
+ api_instance = FastCommentsClient::ModerationApi.new
1675
+ tenant_id = 'tenant_id_example' # String |
1676
+ comment_id = 'comment_id_example' # String |
1677
+ adjust_comment_votes_params = FastCommentsClient::AdjustCommentVotesParams.new({adjust_vote_amount: 3.56}) # AdjustCommentVotesParams |
1678
+ opts = {
1679
+ broadcast_id: 'broadcast_id_example', # String |
1680
+ sso: 'sso_example' # String |
1681
+ }
1682
+
1683
+ begin
1684
+
1685
+ result = api_instance.post_adjust_comment_votes(tenant_id, comment_id, adjust_comment_votes_params, opts)
1686
+ p result
1687
+ rescue FastCommentsClient::ApiError => e
1688
+ puts "Error when calling ModerationApi->post_adjust_comment_votes: #{e}"
1689
+ end
1690
+ ```
1691
+
1692
+ #### Using the post_adjust_comment_votes_with_http_info variant
1693
+
1694
+ This returns an Array which contains the response data, status code and headers.
1695
+
1696
+ > <Array(<AdjustVotesResponse>, Integer, Hash)> post_adjust_comment_votes_with_http_info(tenant_id, comment_id, adjust_comment_votes_params, opts)
1697
+
1698
+ ```ruby
1699
+ begin
1700
+
1701
+ data, status_code, headers = api_instance.post_adjust_comment_votes_with_http_info(tenant_id, comment_id, adjust_comment_votes_params, opts)
1702
+ p status_code # => 2xx
1703
+ p headers # => { ... }
1704
+ p data # => <AdjustVotesResponse>
1705
+ rescue FastCommentsClient::ApiError => e
1706
+ puts "Error when calling ModerationApi->post_adjust_comment_votes_with_http_info: #{e}"
1707
+ end
1708
+ ```
1709
+
1710
+ ### Parameters
1711
+
1712
+ | Name | Type | Description | Notes |
1713
+ | ---- | ---- | ----------- | ----- |
1714
+ | **tenant_id** | **String** | | |
1715
+ | **comment_id** | **String** | | |
1716
+ | **adjust_comment_votes_params** | [**AdjustCommentVotesParams**](AdjustCommentVotesParams.md) | | |
1717
+ | **broadcast_id** | **String** | | [optional] |
1718
+ | **sso** | **String** | | [optional] |
1719
+
1720
+ ### Return type
1721
+
1722
+ [**AdjustVotesResponse**](AdjustVotesResponse.md)
1723
+
1724
+ ### Authorization
1725
+
1726
+ No authorization required
1727
+
1728
+ ### HTTP request headers
1729
+
1730
+ - **Content-Type**: application/json
1731
+ - **Accept**: application/json
1732
+
1733
+
1734
+ ## post_api_export
1735
+
1736
+ > <ModerationExportResponse> post_api_export(tenant_id, opts)
1737
+
1738
+
1739
+
1740
+ ### Examples
1741
+
1742
+ ```ruby
1743
+ require 'time'
1744
+ require 'fastcomments-client'
1745
+
1746
+ api_instance = FastCommentsClient::ModerationApi.new
1747
+ tenant_id = 'tenant_id_example' # String |
1748
+ opts = {
1749
+ text_search: 'text_search_example', # String |
1750
+ by_ip_from_comment: 'by_ip_from_comment_example', # String |
1751
+ filters: 'filters_example', # String |
1752
+ search_filters: 'search_filters_example', # String |
1753
+ sorts: 'sorts_example', # String |
1754
+ sso: 'sso_example' # String |
1755
+ }
1756
+
1757
+ begin
1758
+
1759
+ result = api_instance.post_api_export(tenant_id, opts)
1760
+ p result
1761
+ rescue FastCommentsClient::ApiError => e
1762
+ puts "Error when calling ModerationApi->post_api_export: #{e}"
1763
+ end
1764
+ ```
1765
+
1766
+ #### Using the post_api_export_with_http_info variant
1767
+
1768
+ This returns an Array which contains the response data, status code and headers.
1769
+
1770
+ > <Array(<ModerationExportResponse>, Integer, Hash)> post_api_export_with_http_info(tenant_id, opts)
1771
+
1772
+ ```ruby
1773
+ begin
1774
+
1775
+ data, status_code, headers = api_instance.post_api_export_with_http_info(tenant_id, opts)
1776
+ p status_code # => 2xx
1777
+ p headers # => { ... }
1778
+ p data # => <ModerationExportResponse>
1779
+ rescue FastCommentsClient::ApiError => e
1780
+ puts "Error when calling ModerationApi->post_api_export_with_http_info: #{e}"
1781
+ end
1782
+ ```
1783
+
1784
+ ### Parameters
1785
+
1786
+ | Name | Type | Description | Notes |
1787
+ | ---- | ---- | ----------- | ----- |
1788
+ | **tenant_id** | **String** | | |
1789
+ | **text_search** | **String** | | [optional] |
1790
+ | **by_ip_from_comment** | **String** | | [optional] |
1791
+ | **filters** | **String** | | [optional] |
1792
+ | **search_filters** | **String** | | [optional] |
1793
+ | **sorts** | **String** | | [optional] |
1794
+ | **sso** | **String** | | [optional] |
1795
+
1796
+ ### Return type
1797
+
1798
+ [**ModerationExportResponse**](ModerationExportResponse.md)
1799
+
1800
+ ### Authorization
1801
+
1802
+ No authorization required
1803
+
1804
+ ### HTTP request headers
1805
+
1806
+ - **Content-Type**: Not defined
1807
+ - **Accept**: application/json
1808
+
1809
+
1810
+ ## post_ban_user_from_comment
1811
+
1812
+ > <BanUserFromCommentResult> post_ban_user_from_comment(tenant_id, comment_id, opts)
1813
+
1814
+
1815
+
1816
+ ### Examples
1817
+
1818
+ ```ruby
1819
+ require 'time'
1820
+ require 'fastcomments-client'
1821
+
1822
+ api_instance = FastCommentsClient::ModerationApi.new
1823
+ tenant_id = 'tenant_id_example' # String |
1824
+ comment_id = 'comment_id_example' # String |
1825
+ opts = {
1826
+ ban_email: true, # Boolean |
1827
+ ban_email_domain: true, # Boolean |
1828
+ ban_ip: true, # Boolean |
1829
+ delete_all_users_comments: true, # Boolean |
1830
+ banned_until: 'banned_until_example', # String |
1831
+ is_shadow_ban: true, # Boolean |
1832
+ update_id: 'update_id_example', # String |
1833
+ ban_reason: 'ban_reason_example', # String |
1834
+ sso: 'sso_example' # String |
1835
+ }
1836
+
1837
+ begin
1838
+
1839
+ result = api_instance.post_ban_user_from_comment(tenant_id, comment_id, opts)
1840
+ p result
1841
+ rescue FastCommentsClient::ApiError => e
1842
+ puts "Error when calling ModerationApi->post_ban_user_from_comment: #{e}"
1843
+ end
1844
+ ```
1845
+
1846
+ #### Using the post_ban_user_from_comment_with_http_info variant
1847
+
1848
+ This returns an Array which contains the response data, status code and headers.
1849
+
1850
+ > <Array(<BanUserFromCommentResult>, Integer, Hash)> post_ban_user_from_comment_with_http_info(tenant_id, comment_id, opts)
1851
+
1852
+ ```ruby
1853
+ begin
1854
+
1855
+ data, status_code, headers = api_instance.post_ban_user_from_comment_with_http_info(tenant_id, comment_id, opts)
1856
+ p status_code # => 2xx
1857
+ p headers # => { ... }
1858
+ p data # => <BanUserFromCommentResult>
1859
+ rescue FastCommentsClient::ApiError => e
1860
+ puts "Error when calling ModerationApi->post_ban_user_from_comment_with_http_info: #{e}"
1861
+ end
1862
+ ```
1863
+
1864
+ ### Parameters
1865
+
1866
+ | Name | Type | Description | Notes |
1867
+ | ---- | ---- | ----------- | ----- |
1868
+ | **tenant_id** | **String** | | |
1869
+ | **comment_id** | **String** | | |
1870
+ | **ban_email** | **Boolean** | | [optional] |
1871
+ | **ban_email_domain** | **Boolean** | | [optional] |
1872
+ | **ban_ip** | **Boolean** | | [optional] |
1873
+ | **delete_all_users_comments** | **Boolean** | | [optional] |
1874
+ | **banned_until** | **String** | | [optional] |
1875
+ | **is_shadow_ban** | **Boolean** | | [optional] |
1876
+ | **update_id** | **String** | | [optional] |
1877
+ | **ban_reason** | **String** | | [optional] |
1878
+ | **sso** | **String** | | [optional] |
1879
+
1880
+ ### Return type
1881
+
1882
+ [**BanUserFromCommentResult**](BanUserFromCommentResult.md)
1883
+
1884
+ ### Authorization
1885
+
1886
+ No authorization required
1887
+
1888
+ ### HTTP request headers
1889
+
1890
+ - **Content-Type**: Not defined
1891
+ - **Accept**: application/json
1892
+
1893
+
1894
+ ## post_ban_user_undo
1895
+
1896
+ > <APIEmptyResponse> post_ban_user_undo(tenant_id, ban_user_undo_params, opts)
1897
+
1898
+
1899
+
1900
+ ### Examples
1901
+
1902
+ ```ruby
1903
+ require 'time'
1904
+ require 'fastcomments-client'
1905
+
1906
+ api_instance = FastCommentsClient::ModerationApi.new
1907
+ tenant_id = 'tenant_id_example' # String |
1908
+ ban_user_undo_params = FastCommentsClient::BanUserUndoParams.new({changelog: FastCommentsClient::APIBanUserChangeLog.new}) # BanUserUndoParams |
1909
+ opts = {
1910
+ sso: 'sso_example' # String |
1911
+ }
1912
+
1913
+ begin
1914
+
1915
+ result = api_instance.post_ban_user_undo(tenant_id, ban_user_undo_params, opts)
1916
+ p result
1917
+ rescue FastCommentsClient::ApiError => e
1918
+ puts "Error when calling ModerationApi->post_ban_user_undo: #{e}"
1919
+ end
1920
+ ```
1921
+
1922
+ #### Using the post_ban_user_undo_with_http_info variant
1923
+
1924
+ This returns an Array which contains the response data, status code and headers.
1925
+
1926
+ > <Array(<APIEmptyResponse>, Integer, Hash)> post_ban_user_undo_with_http_info(tenant_id, ban_user_undo_params, opts)
1927
+
1928
+ ```ruby
1929
+ begin
1930
+
1931
+ data, status_code, headers = api_instance.post_ban_user_undo_with_http_info(tenant_id, ban_user_undo_params, opts)
1932
+ p status_code # => 2xx
1933
+ p headers # => { ... }
1934
+ p data # => <APIEmptyResponse>
1935
+ rescue FastCommentsClient::ApiError => e
1936
+ puts "Error when calling ModerationApi->post_ban_user_undo_with_http_info: #{e}"
1937
+ end
1938
+ ```
1939
+
1940
+ ### Parameters
1941
+
1942
+ | Name | Type | Description | Notes |
1943
+ | ---- | ---- | ----------- | ----- |
1944
+ | **tenant_id** | **String** | | |
1945
+ | **ban_user_undo_params** | [**BanUserUndoParams**](BanUserUndoParams.md) | | |
1946
+ | **sso** | **String** | | [optional] |
1947
+
1948
+ ### Return type
1949
+
1950
+ [**APIEmptyResponse**](APIEmptyResponse.md)
1951
+
1952
+ ### Authorization
1953
+
1954
+ No authorization required
1955
+
1956
+ ### HTTP request headers
1957
+
1958
+ - **Content-Type**: application/json
1959
+ - **Accept**: application/json
1960
+
1961
+
1962
+ ## post_bulk_pre_ban_summary
1963
+
1964
+ > <BulkPreBanSummary> post_bulk_pre_ban_summary(tenant_id, bulk_pre_ban_params, opts)
1965
+
1966
+
1967
+
1968
+ ### Examples
1969
+
1970
+ ```ruby
1971
+ require 'time'
1972
+ require 'fastcomments-client'
1973
+
1974
+ api_instance = FastCommentsClient::ModerationApi.new
1975
+ tenant_id = 'tenant_id_example' # String |
1976
+ bulk_pre_ban_params = FastCommentsClient::BulkPreBanParams.new({comment_ids: ['comment_ids_example']}) # BulkPreBanParams |
1977
+ opts = {
1978
+ include_by_user_id_and_email: true, # Boolean |
1979
+ include_by_ip: true, # Boolean |
1980
+ include_by_email_domain: true, # Boolean |
1981
+ sso: 'sso_example' # String |
1982
+ }
1983
+
1984
+ begin
1985
+
1986
+ result = api_instance.post_bulk_pre_ban_summary(tenant_id, bulk_pre_ban_params, opts)
1987
+ p result
1988
+ rescue FastCommentsClient::ApiError => e
1989
+ puts "Error when calling ModerationApi->post_bulk_pre_ban_summary: #{e}"
1990
+ end
1991
+ ```
1992
+
1993
+ #### Using the post_bulk_pre_ban_summary_with_http_info variant
1994
+
1995
+ This returns an Array which contains the response data, status code and headers.
1996
+
1997
+ > <Array(<BulkPreBanSummary>, Integer, Hash)> post_bulk_pre_ban_summary_with_http_info(tenant_id, bulk_pre_ban_params, opts)
1998
+
1999
+ ```ruby
2000
+ begin
2001
+
2002
+ data, status_code, headers = api_instance.post_bulk_pre_ban_summary_with_http_info(tenant_id, bulk_pre_ban_params, opts)
2003
+ p status_code # => 2xx
2004
+ p headers # => { ... }
2005
+ p data # => <BulkPreBanSummary>
2006
+ rescue FastCommentsClient::ApiError => e
2007
+ puts "Error when calling ModerationApi->post_bulk_pre_ban_summary_with_http_info: #{e}"
2008
+ end
2009
+ ```
2010
+
2011
+ ### Parameters
2012
+
2013
+ | Name | Type | Description | Notes |
2014
+ | ---- | ---- | ----------- | ----- |
2015
+ | **tenant_id** | **String** | | |
2016
+ | **bulk_pre_ban_params** | [**BulkPreBanParams**](BulkPreBanParams.md) | | |
2017
+ | **include_by_user_id_and_email** | **Boolean** | | [optional] |
2018
+ | **include_by_ip** | **Boolean** | | [optional] |
2019
+ | **include_by_email_domain** | **Boolean** | | [optional] |
2020
+ | **sso** | **String** | | [optional] |
2021
+
2022
+ ### Return type
2023
+
2024
+ [**BulkPreBanSummary**](BulkPreBanSummary.md)
2025
+
2026
+ ### Authorization
2027
+
2028
+ No authorization required
2029
+
2030
+ ### HTTP request headers
2031
+
2032
+ - **Content-Type**: application/json
2033
+ - **Accept**: application/json
2034
+
2035
+
2036
+ ## post_comments_by_ids
2037
+
2038
+ > <ModerationAPIChildCommentsResponse> post_comments_by_ids(tenant_id, comments_by_ids_params, opts)
2039
+
2040
+
2041
+
2042
+ ### Examples
2043
+
2044
+ ```ruby
2045
+ require 'time'
2046
+ require 'fastcomments-client'
2047
+
2048
+ api_instance = FastCommentsClient::ModerationApi.new
2049
+ tenant_id = 'tenant_id_example' # String |
2050
+ comments_by_ids_params = FastCommentsClient::CommentsByIdsParams.new({ids: ['ids_example']}) # CommentsByIdsParams |
2051
+ opts = {
2052
+ sso: 'sso_example' # String |
2053
+ }
2054
+
2055
+ begin
2056
+
2057
+ result = api_instance.post_comments_by_ids(tenant_id, comments_by_ids_params, opts)
2058
+ p result
2059
+ rescue FastCommentsClient::ApiError => e
2060
+ puts "Error when calling ModerationApi->post_comments_by_ids: #{e}"
2061
+ end
2062
+ ```
2063
+
2064
+ #### Using the post_comments_by_ids_with_http_info variant
2065
+
2066
+ This returns an Array which contains the response data, status code and headers.
2067
+
2068
+ > <Array(<ModerationAPIChildCommentsResponse>, Integer, Hash)> post_comments_by_ids_with_http_info(tenant_id, comments_by_ids_params, opts)
2069
+
2070
+ ```ruby
2071
+ begin
2072
+
2073
+ data, status_code, headers = api_instance.post_comments_by_ids_with_http_info(tenant_id, comments_by_ids_params, opts)
2074
+ p status_code # => 2xx
2075
+ p headers # => { ... }
2076
+ p data # => <ModerationAPIChildCommentsResponse>
2077
+ rescue FastCommentsClient::ApiError => e
2078
+ puts "Error when calling ModerationApi->post_comments_by_ids_with_http_info: #{e}"
2079
+ end
2080
+ ```
2081
+
2082
+ ### Parameters
2083
+
2084
+ | Name | Type | Description | Notes |
2085
+ | ---- | ---- | ----------- | ----- |
2086
+ | **tenant_id** | **String** | | |
2087
+ | **comments_by_ids_params** | [**CommentsByIdsParams**](CommentsByIdsParams.md) | | |
2088
+ | **sso** | **String** | | [optional] |
2089
+
2090
+ ### Return type
2091
+
2092
+ [**ModerationAPIChildCommentsResponse**](ModerationAPIChildCommentsResponse.md)
2093
+
2094
+ ### Authorization
2095
+
2096
+ No authorization required
2097
+
2098
+ ### HTTP request headers
2099
+
2100
+ - **Content-Type**: application/json
2101
+ - **Accept**: application/json
2102
+
2103
+
2104
+ ## post_flag_comment
2105
+
2106
+ > <APIEmptyResponse> post_flag_comment(tenant_id, comment_id, opts)
2107
+
2108
+
2109
+
2110
+ ### Examples
2111
+
2112
+ ```ruby
2113
+ require 'time'
2114
+ require 'fastcomments-client'
2115
+
2116
+ api_instance = FastCommentsClient::ModerationApi.new
2117
+ tenant_id = 'tenant_id_example' # String |
2118
+ comment_id = 'comment_id_example' # String |
2119
+ opts = {
2120
+ broadcast_id: 'broadcast_id_example', # String |
2121
+ sso: 'sso_example' # String |
2122
+ }
2123
+
2124
+ begin
2125
+
2126
+ result = api_instance.post_flag_comment(tenant_id, comment_id, opts)
2127
+ p result
2128
+ rescue FastCommentsClient::ApiError => e
2129
+ puts "Error when calling ModerationApi->post_flag_comment: #{e}"
2130
+ end
2131
+ ```
2132
+
2133
+ #### Using the post_flag_comment_with_http_info variant
2134
+
2135
+ This returns an Array which contains the response data, status code and headers.
2136
+
2137
+ > <Array(<APIEmptyResponse>, Integer, Hash)> post_flag_comment_with_http_info(tenant_id, comment_id, opts)
2138
+
2139
+ ```ruby
2140
+ begin
2141
+
2142
+ data, status_code, headers = api_instance.post_flag_comment_with_http_info(tenant_id, comment_id, opts)
2143
+ p status_code # => 2xx
2144
+ p headers # => { ... }
2145
+ p data # => <APIEmptyResponse>
2146
+ rescue FastCommentsClient::ApiError => e
2147
+ puts "Error when calling ModerationApi->post_flag_comment_with_http_info: #{e}"
2148
+ end
2149
+ ```
2150
+
2151
+ ### Parameters
2152
+
2153
+ | Name | Type | Description | Notes |
2154
+ | ---- | ---- | ----------- | ----- |
2155
+ | **tenant_id** | **String** | | |
2156
+ | **comment_id** | **String** | | |
2157
+ | **broadcast_id** | **String** | | [optional] |
2158
+ | **sso** | **String** | | [optional] |
2159
+
2160
+ ### Return type
2161
+
2162
+ [**APIEmptyResponse**](APIEmptyResponse.md)
2163
+
2164
+ ### Authorization
2165
+
2166
+ No authorization required
2167
+
2168
+ ### HTTP request headers
2169
+
2170
+ - **Content-Type**: Not defined
2171
+ - **Accept**: application/json
2172
+
2173
+
2174
+ ## post_remove_comment
2175
+
2176
+ > <PostRemoveCommentApiResponse> post_remove_comment(tenant_id, comment_id, opts)
2177
+
2178
+
2179
+
2180
+ ### Examples
2181
+
2182
+ ```ruby
2183
+ require 'time'
2184
+ require 'fastcomments-client'
2185
+
2186
+ api_instance = FastCommentsClient::ModerationApi.new
2187
+ tenant_id = 'tenant_id_example' # String |
2188
+ comment_id = 'comment_id_example' # String |
2189
+ opts = {
2190
+ broadcast_id: 'broadcast_id_example', # String |
2191
+ sso: 'sso_example' # String |
2192
+ }
2193
+
2194
+ begin
2195
+
2196
+ result = api_instance.post_remove_comment(tenant_id, comment_id, opts)
2197
+ p result
2198
+ rescue FastCommentsClient::ApiError => e
2199
+ puts "Error when calling ModerationApi->post_remove_comment: #{e}"
2200
+ end
2201
+ ```
2202
+
2203
+ #### Using the post_remove_comment_with_http_info variant
2204
+
2205
+ This returns an Array which contains the response data, status code and headers.
2206
+
2207
+ > <Array(<PostRemoveCommentApiResponse>, Integer, Hash)> post_remove_comment_with_http_info(tenant_id, comment_id, opts)
2208
+
2209
+ ```ruby
2210
+ begin
2211
+
2212
+ data, status_code, headers = api_instance.post_remove_comment_with_http_info(tenant_id, comment_id, opts)
2213
+ p status_code # => 2xx
2214
+ p headers # => { ... }
2215
+ p data # => <PostRemoveCommentApiResponse>
2216
+ rescue FastCommentsClient::ApiError => e
2217
+ puts "Error when calling ModerationApi->post_remove_comment_with_http_info: #{e}"
2218
+ end
2219
+ ```
2220
+
2221
+ ### Parameters
2222
+
2223
+ | Name | Type | Description | Notes |
2224
+ | ---- | ---- | ----------- | ----- |
2225
+ | **tenant_id** | **String** | | |
2226
+ | **comment_id** | **String** | | |
2227
+ | **broadcast_id** | **String** | | [optional] |
2228
+ | **sso** | **String** | | [optional] |
2229
+
2230
+ ### Return type
2231
+
2232
+ [**PostRemoveCommentApiResponse**](PostRemoveCommentApiResponse.md)
2233
+
2234
+ ### Authorization
2235
+
2236
+ No authorization required
2237
+
2238
+ ### HTTP request headers
2239
+
2240
+ - **Content-Type**: Not defined
2241
+ - **Accept**: application/json
2242
+
2243
+
2244
+ ## post_restore_deleted_comment
2245
+
2246
+ > <APIEmptyResponse> post_restore_deleted_comment(tenant_id, comment_id, opts)
2247
+
2248
+
2249
+
2250
+ ### Examples
2251
+
2252
+ ```ruby
2253
+ require 'time'
2254
+ require 'fastcomments-client'
2255
+
2256
+ api_instance = FastCommentsClient::ModerationApi.new
2257
+ tenant_id = 'tenant_id_example' # String |
2258
+ comment_id = 'comment_id_example' # String |
2259
+ opts = {
2260
+ broadcast_id: 'broadcast_id_example', # String |
2261
+ sso: 'sso_example' # String |
2262
+ }
2263
+
2264
+ begin
2265
+
2266
+ result = api_instance.post_restore_deleted_comment(tenant_id, comment_id, opts)
2267
+ p result
2268
+ rescue FastCommentsClient::ApiError => e
2269
+ puts "Error when calling ModerationApi->post_restore_deleted_comment: #{e}"
2270
+ end
2271
+ ```
2272
+
2273
+ #### Using the post_restore_deleted_comment_with_http_info variant
2274
+
2275
+ This returns an Array which contains the response data, status code and headers.
2276
+
2277
+ > <Array(<APIEmptyResponse>, Integer, Hash)> post_restore_deleted_comment_with_http_info(tenant_id, comment_id, opts)
2278
+
2279
+ ```ruby
2280
+ begin
2281
+
2282
+ data, status_code, headers = api_instance.post_restore_deleted_comment_with_http_info(tenant_id, comment_id, opts)
2283
+ p status_code # => 2xx
2284
+ p headers # => { ... }
2285
+ p data # => <APIEmptyResponse>
2286
+ rescue FastCommentsClient::ApiError => e
2287
+ puts "Error when calling ModerationApi->post_restore_deleted_comment_with_http_info: #{e}"
2288
+ end
2289
+ ```
2290
+
2291
+ ### Parameters
2292
+
2293
+ | Name | Type | Description | Notes |
2294
+ | ---- | ---- | ----------- | ----- |
2295
+ | **tenant_id** | **String** | | |
2296
+ | **comment_id** | **String** | | |
2297
+ | **broadcast_id** | **String** | | [optional] |
2298
+ | **sso** | **String** | | [optional] |
2299
+
2300
+ ### Return type
2301
+
2302
+ [**APIEmptyResponse**](APIEmptyResponse.md)
2303
+
2304
+ ### Authorization
2305
+
2306
+ No authorization required
2307
+
2308
+ ### HTTP request headers
2309
+
2310
+ - **Content-Type**: Not defined
2311
+ - **Accept**: application/json
2312
+
2313
+
2314
+ ## post_set_comment_approval_status
2315
+
2316
+ > <SetCommentApprovedResponse> post_set_comment_approval_status(tenant_id, comment_id, opts)
2317
+
2318
+
2319
+
2320
+ ### Examples
2321
+
2322
+ ```ruby
2323
+ require 'time'
2324
+ require 'fastcomments-client'
2325
+
2326
+ api_instance = FastCommentsClient::ModerationApi.new
2327
+ tenant_id = 'tenant_id_example' # String |
2328
+ comment_id = 'comment_id_example' # String |
2329
+ opts = {
2330
+ approved: true, # Boolean |
2331
+ broadcast_id: 'broadcast_id_example', # String |
2332
+ sso: 'sso_example' # String |
2333
+ }
2334
+
2335
+ begin
2336
+
2337
+ result = api_instance.post_set_comment_approval_status(tenant_id, comment_id, opts)
2338
+ p result
2339
+ rescue FastCommentsClient::ApiError => e
2340
+ puts "Error when calling ModerationApi->post_set_comment_approval_status: #{e}"
2341
+ end
2342
+ ```
2343
+
2344
+ #### Using the post_set_comment_approval_status_with_http_info variant
2345
+
2346
+ This returns an Array which contains the response data, status code and headers.
2347
+
2348
+ > <Array(<SetCommentApprovedResponse>, Integer, Hash)> post_set_comment_approval_status_with_http_info(tenant_id, comment_id, opts)
2349
+
2350
+ ```ruby
2351
+ begin
2352
+
2353
+ data, status_code, headers = api_instance.post_set_comment_approval_status_with_http_info(tenant_id, comment_id, opts)
2354
+ p status_code # => 2xx
2355
+ p headers # => { ... }
2356
+ p data # => <SetCommentApprovedResponse>
2357
+ rescue FastCommentsClient::ApiError => e
2358
+ puts "Error when calling ModerationApi->post_set_comment_approval_status_with_http_info: #{e}"
2359
+ end
2360
+ ```
2361
+
2362
+ ### Parameters
2363
+
2364
+ | Name | Type | Description | Notes |
2365
+ | ---- | ---- | ----------- | ----- |
2366
+ | **tenant_id** | **String** | | |
2367
+ | **comment_id** | **String** | | |
2368
+ | **approved** | **Boolean** | | [optional] |
2369
+ | **broadcast_id** | **String** | | [optional] |
2370
+ | **sso** | **String** | | [optional] |
2371
+
2372
+ ### Return type
2373
+
2374
+ [**SetCommentApprovedResponse**](SetCommentApprovedResponse.md)
2375
+
2376
+ ### Authorization
2377
+
2378
+ No authorization required
2379
+
2380
+ ### HTTP request headers
2381
+
2382
+ - **Content-Type**: Not defined
2383
+ - **Accept**: application/json
2384
+
2385
+
2386
+ ## post_set_comment_review_status
2387
+
2388
+ > <APIEmptyResponse> post_set_comment_review_status(tenant_id, comment_id, opts)
2389
+
2390
+
2391
+
2392
+ ### Examples
2393
+
2394
+ ```ruby
2395
+ require 'time'
2396
+ require 'fastcomments-client'
2397
+
2398
+ api_instance = FastCommentsClient::ModerationApi.new
2399
+ tenant_id = 'tenant_id_example' # String |
2400
+ comment_id = 'comment_id_example' # String |
2401
+ opts = {
2402
+ reviewed: true, # Boolean |
2403
+ broadcast_id: 'broadcast_id_example', # String |
2404
+ sso: 'sso_example' # String |
2405
+ }
2406
+
2407
+ begin
2408
+
2409
+ result = api_instance.post_set_comment_review_status(tenant_id, comment_id, opts)
2410
+ p result
2411
+ rescue FastCommentsClient::ApiError => e
2412
+ puts "Error when calling ModerationApi->post_set_comment_review_status: #{e}"
2413
+ end
2414
+ ```
2415
+
2416
+ #### Using the post_set_comment_review_status_with_http_info variant
2417
+
2418
+ This returns an Array which contains the response data, status code and headers.
2419
+
2420
+ > <Array(<APIEmptyResponse>, Integer, Hash)> post_set_comment_review_status_with_http_info(tenant_id, comment_id, opts)
2421
+
2422
+ ```ruby
2423
+ begin
2424
+
2425
+ data, status_code, headers = api_instance.post_set_comment_review_status_with_http_info(tenant_id, comment_id, opts)
2426
+ p status_code # => 2xx
2427
+ p headers # => { ... }
2428
+ p data # => <APIEmptyResponse>
2429
+ rescue FastCommentsClient::ApiError => e
2430
+ puts "Error when calling ModerationApi->post_set_comment_review_status_with_http_info: #{e}"
2431
+ end
2432
+ ```
2433
+
2434
+ ### Parameters
2435
+
2436
+ | Name | Type | Description | Notes |
2437
+ | ---- | ---- | ----------- | ----- |
2438
+ | **tenant_id** | **String** | | |
2439
+ | **comment_id** | **String** | | |
2440
+ | **reviewed** | **Boolean** | | [optional] |
2441
+ | **broadcast_id** | **String** | | [optional] |
2442
+ | **sso** | **String** | | [optional] |
2443
+
2444
+ ### Return type
2445
+
2446
+ [**APIEmptyResponse**](APIEmptyResponse.md)
2447
+
2448
+ ### Authorization
2449
+
2450
+ No authorization required
2451
+
2452
+ ### HTTP request headers
2453
+
2454
+ - **Content-Type**: Not defined
2455
+ - **Accept**: application/json
2456
+
2457
+
2458
+ ## post_set_comment_spam_status
2459
+
2460
+ > <APIEmptyResponse> post_set_comment_spam_status(tenant_id, comment_id, opts)
2461
+
2462
+
2463
+
2464
+ ### Examples
2465
+
2466
+ ```ruby
2467
+ require 'time'
2468
+ require 'fastcomments-client'
2469
+
2470
+ api_instance = FastCommentsClient::ModerationApi.new
2471
+ tenant_id = 'tenant_id_example' # String |
2472
+ comment_id = 'comment_id_example' # String |
2473
+ opts = {
2474
+ spam: true, # Boolean |
2475
+ perm_not_spam: true, # Boolean |
2476
+ broadcast_id: 'broadcast_id_example', # String |
2477
+ sso: 'sso_example' # String |
2478
+ }
2479
+
2480
+ begin
2481
+
2482
+ result = api_instance.post_set_comment_spam_status(tenant_id, comment_id, opts)
2483
+ p result
2484
+ rescue FastCommentsClient::ApiError => e
2485
+ puts "Error when calling ModerationApi->post_set_comment_spam_status: #{e}"
2486
+ end
2487
+ ```
2488
+
2489
+ #### Using the post_set_comment_spam_status_with_http_info variant
2490
+
2491
+ This returns an Array which contains the response data, status code and headers.
2492
+
2493
+ > <Array(<APIEmptyResponse>, Integer, Hash)> post_set_comment_spam_status_with_http_info(tenant_id, comment_id, opts)
2494
+
2495
+ ```ruby
2496
+ begin
2497
+
2498
+ data, status_code, headers = api_instance.post_set_comment_spam_status_with_http_info(tenant_id, comment_id, opts)
2499
+ p status_code # => 2xx
2500
+ p headers # => { ... }
2501
+ p data # => <APIEmptyResponse>
2502
+ rescue FastCommentsClient::ApiError => e
2503
+ puts "Error when calling ModerationApi->post_set_comment_spam_status_with_http_info: #{e}"
2504
+ end
2505
+ ```
2506
+
2507
+ ### Parameters
2508
+
2509
+ | Name | Type | Description | Notes |
2510
+ | ---- | ---- | ----------- | ----- |
2511
+ | **tenant_id** | **String** | | |
2512
+ | **comment_id** | **String** | | |
2513
+ | **spam** | **Boolean** | | [optional] |
2514
+ | **perm_not_spam** | **Boolean** | | [optional] |
2515
+ | **broadcast_id** | **String** | | [optional] |
2516
+ | **sso** | **String** | | [optional] |
2517
+
2518
+ ### Return type
2519
+
2520
+ [**APIEmptyResponse**](APIEmptyResponse.md)
2521
+
2522
+ ### Authorization
2523
+
2524
+ No authorization required
2525
+
2526
+ ### HTTP request headers
2527
+
2528
+ - **Content-Type**: Not defined
2529
+ - **Accept**: application/json
2530
+
2531
+
2532
+ ## post_set_comment_text
2533
+
2534
+ > <SetCommentTextResponse> post_set_comment_text(tenant_id, comment_id, set_comment_text_params, opts)
2535
+
2536
+
2537
+
2538
+ ### Examples
2539
+
2540
+ ```ruby
2541
+ require 'time'
2542
+ require 'fastcomments-client'
2543
+
2544
+ api_instance = FastCommentsClient::ModerationApi.new
2545
+ tenant_id = 'tenant_id_example' # String |
2546
+ comment_id = 'comment_id_example' # String |
2547
+ set_comment_text_params = FastCommentsClient::SetCommentTextParams.new({comment: 'comment_example'}) # SetCommentTextParams |
2548
+ opts = {
2549
+ broadcast_id: 'broadcast_id_example', # String |
2550
+ sso: 'sso_example' # String |
2551
+ }
2552
+
2553
+ begin
2554
+
2555
+ result = api_instance.post_set_comment_text(tenant_id, comment_id, set_comment_text_params, opts)
2556
+ p result
2557
+ rescue FastCommentsClient::ApiError => e
2558
+ puts "Error when calling ModerationApi->post_set_comment_text: #{e}"
2559
+ end
2560
+ ```
2561
+
2562
+ #### Using the post_set_comment_text_with_http_info variant
2563
+
2564
+ This returns an Array which contains the response data, status code and headers.
2565
+
2566
+ > <Array(<SetCommentTextResponse>, Integer, Hash)> post_set_comment_text_with_http_info(tenant_id, comment_id, set_comment_text_params, opts)
2567
+
2568
+ ```ruby
2569
+ begin
2570
+
2571
+ data, status_code, headers = api_instance.post_set_comment_text_with_http_info(tenant_id, comment_id, set_comment_text_params, opts)
2572
+ p status_code # => 2xx
2573
+ p headers # => { ... }
2574
+ p data # => <SetCommentTextResponse>
2575
+ rescue FastCommentsClient::ApiError => e
2576
+ puts "Error when calling ModerationApi->post_set_comment_text_with_http_info: #{e}"
2577
+ end
2578
+ ```
2579
+
2580
+ ### Parameters
2581
+
2582
+ | Name | Type | Description | Notes |
2583
+ | ---- | ---- | ----------- | ----- |
2584
+ | **tenant_id** | **String** | | |
2585
+ | **comment_id** | **String** | | |
2586
+ | **set_comment_text_params** | [**SetCommentTextParams**](SetCommentTextParams.md) | | |
2587
+ | **broadcast_id** | **String** | | [optional] |
2588
+ | **sso** | **String** | | [optional] |
2589
+
2590
+ ### Return type
2591
+
2592
+ [**SetCommentTextResponse**](SetCommentTextResponse.md)
2593
+
2594
+ ### Authorization
2595
+
2596
+ No authorization required
2597
+
2598
+ ### HTTP request headers
2599
+
2600
+ - **Content-Type**: application/json
2601
+ - **Accept**: application/json
2602
+
2603
+
2604
+ ## post_un_flag_comment
2605
+
2606
+ > <APIEmptyResponse> post_un_flag_comment(tenant_id, comment_id, opts)
2607
+
2608
+
2609
+
2610
+ ### Examples
2611
+
2612
+ ```ruby
2613
+ require 'time'
2614
+ require 'fastcomments-client'
2615
+
2616
+ api_instance = FastCommentsClient::ModerationApi.new
2617
+ tenant_id = 'tenant_id_example' # String |
2618
+ comment_id = 'comment_id_example' # String |
2619
+ opts = {
2620
+ broadcast_id: 'broadcast_id_example', # String |
2621
+ sso: 'sso_example' # String |
2622
+ }
2623
+
2624
+ begin
2625
+
2626
+ result = api_instance.post_un_flag_comment(tenant_id, comment_id, opts)
2627
+ p result
2628
+ rescue FastCommentsClient::ApiError => e
2629
+ puts "Error when calling ModerationApi->post_un_flag_comment: #{e}"
2630
+ end
2631
+ ```
2632
+
2633
+ #### Using the post_un_flag_comment_with_http_info variant
2634
+
2635
+ This returns an Array which contains the response data, status code and headers.
2636
+
2637
+ > <Array(<APIEmptyResponse>, Integer, Hash)> post_un_flag_comment_with_http_info(tenant_id, comment_id, opts)
2638
+
2639
+ ```ruby
2640
+ begin
2641
+
2642
+ data, status_code, headers = api_instance.post_un_flag_comment_with_http_info(tenant_id, comment_id, opts)
2643
+ p status_code # => 2xx
2644
+ p headers # => { ... }
2645
+ p data # => <APIEmptyResponse>
2646
+ rescue FastCommentsClient::ApiError => e
2647
+ puts "Error when calling ModerationApi->post_un_flag_comment_with_http_info: #{e}"
2648
+ end
2649
+ ```
2650
+
2651
+ ### Parameters
2652
+
2653
+ | Name | Type | Description | Notes |
2654
+ | ---- | ---- | ----------- | ----- |
2655
+ | **tenant_id** | **String** | | |
2656
+ | **comment_id** | **String** | | |
2657
+ | **broadcast_id** | **String** | | [optional] |
2658
+ | **sso** | **String** | | [optional] |
2659
+
2660
+ ### Return type
2661
+
2662
+ [**APIEmptyResponse**](APIEmptyResponse.md)
2663
+
2664
+ ### Authorization
2665
+
2666
+ No authorization required
2667
+
2668
+ ### HTTP request headers
2669
+
2670
+ - **Content-Type**: Not defined
2671
+ - **Accept**: application/json
2672
+
2673
+
2674
+ ## post_vote
2675
+
2676
+ > <VoteResponse> post_vote(tenant_id, comment_id, opts)
2677
+
2678
+
2679
+
2680
+ ### Examples
2681
+
2682
+ ```ruby
2683
+ require 'time'
2684
+ require 'fastcomments-client'
2685
+
2686
+ api_instance = FastCommentsClient::ModerationApi.new
2687
+ tenant_id = 'tenant_id_example' # String |
2688
+ comment_id = 'comment_id_example' # String |
2689
+ opts = {
2690
+ direction: 'direction_example', # String |
2691
+ broadcast_id: 'broadcast_id_example', # String |
2692
+ sso: 'sso_example' # String |
2693
+ }
2694
+
2695
+ begin
2696
+
2697
+ result = api_instance.post_vote(tenant_id, comment_id, opts)
2698
+ p result
2699
+ rescue FastCommentsClient::ApiError => e
2700
+ puts "Error when calling ModerationApi->post_vote: #{e}"
2701
+ end
2702
+ ```
2703
+
2704
+ #### Using the post_vote_with_http_info variant
2705
+
2706
+ This returns an Array which contains the response data, status code and headers.
2707
+
2708
+ > <Array(<VoteResponse>, Integer, Hash)> post_vote_with_http_info(tenant_id, comment_id, opts)
2709
+
2710
+ ```ruby
2711
+ begin
2712
+
2713
+ data, status_code, headers = api_instance.post_vote_with_http_info(tenant_id, comment_id, opts)
2714
+ p status_code # => 2xx
2715
+ p headers # => { ... }
2716
+ p data # => <VoteResponse>
2717
+ rescue FastCommentsClient::ApiError => e
2718
+ puts "Error when calling ModerationApi->post_vote_with_http_info: #{e}"
2719
+ end
2720
+ ```
2721
+
2722
+ ### Parameters
2723
+
2724
+ | Name | Type | Description | Notes |
2725
+ | ---- | ---- | ----------- | ----- |
2726
+ | **tenant_id** | **String** | | |
2727
+ | **comment_id** | **String** | | |
2728
+ | **direction** | **String** | | [optional] |
2729
+ | **broadcast_id** | **String** | | [optional] |
2730
+ | **sso** | **String** | | [optional] |
2731
+
2732
+ ### Return type
2733
+
2734
+ [**VoteResponse**](VoteResponse.md)
2735
+
2736
+ ### Authorization
2737
+
2738
+ No authorization required
2739
+
2740
+ ### HTTP request headers
2741
+
2742
+ - **Content-Type**: Not defined
2743
+ - **Accept**: application/json
2744
+
2745
+
2746
+ ## put_award_badge
2747
+
2748
+ > <AwardUserBadgeResponse> put_award_badge(tenant_id, badge_id, opts)
2749
+
2750
+
2751
+
2752
+ ### Examples
2753
+
2754
+ ```ruby
2755
+ require 'time'
2756
+ require 'fastcomments-client'
2757
+
2758
+ api_instance = FastCommentsClient::ModerationApi.new
2759
+ tenant_id = 'tenant_id_example' # String |
2760
+ badge_id = 'badge_id_example' # String |
2761
+ opts = {
2762
+ user_id: 'user_id_example', # String |
2763
+ comment_id: 'comment_id_example', # String |
2764
+ broadcast_id: 'broadcast_id_example', # String |
2765
+ sso: 'sso_example' # String |
2766
+ }
2767
+
2768
+ begin
2769
+
2770
+ result = api_instance.put_award_badge(tenant_id, badge_id, opts)
2771
+ p result
2772
+ rescue FastCommentsClient::ApiError => e
2773
+ puts "Error when calling ModerationApi->put_award_badge: #{e}"
2774
+ end
2775
+ ```
2776
+
2777
+ #### Using the put_award_badge_with_http_info variant
2778
+
2779
+ This returns an Array which contains the response data, status code and headers.
2780
+
2781
+ > <Array(<AwardUserBadgeResponse>, Integer, Hash)> put_award_badge_with_http_info(tenant_id, badge_id, opts)
2782
+
2783
+ ```ruby
2784
+ begin
2785
+
2786
+ data, status_code, headers = api_instance.put_award_badge_with_http_info(tenant_id, badge_id, opts)
2787
+ p status_code # => 2xx
2788
+ p headers # => { ... }
2789
+ p data # => <AwardUserBadgeResponse>
2790
+ rescue FastCommentsClient::ApiError => e
2791
+ puts "Error when calling ModerationApi->put_award_badge_with_http_info: #{e}"
2792
+ end
2793
+ ```
2794
+
2795
+ ### Parameters
2796
+
2797
+ | Name | Type | Description | Notes |
2798
+ | ---- | ---- | ----------- | ----- |
2799
+ | **tenant_id** | **String** | | |
2800
+ | **badge_id** | **String** | | |
2801
+ | **user_id** | **String** | | [optional] |
2802
+ | **comment_id** | **String** | | [optional] |
2803
+ | **broadcast_id** | **String** | | [optional] |
2804
+ | **sso** | **String** | | [optional] |
2805
+
2806
+ ### Return type
2807
+
2808
+ [**AwardUserBadgeResponse**](AwardUserBadgeResponse.md)
2809
+
2810
+ ### Authorization
2811
+
2812
+ No authorization required
2813
+
2814
+ ### HTTP request headers
2815
+
2816
+ - **Content-Type**: Not defined
2817
+ - **Accept**: application/json
2818
+
2819
+
2820
+ ## put_close_thread
2821
+
2822
+ > <APIEmptyResponse> put_close_thread(tenant_id, url_id, opts)
2823
+
2824
+
2825
+
2826
+ ### Examples
2827
+
2828
+ ```ruby
2829
+ require 'time'
2830
+ require 'fastcomments-client'
2831
+
2832
+ api_instance = FastCommentsClient::ModerationApi.new
2833
+ tenant_id = 'tenant_id_example' # String |
2834
+ url_id = 'url_id_example' # String |
2835
+ opts = {
2836
+ sso: 'sso_example' # String |
2837
+ }
2838
+
2839
+ begin
2840
+
2841
+ result = api_instance.put_close_thread(tenant_id, url_id, opts)
2842
+ p result
2843
+ rescue FastCommentsClient::ApiError => e
2844
+ puts "Error when calling ModerationApi->put_close_thread: #{e}"
2845
+ end
2846
+ ```
2847
+
2848
+ #### Using the put_close_thread_with_http_info variant
2849
+
2850
+ This returns an Array which contains the response data, status code and headers.
2851
+
2852
+ > <Array(<APIEmptyResponse>, Integer, Hash)> put_close_thread_with_http_info(tenant_id, url_id, opts)
2853
+
2854
+ ```ruby
2855
+ begin
2856
+
2857
+ data, status_code, headers = api_instance.put_close_thread_with_http_info(tenant_id, url_id, opts)
2858
+ p status_code # => 2xx
2859
+ p headers # => { ... }
2860
+ p data # => <APIEmptyResponse>
2861
+ rescue FastCommentsClient::ApiError => e
2862
+ puts "Error when calling ModerationApi->put_close_thread_with_http_info: #{e}"
2863
+ end
2864
+ ```
2865
+
2866
+ ### Parameters
2867
+
2868
+ | Name | Type | Description | Notes |
2869
+ | ---- | ---- | ----------- | ----- |
2870
+ | **tenant_id** | **String** | | |
2871
+ | **url_id** | **String** | | |
2872
+ | **sso** | **String** | | [optional] |
2873
+
2874
+ ### Return type
2875
+
2876
+ [**APIEmptyResponse**](APIEmptyResponse.md)
2877
+
2878
+ ### Authorization
2879
+
2880
+ No authorization required
2881
+
2882
+ ### HTTP request headers
2883
+
2884
+ - **Content-Type**: Not defined
2885
+ - **Accept**: application/json
2886
+
2887
+
2888
+ ## put_remove_badge
2889
+
2890
+ > <RemoveUserBadgeResponse> put_remove_badge(tenant_id, badge_id, opts)
2891
+
2892
+
2893
+
2894
+ ### Examples
2895
+
2896
+ ```ruby
2897
+ require 'time'
2898
+ require 'fastcomments-client'
2899
+
2900
+ api_instance = FastCommentsClient::ModerationApi.new
2901
+ tenant_id = 'tenant_id_example' # String |
2902
+ badge_id = 'badge_id_example' # String |
2903
+ opts = {
2904
+ user_id: 'user_id_example', # String |
2905
+ comment_id: 'comment_id_example', # String |
2906
+ broadcast_id: 'broadcast_id_example', # String |
2907
+ sso: 'sso_example' # String |
2908
+ }
2909
+
2910
+ begin
2911
+
2912
+ result = api_instance.put_remove_badge(tenant_id, badge_id, opts)
2913
+ p result
2914
+ rescue FastCommentsClient::ApiError => e
2915
+ puts "Error when calling ModerationApi->put_remove_badge: #{e}"
2916
+ end
2917
+ ```
2918
+
2919
+ #### Using the put_remove_badge_with_http_info variant
2920
+
2921
+ This returns an Array which contains the response data, status code and headers.
2922
+
2923
+ > <Array(<RemoveUserBadgeResponse>, Integer, Hash)> put_remove_badge_with_http_info(tenant_id, badge_id, opts)
2924
+
2925
+ ```ruby
2926
+ begin
2927
+
2928
+ data, status_code, headers = api_instance.put_remove_badge_with_http_info(tenant_id, badge_id, opts)
2929
+ p status_code # => 2xx
2930
+ p headers # => { ... }
2931
+ p data # => <RemoveUserBadgeResponse>
2932
+ rescue FastCommentsClient::ApiError => e
2933
+ puts "Error when calling ModerationApi->put_remove_badge_with_http_info: #{e}"
2934
+ end
2935
+ ```
2936
+
2937
+ ### Parameters
2938
+
2939
+ | Name | Type | Description | Notes |
2940
+ | ---- | ---- | ----------- | ----- |
2941
+ | **tenant_id** | **String** | | |
2942
+ | **badge_id** | **String** | | |
2943
+ | **user_id** | **String** | | [optional] |
2944
+ | **comment_id** | **String** | | [optional] |
2945
+ | **broadcast_id** | **String** | | [optional] |
2946
+ | **sso** | **String** | | [optional] |
2947
+
2948
+ ### Return type
2949
+
2950
+ [**RemoveUserBadgeResponse**](RemoveUserBadgeResponse.md)
2951
+
2952
+ ### Authorization
2953
+
2954
+ No authorization required
2955
+
2956
+ ### HTTP request headers
2957
+
2958
+ - **Content-Type**: Not defined
2959
+ - **Accept**: application/json
2960
+
2961
+
2962
+ ## put_reopen_thread
2963
+
2964
+ > <APIEmptyResponse> put_reopen_thread(tenant_id, url_id, opts)
2965
+
2966
+
2967
+
2968
+ ### Examples
2969
+
2970
+ ```ruby
2971
+ require 'time'
2972
+ require 'fastcomments-client'
2973
+
2974
+ api_instance = FastCommentsClient::ModerationApi.new
2975
+ tenant_id = 'tenant_id_example' # String |
2976
+ url_id = 'url_id_example' # String |
2977
+ opts = {
2978
+ sso: 'sso_example' # String |
2979
+ }
2980
+
2981
+ begin
2982
+
2983
+ result = api_instance.put_reopen_thread(tenant_id, url_id, opts)
2984
+ p result
2985
+ rescue FastCommentsClient::ApiError => e
2986
+ puts "Error when calling ModerationApi->put_reopen_thread: #{e}"
2987
+ end
2988
+ ```
2989
+
2990
+ #### Using the put_reopen_thread_with_http_info variant
2991
+
2992
+ This returns an Array which contains the response data, status code and headers.
2993
+
2994
+ > <Array(<APIEmptyResponse>, Integer, Hash)> put_reopen_thread_with_http_info(tenant_id, url_id, opts)
2995
+
2996
+ ```ruby
2997
+ begin
2998
+
2999
+ data, status_code, headers = api_instance.put_reopen_thread_with_http_info(tenant_id, url_id, opts)
3000
+ p status_code # => 2xx
3001
+ p headers # => { ... }
3002
+ p data # => <APIEmptyResponse>
3003
+ rescue FastCommentsClient::ApiError => e
3004
+ puts "Error when calling ModerationApi->put_reopen_thread_with_http_info: #{e}"
3005
+ end
3006
+ ```
3007
+
3008
+ ### Parameters
3009
+
3010
+ | Name | Type | Description | Notes |
3011
+ | ---- | ---- | ----------- | ----- |
3012
+ | **tenant_id** | **String** | | |
3013
+ | **url_id** | **String** | | |
3014
+ | **sso** | **String** | | [optional] |
3015
+
3016
+ ### Return type
3017
+
3018
+ [**APIEmptyResponse**](APIEmptyResponse.md)
3019
+
3020
+ ### Authorization
3021
+
3022
+ No authorization required
3023
+
3024
+ ### HTTP request headers
3025
+
3026
+ - **Content-Type**: Not defined
3027
+ - **Accept**: application/json
3028
+
3029
+
3030
+ ## set_trust_factor
3031
+
3032
+ > <SetUserTrustFactorResponse> set_trust_factor(tenant_id, opts)
3033
+
3034
+
3035
+
3036
+ ### Examples
3037
+
3038
+ ```ruby
3039
+ require 'time'
3040
+ require 'fastcomments-client'
3041
+
3042
+ api_instance = FastCommentsClient::ModerationApi.new
3043
+ tenant_id = 'tenant_id_example' # String |
3044
+ opts = {
3045
+ user_id: 'user_id_example', # String |
3046
+ trust_factor: 'trust_factor_example', # String |
3047
+ sso: 'sso_example' # String |
3048
+ }
3049
+
3050
+ begin
3051
+
3052
+ result = api_instance.set_trust_factor(tenant_id, opts)
3053
+ p result
3054
+ rescue FastCommentsClient::ApiError => e
3055
+ puts "Error when calling ModerationApi->set_trust_factor: #{e}"
3056
+ end
3057
+ ```
3058
+
3059
+ #### Using the set_trust_factor_with_http_info variant
3060
+
3061
+ This returns an Array which contains the response data, status code and headers.
3062
+
3063
+ > <Array(<SetUserTrustFactorResponse>, Integer, Hash)> set_trust_factor_with_http_info(tenant_id, opts)
3064
+
3065
+ ```ruby
3066
+ begin
3067
+
3068
+ data, status_code, headers = api_instance.set_trust_factor_with_http_info(tenant_id, opts)
3069
+ p status_code # => 2xx
3070
+ p headers # => { ... }
3071
+ p data # => <SetUserTrustFactorResponse>
3072
+ rescue FastCommentsClient::ApiError => e
3073
+ puts "Error when calling ModerationApi->set_trust_factor_with_http_info: #{e}"
3074
+ end
3075
+ ```
3076
+
3077
+ ### Parameters
3078
+
3079
+ | Name | Type | Description | Notes |
3080
+ | ---- | ---- | ----------- | ----- |
3081
+ | **tenant_id** | **String** | | |
3082
+ | **user_id** | **String** | | [optional] |
3083
+ | **trust_factor** | **String** | | [optional] |
3084
+ | **sso** | **String** | | [optional] |
3085
+
3086
+ ### Return type
3087
+
3088
+ [**SetUserTrustFactorResponse**](SetUserTrustFactorResponse.md)
3089
+
3090
+ ### Authorization
3091
+
3092
+ No authorization required
3093
+
3094
+ ### HTTP request headers
3095
+
3096
+ - **Content-Type**: Not defined
3097
+ - **Accept**: application/json
3098
+