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