fastcomments 2.0.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +7 -9
- data/client/README.md +49 -50
- data/client/docs/AddDomainConfigResponse.md +3 -3
- data/client/docs/AggregateResponse.md +3 -3
- data/client/docs/BulkCreateHashTagsResponseResultsInner.md +3 -3
- data/client/docs/DefaultApi.md +28 -36
- data/client/docs/GetDomainConfigResponse.md +3 -3
- data/client/docs/GetDomainConfigsResponse.md +3 -3
- data/client/docs/GetGifsSearchResponse.md +2 -2
- data/client/docs/GetGifsTrendingResponse.md +2 -2
- data/client/docs/ModerationApi.md +325 -217
- data/client/docs/PatchDomainConfigResponse.md +3 -3
- data/client/docs/{PostRemoveCommentResponse.md → PostRemoveCommentApiResponse.md} +2 -2
- data/client/docs/PutDomainConfigResponse.md +3 -3
- data/client/docs/SaveCommentsBulkResponse.md +4 -4
- data/client/docs/SearchUsersResult.md +2 -2
- data/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +3 -3
- data/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +3 -3
- data/client/docs/UpdateUserNotificationStatusResponse.md +3 -3
- data/client/docs/VoteResponse.md +1 -1
- data/client/fastcomments-client.gemspec +1 -1
- data/client/lib/fastcomments-client/api/default_api.rb +116 -100
- data/client/lib/fastcomments-client/api/moderation_api.rb +510 -176
- data/client/lib/fastcomments-client/api/public_api.rb +45 -45
- data/client/lib/fastcomments-client/api_client.rb +7 -3
- data/client/lib/fastcomments-client/api_error.rb +1 -1
- data/client/lib/fastcomments-client/api_model_base.rb +88 -0
- data/client/lib/fastcomments-client/configuration.rb +1 -1
- data/client/lib/fastcomments-client/models/add_domain_config_params.rb +2 -75
- data/client/lib/fastcomments-client/models/add_domain_config_response.rb +2 -3
- data/client/lib/fastcomments-client/models/add_domain_config_response_any_of.rb +2 -75
- data/client/lib/fastcomments-client/models/add_page_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/add_sso_user_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/adjust_comment_votes_params.rb +2 -75
- data/client/lib/fastcomments-client/models/adjust_votes_response.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregate_response.rb +2 -3
- data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_api_error.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_item.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_op_type.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_operation.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_request.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_request_sort.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_response.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_response_stats.rb +2 -75
- data/client/lib/fastcomments-client/models/aggregation_value.rb +2 -75
- data/client/lib/fastcomments-client/models/api_audit_log.rb +2 -75
- data/client/lib/fastcomments-client/models/api_ban_user_change_log.rb +2 -75
- data/client/lib/fastcomments-client/models/api_ban_user_changed_values.rb +2 -75
- data/client/lib/fastcomments-client/models/api_banned_user.rb +2 -75
- data/client/lib/fastcomments-client/models/api_banned_user_with_multi_match_info.rb +2 -75
- data/client/lib/fastcomments-client/models/api_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/api_comment_base.rb +2 -75
- data/client/lib/fastcomments-client/models/api_comment_base_meta.rb +2 -75
- data/client/lib/fastcomments-client/models/api_comment_common_banned_user.rb +2 -75
- data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_domain_configuration.rb +2 -75
- data/client/lib/fastcomments-client/models/api_empty_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_empty_success_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_error.rb +2 -75
- data/client/lib/fastcomments-client/models/api_get_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_get_comments_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_get_user_badge_progress_list_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_get_user_badge_progress_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_get_user_badge_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_get_user_badges_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_moderate_get_user_ban_preferences_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_moderate_user_ban_preferences.rb +2 -75
- data/client/lib/fastcomments-client/models/api_page.rb +2 -75
- data/client/lib/fastcomments-client/models/api_save_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/api_status.rb +1 -1
- data/client/lib/fastcomments-client/models/api_tenant.rb +2 -75
- data/client/lib/fastcomments-client/models/api_tenant_daily_usage.rb +2 -75
- data/client/lib/fastcomments-client/models/api_ticket.rb +2 -75
- data/client/lib/fastcomments-client/models/api_ticket_detail.rb +2 -75
- data/client/lib/fastcomments-client/models/api_ticket_file.rb +2 -75
- data/client/lib/fastcomments-client/models/api_user_subscription.rb +2 -75
- data/client/lib/fastcomments-client/models/apisso_user.rb +2 -75
- data/client/lib/fastcomments-client/models/award_user_badge_response.rb +2 -75
- data/client/lib/fastcomments-client/models/ban_user_from_comment_result.rb +2 -75
- data/client/lib/fastcomments-client/models/ban_user_undo_params.rb +2 -75
- data/client/lib/fastcomments-client/models/banned_user_match.rb +2 -75
- data/client/lib/fastcomments-client/models/banned_user_match_matched_on_value.rb +2 -3
- data/client/lib/fastcomments-client/models/banned_user_match_type.rb +1 -1
- data/client/lib/fastcomments-client/models/billing_info.rb +2 -75
- data/client/lib/fastcomments-client/models/block_from_comment_params.rb +2 -75
- data/client/lib/fastcomments-client/models/block_success.rb +2 -75
- data/client/lib/fastcomments-client/models/build_moderation_filter_params.rb +2 -75
- data/client/lib/fastcomments-client/models/build_moderation_filter_response.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_item.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_request.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_response.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body_tags_inner.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response_results_inner.rb +2 -3
- data/client/lib/fastcomments-client/models/bulk_pre_ban_params.rb +2 -75
- data/client/lib/fastcomments-client/models/bulk_pre_ban_summary.rb +2 -75
- data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +2 -75
- data/client/lib/fastcomments-client/models/change_ticket_state_body.rb +2 -75
- data/client/lib/fastcomments-client/models/change_ticket_state_response.rb +2 -75
- data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +2 -75
- data/client/lib/fastcomments-client/models/combine_question_results_with_comments_response.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_data.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_html_rendering_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_log_data.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_log_entry.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_log_type.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_question_results_rendering_type.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_questions_required.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_text_update_request.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_thread_deletion_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_user_badge_info.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_user_hash_tag_info.rb +2 -75
- data/client/lib/fastcomments-client/models/comment_user_mention_info.rb +2 -75
- data/client/lib/fastcomments-client/models/commenter_name_formats.rb +1 -1
- data/client/lib/fastcomments-client/models/comments_by_ids_params.rb +2 -75
- data/client/lib/fastcomments-client/models/create_api_page_data.rb +2 -75
- data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +2 -75
- data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +2 -75
- data/client/lib/fastcomments-client/models/create_comment_params.rb +2 -75
- data/client/lib/fastcomments-client/models/create_email_template_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_email_template_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_feed_post_params.rb +2 -75
- data/client/lib/fastcomments-client/models/create_feed_post_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_feed_posts_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_hash_tag_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_hash_tag_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_moderator_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_moderator_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_question_config_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_question_config_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_question_result_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_question_result_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_tenant_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_tenant_package_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_tenant_package_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_tenant_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_tenant_user_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_tenant_user_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_ticket_body.rb +2 -75
- data/client/lib/fastcomments-client/models/create_ticket_response.rb +2 -75
- data/client/lib/fastcomments-client/models/create_user_badge_params.rb +2 -75
- data/client/lib/fastcomments-client/models/create_v1_page_react.rb +2 -75
- data/client/lib/fastcomments-client/models/custom_config_parameters.rb +2 -75
- data/client/lib/fastcomments-client/models/custom_email_template.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_comment_action.rb +1 -1
- data/client/lib/fastcomments-client/models/delete_comment_result.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_domain_config_response.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_feed_post_public_response.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_hash_tag_request_body.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_page_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_sso_user_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/delete_subscription_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/deleted_comment_result_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/digest_email_frequency.rb +1 -1
- data/client/lib/fastcomments-client/models/email_template_definition.rb +2 -75
- data/client/lib/fastcomments-client/models/email_template_render_error_response.rb +2 -75
- data/client/lib/fastcomments-client/models/event_log_entry.rb +2 -75
- data/client/lib/fastcomments-client/models/f_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/f_comment_meta.rb +2 -75
- data/client/lib/fastcomments-client/models/feed_post.rb +2 -75
- data/client/lib/fastcomments-client/models/feed_post_link.rb +2 -75
- data/client/lib/fastcomments-client/models/feed_post_media_item.rb +2 -75
- data/client/lib/fastcomments-client/models/feed_post_media_item_asset.rb +2 -75
- data/client/lib/fastcomments-client/models/feed_post_stats.rb +2 -75
- data/client/lib/fastcomments-client/models/feed_posts_stats_response.rb +2 -75
- data/client/lib/fastcomments-client/models/find_comments_by_range_item.rb +2 -75
- data/client/lib/fastcomments-client/models/find_comments_by_range_response.rb +2 -75
- data/client/lib/fastcomments-client/models/flag_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_banned_users_count_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_banned_users_from_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_cached_notification_count_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comment_ban_status_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comment_text_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comments_for_user_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comments_response_public_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/get_comments_response_with_presence_public_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/get_domain_config_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_domain_configs_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_domain_configs_response_any_of.rb +2 -75
- data/client/lib/fastcomments-client/models/get_domain_configs_response_any_of1.rb +2 -75
- data/client/lib/fastcomments-client/models/get_email_template_definitions_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_email_template_render_errors_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_email_template_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_email_templates_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_event_log_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_gifs_search_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_gifs_trending_response.rb +2 -3
- data/client/lib/fastcomments-client/models/get_hash_tags_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_moderator_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_moderators_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_notification_count_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_notifications_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_page_by_urlid_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_pages_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_pending_webhook_event_count_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_pending_webhook_events_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_public_feed_posts_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_public_pages_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_question_config_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_question_configs_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_question_result_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_question_results_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_sso_user_by_email_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_sso_user_by_id_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_sso_users_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_daily_usages_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_manual_badges_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_package_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_packages_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_user_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenant_users_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tenants_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_ticket_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_tickets_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_translations_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_internal_profile_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_internal_profile_response_profile.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_manual_badges_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_user_trust_factor_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_v1_page_likes.rb +2 -75
- data/client/lib/fastcomments-client/models/get_v2_page_react_users_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_v2_page_reacts.rb +2 -75
- data/client/lib/fastcomments-client/models/get_votes_for_user_response.rb +2 -75
- data/client/lib/fastcomments-client/models/get_votes_response.rb +2 -75
- data/client/lib/fastcomments-client/models/gif_get_large_response.rb +2 -75
- data/client/lib/fastcomments-client/models/gif_rating.rb +1 -1
- data/client/lib/fastcomments-client/models/gif_search_internal_error.rb +2 -75
- data/client/lib/fastcomments-client/models/gif_search_response.rb +2 -75
- data/client/lib/fastcomments-client/models/gif_search_response_images_inner_inner.rb +2 -3
- data/client/lib/fastcomments-client/models/header_account_notification.rb +2 -75
- data/client/lib/fastcomments-client/models/header_state.rb +2 -75
- data/client/lib/fastcomments-client/models/ignored_response.rb +2 -75
- data/client/lib/fastcomments-client/models/image_content_profanity_level.rb +1 -1
- data/client/lib/fastcomments-client/models/imported_agent_approval_notification_frequency.rb +1 -1
- data/client/lib/fastcomments-client/models/imported_site_type.rb +1 -1
- data/client/lib/fastcomments-client/models/live_event.rb +2 -75
- data/client/lib/fastcomments-client/models/live_event_extra_info.rb +2 -75
- data/client/lib/fastcomments-client/models/live_event_type.rb +1 -1
- data/client/lib/fastcomments-client/models/media_asset.rb +2 -75
- data/client/lib/fastcomments-client/models/mention_auto_complete_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/meta_item.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_child_comments_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_comment_log.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_count_comments_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_get_comment_ids_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_get_comments_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_api_get_logs_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_comment_search_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_export_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_export_status_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_filter.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_page_search_projected.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_page_search_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_site_search_projected.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_site_search_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_suggest_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_user_search_projected.rb +2 -75
- data/client/lib/fastcomments-client/models/moderation_user_search_response.rb +2 -75
- data/client/lib/fastcomments-client/models/moderator.rb +2 -75
- data/client/lib/fastcomments-client/models/notification_and_count.rb +2 -75
- data/client/lib/fastcomments-client/models/notification_object_type.rb +1 -1
- data/client/lib/fastcomments-client/models/notification_type.rb +1 -1
- data/client/lib/fastcomments-client/models/page_user_entry.rb +2 -75
- data/client/lib/fastcomments-client/models/page_users_info_response.rb +2 -75
- data/client/lib/fastcomments-client/models/page_users_offline_response.rb +2 -75
- data/client/lib/fastcomments-client/models/page_users_online_response.rb +2 -75
- data/client/lib/fastcomments-client/models/pages_sort_by.rb +1 -1
- data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +2 -75
- data/client/lib/fastcomments-client/models/patch_domain_config_response.rb +2 -3
- data/client/lib/fastcomments-client/models/patch_page_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/pending_comment_to_sync_outbound.rb +2 -75
- data/client/lib/fastcomments-client/models/{post_remove_comment_response.rb → post_remove_comment_api_response.rb} +3 -4
- data/client/lib/fastcomments-client/models/pre_ban_summary.rb +2 -75
- data/client/lib/fastcomments-client/models/pub_sub_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/pub_sub_comment_base.rb +2 -75
- data/client/lib/fastcomments-client/models/pub_sub_vote.rb +2 -75
- data/client/lib/fastcomments-client/models/public_api_delete_comment_response.rb +2 -75
- data/client/lib/fastcomments-client/models/public_api_get_comment_text_response.rb +2 -75
- data/client/lib/fastcomments-client/models/public_api_set_comment_text_response.rb +2 -75
- data/client/lib/fastcomments-client/models/public_block_from_comment_params.rb +2 -75
- data/client/lib/fastcomments-client/models/public_comment.rb +2 -75
- data/client/lib/fastcomments-client/models/public_comment_base.rb +2 -75
- data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +2 -75
- data/client/lib/fastcomments-client/models/public_page.rb +2 -75
- data/client/lib/fastcomments-client/models/public_vote.rb +2 -75
- data/client/lib/fastcomments-client/models/put_domain_config_response.rb +2 -3
- data/client/lib/fastcomments-client/models/put_sso_user_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/query_predicate.rb +2 -75
- data/client/lib/fastcomments-client/models/query_predicate_value.rb +2 -3
- data/client/lib/fastcomments-client/models/question_config.rb +2 -75
- data/client/lib/fastcomments-client/models/question_config_custom_options_inner.rb +2 -75
- data/client/lib/fastcomments-client/models/question_datum.rb +2 -75
- data/client/lib/fastcomments-client/models/question_rendering_type.rb +1 -1
- data/client/lib/fastcomments-client/models/question_result.rb +2 -75
- data/client/lib/fastcomments-client/models/question_result_aggregation_overall.rb +2 -75
- data/client/lib/fastcomments-client/models/question_sub_question_visibility.rb +1 -1
- data/client/lib/fastcomments-client/models/question_when_save.rb +1 -1
- data/client/lib/fastcomments-client/models/react_body_params.rb +2 -75
- data/client/lib/fastcomments-client/models/react_feed_post_response.rb +2 -75
- data/client/lib/fastcomments-client/models/record_string_before_string_or_null_after_string_or_null_value.rb +2 -75
- data/client/lib/fastcomments-client/models/remove_comment_action_response.rb +2 -75
- data/client/lib/fastcomments-client/models/remove_user_badge_response.rb +2 -75
- data/client/lib/fastcomments-client/models/render_email_template_body.rb +2 -75
- data/client/lib/fastcomments-client/models/render_email_template_response.rb +2 -75
- data/client/lib/fastcomments-client/models/renderable_user_notification.rb +2 -75
- data/client/lib/fastcomments-client/models/repeat_comment_check_ignored_reason.rb +1 -1
- data/client/lib/fastcomments-client/models/repeat_comment_handling_action.rb +1 -1
- data/client/lib/fastcomments-client/models/replace_tenant_package_body.rb +2 -75
- data/client/lib/fastcomments-client/models/replace_tenant_user_body.rb +2 -75
- data/client/lib/fastcomments-client/models/reset_user_notifications_response.rb +2 -75
- data/client/lib/fastcomments-client/models/save_comment_response_optimized.rb +2 -75
- data/client/lib/fastcomments-client/models/save_comments_bulk_response.rb +2 -3
- data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +2 -75
- data/client/lib/fastcomments-client/models/search_users_response.rb +2 -75
- data/client/lib/fastcomments-client/models/search_users_result.rb +2 -3
- data/client/lib/fastcomments-client/models/search_users_sectioned_response.rb +2 -75
- data/client/lib/fastcomments-client/models/set_comment_approved_response.rb +2 -75
- data/client/lib/fastcomments-client/models/set_comment_text_params.rb +2 -75
- data/client/lib/fastcomments-client/models/set_comment_text_response.rb +2 -75
- data/client/lib/fastcomments-client/models/set_comment_text_result.rb +2 -75
- data/client/lib/fastcomments-client/models/set_user_trust_factor_response.rb +2 -75
- data/client/lib/fastcomments-client/models/size_preset.rb +1 -1
- data/client/lib/fastcomments-client/models/sort_directions.rb +1 -1
- data/client/lib/fastcomments-client/models/sortdir.rb +1 -1
- data/client/lib/fastcomments-client/models/spam_rule.rb +2 -75
- data/client/lib/fastcomments-client/models/sso_security_level.rb +1 -1
- data/client/lib/fastcomments-client/models/tenant_badge.rb +2 -75
- data/client/lib/fastcomments-client/models/tenant_hash_tag.rb +2 -75
- data/client/lib/fastcomments-client/models/tenant_package.rb +2 -75
- data/client/lib/fastcomments-client/models/tos_config.rb +2 -75
- data/client/lib/fastcomments-client/models/un_block_from_comment_params.rb +2 -75
- data/client/lib/fastcomments-client/models/unblock_success.rb +2 -75
- data/client/lib/fastcomments-client/models/updatable_comment_params.rb +2 -75
- data/client/lib/fastcomments-client/models/update_api_page_data.rb +2 -75
- data/client/lib/fastcomments-client/models/update_api_user_subscription_data.rb +2 -75
- data/client/lib/fastcomments-client/models/update_apisso_user_data.rb +2 -75
- data/client/lib/fastcomments-client/models/update_domain_config_params.rb +2 -75
- data/client/lib/fastcomments-client/models/update_email_template_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_feed_post_params.rb +2 -75
- data/client/lib/fastcomments-client/models/update_hash_tag_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_hash_tag_response.rb +2 -75
- data/client/lib/fastcomments-client/models/update_moderator_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_notification_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_question_config_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_question_result_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_subscription_api_response.rb +2 -75
- data/client/lib/fastcomments-client/models/update_tenant_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_tenant_user_body.rb +2 -75
- data/client/lib/fastcomments-client/models/update_user_badge_params.rb +2 -75
- data/client/lib/fastcomments-client/models/update_user_notification_comment_subscription_status_response.rb +2 -3
- data/client/lib/fastcomments-client/models/update_user_notification_page_subscription_status_response.rb +2 -3
- data/client/lib/fastcomments-client/models/update_user_notification_status_response.rb +2 -3
- data/client/lib/fastcomments-client/models/upload_image_response.rb +2 -75
- data/client/lib/fastcomments-client/models/user.rb +2 -75
- data/client/lib/fastcomments-client/models/user_badge.rb +2 -75
- data/client/lib/fastcomments-client/models/user_badge_progress.rb +2 -75
- data/client/lib/fastcomments-client/models/user_notification.rb +2 -75
- data/client/lib/fastcomments-client/models/user_notification_count.rb +2 -75
- data/client/lib/fastcomments-client/models/user_notification_write_response.rb +2 -75
- data/client/lib/fastcomments-client/models/user_presence_data.rb +2 -75
- data/client/lib/fastcomments-client/models/user_reacts_response.rb +2 -75
- data/client/lib/fastcomments-client/models/user_search_result.rb +2 -75
- data/client/lib/fastcomments-client/models/user_search_section.rb +1 -1
- data/client/lib/fastcomments-client/models/user_search_section_result.rb +2 -75
- data/client/lib/fastcomments-client/models/user_session_info.rb +2 -75
- data/client/lib/fastcomments-client/models/users_list_location.rb +1 -1
- data/client/lib/fastcomments-client/models/vote_body_params.rb +2 -75
- data/client/lib/fastcomments-client/models/vote_delete_response.rb +2 -75
- data/client/lib/fastcomments-client/models/vote_response.rb +32 -81
- data/client/lib/fastcomments-client/models/vote_response_user.rb +2 -75
- data/client/lib/fastcomments-client/models/vote_style.rb +1 -1
- data/client/lib/fastcomments-client/version.rb +2 -2
- data/client/lib/fastcomments-client.rb +3 -3
- data/client/spec/api/default_api_spec.rb +5 -5
- data/client/spec/api/moderation_api_spec.rb +56 -2
- data/client/spec/api/public_api_spec.rb +1 -1
- data/client/spec/models/add_domain_config_params_spec.rb +2 -2
- data/client/spec/models/add_domain_config_response_any_of_spec.rb +2 -2
- data/client/spec/models/add_domain_config_response_spec.rb +1 -1
- data/client/spec/models/add_page_api_response_spec.rb +2 -2
- data/client/spec/models/add_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/adjust_comment_votes_params_spec.rb +2 -2
- data/client/spec/models/adjust_votes_response_spec.rb +2 -2
- data/client/spec/models/aggregate_question_results_response_spec.rb +2 -2
- data/client/spec/models/aggregate_response_spec.rb +1 -1
- data/client/spec/models/aggregate_time_bucket_spec.rb +2 -2
- data/client/spec/models/aggregation_api_error_spec.rb +2 -2
- data/client/spec/models/aggregation_item_spec.rb +2 -2
- data/client/spec/models/aggregation_op_type_spec.rb +2 -2
- data/client/spec/models/aggregation_operation_spec.rb +2 -2
- data/client/spec/models/aggregation_request_sort_spec.rb +2 -2
- data/client/spec/models/aggregation_request_spec.rb +2 -2
- data/client/spec/models/aggregation_response_spec.rb +2 -2
- data/client/spec/models/aggregation_response_stats_spec.rb +2 -2
- data/client/spec/models/aggregation_value_spec.rb +2 -2
- data/client/spec/models/api_audit_log_spec.rb +2 -2
- data/client/spec/models/api_ban_user_change_log_spec.rb +2 -2
- data/client/spec/models/api_ban_user_changed_values_spec.rb +2 -2
- data/client/spec/models/api_banned_user_spec.rb +2 -2
- data/client/spec/models/api_banned_user_with_multi_match_info_spec.rb +2 -2
- data/client/spec/models/api_comment_base_meta_spec.rb +2 -2
- data/client/spec/models/api_comment_base_spec.rb +2 -2
- data/client/spec/models/api_comment_common_banned_user_spec.rb +2 -2
- data/client/spec/models/api_comment_spec.rb +2 -2
- data/client/spec/models/api_create_user_badge_response_spec.rb +2 -2
- data/client/spec/models/api_domain_configuration_spec.rb +2 -2
- data/client/spec/models/api_empty_response_spec.rb +2 -2
- data/client/spec/models/api_empty_success_response_spec.rb +2 -2
- data/client/spec/models/api_error_spec.rb +2 -2
- data/client/spec/models/api_get_comment_response_spec.rb +2 -2
- data/client/spec/models/api_get_comments_response_spec.rb +2 -2
- data/client/spec/models/api_get_user_badge_progress_list_response_spec.rb +2 -2
- data/client/spec/models/api_get_user_badge_progress_response_spec.rb +2 -2
- data/client/spec/models/api_get_user_badge_response_spec.rb +2 -2
- data/client/spec/models/api_get_user_badges_response_spec.rb +2 -2
- data/client/spec/models/api_moderate_get_user_ban_preferences_response_spec.rb +2 -2
- data/client/spec/models/api_moderate_user_ban_preferences_spec.rb +2 -2
- data/client/spec/models/api_page_spec.rb +2 -2
- data/client/spec/models/api_save_comment_response_spec.rb +2 -2
- data/client/spec/models/api_status_spec.rb +2 -2
- data/client/spec/models/api_tenant_daily_usage_spec.rb +2 -2
- data/client/spec/models/api_tenant_spec.rb +2 -2
- data/client/spec/models/api_ticket_detail_spec.rb +2 -2
- data/client/spec/models/api_ticket_file_spec.rb +2 -2
- data/client/spec/models/api_ticket_spec.rb +2 -2
- data/client/spec/models/api_user_subscription_spec.rb +2 -2
- data/client/spec/models/apisso_user_spec.rb +2 -2
- data/client/spec/models/award_user_badge_response_spec.rb +2 -2
- data/client/spec/models/ban_user_from_comment_result_spec.rb +2 -2
- data/client/spec/models/ban_user_undo_params_spec.rb +2 -2
- data/client/spec/models/banned_user_match_matched_on_value_spec.rb +1 -1
- data/client/spec/models/banned_user_match_spec.rb +2 -2
- data/client/spec/models/banned_user_match_type_spec.rb +2 -2
- data/client/spec/models/billing_info_spec.rb +2 -2
- data/client/spec/models/block_from_comment_params_spec.rb +2 -2
- data/client/spec/models/block_success_spec.rb +2 -2
- data/client/spec/models/build_moderation_filter_params_spec.rb +2 -2
- data/client/spec/models/build_moderation_filter_response_spec.rb +2 -2
- data/client/spec/models/bulk_aggregate_question_item_spec.rb +2 -2
- data/client/spec/models/bulk_aggregate_question_results_request_spec.rb +2 -2
- data/client/spec/models/bulk_aggregate_question_results_response_spec.rb +2 -2
- data/client/spec/models/bulk_create_hash_tags_body_spec.rb +2 -2
- data/client/spec/models/bulk_create_hash_tags_body_tags_inner_spec.rb +2 -2
- data/client/spec/models/bulk_create_hash_tags_response_results_inner_spec.rb +1 -1
- data/client/spec/models/bulk_create_hash_tags_response_spec.rb +2 -2
- data/client/spec/models/bulk_pre_ban_params_spec.rb +2 -2
- data/client/spec/models/bulk_pre_ban_summary_spec.rb +2 -2
- data/client/spec/models/change_comment_pin_status_response_spec.rb +2 -2
- data/client/spec/models/change_ticket_state_body_spec.rb +2 -2
- data/client/spec/models/change_ticket_state_response_spec.rb +2 -2
- data/client/spec/models/check_blocked_comments_response_spec.rb +2 -2
- data/client/spec/models/combine_question_results_with_comments_response_spec.rb +2 -2
- data/client/spec/models/comment_data_spec.rb +2 -2
- data/client/spec/models/comment_html_rendering_mode_spec.rb +2 -2
- data/client/spec/models/comment_log_data_spec.rb +2 -2
- data/client/spec/models/comment_log_entry_spec.rb +2 -2
- data/client/spec/models/comment_log_type_spec.rb +2 -2
- data/client/spec/models/comment_question_results_rendering_type_spec.rb +2 -2
- data/client/spec/models/comment_questions_required_spec.rb +2 -2
- data/client/spec/models/comment_text_update_request_spec.rb +2 -2
- data/client/spec/models/comment_thread_deletion_mode_spec.rb +2 -2
- data/client/spec/models/comment_user_badge_info_spec.rb +2 -2
- data/client/spec/models/comment_user_hash_tag_info_spec.rb +2 -2
- data/client/spec/models/comment_user_mention_info_spec.rb +2 -2
- data/client/spec/models/commenter_name_formats_spec.rb +2 -2
- data/client/spec/models/comments_by_ids_params_spec.rb +2 -2
- data/client/spec/models/create_api_page_data_spec.rb +2 -2
- data/client/spec/models/create_api_user_subscription_data_spec.rb +2 -2
- data/client/spec/models/create_apisso_user_data_spec.rb +2 -2
- data/client/spec/models/create_comment_params_spec.rb +2 -2
- data/client/spec/models/create_email_template_body_spec.rb +2 -2
- data/client/spec/models/create_email_template_response_spec.rb +2 -2
- data/client/spec/models/create_feed_post_params_spec.rb +2 -2
- data/client/spec/models/create_feed_post_response_spec.rb +2 -2
- data/client/spec/models/create_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/create_hash_tag_body_spec.rb +2 -2
- data/client/spec/models/create_hash_tag_response_spec.rb +2 -2
- data/client/spec/models/create_moderator_body_spec.rb +2 -2
- data/client/spec/models/create_moderator_response_spec.rb +2 -2
- data/client/spec/models/create_question_config_body_spec.rb +2 -2
- data/client/spec/models/create_question_config_response_spec.rb +2 -2
- data/client/spec/models/create_question_result_body_spec.rb +2 -2
- data/client/spec/models/create_question_result_response_spec.rb +2 -2
- data/client/spec/models/create_subscription_api_response_spec.rb +2 -2
- data/client/spec/models/create_tenant_body_spec.rb +2 -2
- data/client/spec/models/create_tenant_package_body_spec.rb +2 -2
- data/client/spec/models/create_tenant_package_response_spec.rb +2 -2
- data/client/spec/models/create_tenant_response_spec.rb +2 -2
- data/client/spec/models/create_tenant_user_body_spec.rb +2 -2
- data/client/spec/models/create_tenant_user_response_spec.rb +2 -2
- data/client/spec/models/create_ticket_body_spec.rb +2 -2
- data/client/spec/models/create_ticket_response_spec.rb +2 -2
- data/client/spec/models/create_user_badge_params_spec.rb +2 -2
- data/client/spec/models/create_v1_page_react_spec.rb +2 -2
- data/client/spec/models/custom_config_parameters_spec.rb +2 -2
- data/client/spec/models/custom_email_template_spec.rb +2 -2
- data/client/spec/models/delete_comment_action_spec.rb +2 -2
- data/client/spec/models/delete_comment_result_spec.rb +2 -2
- data/client/spec/models/delete_domain_config_response_spec.rb +2 -2
- data/client/spec/models/delete_feed_post_public_response_spec.rb +2 -2
- data/client/spec/models/delete_hash_tag_request_body_spec.rb +2 -2
- data/client/spec/models/delete_page_api_response_spec.rb +2 -2
- data/client/spec/models/delete_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/delete_subscription_api_response_spec.rb +2 -2
- data/client/spec/models/deleted_comment_result_comment_spec.rb +2 -2
- data/client/spec/models/digest_email_frequency_spec.rb +2 -2
- data/client/spec/models/email_template_definition_spec.rb +2 -2
- data/client/spec/models/email_template_render_error_response_spec.rb +2 -2
- data/client/spec/models/event_log_entry_spec.rb +2 -2
- data/client/spec/models/f_comment_meta_spec.rb +2 -2
- data/client/spec/models/f_comment_spec.rb +2 -2
- data/client/spec/models/feed_post_link_spec.rb +2 -2
- data/client/spec/models/feed_post_media_item_asset_spec.rb +2 -2
- data/client/spec/models/feed_post_media_item_spec.rb +2 -2
- data/client/spec/models/feed_post_spec.rb +2 -2
- data/client/spec/models/feed_post_stats_spec.rb +2 -2
- data/client/spec/models/feed_posts_stats_response_spec.rb +2 -2
- data/client/spec/models/find_comments_by_range_item_spec.rb +2 -2
- data/client/spec/models/find_comments_by_range_response_spec.rb +2 -2
- data/client/spec/models/flag_comment_response_spec.rb +2 -2
- data/client/spec/models/get_audit_logs_response_spec.rb +2 -2
- data/client/spec/models/get_banned_users_count_response_spec.rb +2 -2
- data/client/spec/models/get_banned_users_from_comment_response_spec.rb +2 -2
- data/client/spec/models/get_cached_notification_count_response_spec.rb +2 -2
- data/client/spec/models/get_comment_ban_status_response_spec.rb +2 -2
- data/client/spec/models/get_comment_text_response_spec.rb +2 -2
- data/client/spec/models/get_comment_vote_user_names_success_response_spec.rb +2 -2
- data/client/spec/models/get_comments_for_user_response_spec.rb +2 -2
- data/client/spec/models/get_comments_response_public_comment_spec.rb +2 -2
- data/client/spec/models/get_comments_response_with_presence_public_comment_spec.rb +2 -2
- data/client/spec/models/get_domain_config_response_spec.rb +1 -1
- data/client/spec/models/get_domain_configs_response_any_of1_spec.rb +2 -2
- data/client/spec/models/get_domain_configs_response_any_of_spec.rb +2 -2
- data/client/spec/models/get_domain_configs_response_spec.rb +1 -1
- data/client/spec/models/get_email_template_definitions_response_spec.rb +2 -2
- data/client/spec/models/get_email_template_render_errors_response_spec.rb +2 -2
- data/client/spec/models/get_email_template_response_spec.rb +2 -2
- data/client/spec/models/get_email_templates_response_spec.rb +2 -2
- data/client/spec/models/get_event_log_response_spec.rb +2 -2
- data/client/spec/models/get_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/get_gifs_search_response_spec.rb +1 -1
- data/client/spec/models/get_gifs_trending_response_spec.rb +1 -1
- data/client/spec/models/get_hash_tags_response_spec.rb +2 -2
- data/client/spec/models/get_moderator_response_spec.rb +2 -2
- data/client/spec/models/get_moderators_response_spec.rb +2 -2
- data/client/spec/models/get_my_notifications_response_spec.rb +2 -2
- data/client/spec/models/get_notification_count_response_spec.rb +2 -2
- data/client/spec/models/get_notifications_response_spec.rb +2 -2
- data/client/spec/models/get_page_by_urlid_api_response_spec.rb +2 -2
- data/client/spec/models/get_pages_api_response_spec.rb +2 -2
- data/client/spec/models/get_pending_webhook_event_count_response_spec.rb +2 -2
- data/client/spec/models/get_pending_webhook_events_response_spec.rb +2 -2
- data/client/spec/models/get_public_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/get_public_pages_response_spec.rb +2 -2
- data/client/spec/models/get_question_config_response_spec.rb +2 -2
- data/client/spec/models/get_question_configs_response_spec.rb +2 -2
- data/client/spec/models/get_question_result_response_spec.rb +2 -2
- data/client/spec/models/get_question_results_response_spec.rb +2 -2
- data/client/spec/models/get_sso_user_by_email_api_response_spec.rb +2 -2
- data/client/spec/models/get_sso_user_by_id_api_response_spec.rb +2 -2
- data/client/spec/models/get_sso_users_response_spec.rb +2 -2
- data/client/spec/models/get_subscriptions_api_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_daily_usages_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_manual_badges_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_package_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_packages_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_user_response_spec.rb +2 -2
- data/client/spec/models/get_tenant_users_response_spec.rb +2 -2
- data/client/spec/models/get_tenants_response_spec.rb +2 -2
- data/client/spec/models/get_ticket_response_spec.rb +2 -2
- data/client/spec/models/get_tickets_response_spec.rb +2 -2
- data/client/spec/models/get_translations_response_spec.rb +2 -2
- data/client/spec/models/get_user_internal_profile_response_profile_spec.rb +2 -2
- data/client/spec/models/get_user_internal_profile_response_spec.rb +2 -2
- data/client/spec/models/get_user_manual_badges_response_spec.rb +2 -2
- data/client/spec/models/get_user_notification_count_response_spec.rb +2 -2
- data/client/spec/models/get_user_presence_statuses_response_spec.rb +2 -2
- data/client/spec/models/get_user_response_spec.rb +2 -2
- data/client/spec/models/get_user_trust_factor_response_spec.rb +2 -2
- data/client/spec/models/get_v1_page_likes_spec.rb +2 -2
- data/client/spec/models/get_v2_page_react_users_response_spec.rb +2 -2
- data/client/spec/models/get_v2_page_reacts_spec.rb +2 -2
- data/client/spec/models/get_votes_for_user_response_spec.rb +2 -2
- data/client/spec/models/get_votes_response_spec.rb +2 -2
- data/client/spec/models/gif_get_large_response_spec.rb +2 -2
- data/client/spec/models/gif_rating_spec.rb +2 -2
- data/client/spec/models/gif_search_internal_error_spec.rb +2 -2
- data/client/spec/models/gif_search_response_images_inner_inner_spec.rb +1 -1
- data/client/spec/models/gif_search_response_spec.rb +2 -2
- data/client/spec/models/header_account_notification_spec.rb +2 -2
- data/client/spec/models/header_state_spec.rb +2 -2
- data/client/spec/models/ignored_response_spec.rb +2 -2
- data/client/spec/models/image_content_profanity_level_spec.rb +2 -2
- data/client/spec/models/imported_agent_approval_notification_frequency_spec.rb +2 -2
- data/client/spec/models/imported_site_type_spec.rb +2 -2
- data/client/spec/models/live_event_extra_info_spec.rb +2 -2
- data/client/spec/models/live_event_spec.rb +2 -2
- data/client/spec/models/live_event_type_spec.rb +2 -2
- data/client/spec/models/media_asset_spec.rb +2 -2
- data/client/spec/models/mention_auto_complete_mode_spec.rb +2 -2
- data/client/spec/models/meta_item_spec.rb +2 -2
- data/client/spec/models/moderation_api_child_comments_response_spec.rb +2 -2
- data/client/spec/models/moderation_api_comment_log_spec.rb +2 -2
- data/client/spec/models/moderation_api_comment_response_spec.rb +2 -2
- data/client/spec/models/moderation_api_comment_spec.rb +2 -2
- data/client/spec/models/moderation_api_count_comments_response_spec.rb +2 -2
- data/client/spec/models/moderation_api_get_comment_ids_response_spec.rb +2 -2
- data/client/spec/models/moderation_api_get_comments_response_spec.rb +2 -2
- data/client/spec/models/moderation_api_get_logs_response_spec.rb +2 -2
- data/client/spec/models/moderation_comment_search_response_spec.rb +2 -2
- data/client/spec/models/moderation_export_response_spec.rb +2 -2
- data/client/spec/models/moderation_export_status_response_spec.rb +2 -2
- data/client/spec/models/moderation_filter_spec.rb +2 -2
- data/client/spec/models/moderation_page_search_projected_spec.rb +2 -2
- data/client/spec/models/moderation_page_search_response_spec.rb +2 -2
- data/client/spec/models/moderation_site_search_projected_spec.rb +2 -2
- data/client/spec/models/moderation_site_search_response_spec.rb +2 -2
- data/client/spec/models/moderation_suggest_response_spec.rb +2 -2
- data/client/spec/models/moderation_user_search_projected_spec.rb +2 -2
- data/client/spec/models/moderation_user_search_response_spec.rb +2 -2
- data/client/spec/models/moderator_spec.rb +2 -2
- data/client/spec/models/notification_and_count_spec.rb +2 -2
- data/client/spec/models/notification_object_type_spec.rb +2 -2
- data/client/spec/models/notification_type_spec.rb +2 -2
- data/client/spec/models/page_user_entry_spec.rb +2 -2
- data/client/spec/models/page_users_info_response_spec.rb +2 -2
- data/client/spec/models/page_users_offline_response_spec.rb +2 -2
- data/client/spec/models/page_users_online_response_spec.rb +2 -2
- data/client/spec/models/pages_sort_by_spec.rb +2 -2
- data/client/spec/models/patch_domain_config_params_spec.rb +2 -2
- data/client/spec/models/patch_domain_config_response_spec.rb +1 -1
- data/client/spec/models/patch_page_api_response_spec.rb +2 -2
- data/client/spec/models/patch_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/pending_comment_to_sync_outbound_spec.rb +2 -2
- data/client/spec/models/{post_remove_comment_response_spec.rb → post_remove_comment_api_response_spec.rb} +3 -3
- data/client/spec/models/pre_ban_summary_spec.rb +2 -2
- data/client/spec/models/pub_sub_comment_base_spec.rb +2 -2
- data/client/spec/models/pub_sub_comment_spec.rb +2 -2
- data/client/spec/models/pub_sub_vote_spec.rb +2 -2
- data/client/spec/models/public_api_delete_comment_response_spec.rb +2 -2
- data/client/spec/models/public_api_get_comment_text_response_spec.rb +2 -2
- data/client/spec/models/public_api_set_comment_text_response_spec.rb +2 -2
- data/client/spec/models/public_block_from_comment_params_spec.rb +2 -2
- data/client/spec/models/public_comment_base_spec.rb +2 -2
- data/client/spec/models/public_comment_spec.rb +2 -2
- data/client/spec/models/public_feed_posts_response_spec.rb +2 -2
- data/client/spec/models/public_page_spec.rb +2 -2
- data/client/spec/models/public_vote_spec.rb +2 -2
- data/client/spec/models/put_domain_config_response_spec.rb +1 -1
- data/client/spec/models/put_sso_user_api_response_spec.rb +2 -2
- data/client/spec/models/query_predicate_spec.rb +2 -2
- data/client/spec/models/query_predicate_value_spec.rb +1 -1
- data/client/spec/models/question_config_custom_options_inner_spec.rb +2 -2
- data/client/spec/models/question_config_spec.rb +2 -2
- data/client/spec/models/question_datum_spec.rb +2 -2
- data/client/spec/models/question_rendering_type_spec.rb +2 -2
- data/client/spec/models/question_result_aggregation_overall_spec.rb +2 -2
- data/client/spec/models/question_result_spec.rb +2 -2
- data/client/spec/models/question_sub_question_visibility_spec.rb +2 -2
- data/client/spec/models/question_when_save_spec.rb +2 -2
- data/client/spec/models/react_body_params_spec.rb +2 -2
- data/client/spec/models/react_feed_post_response_spec.rb +2 -2
- data/client/spec/models/record_string_before_string_or_null_after_string_or_null_value_spec.rb +2 -2
- data/client/spec/models/remove_comment_action_response_spec.rb +2 -2
- data/client/spec/models/remove_user_badge_response_spec.rb +2 -2
- data/client/spec/models/render_email_template_body_spec.rb +2 -2
- data/client/spec/models/render_email_template_response_spec.rb +2 -2
- data/client/spec/models/renderable_user_notification_spec.rb +2 -2
- data/client/spec/models/repeat_comment_check_ignored_reason_spec.rb +2 -2
- data/client/spec/models/repeat_comment_handling_action_spec.rb +2 -2
- data/client/spec/models/replace_tenant_package_body_spec.rb +2 -2
- data/client/spec/models/replace_tenant_user_body_spec.rb +2 -2
- data/client/spec/models/reset_user_notifications_response_spec.rb +2 -2
- data/client/spec/models/save_comment_response_optimized_spec.rb +2 -2
- data/client/spec/models/save_comments_bulk_response_spec.rb +1 -1
- data/client/spec/models/save_comments_response_with_presence_spec.rb +2 -2
- data/client/spec/models/search_users_response_spec.rb +2 -2
- data/client/spec/models/search_users_result_spec.rb +1 -1
- data/client/spec/models/search_users_sectioned_response_spec.rb +2 -2
- data/client/spec/models/set_comment_approved_response_spec.rb +2 -2
- data/client/spec/models/set_comment_text_params_spec.rb +2 -2
- data/client/spec/models/set_comment_text_response_spec.rb +2 -2
- data/client/spec/models/set_comment_text_result_spec.rb +2 -2
- data/client/spec/models/set_user_trust_factor_response_spec.rb +2 -2
- data/client/spec/models/size_preset_spec.rb +2 -2
- data/client/spec/models/sort_directions_spec.rb +2 -2
- data/client/spec/models/sortdir_spec.rb +2 -2
- data/client/spec/models/spam_rule_spec.rb +2 -2
- data/client/spec/models/sso_security_level_spec.rb +2 -2
- data/client/spec/models/tenant_badge_spec.rb +2 -2
- data/client/spec/models/tenant_hash_tag_spec.rb +2 -2
- data/client/spec/models/tenant_package_spec.rb +2 -2
- data/client/spec/models/tos_config_spec.rb +2 -2
- data/client/spec/models/un_block_from_comment_params_spec.rb +2 -2
- data/client/spec/models/unblock_success_spec.rb +2 -2
- data/client/spec/models/updatable_comment_params_spec.rb +2 -2
- data/client/spec/models/update_api_page_data_spec.rb +2 -2
- data/client/spec/models/update_api_user_subscription_data_spec.rb +2 -2
- data/client/spec/models/update_apisso_user_data_spec.rb +2 -2
- data/client/spec/models/update_domain_config_params_spec.rb +2 -2
- data/client/spec/models/update_email_template_body_spec.rb +2 -2
- data/client/spec/models/update_feed_post_params_spec.rb +2 -2
- data/client/spec/models/update_hash_tag_body_spec.rb +2 -2
- data/client/spec/models/update_hash_tag_response_spec.rb +2 -2
- data/client/spec/models/update_moderator_body_spec.rb +2 -2
- data/client/spec/models/update_notification_body_spec.rb +2 -2
- data/client/spec/models/update_question_config_body_spec.rb +2 -2
- data/client/spec/models/update_question_result_body_spec.rb +2 -2
- data/client/spec/models/update_subscription_api_response_spec.rb +2 -2
- data/client/spec/models/update_tenant_body_spec.rb +2 -2
- data/client/spec/models/update_tenant_package_body_spec.rb +2 -2
- data/client/spec/models/update_tenant_user_body_spec.rb +2 -2
- data/client/spec/models/update_user_badge_params_spec.rb +2 -2
- data/client/spec/models/update_user_notification_comment_subscription_status_response_spec.rb +1 -1
- data/client/spec/models/update_user_notification_page_subscription_status_response_spec.rb +1 -1
- data/client/spec/models/update_user_notification_status_response_spec.rb +1 -1
- data/client/spec/models/upload_image_response_spec.rb +2 -2
- data/client/spec/models/user_badge_progress_spec.rb +2 -2
- data/client/spec/models/user_badge_spec.rb +2 -2
- data/client/spec/models/user_notification_count_spec.rb +2 -2
- data/client/spec/models/user_notification_spec.rb +2 -2
- data/client/spec/models/user_notification_write_response_spec.rb +2 -2
- data/client/spec/models/user_presence_data_spec.rb +2 -2
- data/client/spec/models/user_reacts_response_spec.rb +2 -2
- data/client/spec/models/user_search_result_spec.rb +2 -2
- data/client/spec/models/user_search_section_result_spec.rb +2 -2
- data/client/spec/models/user_search_section_spec.rb +2 -2
- data/client/spec/models/user_session_info_spec.rb +2 -2
- data/client/spec/models/user_spec.rb +2 -2
- data/client/spec/models/users_list_location_spec.rb +2 -2
- data/client/spec/models/vote_body_params_spec.rb +2 -2
- data/client/spec/models/vote_delete_response_spec.rb +2 -2
- data/client/spec/models/vote_response_spec.rb +6 -2
- data/client/spec/models/vote_response_user_spec.rb +2 -2
- data/client/spec/models/vote_style_spec.rb +2 -2
- data/client/spec/spec_helper.rb +1 -1
- data/lib/fastcomments.rb +1 -1
- metadata +6 -8
- data/client/docs/VoteResponseStatus.md +0 -15
- data/client/lib/fastcomments-client/models/vote_response_status.rb +0 -104
- data/client/spec/models/vote_response_status_spec.rb +0 -21
|
@@ -4,54 +4,54 @@ All URIs are relative to *https://fastcomments.com*
|
|
|
4
4
|
|
|
5
5
|
| Method | HTTP request | Description |
|
|
6
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 | |
|
|
7
|
+
| [**delete_moderation_vote**](ModerationApi.md#delete_moderation_vote) | **DELETE** /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | |
|
|
8
|
+
| [**get_api_comments**](ModerationApi.md#get_api_comments) | **GET** /auth/my-account/moderate-comments/mod_api/api/comments | |
|
|
9
|
+
| [**get_api_export_status**](ModerationApi.md#get_api_export_status) | **GET** /auth/my-account/moderate-comments/mod_api/api/export/status | |
|
|
10
|
+
| [**get_api_ids**](ModerationApi.md#get_api_ids) | **GET** /auth/my-account/moderate-comments/mod_api/api/ids | |
|
|
11
|
+
| [**get_ban_users_from_comment**](ModerationApi.md#get_ban_users_from_comment) | **GET** /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | |
|
|
12
|
+
| [**get_comment_ban_status**](ModerationApi.md#get_comment_ban_status) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | |
|
|
13
|
+
| [**get_comment_children**](ModerationApi.md#get_comment_children) | **GET** /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | |
|
|
14
|
+
| [**get_count**](ModerationApi.md#get_count) | **GET** /auth/my-account/moderate-comments/mod_api/count | |
|
|
15
|
+
| [**get_counts**](ModerationApi.md#get_counts) | **GET** /auth/my-account/moderate-comments/banned-users/mod_api/counts | |
|
|
16
|
+
| [**get_logs**](ModerationApi.md#get_logs) | **GET** /auth/my-account/moderate-comments/mod_api/logs/{commentId} | |
|
|
17
|
+
| [**get_manual_badges**](ModerationApi.md#get_manual_badges) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges | |
|
|
18
|
+
| [**get_manual_badges_for_user**](ModerationApi.md#get_manual_badges_for_user) | **GET** /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | |
|
|
19
|
+
| [**get_moderation_comment**](ModerationApi.md#get_moderation_comment) | **GET** /auth/my-account/moderate-comments/mod_api/comment/{commentId} | |
|
|
20
|
+
| [**get_moderation_comment_text**](ModerationApi.md#get_moderation_comment_text) | **GET** /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | |
|
|
21
|
+
| [**get_pre_ban_summary**](ModerationApi.md#get_pre_ban_summary) | **GET** /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | |
|
|
22
|
+
| [**get_search_comments_summary**](ModerationApi.md#get_search_comments_summary) | **GET** /auth/my-account/moderate-comments/mod_api/search/comments/summary | |
|
|
23
|
+
| [**get_search_pages**](ModerationApi.md#get_search_pages) | **GET** /auth/my-account/moderate-comments/mod_api/search/pages | |
|
|
24
|
+
| [**get_search_sites**](ModerationApi.md#get_search_sites) | **GET** /auth/my-account/moderate-comments/mod_api/search/sites | |
|
|
25
|
+
| [**get_search_suggest**](ModerationApi.md#get_search_suggest) | **GET** /auth/my-account/moderate-comments/mod_api/search/suggest | |
|
|
26
|
+
| [**get_search_users**](ModerationApi.md#get_search_users) | **GET** /auth/my-account/moderate-comments/mod_api/search/users | |
|
|
27
|
+
| [**get_trust_factor**](ModerationApi.md#get_trust_factor) | **GET** /auth/my-account/moderate-comments/mod_api/get-trust-factor | |
|
|
28
|
+
| [**get_user_ban_preference**](ModerationApi.md#get_user_ban_preference) | **GET** /auth/my-account/moderate-comments/mod_api/user-ban-preference | |
|
|
29
|
+
| [**get_user_internal_profile**](ModerationApi.md#get_user_internal_profile) | **GET** /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | |
|
|
30
|
+
| [**post_adjust_comment_votes**](ModerationApi.md#post_adjust_comment_votes) | **POST** /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | |
|
|
31
|
+
| [**post_api_export**](ModerationApi.md#post_api_export) | **POST** /auth/my-account/moderate-comments/mod_api/api/export | |
|
|
32
|
+
| [**post_ban_user_from_comment**](ModerationApi.md#post_ban_user_from_comment) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | |
|
|
33
|
+
| [**post_ban_user_undo**](ModerationApi.md#post_ban_user_undo) | **POST** /auth/my-account/moderate-comments/mod_api/ban-user/undo | |
|
|
34
|
+
| [**post_bulk_pre_ban_summary**](ModerationApi.md#post_bulk_pre_ban_summary) | **POST** /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | |
|
|
35
|
+
| [**post_comments_by_ids**](ModerationApi.md#post_comments_by_ids) | **POST** /auth/my-account/moderate-comments/mod_api/comments-by-ids | |
|
|
36
|
+
| [**post_flag_comment**](ModerationApi.md#post_flag_comment) | **POST** /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | |
|
|
37
|
+
| [**post_remove_comment**](ModerationApi.md#post_remove_comment) | **POST** /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | |
|
|
38
|
+
| [**post_restore_deleted_comment**](ModerationApi.md#post_restore_deleted_comment) | **POST** /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | |
|
|
39
|
+
| [**post_set_comment_approval_status**](ModerationApi.md#post_set_comment_approval_status) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | |
|
|
40
|
+
| [**post_set_comment_review_status**](ModerationApi.md#post_set_comment_review_status) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | |
|
|
41
|
+
| [**post_set_comment_spam_status**](ModerationApi.md#post_set_comment_spam_status) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | |
|
|
42
|
+
| [**post_set_comment_text**](ModerationApi.md#post_set_comment_text) | **POST** /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | |
|
|
43
|
+
| [**post_un_flag_comment**](ModerationApi.md#post_un_flag_comment) | **POST** /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | |
|
|
44
|
+
| [**post_vote**](ModerationApi.md#post_vote) | **POST** /auth/my-account/moderate-comments/mod_api/vote/{commentId} | |
|
|
45
|
+
| [**put_award_badge**](ModerationApi.md#put_award_badge) | **PUT** /auth/my-account/moderate-comments/mod_api/award-badge | |
|
|
46
|
+
| [**put_close_thread**](ModerationApi.md#put_close_thread) | **PUT** /auth/my-account/moderate-comments/mod_api/close-thread | |
|
|
47
|
+
| [**put_remove_badge**](ModerationApi.md#put_remove_badge) | **PUT** /auth/my-account/moderate-comments/mod_api/remove-badge | |
|
|
48
|
+
| [**put_reopen_thread**](ModerationApi.md#put_reopen_thread) | **PUT** /auth/my-account/moderate-comments/mod_api/reopen-thread | |
|
|
49
|
+
| [**set_trust_factor**](ModerationApi.md#set_trust_factor) | **PUT** /auth/my-account/moderate-comments/mod_api/set-trust-factor | |
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
## delete_moderation_vote
|
|
53
53
|
|
|
54
|
-
> <VoteDeleteResponse> delete_moderation_vote(comment_id, vote_id, opts)
|
|
54
|
+
> <VoteDeleteResponse> delete_moderation_vote(tenant_id, comment_id, vote_id, opts)
|
|
55
55
|
|
|
56
56
|
|
|
57
57
|
|
|
@@ -62,15 +62,17 @@ require 'time'
|
|
|
62
62
|
require 'fastcomments-client'
|
|
63
63
|
|
|
64
64
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
65
|
+
tenant_id = 'tenant_id_example' # String |
|
|
65
66
|
comment_id = 'comment_id_example' # String |
|
|
66
67
|
vote_id = 'vote_id_example' # String |
|
|
67
68
|
opts = {
|
|
69
|
+
broadcast_id: 'broadcast_id_example', # String |
|
|
68
70
|
sso: 'sso_example' # String |
|
|
69
71
|
}
|
|
70
72
|
|
|
71
73
|
begin
|
|
72
74
|
|
|
73
|
-
result = api_instance.delete_moderation_vote(comment_id, vote_id, opts)
|
|
75
|
+
result = api_instance.delete_moderation_vote(tenant_id, comment_id, vote_id, opts)
|
|
74
76
|
p result
|
|
75
77
|
rescue FastCommentsClient::ApiError => e
|
|
76
78
|
puts "Error when calling ModerationApi->delete_moderation_vote: #{e}"
|
|
@@ -81,12 +83,12 @@ end
|
|
|
81
83
|
|
|
82
84
|
This returns an Array which contains the response data, status code and headers.
|
|
83
85
|
|
|
84
|
-
> <Array(<VoteDeleteResponse>, Integer, Hash)> delete_moderation_vote_with_http_info(comment_id, vote_id, opts)
|
|
86
|
+
> <Array(<VoteDeleteResponse>, Integer, Hash)> delete_moderation_vote_with_http_info(tenant_id, comment_id, vote_id, opts)
|
|
85
87
|
|
|
86
88
|
```ruby
|
|
87
89
|
begin
|
|
88
90
|
|
|
89
|
-
data, status_code, headers = api_instance.delete_moderation_vote_with_http_info(comment_id, vote_id, opts)
|
|
91
|
+
data, status_code, headers = api_instance.delete_moderation_vote_with_http_info(tenant_id, comment_id, vote_id, opts)
|
|
90
92
|
p status_code # => 2xx
|
|
91
93
|
p headers # => { ... }
|
|
92
94
|
p data # => <VoteDeleteResponse>
|
|
@@ -99,8 +101,10 @@ end
|
|
|
99
101
|
|
|
100
102
|
| Name | Type | Description | Notes |
|
|
101
103
|
| ---- | ---- | ----------- | ----- |
|
|
104
|
+
| **tenant_id** | **String** | | |
|
|
102
105
|
| **comment_id** | **String** | | |
|
|
103
106
|
| **vote_id** | **String** | | |
|
|
107
|
+
| **broadcast_id** | **String** | | [optional] |
|
|
104
108
|
| **sso** | **String** | | [optional] |
|
|
105
109
|
|
|
106
110
|
### Return type
|
|
@@ -119,7 +123,7 @@ No authorization required
|
|
|
119
123
|
|
|
120
124
|
## get_api_comments
|
|
121
125
|
|
|
122
|
-
> <ModerationAPIGetCommentsResponse> get_api_comments(opts)
|
|
126
|
+
> <ModerationAPIGetCommentsResponse> get_api_comments(tenant_id, opts)
|
|
123
127
|
|
|
124
128
|
|
|
125
129
|
|
|
@@ -130,6 +134,7 @@ require 'time'
|
|
|
130
134
|
require 'fastcomments-client'
|
|
131
135
|
|
|
132
136
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
137
|
+
tenant_id = 'tenant_id_example' # String |
|
|
133
138
|
opts = {
|
|
134
139
|
page: 1.2, # Float |
|
|
135
140
|
count: 1.2, # Float |
|
|
@@ -144,7 +149,7 @@ opts = {
|
|
|
144
149
|
|
|
145
150
|
begin
|
|
146
151
|
|
|
147
|
-
result = api_instance.get_api_comments(opts)
|
|
152
|
+
result = api_instance.get_api_comments(tenant_id, opts)
|
|
148
153
|
p result
|
|
149
154
|
rescue FastCommentsClient::ApiError => e
|
|
150
155
|
puts "Error when calling ModerationApi->get_api_comments: #{e}"
|
|
@@ -155,12 +160,12 @@ end
|
|
|
155
160
|
|
|
156
161
|
This returns an Array which contains the response data, status code and headers.
|
|
157
162
|
|
|
158
|
-
> <Array(<ModerationAPIGetCommentsResponse>, Integer, Hash)> get_api_comments_with_http_info(opts)
|
|
163
|
+
> <Array(<ModerationAPIGetCommentsResponse>, Integer, Hash)> get_api_comments_with_http_info(tenant_id, opts)
|
|
159
164
|
|
|
160
165
|
```ruby
|
|
161
166
|
begin
|
|
162
167
|
|
|
163
|
-
data, status_code, headers = api_instance.get_api_comments_with_http_info(opts)
|
|
168
|
+
data, status_code, headers = api_instance.get_api_comments_with_http_info(tenant_id, opts)
|
|
164
169
|
p status_code # => 2xx
|
|
165
170
|
p headers # => { ... }
|
|
166
171
|
p data # => <ModerationAPIGetCommentsResponse>
|
|
@@ -173,6 +178,7 @@ end
|
|
|
173
178
|
|
|
174
179
|
| Name | Type | Description | Notes |
|
|
175
180
|
| ---- | ---- | ----------- | ----- |
|
|
181
|
+
| **tenant_id** | **String** | | |
|
|
176
182
|
| **page** | **Float** | | [optional] |
|
|
177
183
|
| **count** | **Float** | | [optional] |
|
|
178
184
|
| **text_search** | **String** | | [optional] |
|
|
@@ -199,7 +205,7 @@ No authorization required
|
|
|
199
205
|
|
|
200
206
|
## get_api_export_status
|
|
201
207
|
|
|
202
|
-
> <ModerationExportStatusResponse> get_api_export_status(opts)
|
|
208
|
+
> <ModerationExportStatusResponse> get_api_export_status(tenant_id, opts)
|
|
203
209
|
|
|
204
210
|
|
|
205
211
|
|
|
@@ -210,6 +216,7 @@ require 'time'
|
|
|
210
216
|
require 'fastcomments-client'
|
|
211
217
|
|
|
212
218
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
219
|
+
tenant_id = 'tenant_id_example' # String |
|
|
213
220
|
opts = {
|
|
214
221
|
batch_job_id: 'batch_job_id_example', # String |
|
|
215
222
|
sso: 'sso_example' # String |
|
|
@@ -217,7 +224,7 @@ opts = {
|
|
|
217
224
|
|
|
218
225
|
begin
|
|
219
226
|
|
|
220
|
-
result = api_instance.get_api_export_status(opts)
|
|
227
|
+
result = api_instance.get_api_export_status(tenant_id, opts)
|
|
221
228
|
p result
|
|
222
229
|
rescue FastCommentsClient::ApiError => e
|
|
223
230
|
puts "Error when calling ModerationApi->get_api_export_status: #{e}"
|
|
@@ -228,12 +235,12 @@ end
|
|
|
228
235
|
|
|
229
236
|
This returns an Array which contains the response data, status code and headers.
|
|
230
237
|
|
|
231
|
-
> <Array(<ModerationExportStatusResponse>, Integer, Hash)> get_api_export_status_with_http_info(opts)
|
|
238
|
+
> <Array(<ModerationExportStatusResponse>, Integer, Hash)> get_api_export_status_with_http_info(tenant_id, opts)
|
|
232
239
|
|
|
233
240
|
```ruby
|
|
234
241
|
begin
|
|
235
242
|
|
|
236
|
-
data, status_code, headers = api_instance.get_api_export_status_with_http_info(opts)
|
|
243
|
+
data, status_code, headers = api_instance.get_api_export_status_with_http_info(tenant_id, opts)
|
|
237
244
|
p status_code # => 2xx
|
|
238
245
|
p headers # => { ... }
|
|
239
246
|
p data # => <ModerationExportStatusResponse>
|
|
@@ -246,6 +253,7 @@ end
|
|
|
246
253
|
|
|
247
254
|
| Name | Type | Description | Notes |
|
|
248
255
|
| ---- | ---- | ----------- | ----- |
|
|
256
|
+
| **tenant_id** | **String** | | |
|
|
249
257
|
| **batch_job_id** | **String** | | [optional] |
|
|
250
258
|
| **sso** | **String** | | [optional] |
|
|
251
259
|
|
|
@@ -265,7 +273,7 @@ No authorization required
|
|
|
265
273
|
|
|
266
274
|
## get_api_ids
|
|
267
275
|
|
|
268
|
-
> <ModerationAPIGetCommentIdsResponse> get_api_ids(opts)
|
|
276
|
+
> <ModerationAPIGetCommentIdsResponse> get_api_ids(tenant_id, opts)
|
|
269
277
|
|
|
270
278
|
|
|
271
279
|
|
|
@@ -276,6 +284,7 @@ require 'time'
|
|
|
276
284
|
require 'fastcomments-client'
|
|
277
285
|
|
|
278
286
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
287
|
+
tenant_id = 'tenant_id_example' # String |
|
|
279
288
|
opts = {
|
|
280
289
|
text_search: 'text_search_example', # String |
|
|
281
290
|
by_ip_from_comment: 'by_ip_from_comment_example', # String |
|
|
@@ -288,7 +297,7 @@ opts = {
|
|
|
288
297
|
|
|
289
298
|
begin
|
|
290
299
|
|
|
291
|
-
result = api_instance.get_api_ids(opts)
|
|
300
|
+
result = api_instance.get_api_ids(tenant_id, opts)
|
|
292
301
|
p result
|
|
293
302
|
rescue FastCommentsClient::ApiError => e
|
|
294
303
|
puts "Error when calling ModerationApi->get_api_ids: #{e}"
|
|
@@ -299,12 +308,12 @@ end
|
|
|
299
308
|
|
|
300
309
|
This returns an Array which contains the response data, status code and headers.
|
|
301
310
|
|
|
302
|
-
> <Array(<ModerationAPIGetCommentIdsResponse>, Integer, Hash)> get_api_ids_with_http_info(opts)
|
|
311
|
+
> <Array(<ModerationAPIGetCommentIdsResponse>, Integer, Hash)> get_api_ids_with_http_info(tenant_id, opts)
|
|
303
312
|
|
|
304
313
|
```ruby
|
|
305
314
|
begin
|
|
306
315
|
|
|
307
|
-
data, status_code, headers = api_instance.get_api_ids_with_http_info(opts)
|
|
316
|
+
data, status_code, headers = api_instance.get_api_ids_with_http_info(tenant_id, opts)
|
|
308
317
|
p status_code # => 2xx
|
|
309
318
|
p headers # => { ... }
|
|
310
319
|
p data # => <ModerationAPIGetCommentIdsResponse>
|
|
@@ -317,6 +326,7 @@ end
|
|
|
317
326
|
|
|
318
327
|
| Name | Type | Description | Notes |
|
|
319
328
|
| ---- | ---- | ----------- | ----- |
|
|
329
|
+
| **tenant_id** | **String** | | |
|
|
320
330
|
| **text_search** | **String** | | [optional] |
|
|
321
331
|
| **by_ip_from_comment** | **String** | | [optional] |
|
|
322
332
|
| **filters** | **String** | | [optional] |
|
|
@@ -341,7 +351,7 @@ No authorization required
|
|
|
341
351
|
|
|
342
352
|
## get_ban_users_from_comment
|
|
343
353
|
|
|
344
|
-
> <GetBannedUsersFromCommentResponse> get_ban_users_from_comment(comment_id, opts)
|
|
354
|
+
> <GetBannedUsersFromCommentResponse> get_ban_users_from_comment(tenant_id, comment_id, opts)
|
|
345
355
|
|
|
346
356
|
|
|
347
357
|
|
|
@@ -352,6 +362,7 @@ require 'time'
|
|
|
352
362
|
require 'fastcomments-client'
|
|
353
363
|
|
|
354
364
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
365
|
+
tenant_id = 'tenant_id_example' # String |
|
|
355
366
|
comment_id = 'comment_id_example' # String |
|
|
356
367
|
opts = {
|
|
357
368
|
sso: 'sso_example' # String |
|
|
@@ -359,7 +370,7 @@ opts = {
|
|
|
359
370
|
|
|
360
371
|
begin
|
|
361
372
|
|
|
362
|
-
result = api_instance.get_ban_users_from_comment(comment_id, opts)
|
|
373
|
+
result = api_instance.get_ban_users_from_comment(tenant_id, comment_id, opts)
|
|
363
374
|
p result
|
|
364
375
|
rescue FastCommentsClient::ApiError => e
|
|
365
376
|
puts "Error when calling ModerationApi->get_ban_users_from_comment: #{e}"
|
|
@@ -370,12 +381,12 @@ end
|
|
|
370
381
|
|
|
371
382
|
This returns an Array which contains the response data, status code and headers.
|
|
372
383
|
|
|
373
|
-
> <Array(<GetBannedUsersFromCommentResponse>, Integer, Hash)> get_ban_users_from_comment_with_http_info(comment_id, opts)
|
|
384
|
+
> <Array(<GetBannedUsersFromCommentResponse>, Integer, Hash)> get_ban_users_from_comment_with_http_info(tenant_id, comment_id, opts)
|
|
374
385
|
|
|
375
386
|
```ruby
|
|
376
387
|
begin
|
|
377
388
|
|
|
378
|
-
data, status_code, headers = api_instance.get_ban_users_from_comment_with_http_info(comment_id, opts)
|
|
389
|
+
data, status_code, headers = api_instance.get_ban_users_from_comment_with_http_info(tenant_id, comment_id, opts)
|
|
379
390
|
p status_code # => 2xx
|
|
380
391
|
p headers # => { ... }
|
|
381
392
|
p data # => <GetBannedUsersFromCommentResponse>
|
|
@@ -388,6 +399,7 @@ end
|
|
|
388
399
|
|
|
389
400
|
| Name | Type | Description | Notes |
|
|
390
401
|
| ---- | ---- | ----------- | ----- |
|
|
402
|
+
| **tenant_id** | **String** | | |
|
|
391
403
|
| **comment_id** | **String** | | |
|
|
392
404
|
| **sso** | **String** | | [optional] |
|
|
393
405
|
|
|
@@ -407,7 +419,7 @@ No authorization required
|
|
|
407
419
|
|
|
408
420
|
## get_comment_ban_status
|
|
409
421
|
|
|
410
|
-
> <GetCommentBanStatusResponse> get_comment_ban_status(comment_id, opts)
|
|
422
|
+
> <GetCommentBanStatusResponse> get_comment_ban_status(tenant_id, comment_id, opts)
|
|
411
423
|
|
|
412
424
|
|
|
413
425
|
|
|
@@ -418,6 +430,7 @@ require 'time'
|
|
|
418
430
|
require 'fastcomments-client'
|
|
419
431
|
|
|
420
432
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
433
|
+
tenant_id = 'tenant_id_example' # String |
|
|
421
434
|
comment_id = 'comment_id_example' # String |
|
|
422
435
|
opts = {
|
|
423
436
|
sso: 'sso_example' # String |
|
|
@@ -425,7 +438,7 @@ opts = {
|
|
|
425
438
|
|
|
426
439
|
begin
|
|
427
440
|
|
|
428
|
-
result = api_instance.get_comment_ban_status(comment_id, opts)
|
|
441
|
+
result = api_instance.get_comment_ban_status(tenant_id, comment_id, opts)
|
|
429
442
|
p result
|
|
430
443
|
rescue FastCommentsClient::ApiError => e
|
|
431
444
|
puts "Error when calling ModerationApi->get_comment_ban_status: #{e}"
|
|
@@ -436,12 +449,12 @@ end
|
|
|
436
449
|
|
|
437
450
|
This returns an Array which contains the response data, status code and headers.
|
|
438
451
|
|
|
439
|
-
> <Array(<GetCommentBanStatusResponse>, Integer, Hash)> get_comment_ban_status_with_http_info(comment_id, opts)
|
|
452
|
+
> <Array(<GetCommentBanStatusResponse>, Integer, Hash)> get_comment_ban_status_with_http_info(tenant_id, comment_id, opts)
|
|
440
453
|
|
|
441
454
|
```ruby
|
|
442
455
|
begin
|
|
443
456
|
|
|
444
|
-
data, status_code, headers = api_instance.get_comment_ban_status_with_http_info(comment_id, opts)
|
|
457
|
+
data, status_code, headers = api_instance.get_comment_ban_status_with_http_info(tenant_id, comment_id, opts)
|
|
445
458
|
p status_code # => 2xx
|
|
446
459
|
p headers # => { ... }
|
|
447
460
|
p data # => <GetCommentBanStatusResponse>
|
|
@@ -454,6 +467,7 @@ end
|
|
|
454
467
|
|
|
455
468
|
| Name | Type | Description | Notes |
|
|
456
469
|
| ---- | ---- | ----------- | ----- |
|
|
470
|
+
| **tenant_id** | **String** | | |
|
|
457
471
|
| **comment_id** | **String** | | |
|
|
458
472
|
| **sso** | **String** | | [optional] |
|
|
459
473
|
|
|
@@ -473,7 +487,7 @@ No authorization required
|
|
|
473
487
|
|
|
474
488
|
## get_comment_children
|
|
475
489
|
|
|
476
|
-
> <ModerationAPIChildCommentsResponse> get_comment_children(comment_id, opts)
|
|
490
|
+
> <ModerationAPIChildCommentsResponse> get_comment_children(tenant_id, comment_id, opts)
|
|
477
491
|
|
|
478
492
|
|
|
479
493
|
|
|
@@ -484,6 +498,7 @@ require 'time'
|
|
|
484
498
|
require 'fastcomments-client'
|
|
485
499
|
|
|
486
500
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
501
|
+
tenant_id = 'tenant_id_example' # String |
|
|
487
502
|
comment_id = 'comment_id_example' # String |
|
|
488
503
|
opts = {
|
|
489
504
|
sso: 'sso_example' # String |
|
|
@@ -491,7 +506,7 @@ opts = {
|
|
|
491
506
|
|
|
492
507
|
begin
|
|
493
508
|
|
|
494
|
-
result = api_instance.get_comment_children(comment_id, opts)
|
|
509
|
+
result = api_instance.get_comment_children(tenant_id, comment_id, opts)
|
|
495
510
|
p result
|
|
496
511
|
rescue FastCommentsClient::ApiError => e
|
|
497
512
|
puts "Error when calling ModerationApi->get_comment_children: #{e}"
|
|
@@ -502,12 +517,12 @@ end
|
|
|
502
517
|
|
|
503
518
|
This returns an Array which contains the response data, status code and headers.
|
|
504
519
|
|
|
505
|
-
> <Array(<ModerationAPIChildCommentsResponse>, Integer, Hash)> get_comment_children_with_http_info(comment_id, opts)
|
|
520
|
+
> <Array(<ModerationAPIChildCommentsResponse>, Integer, Hash)> get_comment_children_with_http_info(tenant_id, comment_id, opts)
|
|
506
521
|
|
|
507
522
|
```ruby
|
|
508
523
|
begin
|
|
509
524
|
|
|
510
|
-
data, status_code, headers = api_instance.get_comment_children_with_http_info(comment_id, opts)
|
|
525
|
+
data, status_code, headers = api_instance.get_comment_children_with_http_info(tenant_id, comment_id, opts)
|
|
511
526
|
p status_code # => 2xx
|
|
512
527
|
p headers # => { ... }
|
|
513
528
|
p data # => <ModerationAPIChildCommentsResponse>
|
|
@@ -520,6 +535,7 @@ end
|
|
|
520
535
|
|
|
521
536
|
| Name | Type | Description | Notes |
|
|
522
537
|
| ---- | ---- | ----------- | ----- |
|
|
538
|
+
| **tenant_id** | **String** | | |
|
|
523
539
|
| **comment_id** | **String** | | |
|
|
524
540
|
| **sso** | **String** | | [optional] |
|
|
525
541
|
|
|
@@ -539,7 +555,7 @@ No authorization required
|
|
|
539
555
|
|
|
540
556
|
## get_count
|
|
541
557
|
|
|
542
|
-
> <ModerationAPICountCommentsResponse> get_count(opts)
|
|
558
|
+
> <ModerationAPICountCommentsResponse> get_count(tenant_id, opts)
|
|
543
559
|
|
|
544
560
|
|
|
545
561
|
|
|
@@ -550,6 +566,7 @@ require 'time'
|
|
|
550
566
|
require 'fastcomments-client'
|
|
551
567
|
|
|
552
568
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
569
|
+
tenant_id = 'tenant_id_example' # String |
|
|
553
570
|
opts = {
|
|
554
571
|
text_search: 'text_search_example', # String |
|
|
555
572
|
by_ip_from_comment: 'by_ip_from_comment_example', # String |
|
|
@@ -561,7 +578,7 @@ opts = {
|
|
|
561
578
|
|
|
562
579
|
begin
|
|
563
580
|
|
|
564
|
-
result = api_instance.get_count(opts)
|
|
581
|
+
result = api_instance.get_count(tenant_id, opts)
|
|
565
582
|
p result
|
|
566
583
|
rescue FastCommentsClient::ApiError => e
|
|
567
584
|
puts "Error when calling ModerationApi->get_count: #{e}"
|
|
@@ -572,12 +589,12 @@ end
|
|
|
572
589
|
|
|
573
590
|
This returns an Array which contains the response data, status code and headers.
|
|
574
591
|
|
|
575
|
-
> <Array(<ModerationAPICountCommentsResponse>, Integer, Hash)> get_count_with_http_info(opts)
|
|
592
|
+
> <Array(<ModerationAPICountCommentsResponse>, Integer, Hash)> get_count_with_http_info(tenant_id, opts)
|
|
576
593
|
|
|
577
594
|
```ruby
|
|
578
595
|
begin
|
|
579
596
|
|
|
580
|
-
data, status_code, headers = api_instance.get_count_with_http_info(opts)
|
|
597
|
+
data, status_code, headers = api_instance.get_count_with_http_info(tenant_id, opts)
|
|
581
598
|
p status_code # => 2xx
|
|
582
599
|
p headers # => { ... }
|
|
583
600
|
p data # => <ModerationAPICountCommentsResponse>
|
|
@@ -590,6 +607,7 @@ end
|
|
|
590
607
|
|
|
591
608
|
| Name | Type | Description | Notes |
|
|
592
609
|
| ---- | ---- | ----------- | ----- |
|
|
610
|
+
| **tenant_id** | **String** | | |
|
|
593
611
|
| **text_search** | **String** | | [optional] |
|
|
594
612
|
| **by_ip_from_comment** | **String** | | [optional] |
|
|
595
613
|
| **filter** | **String** | | [optional] |
|
|
@@ -613,7 +631,7 @@ No authorization required
|
|
|
613
631
|
|
|
614
632
|
## get_counts
|
|
615
633
|
|
|
616
|
-
> <GetBannedUsersCountResponse> get_counts(opts)
|
|
634
|
+
> <GetBannedUsersCountResponse> get_counts(tenant_id, opts)
|
|
617
635
|
|
|
618
636
|
|
|
619
637
|
|
|
@@ -624,13 +642,14 @@ require 'time'
|
|
|
624
642
|
require 'fastcomments-client'
|
|
625
643
|
|
|
626
644
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
645
|
+
tenant_id = 'tenant_id_example' # String |
|
|
627
646
|
opts = {
|
|
628
647
|
sso: 'sso_example' # String |
|
|
629
648
|
}
|
|
630
649
|
|
|
631
650
|
begin
|
|
632
651
|
|
|
633
|
-
result = api_instance.get_counts(opts)
|
|
652
|
+
result = api_instance.get_counts(tenant_id, opts)
|
|
634
653
|
p result
|
|
635
654
|
rescue FastCommentsClient::ApiError => e
|
|
636
655
|
puts "Error when calling ModerationApi->get_counts: #{e}"
|
|
@@ -641,12 +660,12 @@ end
|
|
|
641
660
|
|
|
642
661
|
This returns an Array which contains the response data, status code and headers.
|
|
643
662
|
|
|
644
|
-
> <Array(<GetBannedUsersCountResponse>, Integer, Hash)> get_counts_with_http_info(opts)
|
|
663
|
+
> <Array(<GetBannedUsersCountResponse>, Integer, Hash)> get_counts_with_http_info(tenant_id, opts)
|
|
645
664
|
|
|
646
665
|
```ruby
|
|
647
666
|
begin
|
|
648
667
|
|
|
649
|
-
data, status_code, headers = api_instance.get_counts_with_http_info(opts)
|
|
668
|
+
data, status_code, headers = api_instance.get_counts_with_http_info(tenant_id, opts)
|
|
650
669
|
p status_code # => 2xx
|
|
651
670
|
p headers # => { ... }
|
|
652
671
|
p data # => <GetBannedUsersCountResponse>
|
|
@@ -659,6 +678,7 @@ end
|
|
|
659
678
|
|
|
660
679
|
| Name | Type | Description | Notes |
|
|
661
680
|
| ---- | ---- | ----------- | ----- |
|
|
681
|
+
| **tenant_id** | **String** | | |
|
|
662
682
|
| **sso** | **String** | | [optional] |
|
|
663
683
|
|
|
664
684
|
### Return type
|
|
@@ -677,7 +697,7 @@ No authorization required
|
|
|
677
697
|
|
|
678
698
|
## get_logs
|
|
679
699
|
|
|
680
|
-
> <ModerationAPIGetLogsResponse> get_logs(comment_id, opts)
|
|
700
|
+
> <ModerationAPIGetLogsResponse> get_logs(tenant_id, comment_id, opts)
|
|
681
701
|
|
|
682
702
|
|
|
683
703
|
|
|
@@ -688,6 +708,7 @@ require 'time'
|
|
|
688
708
|
require 'fastcomments-client'
|
|
689
709
|
|
|
690
710
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
711
|
+
tenant_id = 'tenant_id_example' # String |
|
|
691
712
|
comment_id = 'comment_id_example' # String |
|
|
692
713
|
opts = {
|
|
693
714
|
sso: 'sso_example' # String |
|
|
@@ -695,7 +716,7 @@ opts = {
|
|
|
695
716
|
|
|
696
717
|
begin
|
|
697
718
|
|
|
698
|
-
result = api_instance.get_logs(comment_id, opts)
|
|
719
|
+
result = api_instance.get_logs(tenant_id, comment_id, opts)
|
|
699
720
|
p result
|
|
700
721
|
rescue FastCommentsClient::ApiError => e
|
|
701
722
|
puts "Error when calling ModerationApi->get_logs: #{e}"
|
|
@@ -706,12 +727,12 @@ end
|
|
|
706
727
|
|
|
707
728
|
This returns an Array which contains the response data, status code and headers.
|
|
708
729
|
|
|
709
|
-
> <Array(<ModerationAPIGetLogsResponse>, Integer, Hash)> get_logs_with_http_info(comment_id, opts)
|
|
730
|
+
> <Array(<ModerationAPIGetLogsResponse>, Integer, Hash)> get_logs_with_http_info(tenant_id, comment_id, opts)
|
|
710
731
|
|
|
711
732
|
```ruby
|
|
712
733
|
begin
|
|
713
734
|
|
|
714
|
-
data, status_code, headers = api_instance.get_logs_with_http_info(comment_id, opts)
|
|
735
|
+
data, status_code, headers = api_instance.get_logs_with_http_info(tenant_id, comment_id, opts)
|
|
715
736
|
p status_code # => 2xx
|
|
716
737
|
p headers # => { ... }
|
|
717
738
|
p data # => <ModerationAPIGetLogsResponse>
|
|
@@ -724,6 +745,7 @@ end
|
|
|
724
745
|
|
|
725
746
|
| Name | Type | Description | Notes |
|
|
726
747
|
| ---- | ---- | ----------- | ----- |
|
|
748
|
+
| **tenant_id** | **String** | | |
|
|
727
749
|
| **comment_id** | **String** | | |
|
|
728
750
|
| **sso** | **String** | | [optional] |
|
|
729
751
|
|
|
@@ -743,7 +765,7 @@ No authorization required
|
|
|
743
765
|
|
|
744
766
|
## get_manual_badges
|
|
745
767
|
|
|
746
|
-
> <GetTenantManualBadgesResponse> get_manual_badges(opts)
|
|
768
|
+
> <GetTenantManualBadgesResponse> get_manual_badges(tenant_id, opts)
|
|
747
769
|
|
|
748
770
|
|
|
749
771
|
|
|
@@ -754,13 +776,14 @@ require 'time'
|
|
|
754
776
|
require 'fastcomments-client'
|
|
755
777
|
|
|
756
778
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
779
|
+
tenant_id = 'tenant_id_example' # String |
|
|
757
780
|
opts = {
|
|
758
781
|
sso: 'sso_example' # String |
|
|
759
782
|
}
|
|
760
783
|
|
|
761
784
|
begin
|
|
762
785
|
|
|
763
|
-
result = api_instance.get_manual_badges(opts)
|
|
786
|
+
result = api_instance.get_manual_badges(tenant_id, opts)
|
|
764
787
|
p result
|
|
765
788
|
rescue FastCommentsClient::ApiError => e
|
|
766
789
|
puts "Error when calling ModerationApi->get_manual_badges: #{e}"
|
|
@@ -771,12 +794,12 @@ end
|
|
|
771
794
|
|
|
772
795
|
This returns an Array which contains the response data, status code and headers.
|
|
773
796
|
|
|
774
|
-
> <Array(<GetTenantManualBadgesResponse>, Integer, Hash)> get_manual_badges_with_http_info(opts)
|
|
797
|
+
> <Array(<GetTenantManualBadgesResponse>, Integer, Hash)> get_manual_badges_with_http_info(tenant_id, opts)
|
|
775
798
|
|
|
776
799
|
```ruby
|
|
777
800
|
begin
|
|
778
801
|
|
|
779
|
-
data, status_code, headers = api_instance.get_manual_badges_with_http_info(opts)
|
|
802
|
+
data, status_code, headers = api_instance.get_manual_badges_with_http_info(tenant_id, opts)
|
|
780
803
|
p status_code # => 2xx
|
|
781
804
|
p headers # => { ... }
|
|
782
805
|
p data # => <GetTenantManualBadgesResponse>
|
|
@@ -789,6 +812,7 @@ end
|
|
|
789
812
|
|
|
790
813
|
| Name | Type | Description | Notes |
|
|
791
814
|
| ---- | ---- | ----------- | ----- |
|
|
815
|
+
| **tenant_id** | **String** | | |
|
|
792
816
|
| **sso** | **String** | | [optional] |
|
|
793
817
|
|
|
794
818
|
### Return type
|
|
@@ -807,7 +831,7 @@ No authorization required
|
|
|
807
831
|
|
|
808
832
|
## get_manual_badges_for_user
|
|
809
833
|
|
|
810
|
-
> <GetUserManualBadgesResponse> get_manual_badges_for_user(opts)
|
|
834
|
+
> <GetUserManualBadgesResponse> get_manual_badges_for_user(tenant_id, opts)
|
|
811
835
|
|
|
812
836
|
|
|
813
837
|
|
|
@@ -818,6 +842,7 @@ require 'time'
|
|
|
818
842
|
require 'fastcomments-client'
|
|
819
843
|
|
|
820
844
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
845
|
+
tenant_id = 'tenant_id_example' # String |
|
|
821
846
|
opts = {
|
|
822
847
|
badges_user_id: 'badges_user_id_example', # String |
|
|
823
848
|
comment_id: 'comment_id_example', # String |
|
|
@@ -826,7 +851,7 @@ opts = {
|
|
|
826
851
|
|
|
827
852
|
begin
|
|
828
853
|
|
|
829
|
-
result = api_instance.get_manual_badges_for_user(opts)
|
|
854
|
+
result = api_instance.get_manual_badges_for_user(tenant_id, opts)
|
|
830
855
|
p result
|
|
831
856
|
rescue FastCommentsClient::ApiError => e
|
|
832
857
|
puts "Error when calling ModerationApi->get_manual_badges_for_user: #{e}"
|
|
@@ -837,12 +862,12 @@ end
|
|
|
837
862
|
|
|
838
863
|
This returns an Array which contains the response data, status code and headers.
|
|
839
864
|
|
|
840
|
-
> <Array(<GetUserManualBadgesResponse>, Integer, Hash)> get_manual_badges_for_user_with_http_info(opts)
|
|
865
|
+
> <Array(<GetUserManualBadgesResponse>, Integer, Hash)> get_manual_badges_for_user_with_http_info(tenant_id, opts)
|
|
841
866
|
|
|
842
867
|
```ruby
|
|
843
868
|
begin
|
|
844
869
|
|
|
845
|
-
data, status_code, headers = api_instance.get_manual_badges_for_user_with_http_info(opts)
|
|
870
|
+
data, status_code, headers = api_instance.get_manual_badges_for_user_with_http_info(tenant_id, opts)
|
|
846
871
|
p status_code # => 2xx
|
|
847
872
|
p headers # => { ... }
|
|
848
873
|
p data # => <GetUserManualBadgesResponse>
|
|
@@ -855,6 +880,7 @@ end
|
|
|
855
880
|
|
|
856
881
|
| Name | Type | Description | Notes |
|
|
857
882
|
| ---- | ---- | ----------- | ----- |
|
|
883
|
+
| **tenant_id** | **String** | | |
|
|
858
884
|
| **badges_user_id** | **String** | | [optional] |
|
|
859
885
|
| **comment_id** | **String** | | [optional] |
|
|
860
886
|
| **sso** | **String** | | [optional] |
|
|
@@ -875,7 +901,7 @@ No authorization required
|
|
|
875
901
|
|
|
876
902
|
## get_moderation_comment
|
|
877
903
|
|
|
878
|
-
> <ModerationAPICommentResponse> get_moderation_comment(comment_id, opts)
|
|
904
|
+
> <ModerationAPICommentResponse> get_moderation_comment(tenant_id, comment_id, opts)
|
|
879
905
|
|
|
880
906
|
|
|
881
907
|
|
|
@@ -886,6 +912,7 @@ require 'time'
|
|
|
886
912
|
require 'fastcomments-client'
|
|
887
913
|
|
|
888
914
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
915
|
+
tenant_id = 'tenant_id_example' # String |
|
|
889
916
|
comment_id = 'comment_id_example' # String |
|
|
890
917
|
opts = {
|
|
891
918
|
include_email: true, # Boolean |
|
|
@@ -895,7 +922,7 @@ opts = {
|
|
|
895
922
|
|
|
896
923
|
begin
|
|
897
924
|
|
|
898
|
-
result = api_instance.get_moderation_comment(comment_id, opts)
|
|
925
|
+
result = api_instance.get_moderation_comment(tenant_id, comment_id, opts)
|
|
899
926
|
p result
|
|
900
927
|
rescue FastCommentsClient::ApiError => e
|
|
901
928
|
puts "Error when calling ModerationApi->get_moderation_comment: #{e}"
|
|
@@ -906,12 +933,12 @@ end
|
|
|
906
933
|
|
|
907
934
|
This returns an Array which contains the response data, status code and headers.
|
|
908
935
|
|
|
909
|
-
> <Array(<ModerationAPICommentResponse>, Integer, Hash)> get_moderation_comment_with_http_info(comment_id, opts)
|
|
936
|
+
> <Array(<ModerationAPICommentResponse>, Integer, Hash)> get_moderation_comment_with_http_info(tenant_id, comment_id, opts)
|
|
910
937
|
|
|
911
938
|
```ruby
|
|
912
939
|
begin
|
|
913
940
|
|
|
914
|
-
data, status_code, headers = api_instance.get_moderation_comment_with_http_info(comment_id, opts)
|
|
941
|
+
data, status_code, headers = api_instance.get_moderation_comment_with_http_info(tenant_id, comment_id, opts)
|
|
915
942
|
p status_code # => 2xx
|
|
916
943
|
p headers # => { ... }
|
|
917
944
|
p data # => <ModerationAPICommentResponse>
|
|
@@ -924,6 +951,7 @@ end
|
|
|
924
951
|
|
|
925
952
|
| Name | Type | Description | Notes |
|
|
926
953
|
| ---- | ---- | ----------- | ----- |
|
|
954
|
+
| **tenant_id** | **String** | | |
|
|
927
955
|
| **comment_id** | **String** | | |
|
|
928
956
|
| **include_email** | **Boolean** | | [optional] |
|
|
929
957
|
| **include_ip** | **Boolean** | | [optional] |
|
|
@@ -945,7 +973,7 @@ No authorization required
|
|
|
945
973
|
|
|
946
974
|
## get_moderation_comment_text
|
|
947
975
|
|
|
948
|
-
> <GetCommentTextResponse> get_moderation_comment_text(comment_id, opts)
|
|
976
|
+
> <GetCommentTextResponse> get_moderation_comment_text(tenant_id, comment_id, opts)
|
|
949
977
|
|
|
950
978
|
|
|
951
979
|
|
|
@@ -956,6 +984,7 @@ require 'time'
|
|
|
956
984
|
require 'fastcomments-client'
|
|
957
985
|
|
|
958
986
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
987
|
+
tenant_id = 'tenant_id_example' # String |
|
|
959
988
|
comment_id = 'comment_id_example' # String |
|
|
960
989
|
opts = {
|
|
961
990
|
sso: 'sso_example' # String |
|
|
@@ -963,7 +992,7 @@ opts = {
|
|
|
963
992
|
|
|
964
993
|
begin
|
|
965
994
|
|
|
966
|
-
result = api_instance.get_moderation_comment_text(comment_id, opts)
|
|
995
|
+
result = api_instance.get_moderation_comment_text(tenant_id, comment_id, opts)
|
|
967
996
|
p result
|
|
968
997
|
rescue FastCommentsClient::ApiError => e
|
|
969
998
|
puts "Error when calling ModerationApi->get_moderation_comment_text: #{e}"
|
|
@@ -974,12 +1003,12 @@ end
|
|
|
974
1003
|
|
|
975
1004
|
This returns an Array which contains the response data, status code and headers.
|
|
976
1005
|
|
|
977
|
-
> <Array(<GetCommentTextResponse>, Integer, Hash)> get_moderation_comment_text_with_http_info(comment_id, opts)
|
|
1006
|
+
> <Array(<GetCommentTextResponse>, Integer, Hash)> get_moderation_comment_text_with_http_info(tenant_id, comment_id, opts)
|
|
978
1007
|
|
|
979
1008
|
```ruby
|
|
980
1009
|
begin
|
|
981
1010
|
|
|
982
|
-
data, status_code, headers = api_instance.get_moderation_comment_text_with_http_info(comment_id, opts)
|
|
1011
|
+
data, status_code, headers = api_instance.get_moderation_comment_text_with_http_info(tenant_id, comment_id, opts)
|
|
983
1012
|
p status_code # => 2xx
|
|
984
1013
|
p headers # => { ... }
|
|
985
1014
|
p data # => <GetCommentTextResponse>
|
|
@@ -992,6 +1021,7 @@ end
|
|
|
992
1021
|
|
|
993
1022
|
| Name | Type | Description | Notes |
|
|
994
1023
|
| ---- | ---- | ----------- | ----- |
|
|
1024
|
+
| **tenant_id** | **String** | | |
|
|
995
1025
|
| **comment_id** | **String** | | |
|
|
996
1026
|
| **sso** | **String** | | [optional] |
|
|
997
1027
|
|
|
@@ -1011,7 +1041,7 @@ No authorization required
|
|
|
1011
1041
|
|
|
1012
1042
|
## get_pre_ban_summary
|
|
1013
1043
|
|
|
1014
|
-
> <PreBanSummary> get_pre_ban_summary(comment_id, opts)
|
|
1044
|
+
> <PreBanSummary> get_pre_ban_summary(tenant_id, comment_id, opts)
|
|
1015
1045
|
|
|
1016
1046
|
|
|
1017
1047
|
|
|
@@ -1022,6 +1052,7 @@ require 'time'
|
|
|
1022
1052
|
require 'fastcomments-client'
|
|
1023
1053
|
|
|
1024
1054
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1055
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1025
1056
|
comment_id = 'comment_id_example' # String |
|
|
1026
1057
|
opts = {
|
|
1027
1058
|
include_by_user_id_and_email: true, # Boolean |
|
|
@@ -1032,7 +1063,7 @@ opts = {
|
|
|
1032
1063
|
|
|
1033
1064
|
begin
|
|
1034
1065
|
|
|
1035
|
-
result = api_instance.get_pre_ban_summary(comment_id, opts)
|
|
1066
|
+
result = api_instance.get_pre_ban_summary(tenant_id, comment_id, opts)
|
|
1036
1067
|
p result
|
|
1037
1068
|
rescue FastCommentsClient::ApiError => e
|
|
1038
1069
|
puts "Error when calling ModerationApi->get_pre_ban_summary: #{e}"
|
|
@@ -1043,12 +1074,12 @@ end
|
|
|
1043
1074
|
|
|
1044
1075
|
This returns an Array which contains the response data, status code and headers.
|
|
1045
1076
|
|
|
1046
|
-
> <Array(<PreBanSummary>, Integer, Hash)> get_pre_ban_summary_with_http_info(comment_id, opts)
|
|
1077
|
+
> <Array(<PreBanSummary>, Integer, Hash)> get_pre_ban_summary_with_http_info(tenant_id, comment_id, opts)
|
|
1047
1078
|
|
|
1048
1079
|
```ruby
|
|
1049
1080
|
begin
|
|
1050
1081
|
|
|
1051
|
-
data, status_code, headers = api_instance.get_pre_ban_summary_with_http_info(comment_id, opts)
|
|
1082
|
+
data, status_code, headers = api_instance.get_pre_ban_summary_with_http_info(tenant_id, comment_id, opts)
|
|
1052
1083
|
p status_code # => 2xx
|
|
1053
1084
|
p headers # => { ... }
|
|
1054
1085
|
p data # => <PreBanSummary>
|
|
@@ -1061,6 +1092,7 @@ end
|
|
|
1061
1092
|
|
|
1062
1093
|
| Name | Type | Description | Notes |
|
|
1063
1094
|
| ---- | ---- | ----------- | ----- |
|
|
1095
|
+
| **tenant_id** | **String** | | |
|
|
1064
1096
|
| **comment_id** | **String** | | |
|
|
1065
1097
|
| **include_by_user_id_and_email** | **Boolean** | | [optional] |
|
|
1066
1098
|
| **include_by_ip** | **Boolean** | | [optional] |
|
|
@@ -1083,7 +1115,7 @@ No authorization required
|
|
|
1083
1115
|
|
|
1084
1116
|
## get_search_comments_summary
|
|
1085
1117
|
|
|
1086
|
-
> <ModerationCommentSearchResponse> get_search_comments_summary(opts)
|
|
1118
|
+
> <ModerationCommentSearchResponse> get_search_comments_summary(tenant_id, opts)
|
|
1087
1119
|
|
|
1088
1120
|
|
|
1089
1121
|
|
|
@@ -1094,6 +1126,7 @@ require 'time'
|
|
|
1094
1126
|
require 'fastcomments-client'
|
|
1095
1127
|
|
|
1096
1128
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1129
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1097
1130
|
opts = {
|
|
1098
1131
|
value: 'value_example', # String |
|
|
1099
1132
|
filters: 'filters_example', # String |
|
|
@@ -1103,7 +1136,7 @@ opts = {
|
|
|
1103
1136
|
|
|
1104
1137
|
begin
|
|
1105
1138
|
|
|
1106
|
-
result = api_instance.get_search_comments_summary(opts)
|
|
1139
|
+
result = api_instance.get_search_comments_summary(tenant_id, opts)
|
|
1107
1140
|
p result
|
|
1108
1141
|
rescue FastCommentsClient::ApiError => e
|
|
1109
1142
|
puts "Error when calling ModerationApi->get_search_comments_summary: #{e}"
|
|
@@ -1114,12 +1147,12 @@ end
|
|
|
1114
1147
|
|
|
1115
1148
|
This returns an Array which contains the response data, status code and headers.
|
|
1116
1149
|
|
|
1117
|
-
> <Array(<ModerationCommentSearchResponse>, Integer, Hash)> get_search_comments_summary_with_http_info(opts)
|
|
1150
|
+
> <Array(<ModerationCommentSearchResponse>, Integer, Hash)> get_search_comments_summary_with_http_info(tenant_id, opts)
|
|
1118
1151
|
|
|
1119
1152
|
```ruby
|
|
1120
1153
|
begin
|
|
1121
1154
|
|
|
1122
|
-
data, status_code, headers = api_instance.get_search_comments_summary_with_http_info(opts)
|
|
1155
|
+
data, status_code, headers = api_instance.get_search_comments_summary_with_http_info(tenant_id, opts)
|
|
1123
1156
|
p status_code # => 2xx
|
|
1124
1157
|
p headers # => { ... }
|
|
1125
1158
|
p data # => <ModerationCommentSearchResponse>
|
|
@@ -1132,6 +1165,7 @@ end
|
|
|
1132
1165
|
|
|
1133
1166
|
| Name | Type | Description | Notes |
|
|
1134
1167
|
| ---- | ---- | ----------- | ----- |
|
|
1168
|
+
| **tenant_id** | **String** | | |
|
|
1135
1169
|
| **value** | **String** | | [optional] |
|
|
1136
1170
|
| **filters** | **String** | | [optional] |
|
|
1137
1171
|
| **search_filters** | **String** | | [optional] |
|
|
@@ -1153,7 +1187,7 @@ No authorization required
|
|
|
1153
1187
|
|
|
1154
1188
|
## get_search_pages
|
|
1155
1189
|
|
|
1156
|
-
> <ModerationPageSearchResponse> get_search_pages(opts)
|
|
1190
|
+
> <ModerationPageSearchResponse> get_search_pages(tenant_id, opts)
|
|
1157
1191
|
|
|
1158
1192
|
|
|
1159
1193
|
|
|
@@ -1164,6 +1198,7 @@ require 'time'
|
|
|
1164
1198
|
require 'fastcomments-client'
|
|
1165
1199
|
|
|
1166
1200
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1201
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1167
1202
|
opts = {
|
|
1168
1203
|
value: 'value_example', # String |
|
|
1169
1204
|
sso: 'sso_example' # String |
|
|
@@ -1171,7 +1206,7 @@ opts = {
|
|
|
1171
1206
|
|
|
1172
1207
|
begin
|
|
1173
1208
|
|
|
1174
|
-
result = api_instance.get_search_pages(opts)
|
|
1209
|
+
result = api_instance.get_search_pages(tenant_id, opts)
|
|
1175
1210
|
p result
|
|
1176
1211
|
rescue FastCommentsClient::ApiError => e
|
|
1177
1212
|
puts "Error when calling ModerationApi->get_search_pages: #{e}"
|
|
@@ -1182,12 +1217,12 @@ end
|
|
|
1182
1217
|
|
|
1183
1218
|
This returns an Array which contains the response data, status code and headers.
|
|
1184
1219
|
|
|
1185
|
-
> <Array(<ModerationPageSearchResponse>, Integer, Hash)> get_search_pages_with_http_info(opts)
|
|
1220
|
+
> <Array(<ModerationPageSearchResponse>, Integer, Hash)> get_search_pages_with_http_info(tenant_id, opts)
|
|
1186
1221
|
|
|
1187
1222
|
```ruby
|
|
1188
1223
|
begin
|
|
1189
1224
|
|
|
1190
|
-
data, status_code, headers = api_instance.get_search_pages_with_http_info(opts)
|
|
1225
|
+
data, status_code, headers = api_instance.get_search_pages_with_http_info(tenant_id, opts)
|
|
1191
1226
|
p status_code # => 2xx
|
|
1192
1227
|
p headers # => { ... }
|
|
1193
1228
|
p data # => <ModerationPageSearchResponse>
|
|
@@ -1200,6 +1235,7 @@ end
|
|
|
1200
1235
|
|
|
1201
1236
|
| Name | Type | Description | Notes |
|
|
1202
1237
|
| ---- | ---- | ----------- | ----- |
|
|
1238
|
+
| **tenant_id** | **String** | | |
|
|
1203
1239
|
| **value** | **String** | | [optional] |
|
|
1204
1240
|
| **sso** | **String** | | [optional] |
|
|
1205
1241
|
|
|
@@ -1219,7 +1255,7 @@ No authorization required
|
|
|
1219
1255
|
|
|
1220
1256
|
## get_search_sites
|
|
1221
1257
|
|
|
1222
|
-
> <ModerationSiteSearchResponse> get_search_sites(opts)
|
|
1258
|
+
> <ModerationSiteSearchResponse> get_search_sites(tenant_id, opts)
|
|
1223
1259
|
|
|
1224
1260
|
|
|
1225
1261
|
|
|
@@ -1230,6 +1266,7 @@ require 'time'
|
|
|
1230
1266
|
require 'fastcomments-client'
|
|
1231
1267
|
|
|
1232
1268
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1269
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1233
1270
|
opts = {
|
|
1234
1271
|
value: 'value_example', # String |
|
|
1235
1272
|
sso: 'sso_example' # String |
|
|
@@ -1237,7 +1274,7 @@ opts = {
|
|
|
1237
1274
|
|
|
1238
1275
|
begin
|
|
1239
1276
|
|
|
1240
|
-
result = api_instance.get_search_sites(opts)
|
|
1277
|
+
result = api_instance.get_search_sites(tenant_id, opts)
|
|
1241
1278
|
p result
|
|
1242
1279
|
rescue FastCommentsClient::ApiError => e
|
|
1243
1280
|
puts "Error when calling ModerationApi->get_search_sites: #{e}"
|
|
@@ -1248,12 +1285,12 @@ end
|
|
|
1248
1285
|
|
|
1249
1286
|
This returns an Array which contains the response data, status code and headers.
|
|
1250
1287
|
|
|
1251
|
-
> <Array(<ModerationSiteSearchResponse>, Integer, Hash)> get_search_sites_with_http_info(opts)
|
|
1288
|
+
> <Array(<ModerationSiteSearchResponse>, Integer, Hash)> get_search_sites_with_http_info(tenant_id, opts)
|
|
1252
1289
|
|
|
1253
1290
|
```ruby
|
|
1254
1291
|
begin
|
|
1255
1292
|
|
|
1256
|
-
data, status_code, headers = api_instance.get_search_sites_with_http_info(opts)
|
|
1293
|
+
data, status_code, headers = api_instance.get_search_sites_with_http_info(tenant_id, opts)
|
|
1257
1294
|
p status_code # => 2xx
|
|
1258
1295
|
p headers # => { ... }
|
|
1259
1296
|
p data # => <ModerationSiteSearchResponse>
|
|
@@ -1266,6 +1303,7 @@ end
|
|
|
1266
1303
|
|
|
1267
1304
|
| Name | Type | Description | Notes |
|
|
1268
1305
|
| ---- | ---- | ----------- | ----- |
|
|
1306
|
+
| **tenant_id** | **String** | | |
|
|
1269
1307
|
| **value** | **String** | | [optional] |
|
|
1270
1308
|
| **sso** | **String** | | [optional] |
|
|
1271
1309
|
|
|
@@ -1285,7 +1323,7 @@ No authorization required
|
|
|
1285
1323
|
|
|
1286
1324
|
## get_search_suggest
|
|
1287
1325
|
|
|
1288
|
-
> <ModerationSuggestResponse> get_search_suggest(opts)
|
|
1326
|
+
> <ModerationSuggestResponse> get_search_suggest(tenant_id, opts)
|
|
1289
1327
|
|
|
1290
1328
|
|
|
1291
1329
|
|
|
@@ -1296,6 +1334,7 @@ require 'time'
|
|
|
1296
1334
|
require 'fastcomments-client'
|
|
1297
1335
|
|
|
1298
1336
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1337
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1299
1338
|
opts = {
|
|
1300
1339
|
text_search: 'text_search_example', # String |
|
|
1301
1340
|
sso: 'sso_example' # String |
|
|
@@ -1303,7 +1342,7 @@ opts = {
|
|
|
1303
1342
|
|
|
1304
1343
|
begin
|
|
1305
1344
|
|
|
1306
|
-
result = api_instance.get_search_suggest(opts)
|
|
1345
|
+
result = api_instance.get_search_suggest(tenant_id, opts)
|
|
1307
1346
|
p result
|
|
1308
1347
|
rescue FastCommentsClient::ApiError => e
|
|
1309
1348
|
puts "Error when calling ModerationApi->get_search_suggest: #{e}"
|
|
@@ -1314,12 +1353,12 @@ end
|
|
|
1314
1353
|
|
|
1315
1354
|
This returns an Array which contains the response data, status code and headers.
|
|
1316
1355
|
|
|
1317
|
-
> <Array(<ModerationSuggestResponse>, Integer, Hash)> get_search_suggest_with_http_info(opts)
|
|
1356
|
+
> <Array(<ModerationSuggestResponse>, Integer, Hash)> get_search_suggest_with_http_info(tenant_id, opts)
|
|
1318
1357
|
|
|
1319
1358
|
```ruby
|
|
1320
1359
|
begin
|
|
1321
1360
|
|
|
1322
|
-
data, status_code, headers = api_instance.get_search_suggest_with_http_info(opts)
|
|
1361
|
+
data, status_code, headers = api_instance.get_search_suggest_with_http_info(tenant_id, opts)
|
|
1323
1362
|
p status_code # => 2xx
|
|
1324
1363
|
p headers # => { ... }
|
|
1325
1364
|
p data # => <ModerationSuggestResponse>
|
|
@@ -1332,6 +1371,7 @@ end
|
|
|
1332
1371
|
|
|
1333
1372
|
| Name | Type | Description | Notes |
|
|
1334
1373
|
| ---- | ---- | ----------- | ----- |
|
|
1374
|
+
| **tenant_id** | **String** | | |
|
|
1335
1375
|
| **text_search** | **String** | | [optional] |
|
|
1336
1376
|
| **sso** | **String** | | [optional] |
|
|
1337
1377
|
|
|
@@ -1351,7 +1391,7 @@ No authorization required
|
|
|
1351
1391
|
|
|
1352
1392
|
## get_search_users
|
|
1353
1393
|
|
|
1354
|
-
> <ModerationUserSearchResponse> get_search_users(opts)
|
|
1394
|
+
> <ModerationUserSearchResponse> get_search_users(tenant_id, opts)
|
|
1355
1395
|
|
|
1356
1396
|
|
|
1357
1397
|
|
|
@@ -1362,6 +1402,7 @@ require 'time'
|
|
|
1362
1402
|
require 'fastcomments-client'
|
|
1363
1403
|
|
|
1364
1404
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1405
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1365
1406
|
opts = {
|
|
1366
1407
|
value: 'value_example', # String |
|
|
1367
1408
|
sso: 'sso_example' # String |
|
|
@@ -1369,7 +1410,7 @@ opts = {
|
|
|
1369
1410
|
|
|
1370
1411
|
begin
|
|
1371
1412
|
|
|
1372
|
-
result = api_instance.get_search_users(opts)
|
|
1413
|
+
result = api_instance.get_search_users(tenant_id, opts)
|
|
1373
1414
|
p result
|
|
1374
1415
|
rescue FastCommentsClient::ApiError => e
|
|
1375
1416
|
puts "Error when calling ModerationApi->get_search_users: #{e}"
|
|
@@ -1380,12 +1421,12 @@ end
|
|
|
1380
1421
|
|
|
1381
1422
|
This returns an Array which contains the response data, status code and headers.
|
|
1382
1423
|
|
|
1383
|
-
> <Array(<ModerationUserSearchResponse>, Integer, Hash)> get_search_users_with_http_info(opts)
|
|
1424
|
+
> <Array(<ModerationUserSearchResponse>, Integer, Hash)> get_search_users_with_http_info(tenant_id, opts)
|
|
1384
1425
|
|
|
1385
1426
|
```ruby
|
|
1386
1427
|
begin
|
|
1387
1428
|
|
|
1388
|
-
data, status_code, headers = api_instance.get_search_users_with_http_info(opts)
|
|
1429
|
+
data, status_code, headers = api_instance.get_search_users_with_http_info(tenant_id, opts)
|
|
1389
1430
|
p status_code # => 2xx
|
|
1390
1431
|
p headers # => { ... }
|
|
1391
1432
|
p data # => <ModerationUserSearchResponse>
|
|
@@ -1398,6 +1439,7 @@ end
|
|
|
1398
1439
|
|
|
1399
1440
|
| Name | Type | Description | Notes |
|
|
1400
1441
|
| ---- | ---- | ----------- | ----- |
|
|
1442
|
+
| **tenant_id** | **String** | | |
|
|
1401
1443
|
| **value** | **String** | | [optional] |
|
|
1402
1444
|
| **sso** | **String** | | [optional] |
|
|
1403
1445
|
|
|
@@ -1417,7 +1459,7 @@ No authorization required
|
|
|
1417
1459
|
|
|
1418
1460
|
## get_trust_factor
|
|
1419
1461
|
|
|
1420
|
-
> <GetUserTrustFactorResponse> get_trust_factor(opts)
|
|
1462
|
+
> <GetUserTrustFactorResponse> get_trust_factor(tenant_id, opts)
|
|
1421
1463
|
|
|
1422
1464
|
|
|
1423
1465
|
|
|
@@ -1428,6 +1470,7 @@ require 'time'
|
|
|
1428
1470
|
require 'fastcomments-client'
|
|
1429
1471
|
|
|
1430
1472
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1473
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1431
1474
|
opts = {
|
|
1432
1475
|
user_id: 'user_id_example', # String |
|
|
1433
1476
|
sso: 'sso_example' # String |
|
|
@@ -1435,7 +1478,7 @@ opts = {
|
|
|
1435
1478
|
|
|
1436
1479
|
begin
|
|
1437
1480
|
|
|
1438
|
-
result = api_instance.get_trust_factor(opts)
|
|
1481
|
+
result = api_instance.get_trust_factor(tenant_id, opts)
|
|
1439
1482
|
p result
|
|
1440
1483
|
rescue FastCommentsClient::ApiError => e
|
|
1441
1484
|
puts "Error when calling ModerationApi->get_trust_factor: #{e}"
|
|
@@ -1446,12 +1489,12 @@ end
|
|
|
1446
1489
|
|
|
1447
1490
|
This returns an Array which contains the response data, status code and headers.
|
|
1448
1491
|
|
|
1449
|
-
> <Array(<GetUserTrustFactorResponse>, Integer, Hash)> get_trust_factor_with_http_info(opts)
|
|
1492
|
+
> <Array(<GetUserTrustFactorResponse>, Integer, Hash)> get_trust_factor_with_http_info(tenant_id, opts)
|
|
1450
1493
|
|
|
1451
1494
|
```ruby
|
|
1452
1495
|
begin
|
|
1453
1496
|
|
|
1454
|
-
data, status_code, headers = api_instance.get_trust_factor_with_http_info(opts)
|
|
1497
|
+
data, status_code, headers = api_instance.get_trust_factor_with_http_info(tenant_id, opts)
|
|
1455
1498
|
p status_code # => 2xx
|
|
1456
1499
|
p headers # => { ... }
|
|
1457
1500
|
p data # => <GetUserTrustFactorResponse>
|
|
@@ -1464,6 +1507,7 @@ end
|
|
|
1464
1507
|
|
|
1465
1508
|
| Name | Type | Description | Notes |
|
|
1466
1509
|
| ---- | ---- | ----------- | ----- |
|
|
1510
|
+
| **tenant_id** | **String** | | |
|
|
1467
1511
|
| **user_id** | **String** | | [optional] |
|
|
1468
1512
|
| **sso** | **String** | | [optional] |
|
|
1469
1513
|
|
|
@@ -1483,7 +1527,7 @@ No authorization required
|
|
|
1483
1527
|
|
|
1484
1528
|
## get_user_ban_preference
|
|
1485
1529
|
|
|
1486
|
-
> <APIModerateGetUserBanPreferencesResponse> get_user_ban_preference(opts)
|
|
1530
|
+
> <APIModerateGetUserBanPreferencesResponse> get_user_ban_preference(tenant_id, opts)
|
|
1487
1531
|
|
|
1488
1532
|
|
|
1489
1533
|
|
|
@@ -1494,13 +1538,14 @@ require 'time'
|
|
|
1494
1538
|
require 'fastcomments-client'
|
|
1495
1539
|
|
|
1496
1540
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1541
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1497
1542
|
opts = {
|
|
1498
1543
|
sso: 'sso_example' # String |
|
|
1499
1544
|
}
|
|
1500
1545
|
|
|
1501
1546
|
begin
|
|
1502
1547
|
|
|
1503
|
-
result = api_instance.get_user_ban_preference(opts)
|
|
1548
|
+
result = api_instance.get_user_ban_preference(tenant_id, opts)
|
|
1504
1549
|
p result
|
|
1505
1550
|
rescue FastCommentsClient::ApiError => e
|
|
1506
1551
|
puts "Error when calling ModerationApi->get_user_ban_preference: #{e}"
|
|
@@ -1511,12 +1556,12 @@ end
|
|
|
1511
1556
|
|
|
1512
1557
|
This returns an Array which contains the response data, status code and headers.
|
|
1513
1558
|
|
|
1514
|
-
> <Array(<APIModerateGetUserBanPreferencesResponse>, Integer, Hash)> get_user_ban_preference_with_http_info(opts)
|
|
1559
|
+
> <Array(<APIModerateGetUserBanPreferencesResponse>, Integer, Hash)> get_user_ban_preference_with_http_info(tenant_id, opts)
|
|
1515
1560
|
|
|
1516
1561
|
```ruby
|
|
1517
1562
|
begin
|
|
1518
1563
|
|
|
1519
|
-
data, status_code, headers = api_instance.get_user_ban_preference_with_http_info(opts)
|
|
1564
|
+
data, status_code, headers = api_instance.get_user_ban_preference_with_http_info(tenant_id, opts)
|
|
1520
1565
|
p status_code # => 2xx
|
|
1521
1566
|
p headers # => { ... }
|
|
1522
1567
|
p data # => <APIModerateGetUserBanPreferencesResponse>
|
|
@@ -1529,6 +1574,7 @@ end
|
|
|
1529
1574
|
|
|
1530
1575
|
| Name | Type | Description | Notes |
|
|
1531
1576
|
| ---- | ---- | ----------- | ----- |
|
|
1577
|
+
| **tenant_id** | **String** | | |
|
|
1532
1578
|
| **sso** | **String** | | [optional] |
|
|
1533
1579
|
|
|
1534
1580
|
### Return type
|
|
@@ -1547,7 +1593,7 @@ No authorization required
|
|
|
1547
1593
|
|
|
1548
1594
|
## get_user_internal_profile
|
|
1549
1595
|
|
|
1550
|
-
> <GetUserInternalProfileResponse> get_user_internal_profile(opts)
|
|
1596
|
+
> <GetUserInternalProfileResponse> get_user_internal_profile(tenant_id, opts)
|
|
1551
1597
|
|
|
1552
1598
|
|
|
1553
1599
|
|
|
@@ -1558,6 +1604,7 @@ require 'time'
|
|
|
1558
1604
|
require 'fastcomments-client'
|
|
1559
1605
|
|
|
1560
1606
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1607
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1561
1608
|
opts = {
|
|
1562
1609
|
comment_id: 'comment_id_example', # String |
|
|
1563
1610
|
sso: 'sso_example' # String |
|
|
@@ -1565,7 +1612,7 @@ opts = {
|
|
|
1565
1612
|
|
|
1566
1613
|
begin
|
|
1567
1614
|
|
|
1568
|
-
result = api_instance.get_user_internal_profile(opts)
|
|
1615
|
+
result = api_instance.get_user_internal_profile(tenant_id, opts)
|
|
1569
1616
|
p result
|
|
1570
1617
|
rescue FastCommentsClient::ApiError => e
|
|
1571
1618
|
puts "Error when calling ModerationApi->get_user_internal_profile: #{e}"
|
|
@@ -1576,12 +1623,12 @@ end
|
|
|
1576
1623
|
|
|
1577
1624
|
This returns an Array which contains the response data, status code and headers.
|
|
1578
1625
|
|
|
1579
|
-
> <Array(<GetUserInternalProfileResponse>, Integer, Hash)> get_user_internal_profile_with_http_info(opts)
|
|
1626
|
+
> <Array(<GetUserInternalProfileResponse>, Integer, Hash)> get_user_internal_profile_with_http_info(tenant_id, opts)
|
|
1580
1627
|
|
|
1581
1628
|
```ruby
|
|
1582
1629
|
begin
|
|
1583
1630
|
|
|
1584
|
-
data, status_code, headers = api_instance.get_user_internal_profile_with_http_info(opts)
|
|
1631
|
+
data, status_code, headers = api_instance.get_user_internal_profile_with_http_info(tenant_id, opts)
|
|
1585
1632
|
p status_code # => 2xx
|
|
1586
1633
|
p headers # => { ... }
|
|
1587
1634
|
p data # => <GetUserInternalProfileResponse>
|
|
@@ -1594,6 +1641,7 @@ end
|
|
|
1594
1641
|
|
|
1595
1642
|
| Name | Type | Description | Notes |
|
|
1596
1643
|
| ---- | ---- | ----------- | ----- |
|
|
1644
|
+
| **tenant_id** | **String** | | |
|
|
1597
1645
|
| **comment_id** | **String** | | [optional] |
|
|
1598
1646
|
| **sso** | **String** | | [optional] |
|
|
1599
1647
|
|
|
@@ -1613,7 +1661,7 @@ No authorization required
|
|
|
1613
1661
|
|
|
1614
1662
|
## post_adjust_comment_votes
|
|
1615
1663
|
|
|
1616
|
-
> <AdjustVotesResponse> post_adjust_comment_votes(comment_id, adjust_comment_votes_params, opts)
|
|
1664
|
+
> <AdjustVotesResponse> post_adjust_comment_votes(tenant_id, comment_id, adjust_comment_votes_params, opts)
|
|
1617
1665
|
|
|
1618
1666
|
|
|
1619
1667
|
|
|
@@ -1624,15 +1672,17 @@ require 'time'
|
|
|
1624
1672
|
require 'fastcomments-client'
|
|
1625
1673
|
|
|
1626
1674
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1675
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1627
1676
|
comment_id = 'comment_id_example' # String |
|
|
1628
1677
|
adjust_comment_votes_params = FastCommentsClient::AdjustCommentVotesParams.new({adjust_vote_amount: 3.56}) # AdjustCommentVotesParams |
|
|
1629
1678
|
opts = {
|
|
1679
|
+
broadcast_id: 'broadcast_id_example', # String |
|
|
1630
1680
|
sso: 'sso_example' # String |
|
|
1631
1681
|
}
|
|
1632
1682
|
|
|
1633
1683
|
begin
|
|
1634
1684
|
|
|
1635
|
-
result = api_instance.post_adjust_comment_votes(comment_id, adjust_comment_votes_params, opts)
|
|
1685
|
+
result = api_instance.post_adjust_comment_votes(tenant_id, comment_id, adjust_comment_votes_params, opts)
|
|
1636
1686
|
p result
|
|
1637
1687
|
rescue FastCommentsClient::ApiError => e
|
|
1638
1688
|
puts "Error when calling ModerationApi->post_adjust_comment_votes: #{e}"
|
|
@@ -1643,12 +1693,12 @@ end
|
|
|
1643
1693
|
|
|
1644
1694
|
This returns an Array which contains the response data, status code and headers.
|
|
1645
1695
|
|
|
1646
|
-
> <Array(<AdjustVotesResponse>, Integer, Hash)> post_adjust_comment_votes_with_http_info(comment_id, adjust_comment_votes_params, opts)
|
|
1696
|
+
> <Array(<AdjustVotesResponse>, Integer, Hash)> post_adjust_comment_votes_with_http_info(tenant_id, comment_id, adjust_comment_votes_params, opts)
|
|
1647
1697
|
|
|
1648
1698
|
```ruby
|
|
1649
1699
|
begin
|
|
1650
1700
|
|
|
1651
|
-
data, status_code, headers = api_instance.post_adjust_comment_votes_with_http_info(comment_id, adjust_comment_votes_params, opts)
|
|
1701
|
+
data, status_code, headers = api_instance.post_adjust_comment_votes_with_http_info(tenant_id, comment_id, adjust_comment_votes_params, opts)
|
|
1652
1702
|
p status_code # => 2xx
|
|
1653
1703
|
p headers # => { ... }
|
|
1654
1704
|
p data # => <AdjustVotesResponse>
|
|
@@ -1661,8 +1711,10 @@ end
|
|
|
1661
1711
|
|
|
1662
1712
|
| Name | Type | Description | Notes |
|
|
1663
1713
|
| ---- | ---- | ----------- | ----- |
|
|
1714
|
+
| **tenant_id** | **String** | | |
|
|
1664
1715
|
| **comment_id** | **String** | | |
|
|
1665
1716
|
| **adjust_comment_votes_params** | [**AdjustCommentVotesParams**](AdjustCommentVotesParams.md) | | |
|
|
1717
|
+
| **broadcast_id** | **String** | | [optional] |
|
|
1666
1718
|
| **sso** | **String** | | [optional] |
|
|
1667
1719
|
|
|
1668
1720
|
### Return type
|
|
@@ -1681,7 +1733,7 @@ No authorization required
|
|
|
1681
1733
|
|
|
1682
1734
|
## post_api_export
|
|
1683
1735
|
|
|
1684
|
-
> <ModerationExportResponse> post_api_export(opts)
|
|
1736
|
+
> <ModerationExportResponse> post_api_export(tenant_id, opts)
|
|
1685
1737
|
|
|
1686
1738
|
|
|
1687
1739
|
|
|
@@ -1692,6 +1744,7 @@ require 'time'
|
|
|
1692
1744
|
require 'fastcomments-client'
|
|
1693
1745
|
|
|
1694
1746
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1747
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1695
1748
|
opts = {
|
|
1696
1749
|
text_search: 'text_search_example', # String |
|
|
1697
1750
|
by_ip_from_comment: 'by_ip_from_comment_example', # String |
|
|
@@ -1703,7 +1756,7 @@ opts = {
|
|
|
1703
1756
|
|
|
1704
1757
|
begin
|
|
1705
1758
|
|
|
1706
|
-
result = api_instance.post_api_export(opts)
|
|
1759
|
+
result = api_instance.post_api_export(tenant_id, opts)
|
|
1707
1760
|
p result
|
|
1708
1761
|
rescue FastCommentsClient::ApiError => e
|
|
1709
1762
|
puts "Error when calling ModerationApi->post_api_export: #{e}"
|
|
@@ -1714,12 +1767,12 @@ end
|
|
|
1714
1767
|
|
|
1715
1768
|
This returns an Array which contains the response data, status code and headers.
|
|
1716
1769
|
|
|
1717
|
-
> <Array(<ModerationExportResponse>, Integer, Hash)> post_api_export_with_http_info(opts)
|
|
1770
|
+
> <Array(<ModerationExportResponse>, Integer, Hash)> post_api_export_with_http_info(tenant_id, opts)
|
|
1718
1771
|
|
|
1719
1772
|
```ruby
|
|
1720
1773
|
begin
|
|
1721
1774
|
|
|
1722
|
-
data, status_code, headers = api_instance.post_api_export_with_http_info(opts)
|
|
1775
|
+
data, status_code, headers = api_instance.post_api_export_with_http_info(tenant_id, opts)
|
|
1723
1776
|
p status_code # => 2xx
|
|
1724
1777
|
p headers # => { ... }
|
|
1725
1778
|
p data # => <ModerationExportResponse>
|
|
@@ -1732,6 +1785,7 @@ end
|
|
|
1732
1785
|
|
|
1733
1786
|
| Name | Type | Description | Notes |
|
|
1734
1787
|
| ---- | ---- | ----------- | ----- |
|
|
1788
|
+
| **tenant_id** | **String** | | |
|
|
1735
1789
|
| **text_search** | **String** | | [optional] |
|
|
1736
1790
|
| **by_ip_from_comment** | **String** | | [optional] |
|
|
1737
1791
|
| **filters** | **String** | | [optional] |
|
|
@@ -1755,7 +1809,7 @@ No authorization required
|
|
|
1755
1809
|
|
|
1756
1810
|
## post_ban_user_from_comment
|
|
1757
1811
|
|
|
1758
|
-
> <BanUserFromCommentResult> post_ban_user_from_comment(comment_id, opts)
|
|
1812
|
+
> <BanUserFromCommentResult> post_ban_user_from_comment(tenant_id, comment_id, opts)
|
|
1759
1813
|
|
|
1760
1814
|
|
|
1761
1815
|
|
|
@@ -1766,6 +1820,7 @@ require 'time'
|
|
|
1766
1820
|
require 'fastcomments-client'
|
|
1767
1821
|
|
|
1768
1822
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1823
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1769
1824
|
comment_id = 'comment_id_example' # String |
|
|
1770
1825
|
opts = {
|
|
1771
1826
|
ban_email: true, # Boolean |
|
|
@@ -1781,7 +1836,7 @@ opts = {
|
|
|
1781
1836
|
|
|
1782
1837
|
begin
|
|
1783
1838
|
|
|
1784
|
-
result = api_instance.post_ban_user_from_comment(comment_id, opts)
|
|
1839
|
+
result = api_instance.post_ban_user_from_comment(tenant_id, comment_id, opts)
|
|
1785
1840
|
p result
|
|
1786
1841
|
rescue FastCommentsClient::ApiError => e
|
|
1787
1842
|
puts "Error when calling ModerationApi->post_ban_user_from_comment: #{e}"
|
|
@@ -1792,12 +1847,12 @@ end
|
|
|
1792
1847
|
|
|
1793
1848
|
This returns an Array which contains the response data, status code and headers.
|
|
1794
1849
|
|
|
1795
|
-
> <Array(<BanUserFromCommentResult>, Integer, Hash)> post_ban_user_from_comment_with_http_info(comment_id, opts)
|
|
1850
|
+
> <Array(<BanUserFromCommentResult>, Integer, Hash)> post_ban_user_from_comment_with_http_info(tenant_id, comment_id, opts)
|
|
1796
1851
|
|
|
1797
1852
|
```ruby
|
|
1798
1853
|
begin
|
|
1799
1854
|
|
|
1800
|
-
data, status_code, headers = api_instance.post_ban_user_from_comment_with_http_info(comment_id, opts)
|
|
1855
|
+
data, status_code, headers = api_instance.post_ban_user_from_comment_with_http_info(tenant_id, comment_id, opts)
|
|
1801
1856
|
p status_code # => 2xx
|
|
1802
1857
|
p headers # => { ... }
|
|
1803
1858
|
p data # => <BanUserFromCommentResult>
|
|
@@ -1810,6 +1865,7 @@ end
|
|
|
1810
1865
|
|
|
1811
1866
|
| Name | Type | Description | Notes |
|
|
1812
1867
|
| ---- | ---- | ----------- | ----- |
|
|
1868
|
+
| **tenant_id** | **String** | | |
|
|
1813
1869
|
| **comment_id** | **String** | | |
|
|
1814
1870
|
| **ban_email** | **Boolean** | | [optional] |
|
|
1815
1871
|
| **ban_email_domain** | **Boolean** | | [optional] |
|
|
@@ -1837,7 +1893,7 @@ No authorization required
|
|
|
1837
1893
|
|
|
1838
1894
|
## post_ban_user_undo
|
|
1839
1895
|
|
|
1840
|
-
> <APIEmptyResponse> post_ban_user_undo(ban_user_undo_params, opts)
|
|
1896
|
+
> <APIEmptyResponse> post_ban_user_undo(tenant_id, ban_user_undo_params, opts)
|
|
1841
1897
|
|
|
1842
1898
|
|
|
1843
1899
|
|
|
@@ -1848,6 +1904,7 @@ require 'time'
|
|
|
1848
1904
|
require 'fastcomments-client'
|
|
1849
1905
|
|
|
1850
1906
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1907
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1851
1908
|
ban_user_undo_params = FastCommentsClient::BanUserUndoParams.new({changelog: FastCommentsClient::APIBanUserChangeLog.new}) # BanUserUndoParams |
|
|
1852
1909
|
opts = {
|
|
1853
1910
|
sso: 'sso_example' # String |
|
|
@@ -1855,7 +1912,7 @@ opts = {
|
|
|
1855
1912
|
|
|
1856
1913
|
begin
|
|
1857
1914
|
|
|
1858
|
-
result = api_instance.post_ban_user_undo(ban_user_undo_params, opts)
|
|
1915
|
+
result = api_instance.post_ban_user_undo(tenant_id, ban_user_undo_params, opts)
|
|
1859
1916
|
p result
|
|
1860
1917
|
rescue FastCommentsClient::ApiError => e
|
|
1861
1918
|
puts "Error when calling ModerationApi->post_ban_user_undo: #{e}"
|
|
@@ -1866,12 +1923,12 @@ end
|
|
|
1866
1923
|
|
|
1867
1924
|
This returns an Array which contains the response data, status code and headers.
|
|
1868
1925
|
|
|
1869
|
-
> <Array(<APIEmptyResponse>, Integer, Hash)> post_ban_user_undo_with_http_info(ban_user_undo_params, opts)
|
|
1926
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> post_ban_user_undo_with_http_info(tenant_id, ban_user_undo_params, opts)
|
|
1870
1927
|
|
|
1871
1928
|
```ruby
|
|
1872
1929
|
begin
|
|
1873
1930
|
|
|
1874
|
-
data, status_code, headers = api_instance.post_ban_user_undo_with_http_info(ban_user_undo_params, opts)
|
|
1931
|
+
data, status_code, headers = api_instance.post_ban_user_undo_with_http_info(tenant_id, ban_user_undo_params, opts)
|
|
1875
1932
|
p status_code # => 2xx
|
|
1876
1933
|
p headers # => { ... }
|
|
1877
1934
|
p data # => <APIEmptyResponse>
|
|
@@ -1884,6 +1941,7 @@ end
|
|
|
1884
1941
|
|
|
1885
1942
|
| Name | Type | Description | Notes |
|
|
1886
1943
|
| ---- | ---- | ----------- | ----- |
|
|
1944
|
+
| **tenant_id** | **String** | | |
|
|
1887
1945
|
| **ban_user_undo_params** | [**BanUserUndoParams**](BanUserUndoParams.md) | | |
|
|
1888
1946
|
| **sso** | **String** | | [optional] |
|
|
1889
1947
|
|
|
@@ -1903,7 +1961,7 @@ No authorization required
|
|
|
1903
1961
|
|
|
1904
1962
|
## post_bulk_pre_ban_summary
|
|
1905
1963
|
|
|
1906
|
-
> <BulkPreBanSummary> post_bulk_pre_ban_summary(bulk_pre_ban_params, opts)
|
|
1964
|
+
> <BulkPreBanSummary> post_bulk_pre_ban_summary(tenant_id, bulk_pre_ban_params, opts)
|
|
1907
1965
|
|
|
1908
1966
|
|
|
1909
1967
|
|
|
@@ -1914,6 +1972,7 @@ require 'time'
|
|
|
1914
1972
|
require 'fastcomments-client'
|
|
1915
1973
|
|
|
1916
1974
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
1975
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1917
1976
|
bulk_pre_ban_params = FastCommentsClient::BulkPreBanParams.new({comment_ids: ['comment_ids_example']}) # BulkPreBanParams |
|
|
1918
1977
|
opts = {
|
|
1919
1978
|
include_by_user_id_and_email: true, # Boolean |
|
|
@@ -1924,7 +1983,7 @@ opts = {
|
|
|
1924
1983
|
|
|
1925
1984
|
begin
|
|
1926
1985
|
|
|
1927
|
-
result = api_instance.post_bulk_pre_ban_summary(bulk_pre_ban_params, opts)
|
|
1986
|
+
result = api_instance.post_bulk_pre_ban_summary(tenant_id, bulk_pre_ban_params, opts)
|
|
1928
1987
|
p result
|
|
1929
1988
|
rescue FastCommentsClient::ApiError => e
|
|
1930
1989
|
puts "Error when calling ModerationApi->post_bulk_pre_ban_summary: #{e}"
|
|
@@ -1935,12 +1994,12 @@ end
|
|
|
1935
1994
|
|
|
1936
1995
|
This returns an Array which contains the response data, status code and headers.
|
|
1937
1996
|
|
|
1938
|
-
> <Array(<BulkPreBanSummary>, Integer, Hash)> post_bulk_pre_ban_summary_with_http_info(bulk_pre_ban_params, opts)
|
|
1997
|
+
> <Array(<BulkPreBanSummary>, Integer, Hash)> post_bulk_pre_ban_summary_with_http_info(tenant_id, bulk_pre_ban_params, opts)
|
|
1939
1998
|
|
|
1940
1999
|
```ruby
|
|
1941
2000
|
begin
|
|
1942
2001
|
|
|
1943
|
-
data, status_code, headers = api_instance.post_bulk_pre_ban_summary_with_http_info(bulk_pre_ban_params, opts)
|
|
2002
|
+
data, status_code, headers = api_instance.post_bulk_pre_ban_summary_with_http_info(tenant_id, bulk_pre_ban_params, opts)
|
|
1944
2003
|
p status_code # => 2xx
|
|
1945
2004
|
p headers # => { ... }
|
|
1946
2005
|
p data # => <BulkPreBanSummary>
|
|
@@ -1953,6 +2012,7 @@ end
|
|
|
1953
2012
|
|
|
1954
2013
|
| Name | Type | Description | Notes |
|
|
1955
2014
|
| ---- | ---- | ----------- | ----- |
|
|
2015
|
+
| **tenant_id** | **String** | | |
|
|
1956
2016
|
| **bulk_pre_ban_params** | [**BulkPreBanParams**](BulkPreBanParams.md) | | |
|
|
1957
2017
|
| **include_by_user_id_and_email** | **Boolean** | | [optional] |
|
|
1958
2018
|
| **include_by_ip** | **Boolean** | | [optional] |
|
|
@@ -1975,7 +2035,7 @@ No authorization required
|
|
|
1975
2035
|
|
|
1976
2036
|
## post_comments_by_ids
|
|
1977
2037
|
|
|
1978
|
-
> <ModerationAPIChildCommentsResponse> post_comments_by_ids(comments_by_ids_params, opts)
|
|
2038
|
+
> <ModerationAPIChildCommentsResponse> post_comments_by_ids(tenant_id, comments_by_ids_params, opts)
|
|
1979
2039
|
|
|
1980
2040
|
|
|
1981
2041
|
|
|
@@ -1986,6 +2046,7 @@ require 'time'
|
|
|
1986
2046
|
require 'fastcomments-client'
|
|
1987
2047
|
|
|
1988
2048
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2049
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1989
2050
|
comments_by_ids_params = FastCommentsClient::CommentsByIdsParams.new({ids: ['ids_example']}) # CommentsByIdsParams |
|
|
1990
2051
|
opts = {
|
|
1991
2052
|
sso: 'sso_example' # String |
|
|
@@ -1993,7 +2054,7 @@ opts = {
|
|
|
1993
2054
|
|
|
1994
2055
|
begin
|
|
1995
2056
|
|
|
1996
|
-
result = api_instance.post_comments_by_ids(comments_by_ids_params, opts)
|
|
2057
|
+
result = api_instance.post_comments_by_ids(tenant_id, comments_by_ids_params, opts)
|
|
1997
2058
|
p result
|
|
1998
2059
|
rescue FastCommentsClient::ApiError => e
|
|
1999
2060
|
puts "Error when calling ModerationApi->post_comments_by_ids: #{e}"
|
|
@@ -2004,12 +2065,12 @@ end
|
|
|
2004
2065
|
|
|
2005
2066
|
This returns an Array which contains the response data, status code and headers.
|
|
2006
2067
|
|
|
2007
|
-
> <Array(<ModerationAPIChildCommentsResponse>, Integer, Hash)> post_comments_by_ids_with_http_info(comments_by_ids_params, opts)
|
|
2068
|
+
> <Array(<ModerationAPIChildCommentsResponse>, Integer, Hash)> post_comments_by_ids_with_http_info(tenant_id, comments_by_ids_params, opts)
|
|
2008
2069
|
|
|
2009
2070
|
```ruby
|
|
2010
2071
|
begin
|
|
2011
2072
|
|
|
2012
|
-
data, status_code, headers = api_instance.post_comments_by_ids_with_http_info(comments_by_ids_params, opts)
|
|
2073
|
+
data, status_code, headers = api_instance.post_comments_by_ids_with_http_info(tenant_id, comments_by_ids_params, opts)
|
|
2013
2074
|
p status_code # => 2xx
|
|
2014
2075
|
p headers # => { ... }
|
|
2015
2076
|
p data # => <ModerationAPIChildCommentsResponse>
|
|
@@ -2022,6 +2083,7 @@ end
|
|
|
2022
2083
|
|
|
2023
2084
|
| Name | Type | Description | Notes |
|
|
2024
2085
|
| ---- | ---- | ----------- | ----- |
|
|
2086
|
+
| **tenant_id** | **String** | | |
|
|
2025
2087
|
| **comments_by_ids_params** | [**CommentsByIdsParams**](CommentsByIdsParams.md) | | |
|
|
2026
2088
|
| **sso** | **String** | | [optional] |
|
|
2027
2089
|
|
|
@@ -2041,7 +2103,7 @@ No authorization required
|
|
|
2041
2103
|
|
|
2042
2104
|
## post_flag_comment
|
|
2043
2105
|
|
|
2044
|
-
> <APIEmptyResponse> post_flag_comment(comment_id, opts)
|
|
2106
|
+
> <APIEmptyResponse> post_flag_comment(tenant_id, comment_id, opts)
|
|
2045
2107
|
|
|
2046
2108
|
|
|
2047
2109
|
|
|
@@ -2052,14 +2114,16 @@ require 'time'
|
|
|
2052
2114
|
require 'fastcomments-client'
|
|
2053
2115
|
|
|
2054
2116
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2117
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2055
2118
|
comment_id = 'comment_id_example' # String |
|
|
2056
2119
|
opts = {
|
|
2120
|
+
broadcast_id: 'broadcast_id_example', # String |
|
|
2057
2121
|
sso: 'sso_example' # String |
|
|
2058
2122
|
}
|
|
2059
2123
|
|
|
2060
2124
|
begin
|
|
2061
2125
|
|
|
2062
|
-
result = api_instance.post_flag_comment(comment_id, opts)
|
|
2126
|
+
result = api_instance.post_flag_comment(tenant_id, comment_id, opts)
|
|
2063
2127
|
p result
|
|
2064
2128
|
rescue FastCommentsClient::ApiError => e
|
|
2065
2129
|
puts "Error when calling ModerationApi->post_flag_comment: #{e}"
|
|
@@ -2070,12 +2134,12 @@ end
|
|
|
2070
2134
|
|
|
2071
2135
|
This returns an Array which contains the response data, status code and headers.
|
|
2072
2136
|
|
|
2073
|
-
> <Array(<APIEmptyResponse>, Integer, Hash)> post_flag_comment_with_http_info(comment_id, opts)
|
|
2137
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> post_flag_comment_with_http_info(tenant_id, comment_id, opts)
|
|
2074
2138
|
|
|
2075
2139
|
```ruby
|
|
2076
2140
|
begin
|
|
2077
2141
|
|
|
2078
|
-
data, status_code, headers = api_instance.post_flag_comment_with_http_info(comment_id, opts)
|
|
2142
|
+
data, status_code, headers = api_instance.post_flag_comment_with_http_info(tenant_id, comment_id, opts)
|
|
2079
2143
|
p status_code # => 2xx
|
|
2080
2144
|
p headers # => { ... }
|
|
2081
2145
|
p data # => <APIEmptyResponse>
|
|
@@ -2088,7 +2152,9 @@ end
|
|
|
2088
2152
|
|
|
2089
2153
|
| Name | Type | Description | Notes |
|
|
2090
2154
|
| ---- | ---- | ----------- | ----- |
|
|
2155
|
+
| **tenant_id** | **String** | | |
|
|
2091
2156
|
| **comment_id** | **String** | | |
|
|
2157
|
+
| **broadcast_id** | **String** | | [optional] |
|
|
2092
2158
|
| **sso** | **String** | | [optional] |
|
|
2093
2159
|
|
|
2094
2160
|
### Return type
|
|
@@ -2107,7 +2173,7 @@ No authorization required
|
|
|
2107
2173
|
|
|
2108
2174
|
## post_remove_comment
|
|
2109
2175
|
|
|
2110
|
-
> <
|
|
2176
|
+
> <PostRemoveCommentApiResponse> post_remove_comment(tenant_id, comment_id, opts)
|
|
2111
2177
|
|
|
2112
2178
|
|
|
2113
2179
|
|
|
@@ -2118,14 +2184,16 @@ require 'time'
|
|
|
2118
2184
|
require 'fastcomments-client'
|
|
2119
2185
|
|
|
2120
2186
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2187
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2121
2188
|
comment_id = 'comment_id_example' # String |
|
|
2122
2189
|
opts = {
|
|
2190
|
+
broadcast_id: 'broadcast_id_example', # String |
|
|
2123
2191
|
sso: 'sso_example' # String |
|
|
2124
2192
|
}
|
|
2125
2193
|
|
|
2126
2194
|
begin
|
|
2127
2195
|
|
|
2128
|
-
result = api_instance.post_remove_comment(comment_id, opts)
|
|
2196
|
+
result = api_instance.post_remove_comment(tenant_id, comment_id, opts)
|
|
2129
2197
|
p result
|
|
2130
2198
|
rescue FastCommentsClient::ApiError => e
|
|
2131
2199
|
puts "Error when calling ModerationApi->post_remove_comment: #{e}"
|
|
@@ -2136,15 +2204,15 @@ end
|
|
|
2136
2204
|
|
|
2137
2205
|
This returns an Array which contains the response data, status code and headers.
|
|
2138
2206
|
|
|
2139
|
-
> <Array(<
|
|
2207
|
+
> <Array(<PostRemoveCommentApiResponse>, Integer, Hash)> post_remove_comment_with_http_info(tenant_id, comment_id, opts)
|
|
2140
2208
|
|
|
2141
2209
|
```ruby
|
|
2142
2210
|
begin
|
|
2143
2211
|
|
|
2144
|
-
data, status_code, headers = api_instance.post_remove_comment_with_http_info(comment_id, opts)
|
|
2212
|
+
data, status_code, headers = api_instance.post_remove_comment_with_http_info(tenant_id, comment_id, opts)
|
|
2145
2213
|
p status_code # => 2xx
|
|
2146
2214
|
p headers # => { ... }
|
|
2147
|
-
p data # => <
|
|
2215
|
+
p data # => <PostRemoveCommentApiResponse>
|
|
2148
2216
|
rescue FastCommentsClient::ApiError => e
|
|
2149
2217
|
puts "Error when calling ModerationApi->post_remove_comment_with_http_info: #{e}"
|
|
2150
2218
|
end
|
|
@@ -2154,12 +2222,14 @@ end
|
|
|
2154
2222
|
|
|
2155
2223
|
| Name | Type | Description | Notes |
|
|
2156
2224
|
| ---- | ---- | ----------- | ----- |
|
|
2225
|
+
| **tenant_id** | **String** | | |
|
|
2157
2226
|
| **comment_id** | **String** | | |
|
|
2227
|
+
| **broadcast_id** | **String** | | [optional] |
|
|
2158
2228
|
| **sso** | **String** | | [optional] |
|
|
2159
2229
|
|
|
2160
2230
|
### Return type
|
|
2161
2231
|
|
|
2162
|
-
[**
|
|
2232
|
+
[**PostRemoveCommentApiResponse**](PostRemoveCommentApiResponse.md)
|
|
2163
2233
|
|
|
2164
2234
|
### Authorization
|
|
2165
2235
|
|
|
@@ -2173,7 +2243,7 @@ No authorization required
|
|
|
2173
2243
|
|
|
2174
2244
|
## post_restore_deleted_comment
|
|
2175
2245
|
|
|
2176
|
-
> <APIEmptyResponse> post_restore_deleted_comment(comment_id, opts)
|
|
2246
|
+
> <APIEmptyResponse> post_restore_deleted_comment(tenant_id, comment_id, opts)
|
|
2177
2247
|
|
|
2178
2248
|
|
|
2179
2249
|
|
|
@@ -2184,14 +2254,16 @@ require 'time'
|
|
|
2184
2254
|
require 'fastcomments-client'
|
|
2185
2255
|
|
|
2186
2256
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2257
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2187
2258
|
comment_id = 'comment_id_example' # String |
|
|
2188
2259
|
opts = {
|
|
2260
|
+
broadcast_id: 'broadcast_id_example', # String |
|
|
2189
2261
|
sso: 'sso_example' # String |
|
|
2190
2262
|
}
|
|
2191
2263
|
|
|
2192
2264
|
begin
|
|
2193
2265
|
|
|
2194
|
-
result = api_instance.post_restore_deleted_comment(comment_id, opts)
|
|
2266
|
+
result = api_instance.post_restore_deleted_comment(tenant_id, comment_id, opts)
|
|
2195
2267
|
p result
|
|
2196
2268
|
rescue FastCommentsClient::ApiError => e
|
|
2197
2269
|
puts "Error when calling ModerationApi->post_restore_deleted_comment: #{e}"
|
|
@@ -2202,12 +2274,12 @@ end
|
|
|
2202
2274
|
|
|
2203
2275
|
This returns an Array which contains the response data, status code and headers.
|
|
2204
2276
|
|
|
2205
|
-
> <Array(<APIEmptyResponse>, Integer, Hash)> post_restore_deleted_comment_with_http_info(comment_id, opts)
|
|
2277
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> post_restore_deleted_comment_with_http_info(tenant_id, comment_id, opts)
|
|
2206
2278
|
|
|
2207
2279
|
```ruby
|
|
2208
2280
|
begin
|
|
2209
2281
|
|
|
2210
|
-
data, status_code, headers = api_instance.post_restore_deleted_comment_with_http_info(comment_id, opts)
|
|
2282
|
+
data, status_code, headers = api_instance.post_restore_deleted_comment_with_http_info(tenant_id, comment_id, opts)
|
|
2211
2283
|
p status_code # => 2xx
|
|
2212
2284
|
p headers # => { ... }
|
|
2213
2285
|
p data # => <APIEmptyResponse>
|
|
@@ -2220,7 +2292,9 @@ end
|
|
|
2220
2292
|
|
|
2221
2293
|
| Name | Type | Description | Notes |
|
|
2222
2294
|
| ---- | ---- | ----------- | ----- |
|
|
2295
|
+
| **tenant_id** | **String** | | |
|
|
2223
2296
|
| **comment_id** | **String** | | |
|
|
2297
|
+
| **broadcast_id** | **String** | | [optional] |
|
|
2224
2298
|
| **sso** | **String** | | [optional] |
|
|
2225
2299
|
|
|
2226
2300
|
### Return type
|
|
@@ -2239,7 +2313,7 @@ No authorization required
|
|
|
2239
2313
|
|
|
2240
2314
|
## post_set_comment_approval_status
|
|
2241
2315
|
|
|
2242
|
-
> <SetCommentApprovedResponse> post_set_comment_approval_status(comment_id, opts)
|
|
2316
|
+
> <SetCommentApprovedResponse> post_set_comment_approval_status(tenant_id, comment_id, opts)
|
|
2243
2317
|
|
|
2244
2318
|
|
|
2245
2319
|
|
|
@@ -2250,15 +2324,17 @@ require 'time'
|
|
|
2250
2324
|
require 'fastcomments-client'
|
|
2251
2325
|
|
|
2252
2326
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2327
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2253
2328
|
comment_id = 'comment_id_example' # String |
|
|
2254
2329
|
opts = {
|
|
2255
2330
|
approved: true, # Boolean |
|
|
2331
|
+
broadcast_id: 'broadcast_id_example', # String |
|
|
2256
2332
|
sso: 'sso_example' # String |
|
|
2257
2333
|
}
|
|
2258
2334
|
|
|
2259
2335
|
begin
|
|
2260
2336
|
|
|
2261
|
-
result = api_instance.post_set_comment_approval_status(comment_id, opts)
|
|
2337
|
+
result = api_instance.post_set_comment_approval_status(tenant_id, comment_id, opts)
|
|
2262
2338
|
p result
|
|
2263
2339
|
rescue FastCommentsClient::ApiError => e
|
|
2264
2340
|
puts "Error when calling ModerationApi->post_set_comment_approval_status: #{e}"
|
|
@@ -2269,12 +2345,12 @@ end
|
|
|
2269
2345
|
|
|
2270
2346
|
This returns an Array which contains the response data, status code and headers.
|
|
2271
2347
|
|
|
2272
|
-
> <Array(<SetCommentApprovedResponse>, Integer, Hash)> post_set_comment_approval_status_with_http_info(comment_id, opts)
|
|
2348
|
+
> <Array(<SetCommentApprovedResponse>, Integer, Hash)> post_set_comment_approval_status_with_http_info(tenant_id, comment_id, opts)
|
|
2273
2349
|
|
|
2274
2350
|
```ruby
|
|
2275
2351
|
begin
|
|
2276
2352
|
|
|
2277
|
-
data, status_code, headers = api_instance.post_set_comment_approval_status_with_http_info(comment_id, opts)
|
|
2353
|
+
data, status_code, headers = api_instance.post_set_comment_approval_status_with_http_info(tenant_id, comment_id, opts)
|
|
2278
2354
|
p status_code # => 2xx
|
|
2279
2355
|
p headers # => { ... }
|
|
2280
2356
|
p data # => <SetCommentApprovedResponse>
|
|
@@ -2287,8 +2363,10 @@ end
|
|
|
2287
2363
|
|
|
2288
2364
|
| Name | Type | Description | Notes |
|
|
2289
2365
|
| ---- | ---- | ----------- | ----- |
|
|
2366
|
+
| **tenant_id** | **String** | | |
|
|
2290
2367
|
| **comment_id** | **String** | | |
|
|
2291
2368
|
| **approved** | **Boolean** | | [optional] |
|
|
2369
|
+
| **broadcast_id** | **String** | | [optional] |
|
|
2292
2370
|
| **sso** | **String** | | [optional] |
|
|
2293
2371
|
|
|
2294
2372
|
### Return type
|
|
@@ -2307,7 +2385,7 @@ No authorization required
|
|
|
2307
2385
|
|
|
2308
2386
|
## post_set_comment_review_status
|
|
2309
2387
|
|
|
2310
|
-
> <APIEmptyResponse> post_set_comment_review_status(comment_id, opts)
|
|
2388
|
+
> <APIEmptyResponse> post_set_comment_review_status(tenant_id, comment_id, opts)
|
|
2311
2389
|
|
|
2312
2390
|
|
|
2313
2391
|
|
|
@@ -2318,15 +2396,17 @@ require 'time'
|
|
|
2318
2396
|
require 'fastcomments-client'
|
|
2319
2397
|
|
|
2320
2398
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2399
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2321
2400
|
comment_id = 'comment_id_example' # String |
|
|
2322
2401
|
opts = {
|
|
2323
2402
|
reviewed: true, # Boolean |
|
|
2403
|
+
broadcast_id: 'broadcast_id_example', # String |
|
|
2324
2404
|
sso: 'sso_example' # String |
|
|
2325
2405
|
}
|
|
2326
2406
|
|
|
2327
2407
|
begin
|
|
2328
2408
|
|
|
2329
|
-
result = api_instance.post_set_comment_review_status(comment_id, opts)
|
|
2409
|
+
result = api_instance.post_set_comment_review_status(tenant_id, comment_id, opts)
|
|
2330
2410
|
p result
|
|
2331
2411
|
rescue FastCommentsClient::ApiError => e
|
|
2332
2412
|
puts "Error when calling ModerationApi->post_set_comment_review_status: #{e}"
|
|
@@ -2337,12 +2417,12 @@ end
|
|
|
2337
2417
|
|
|
2338
2418
|
This returns an Array which contains the response data, status code and headers.
|
|
2339
2419
|
|
|
2340
|
-
> <Array(<APIEmptyResponse>, Integer, Hash)> post_set_comment_review_status_with_http_info(comment_id, opts)
|
|
2420
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> post_set_comment_review_status_with_http_info(tenant_id, comment_id, opts)
|
|
2341
2421
|
|
|
2342
2422
|
```ruby
|
|
2343
2423
|
begin
|
|
2344
2424
|
|
|
2345
|
-
data, status_code, headers = api_instance.post_set_comment_review_status_with_http_info(comment_id, opts)
|
|
2425
|
+
data, status_code, headers = api_instance.post_set_comment_review_status_with_http_info(tenant_id, comment_id, opts)
|
|
2346
2426
|
p status_code # => 2xx
|
|
2347
2427
|
p headers # => { ... }
|
|
2348
2428
|
p data # => <APIEmptyResponse>
|
|
@@ -2355,8 +2435,10 @@ end
|
|
|
2355
2435
|
|
|
2356
2436
|
| Name | Type | Description | Notes |
|
|
2357
2437
|
| ---- | ---- | ----------- | ----- |
|
|
2438
|
+
| **tenant_id** | **String** | | |
|
|
2358
2439
|
| **comment_id** | **String** | | |
|
|
2359
2440
|
| **reviewed** | **Boolean** | | [optional] |
|
|
2441
|
+
| **broadcast_id** | **String** | | [optional] |
|
|
2360
2442
|
| **sso** | **String** | | [optional] |
|
|
2361
2443
|
|
|
2362
2444
|
### Return type
|
|
@@ -2375,7 +2457,7 @@ No authorization required
|
|
|
2375
2457
|
|
|
2376
2458
|
## post_set_comment_spam_status
|
|
2377
2459
|
|
|
2378
|
-
> <APIEmptyResponse> post_set_comment_spam_status(comment_id, opts)
|
|
2460
|
+
> <APIEmptyResponse> post_set_comment_spam_status(tenant_id, comment_id, opts)
|
|
2379
2461
|
|
|
2380
2462
|
|
|
2381
2463
|
|
|
@@ -2386,16 +2468,18 @@ require 'time'
|
|
|
2386
2468
|
require 'fastcomments-client'
|
|
2387
2469
|
|
|
2388
2470
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2471
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2389
2472
|
comment_id = 'comment_id_example' # String |
|
|
2390
2473
|
opts = {
|
|
2391
2474
|
spam: true, # Boolean |
|
|
2392
2475
|
perm_not_spam: true, # Boolean |
|
|
2476
|
+
broadcast_id: 'broadcast_id_example', # String |
|
|
2393
2477
|
sso: 'sso_example' # String |
|
|
2394
2478
|
}
|
|
2395
2479
|
|
|
2396
2480
|
begin
|
|
2397
2481
|
|
|
2398
|
-
result = api_instance.post_set_comment_spam_status(comment_id, opts)
|
|
2482
|
+
result = api_instance.post_set_comment_spam_status(tenant_id, comment_id, opts)
|
|
2399
2483
|
p result
|
|
2400
2484
|
rescue FastCommentsClient::ApiError => e
|
|
2401
2485
|
puts "Error when calling ModerationApi->post_set_comment_spam_status: #{e}"
|
|
@@ -2406,12 +2490,12 @@ end
|
|
|
2406
2490
|
|
|
2407
2491
|
This returns an Array which contains the response data, status code and headers.
|
|
2408
2492
|
|
|
2409
|
-
> <Array(<APIEmptyResponse>, Integer, Hash)> post_set_comment_spam_status_with_http_info(comment_id, opts)
|
|
2493
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> post_set_comment_spam_status_with_http_info(tenant_id, comment_id, opts)
|
|
2410
2494
|
|
|
2411
2495
|
```ruby
|
|
2412
2496
|
begin
|
|
2413
2497
|
|
|
2414
|
-
data, status_code, headers = api_instance.post_set_comment_spam_status_with_http_info(comment_id, opts)
|
|
2498
|
+
data, status_code, headers = api_instance.post_set_comment_spam_status_with_http_info(tenant_id, comment_id, opts)
|
|
2415
2499
|
p status_code # => 2xx
|
|
2416
2500
|
p headers # => { ... }
|
|
2417
2501
|
p data # => <APIEmptyResponse>
|
|
@@ -2424,9 +2508,11 @@ end
|
|
|
2424
2508
|
|
|
2425
2509
|
| Name | Type | Description | Notes |
|
|
2426
2510
|
| ---- | ---- | ----------- | ----- |
|
|
2511
|
+
| **tenant_id** | **String** | | |
|
|
2427
2512
|
| **comment_id** | **String** | | |
|
|
2428
2513
|
| **spam** | **Boolean** | | [optional] |
|
|
2429
2514
|
| **perm_not_spam** | **Boolean** | | [optional] |
|
|
2515
|
+
| **broadcast_id** | **String** | | [optional] |
|
|
2430
2516
|
| **sso** | **String** | | [optional] |
|
|
2431
2517
|
|
|
2432
2518
|
### Return type
|
|
@@ -2445,7 +2531,7 @@ No authorization required
|
|
|
2445
2531
|
|
|
2446
2532
|
## post_set_comment_text
|
|
2447
2533
|
|
|
2448
|
-
> <SetCommentTextResponse> post_set_comment_text(comment_id, set_comment_text_params, opts)
|
|
2534
|
+
> <SetCommentTextResponse> post_set_comment_text(tenant_id, comment_id, set_comment_text_params, opts)
|
|
2449
2535
|
|
|
2450
2536
|
|
|
2451
2537
|
|
|
@@ -2456,15 +2542,17 @@ require 'time'
|
|
|
2456
2542
|
require 'fastcomments-client'
|
|
2457
2543
|
|
|
2458
2544
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2545
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2459
2546
|
comment_id = 'comment_id_example' # String |
|
|
2460
2547
|
set_comment_text_params = FastCommentsClient::SetCommentTextParams.new({comment: 'comment_example'}) # SetCommentTextParams |
|
|
2461
2548
|
opts = {
|
|
2549
|
+
broadcast_id: 'broadcast_id_example', # String |
|
|
2462
2550
|
sso: 'sso_example' # String |
|
|
2463
2551
|
}
|
|
2464
2552
|
|
|
2465
2553
|
begin
|
|
2466
2554
|
|
|
2467
|
-
result = api_instance.post_set_comment_text(comment_id, set_comment_text_params, opts)
|
|
2555
|
+
result = api_instance.post_set_comment_text(tenant_id, comment_id, set_comment_text_params, opts)
|
|
2468
2556
|
p result
|
|
2469
2557
|
rescue FastCommentsClient::ApiError => e
|
|
2470
2558
|
puts "Error when calling ModerationApi->post_set_comment_text: #{e}"
|
|
@@ -2475,12 +2563,12 @@ end
|
|
|
2475
2563
|
|
|
2476
2564
|
This returns an Array which contains the response data, status code and headers.
|
|
2477
2565
|
|
|
2478
|
-
> <Array(<SetCommentTextResponse>, Integer, Hash)> post_set_comment_text_with_http_info(comment_id, set_comment_text_params, opts)
|
|
2566
|
+
> <Array(<SetCommentTextResponse>, Integer, Hash)> post_set_comment_text_with_http_info(tenant_id, comment_id, set_comment_text_params, opts)
|
|
2479
2567
|
|
|
2480
2568
|
```ruby
|
|
2481
2569
|
begin
|
|
2482
2570
|
|
|
2483
|
-
data, status_code, headers = api_instance.post_set_comment_text_with_http_info(comment_id, set_comment_text_params, opts)
|
|
2571
|
+
data, status_code, headers = api_instance.post_set_comment_text_with_http_info(tenant_id, comment_id, set_comment_text_params, opts)
|
|
2484
2572
|
p status_code # => 2xx
|
|
2485
2573
|
p headers # => { ... }
|
|
2486
2574
|
p data # => <SetCommentTextResponse>
|
|
@@ -2493,8 +2581,10 @@ end
|
|
|
2493
2581
|
|
|
2494
2582
|
| Name | Type | Description | Notes |
|
|
2495
2583
|
| ---- | ---- | ----------- | ----- |
|
|
2584
|
+
| **tenant_id** | **String** | | |
|
|
2496
2585
|
| **comment_id** | **String** | | |
|
|
2497
2586
|
| **set_comment_text_params** | [**SetCommentTextParams**](SetCommentTextParams.md) | | |
|
|
2587
|
+
| **broadcast_id** | **String** | | [optional] |
|
|
2498
2588
|
| **sso** | **String** | | [optional] |
|
|
2499
2589
|
|
|
2500
2590
|
### Return type
|
|
@@ -2513,7 +2603,7 @@ No authorization required
|
|
|
2513
2603
|
|
|
2514
2604
|
## post_un_flag_comment
|
|
2515
2605
|
|
|
2516
|
-
> <APIEmptyResponse> post_un_flag_comment(comment_id, opts)
|
|
2606
|
+
> <APIEmptyResponse> post_un_flag_comment(tenant_id, comment_id, opts)
|
|
2517
2607
|
|
|
2518
2608
|
|
|
2519
2609
|
|
|
@@ -2524,14 +2614,16 @@ require 'time'
|
|
|
2524
2614
|
require 'fastcomments-client'
|
|
2525
2615
|
|
|
2526
2616
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2617
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2527
2618
|
comment_id = 'comment_id_example' # String |
|
|
2528
2619
|
opts = {
|
|
2620
|
+
broadcast_id: 'broadcast_id_example', # String |
|
|
2529
2621
|
sso: 'sso_example' # String |
|
|
2530
2622
|
}
|
|
2531
2623
|
|
|
2532
2624
|
begin
|
|
2533
2625
|
|
|
2534
|
-
result = api_instance.post_un_flag_comment(comment_id, opts)
|
|
2626
|
+
result = api_instance.post_un_flag_comment(tenant_id, comment_id, opts)
|
|
2535
2627
|
p result
|
|
2536
2628
|
rescue FastCommentsClient::ApiError => e
|
|
2537
2629
|
puts "Error when calling ModerationApi->post_un_flag_comment: #{e}"
|
|
@@ -2542,12 +2634,12 @@ end
|
|
|
2542
2634
|
|
|
2543
2635
|
This returns an Array which contains the response data, status code and headers.
|
|
2544
2636
|
|
|
2545
|
-
> <Array(<APIEmptyResponse>, Integer, Hash)> post_un_flag_comment_with_http_info(comment_id, opts)
|
|
2637
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> post_un_flag_comment_with_http_info(tenant_id, comment_id, opts)
|
|
2546
2638
|
|
|
2547
2639
|
```ruby
|
|
2548
2640
|
begin
|
|
2549
2641
|
|
|
2550
|
-
data, status_code, headers = api_instance.post_un_flag_comment_with_http_info(comment_id, opts)
|
|
2642
|
+
data, status_code, headers = api_instance.post_un_flag_comment_with_http_info(tenant_id, comment_id, opts)
|
|
2551
2643
|
p status_code # => 2xx
|
|
2552
2644
|
p headers # => { ... }
|
|
2553
2645
|
p data # => <APIEmptyResponse>
|
|
@@ -2560,7 +2652,9 @@ end
|
|
|
2560
2652
|
|
|
2561
2653
|
| Name | Type | Description | Notes |
|
|
2562
2654
|
| ---- | ---- | ----------- | ----- |
|
|
2655
|
+
| **tenant_id** | **String** | | |
|
|
2563
2656
|
| **comment_id** | **String** | | |
|
|
2657
|
+
| **broadcast_id** | **String** | | [optional] |
|
|
2564
2658
|
| **sso** | **String** | | [optional] |
|
|
2565
2659
|
|
|
2566
2660
|
### Return type
|
|
@@ -2579,7 +2673,7 @@ No authorization required
|
|
|
2579
2673
|
|
|
2580
2674
|
## post_vote
|
|
2581
2675
|
|
|
2582
|
-
> <VoteResponse> post_vote(comment_id, opts)
|
|
2676
|
+
> <VoteResponse> post_vote(tenant_id, comment_id, opts)
|
|
2583
2677
|
|
|
2584
2678
|
|
|
2585
2679
|
|
|
@@ -2590,15 +2684,17 @@ require 'time'
|
|
|
2590
2684
|
require 'fastcomments-client'
|
|
2591
2685
|
|
|
2592
2686
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2687
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2593
2688
|
comment_id = 'comment_id_example' # String |
|
|
2594
2689
|
opts = {
|
|
2595
2690
|
direction: 'direction_example', # String |
|
|
2691
|
+
broadcast_id: 'broadcast_id_example', # String |
|
|
2596
2692
|
sso: 'sso_example' # String |
|
|
2597
2693
|
}
|
|
2598
2694
|
|
|
2599
2695
|
begin
|
|
2600
2696
|
|
|
2601
|
-
result = api_instance.post_vote(comment_id, opts)
|
|
2697
|
+
result = api_instance.post_vote(tenant_id, comment_id, opts)
|
|
2602
2698
|
p result
|
|
2603
2699
|
rescue FastCommentsClient::ApiError => e
|
|
2604
2700
|
puts "Error when calling ModerationApi->post_vote: #{e}"
|
|
@@ -2609,12 +2705,12 @@ end
|
|
|
2609
2705
|
|
|
2610
2706
|
This returns an Array which contains the response data, status code and headers.
|
|
2611
2707
|
|
|
2612
|
-
> <Array(<VoteResponse>, Integer, Hash)> post_vote_with_http_info(comment_id, opts)
|
|
2708
|
+
> <Array(<VoteResponse>, Integer, Hash)> post_vote_with_http_info(tenant_id, comment_id, opts)
|
|
2613
2709
|
|
|
2614
2710
|
```ruby
|
|
2615
2711
|
begin
|
|
2616
2712
|
|
|
2617
|
-
data, status_code, headers = api_instance.post_vote_with_http_info(comment_id, opts)
|
|
2713
|
+
data, status_code, headers = api_instance.post_vote_with_http_info(tenant_id, comment_id, opts)
|
|
2618
2714
|
p status_code # => 2xx
|
|
2619
2715
|
p headers # => { ... }
|
|
2620
2716
|
p data # => <VoteResponse>
|
|
@@ -2627,8 +2723,10 @@ end
|
|
|
2627
2723
|
|
|
2628
2724
|
| Name | Type | Description | Notes |
|
|
2629
2725
|
| ---- | ---- | ----------- | ----- |
|
|
2726
|
+
| **tenant_id** | **String** | | |
|
|
2630
2727
|
| **comment_id** | **String** | | |
|
|
2631
2728
|
| **direction** | **String** | | [optional] |
|
|
2729
|
+
| **broadcast_id** | **String** | | [optional] |
|
|
2632
2730
|
| **sso** | **String** | | [optional] |
|
|
2633
2731
|
|
|
2634
2732
|
### Return type
|
|
@@ -2647,7 +2745,7 @@ No authorization required
|
|
|
2647
2745
|
|
|
2648
2746
|
## put_award_badge
|
|
2649
2747
|
|
|
2650
|
-
> <AwardUserBadgeResponse> put_award_badge(badge_id, opts)
|
|
2748
|
+
> <AwardUserBadgeResponse> put_award_badge(tenant_id, badge_id, opts)
|
|
2651
2749
|
|
|
2652
2750
|
|
|
2653
2751
|
|
|
@@ -2658,6 +2756,7 @@ require 'time'
|
|
|
2658
2756
|
require 'fastcomments-client'
|
|
2659
2757
|
|
|
2660
2758
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2759
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2661
2760
|
badge_id = 'badge_id_example' # String |
|
|
2662
2761
|
opts = {
|
|
2663
2762
|
user_id: 'user_id_example', # String |
|
|
@@ -2668,7 +2767,7 @@ opts = {
|
|
|
2668
2767
|
|
|
2669
2768
|
begin
|
|
2670
2769
|
|
|
2671
|
-
result = api_instance.put_award_badge(badge_id, opts)
|
|
2770
|
+
result = api_instance.put_award_badge(tenant_id, badge_id, opts)
|
|
2672
2771
|
p result
|
|
2673
2772
|
rescue FastCommentsClient::ApiError => e
|
|
2674
2773
|
puts "Error when calling ModerationApi->put_award_badge: #{e}"
|
|
@@ -2679,12 +2778,12 @@ end
|
|
|
2679
2778
|
|
|
2680
2779
|
This returns an Array which contains the response data, status code and headers.
|
|
2681
2780
|
|
|
2682
|
-
> <Array(<AwardUserBadgeResponse>, Integer, Hash)> put_award_badge_with_http_info(badge_id, opts)
|
|
2781
|
+
> <Array(<AwardUserBadgeResponse>, Integer, Hash)> put_award_badge_with_http_info(tenant_id, badge_id, opts)
|
|
2683
2782
|
|
|
2684
2783
|
```ruby
|
|
2685
2784
|
begin
|
|
2686
2785
|
|
|
2687
|
-
data, status_code, headers = api_instance.put_award_badge_with_http_info(badge_id, opts)
|
|
2786
|
+
data, status_code, headers = api_instance.put_award_badge_with_http_info(tenant_id, badge_id, opts)
|
|
2688
2787
|
p status_code # => 2xx
|
|
2689
2788
|
p headers # => { ... }
|
|
2690
2789
|
p data # => <AwardUserBadgeResponse>
|
|
@@ -2697,6 +2796,7 @@ end
|
|
|
2697
2796
|
|
|
2698
2797
|
| Name | Type | Description | Notes |
|
|
2699
2798
|
| ---- | ---- | ----------- | ----- |
|
|
2799
|
+
| **tenant_id** | **String** | | |
|
|
2700
2800
|
| **badge_id** | **String** | | |
|
|
2701
2801
|
| **user_id** | **String** | | [optional] |
|
|
2702
2802
|
| **comment_id** | **String** | | [optional] |
|
|
@@ -2719,7 +2819,7 @@ No authorization required
|
|
|
2719
2819
|
|
|
2720
2820
|
## put_close_thread
|
|
2721
2821
|
|
|
2722
|
-
> <APIEmptyResponse> put_close_thread(url_id, opts)
|
|
2822
|
+
> <APIEmptyResponse> put_close_thread(tenant_id, url_id, opts)
|
|
2723
2823
|
|
|
2724
2824
|
|
|
2725
2825
|
|
|
@@ -2730,6 +2830,7 @@ require 'time'
|
|
|
2730
2830
|
require 'fastcomments-client'
|
|
2731
2831
|
|
|
2732
2832
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2833
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2733
2834
|
url_id = 'url_id_example' # String |
|
|
2734
2835
|
opts = {
|
|
2735
2836
|
sso: 'sso_example' # String |
|
|
@@ -2737,7 +2838,7 @@ opts = {
|
|
|
2737
2838
|
|
|
2738
2839
|
begin
|
|
2739
2840
|
|
|
2740
|
-
result = api_instance.put_close_thread(url_id, opts)
|
|
2841
|
+
result = api_instance.put_close_thread(tenant_id, url_id, opts)
|
|
2741
2842
|
p result
|
|
2742
2843
|
rescue FastCommentsClient::ApiError => e
|
|
2743
2844
|
puts "Error when calling ModerationApi->put_close_thread: #{e}"
|
|
@@ -2748,12 +2849,12 @@ end
|
|
|
2748
2849
|
|
|
2749
2850
|
This returns an Array which contains the response data, status code and headers.
|
|
2750
2851
|
|
|
2751
|
-
> <Array(<APIEmptyResponse>, Integer, Hash)> put_close_thread_with_http_info(url_id, opts)
|
|
2852
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> put_close_thread_with_http_info(tenant_id, url_id, opts)
|
|
2752
2853
|
|
|
2753
2854
|
```ruby
|
|
2754
2855
|
begin
|
|
2755
2856
|
|
|
2756
|
-
data, status_code, headers = api_instance.put_close_thread_with_http_info(url_id, opts)
|
|
2857
|
+
data, status_code, headers = api_instance.put_close_thread_with_http_info(tenant_id, url_id, opts)
|
|
2757
2858
|
p status_code # => 2xx
|
|
2758
2859
|
p headers # => { ... }
|
|
2759
2860
|
p data # => <APIEmptyResponse>
|
|
@@ -2766,6 +2867,7 @@ end
|
|
|
2766
2867
|
|
|
2767
2868
|
| Name | Type | Description | Notes |
|
|
2768
2869
|
| ---- | ---- | ----------- | ----- |
|
|
2870
|
+
| **tenant_id** | **String** | | |
|
|
2769
2871
|
| **url_id** | **String** | | |
|
|
2770
2872
|
| **sso** | **String** | | [optional] |
|
|
2771
2873
|
|
|
@@ -2785,7 +2887,7 @@ No authorization required
|
|
|
2785
2887
|
|
|
2786
2888
|
## put_remove_badge
|
|
2787
2889
|
|
|
2788
|
-
> <RemoveUserBadgeResponse> put_remove_badge(badge_id, opts)
|
|
2890
|
+
> <RemoveUserBadgeResponse> put_remove_badge(tenant_id, badge_id, opts)
|
|
2789
2891
|
|
|
2790
2892
|
|
|
2791
2893
|
|
|
@@ -2796,6 +2898,7 @@ require 'time'
|
|
|
2796
2898
|
require 'fastcomments-client'
|
|
2797
2899
|
|
|
2798
2900
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2901
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2799
2902
|
badge_id = 'badge_id_example' # String |
|
|
2800
2903
|
opts = {
|
|
2801
2904
|
user_id: 'user_id_example', # String |
|
|
@@ -2806,7 +2909,7 @@ opts = {
|
|
|
2806
2909
|
|
|
2807
2910
|
begin
|
|
2808
2911
|
|
|
2809
|
-
result = api_instance.put_remove_badge(badge_id, opts)
|
|
2912
|
+
result = api_instance.put_remove_badge(tenant_id, badge_id, opts)
|
|
2810
2913
|
p result
|
|
2811
2914
|
rescue FastCommentsClient::ApiError => e
|
|
2812
2915
|
puts "Error when calling ModerationApi->put_remove_badge: #{e}"
|
|
@@ -2817,12 +2920,12 @@ end
|
|
|
2817
2920
|
|
|
2818
2921
|
This returns an Array which contains the response data, status code and headers.
|
|
2819
2922
|
|
|
2820
|
-
> <Array(<RemoveUserBadgeResponse>, Integer, Hash)> put_remove_badge_with_http_info(badge_id, opts)
|
|
2923
|
+
> <Array(<RemoveUserBadgeResponse>, Integer, Hash)> put_remove_badge_with_http_info(tenant_id, badge_id, opts)
|
|
2821
2924
|
|
|
2822
2925
|
```ruby
|
|
2823
2926
|
begin
|
|
2824
2927
|
|
|
2825
|
-
data, status_code, headers = api_instance.put_remove_badge_with_http_info(badge_id, opts)
|
|
2928
|
+
data, status_code, headers = api_instance.put_remove_badge_with_http_info(tenant_id, badge_id, opts)
|
|
2826
2929
|
p status_code # => 2xx
|
|
2827
2930
|
p headers # => { ... }
|
|
2828
2931
|
p data # => <RemoveUserBadgeResponse>
|
|
@@ -2835,6 +2938,7 @@ end
|
|
|
2835
2938
|
|
|
2836
2939
|
| Name | Type | Description | Notes |
|
|
2837
2940
|
| ---- | ---- | ----------- | ----- |
|
|
2941
|
+
| **tenant_id** | **String** | | |
|
|
2838
2942
|
| **badge_id** | **String** | | |
|
|
2839
2943
|
| **user_id** | **String** | | [optional] |
|
|
2840
2944
|
| **comment_id** | **String** | | [optional] |
|
|
@@ -2857,7 +2961,7 @@ No authorization required
|
|
|
2857
2961
|
|
|
2858
2962
|
## put_reopen_thread
|
|
2859
2963
|
|
|
2860
|
-
> <APIEmptyResponse> put_reopen_thread(url_id, opts)
|
|
2964
|
+
> <APIEmptyResponse> put_reopen_thread(tenant_id, url_id, opts)
|
|
2861
2965
|
|
|
2862
2966
|
|
|
2863
2967
|
|
|
@@ -2868,6 +2972,7 @@ require 'time'
|
|
|
2868
2972
|
require 'fastcomments-client'
|
|
2869
2973
|
|
|
2870
2974
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
2975
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2871
2976
|
url_id = 'url_id_example' # String |
|
|
2872
2977
|
opts = {
|
|
2873
2978
|
sso: 'sso_example' # String |
|
|
@@ -2875,7 +2980,7 @@ opts = {
|
|
|
2875
2980
|
|
|
2876
2981
|
begin
|
|
2877
2982
|
|
|
2878
|
-
result = api_instance.put_reopen_thread(url_id, opts)
|
|
2983
|
+
result = api_instance.put_reopen_thread(tenant_id, url_id, opts)
|
|
2879
2984
|
p result
|
|
2880
2985
|
rescue FastCommentsClient::ApiError => e
|
|
2881
2986
|
puts "Error when calling ModerationApi->put_reopen_thread: #{e}"
|
|
@@ -2886,12 +2991,12 @@ end
|
|
|
2886
2991
|
|
|
2887
2992
|
This returns an Array which contains the response data, status code and headers.
|
|
2888
2993
|
|
|
2889
|
-
> <Array(<APIEmptyResponse>, Integer, Hash)> put_reopen_thread_with_http_info(url_id, opts)
|
|
2994
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> put_reopen_thread_with_http_info(tenant_id, url_id, opts)
|
|
2890
2995
|
|
|
2891
2996
|
```ruby
|
|
2892
2997
|
begin
|
|
2893
2998
|
|
|
2894
|
-
data, status_code, headers = api_instance.put_reopen_thread_with_http_info(url_id, opts)
|
|
2999
|
+
data, status_code, headers = api_instance.put_reopen_thread_with_http_info(tenant_id, url_id, opts)
|
|
2895
3000
|
p status_code # => 2xx
|
|
2896
3001
|
p headers # => { ... }
|
|
2897
3002
|
p data # => <APIEmptyResponse>
|
|
@@ -2904,6 +3009,7 @@ end
|
|
|
2904
3009
|
|
|
2905
3010
|
| Name | Type | Description | Notes |
|
|
2906
3011
|
| ---- | ---- | ----------- | ----- |
|
|
3012
|
+
| **tenant_id** | **String** | | |
|
|
2907
3013
|
| **url_id** | **String** | | |
|
|
2908
3014
|
| **sso** | **String** | | [optional] |
|
|
2909
3015
|
|
|
@@ -2923,7 +3029,7 @@ No authorization required
|
|
|
2923
3029
|
|
|
2924
3030
|
## set_trust_factor
|
|
2925
3031
|
|
|
2926
|
-
> <SetUserTrustFactorResponse> set_trust_factor(opts)
|
|
3032
|
+
> <SetUserTrustFactorResponse> set_trust_factor(tenant_id, opts)
|
|
2927
3033
|
|
|
2928
3034
|
|
|
2929
3035
|
|
|
@@ -2934,6 +3040,7 @@ require 'time'
|
|
|
2934
3040
|
require 'fastcomments-client'
|
|
2935
3041
|
|
|
2936
3042
|
api_instance = FastCommentsClient::ModerationApi.new
|
|
3043
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2937
3044
|
opts = {
|
|
2938
3045
|
user_id: 'user_id_example', # String |
|
|
2939
3046
|
trust_factor: 'trust_factor_example', # String |
|
|
@@ -2942,7 +3049,7 @@ opts = {
|
|
|
2942
3049
|
|
|
2943
3050
|
begin
|
|
2944
3051
|
|
|
2945
|
-
result = api_instance.set_trust_factor(opts)
|
|
3052
|
+
result = api_instance.set_trust_factor(tenant_id, opts)
|
|
2946
3053
|
p result
|
|
2947
3054
|
rescue FastCommentsClient::ApiError => e
|
|
2948
3055
|
puts "Error when calling ModerationApi->set_trust_factor: #{e}"
|
|
@@ -2953,12 +3060,12 @@ end
|
|
|
2953
3060
|
|
|
2954
3061
|
This returns an Array which contains the response data, status code and headers.
|
|
2955
3062
|
|
|
2956
|
-
> <Array(<SetUserTrustFactorResponse>, Integer, Hash)> set_trust_factor_with_http_info(opts)
|
|
3063
|
+
> <Array(<SetUserTrustFactorResponse>, Integer, Hash)> set_trust_factor_with_http_info(tenant_id, opts)
|
|
2957
3064
|
|
|
2958
3065
|
```ruby
|
|
2959
3066
|
begin
|
|
2960
3067
|
|
|
2961
|
-
data, status_code, headers = api_instance.set_trust_factor_with_http_info(opts)
|
|
3068
|
+
data, status_code, headers = api_instance.set_trust_factor_with_http_info(tenant_id, opts)
|
|
2962
3069
|
p status_code # => 2xx
|
|
2963
3070
|
p headers # => { ... }
|
|
2964
3071
|
p data # => <SetUserTrustFactorResponse>
|
|
@@ -2971,6 +3078,7 @@ end
|
|
|
2971
3078
|
|
|
2972
3079
|
| Name | Type | Description | Notes |
|
|
2973
3080
|
| ---- | ---- | ----------- | ----- |
|
|
3081
|
+
| **tenant_id** | **String** | | |
|
|
2974
3082
|
| **user_id** | **String** | | [optional] |
|
|
2975
3083
|
| **trust_factor** | **String** | | [optional] |
|
|
2976
3084
|
| **sso** | **String** | | [optional] |
|