fastcomments 1.2.1 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +27 -3
- data/client/README.md +165 -102
- data/client/docs/APIBanUserChangeLog.md +24 -0
- data/client/docs/APIBanUserChangedValues.md +42 -0
- data/client/docs/APIBannedUser.md +42 -0
- data/client/docs/APIBannedUserWithMultiMatchInfo.md +34 -0
- data/client/docs/APIComment.md +2 -2
- data/client/docs/APICommentBase.md +2 -2
- data/client/docs/APICommentCommonBannedUser.md +32 -0
- data/client/docs/APIModerateGetUserBanPreferencesResponse.md +20 -0
- data/client/docs/APIModerateUserBanPreferences.md +24 -0
- data/client/docs/{SaveCommentResponse.md → APISaveCommentResponse.md} +3 -3
- data/client/docs/{AddDomainConfig200Response.md → AddDomainConfigResponse.md} +2 -2
- data/client/docs/{AddDomainConfig200ResponseAnyOf.md → AddDomainConfigResponseAnyOf.md} +2 -2
- data/client/docs/AdjustCommentVotesParams.md +18 -0
- data/client/docs/AdjustVotesResponse.md +20 -0
- data/client/docs/AggregateResponse.md +28 -0
- data/client/docs/AggregationAPIError.md +24 -0
- data/client/docs/AwardUserBadgeResponse.md +22 -0
- data/client/docs/BanUserFromCommentResult.md +24 -0
- data/client/docs/BanUserUndoParams.md +18 -0
- data/client/docs/BannedUserMatch.md +20 -0
- data/client/docs/{RecordStringStringOrNumberValue.md → BannedUserMatchMatchedOnValue.md} +2 -2
- data/client/docs/BannedUserMatchType.md +15 -0
- data/client/docs/BuildModerationFilterParams.md +26 -0
- data/client/docs/BuildModerationFilterResponse.md +20 -0
- data/client/docs/BulkCreateHashTagsResponse.md +1 -1
- data/client/docs/{PatchHashTag200Response.md → BulkCreateHashTagsResponseResultsInner.md} +2 -2
- data/client/docs/BulkPreBanParams.md +18 -0
- data/client/docs/BulkPreBanSummary.md +28 -0
- data/client/docs/CommentData.md +4 -2
- data/client/docs/CommentLogData.md +2 -0
- data/client/docs/CommentsByIdsParams.md +18 -0
- data/client/docs/CreateCommentParams.md +3 -1
- data/client/docs/CreateTenantPackageBody.md +4 -4
- data/client/docs/CreateV1PageReact.md +20 -0
- data/client/docs/CustomConfigParameters.md +10 -0
- data/client/docs/DefaultApi.md +403 -399
- data/client/docs/{DeleteDomainConfig200Response.md → DeleteDomainConfigResponse.md} +2 -2
- data/client/docs/{DeleteFeedPostPublic200ResponseAnyOf.md → DeleteFeedPostPublicResponse.md} +2 -2
- data/client/docs/{DeleteHashTagRequest.md → DeleteHashTagRequestBody.md} +2 -2
- data/client/docs/FComment.md +3 -1
- data/client/docs/GetBannedUsersCountResponse.md +20 -0
- data/client/docs/GetBannedUsersFromCommentResponse.md +22 -0
- data/client/docs/GetCommentBanStatusResponse.md +22 -0
- data/client/docs/GetCommentTextResponse.md +20 -0
- data/client/docs/GetCommentsForUserResponse.md +18 -0
- data/client/docs/{GetDomainConfig200Response.md → GetDomainConfigResponse.md} +2 -2
- data/client/docs/{GetDomainConfigs200Response.md → GetDomainConfigsResponse.md} +2 -2
- data/client/docs/{GetDomainConfigs200ResponseAnyOf.md → GetDomainConfigsResponseAnyOf.md} +2 -2
- data/client/docs/{GetDomainConfigs200ResponseAnyOf1.md → GetDomainConfigsResponseAnyOf1.md} +2 -2
- data/client/docs/GetGifsSearchResponse.md +22 -0
- data/client/docs/GetGifsTrendingResponse.md +22 -0
- data/client/docs/GetPublicPagesResponse.md +22 -0
- data/client/docs/{GetSSOUsers200Response.md → GetSSOUsersResponse.md} +2 -2
- data/client/docs/GetTenantManualBadgesResponse.md +20 -0
- data/client/docs/GetTranslationsResponse.md +20 -0
- data/client/docs/GetUserInternalProfileResponse.md +20 -0
- data/client/docs/GetUserInternalProfileResponseProfile.md +50 -0
- data/client/docs/GetUserManualBadgesResponse.md +20 -0
- data/client/docs/GetUserTrustFactorResponse.md +22 -0
- data/client/docs/GetV1PageLikes.md +26 -0
- data/client/docs/GetV2PageReactUsersResponse.md +20 -0
- data/client/docs/GetV2PageReacts.md +22 -0
- data/client/docs/GifGetLargeResponse.md +20 -0
- data/client/docs/GifSearchInternalError.md +20 -0
- data/client/docs/GifSearchResponse.md +20 -0
- data/client/docs/GifSearchResponseImagesInnerInner.md +15 -0
- data/client/docs/HeaderAccountNotification.md +3 -1
- data/client/docs/ImportedAgentApprovalNotificationFrequency.md +15 -0
- data/client/docs/LiveEvent.md +2 -0
- data/client/docs/ModerationAPIChildCommentsResponse.md +20 -0
- data/client/docs/ModerationAPIComment.md +100 -0
- data/client/docs/ModerationAPICommentLog.md +24 -0
- data/client/docs/ModerationAPICommentResponse.md +20 -0
- data/client/docs/ModerationAPICountCommentsResponse.md +20 -0
- data/client/docs/ModerationAPIGetCommentIdsResponse.md +22 -0
- data/client/docs/ModerationAPIGetCommentsResponse.md +24 -0
- data/client/docs/ModerationAPIGetLogsResponse.md +20 -0
- data/client/docs/ModerationApi.md +2990 -0
- data/client/docs/ModerationCommentSearchResponse.md +20 -0
- data/client/docs/ModerationExportResponse.md +20 -0
- data/client/docs/ModerationExportStatusResponse.md +24 -0
- data/client/docs/ModerationFilter.md +40 -0
- data/client/docs/ModerationPageSearchProjected.md +24 -0
- data/client/docs/ModerationPageSearchResponse.md +20 -0
- data/client/docs/ModerationSiteSearchProjected.md +20 -0
- data/client/docs/ModerationSiteSearchResponse.md +20 -0
- data/client/docs/ModerationSuggestResponse.md +24 -0
- data/client/docs/ModerationUserSearchProjected.md +24 -0
- data/client/docs/ModerationUserSearchResponse.md +20 -0
- data/client/docs/PageUserEntry.md +24 -0
- data/client/docs/PageUsersInfoResponse.md +20 -0
- data/client/docs/PageUsersOfflineResponse.md +24 -0
- data/client/docs/PageUsersOnlineResponse.md +28 -0
- data/client/docs/PagesSortBy.md +15 -0
- data/client/docs/PatchDomainConfigResponse.md +24 -0
- data/client/docs/PostRemoveCommentResponse.md +20 -0
- data/client/docs/PreBanSummary.md +22 -0
- data/client/docs/PublicApi.md +1569 -385
- data/client/docs/PublicPage.md +26 -0
- data/client/docs/PutDomainConfigResponse.md +24 -0
- data/client/docs/RemoveCommentActionResponse.md +20 -0
- data/client/docs/RemoveUserBadgeResponse.md +20 -0
- data/client/docs/{SaveComment200Response.md → SaveCommentsBulkResponse.md} +3 -3
- data/client/docs/SearchUsersResult.md +22 -0
- data/client/docs/SetCommentApprovedResponse.md +20 -0
- data/client/docs/SetCommentTextParams.md +18 -0
- data/client/docs/SetCommentTextResponse.md +20 -0
- data/client/docs/SetUserTrustFactorResponse.md +20 -0
- data/client/docs/TenantBadge.md +58 -0
- data/client/docs/TenantPackage.md +15 -1
- data/client/docs/UpdateUserNotificationCommentSubscriptionStatusResponse.md +24 -0
- data/client/docs/UpdateUserNotificationPageSubscriptionStatusResponse.md +24 -0
- data/client/docs/UpdateUserNotificationStatusResponse.md +24 -0
- data/client/docs/User.md +2 -0
- data/client/docs/UsersListLocation.md +15 -0
- data/client/docs/VoteResponse.md +1 -1
- data/client/docs/VoteResponseStatus.md +15 -0
- data/client/fastcomments-client.gemspec +1 -1
- data/client/lib/fastcomments-client/api/default_api.rb +307 -301
- data/client/lib/fastcomments-client/api/moderation_api.rb +2828 -0
- data/client/lib/fastcomments-client/api/public_api.rb +1467 -281
- data/client/lib/fastcomments-client/api_client.rb +3 -7
- data/client/lib/fastcomments-client/api_error.rb +1 -1
- data/client/lib/fastcomments-client/configuration.rb +1 -1
- data/client/lib/fastcomments-client/models/add_domain_config_params.rb +75 -2
- data/client/lib/fastcomments-client/models/add_domain_config_response.rb +104 -0
- data/client/lib/fastcomments-client/models/{add_domain_config200_response_any_of.rb → add_domain_config_response_any_of.rb} +77 -4
- data/client/lib/fastcomments-client/models/add_page_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/add_sso_user_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/adjust_comment_votes_params.rb +237 -0
- data/client/lib/fastcomments-client/models/adjust_votes_response.rb +263 -0
- data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +75 -2
- data/client/lib/fastcomments-client/models/{add_domain_config200_response.rb → aggregate_response.rb} +6 -5
- data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_api_error.rb +322 -0
- data/client/lib/fastcomments-client/models/aggregation_item.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_op_type.rb +1 -1
- data/client/lib/fastcomments-client/models/aggregation_operation.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_request.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_request_sort.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_response.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_response_stats.rb +75 -2
- data/client/lib/fastcomments-client/models/aggregation_value.rb +75 -2
- data/client/lib/fastcomments-client/models/api_audit_log.rb +75 -2
- data/client/lib/fastcomments-client/models/api_ban_user_change_log.rb +249 -0
- data/client/lib/fastcomments-client/models/api_ban_user_changed_values.rb +333 -0
- data/client/lib/fastcomments-client/models/api_banned_user.rb +454 -0
- data/client/lib/fastcomments-client/models/api_banned_user_with_multi_match_info.rb +375 -0
- data/client/lib/fastcomments-client/models/api_comment.rb +91 -18
- data/client/lib/fastcomments-client/models/api_comment_base.rb +91 -18
- data/client/lib/fastcomments-client/models/api_comment_base_meta.rb +75 -2
- data/client/lib/fastcomments-client/models/api_comment_common_banned_user.rb +340 -0
- data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_domain_configuration.rb +75 -2
- data/client/lib/fastcomments-client/models/api_empty_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_empty_success_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_error.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_comment_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_comments_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_user_badge_progress_list_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_user_badge_progress_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_user_badge_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_get_user_badges_response.rb +75 -2
- data/client/lib/fastcomments-client/models/api_moderate_get_user_ban_preferences_response.rb +271 -0
- data/client/lib/fastcomments-client/models/api_moderate_user_ban_preferences.rb +315 -0
- data/client/lib/fastcomments-client/models/api_page.rb +75 -2
- data/client/lib/fastcomments-client/models/{save_comment_response.rb → api_save_comment_response.rb} +78 -5
- data/client/lib/fastcomments-client/models/api_status.rb +1 -1
- data/client/lib/fastcomments-client/models/api_tenant.rb +75 -2
- data/client/lib/fastcomments-client/models/api_tenant_daily_usage.rb +75 -2
- data/client/lib/fastcomments-client/models/api_ticket.rb +75 -2
- data/client/lib/fastcomments-client/models/api_ticket_detail.rb +75 -2
- data/client/lib/fastcomments-client/models/api_ticket_file.rb +75 -2
- data/client/lib/fastcomments-client/models/api_user_subscription.rb +75 -2
- data/client/lib/fastcomments-client/models/apisso_user.rb +75 -2
- data/client/lib/fastcomments-client/models/award_user_badge_response.rb +281 -0
- data/client/lib/fastcomments-client/models/ban_user_from_comment_result.rb +264 -0
- data/client/lib/fastcomments-client/models/ban_user_undo_params.rb +237 -0
- data/client/lib/fastcomments-client/models/banned_user_match.rb +271 -0
- data/client/lib/fastcomments-client/models/{record_string_string_or_number_value.rb → banned_user_match_matched_on_value.rb} +4 -3
- data/client/lib/fastcomments-client/models/banned_user_match_type.rb +42 -0
- data/client/lib/fastcomments-client/models/billing_info.rb +75 -2
- data/client/lib/fastcomments-client/models/block_from_comment_params.rb +75 -2
- data/client/lib/fastcomments-client/models/block_success.rb +75 -2
- data/client/lib/fastcomments-client/models/build_moderation_filter_params.rb +290 -0
- data/client/lib/fastcomments-client/models/build_moderation_filter_response.rb +263 -0
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_item.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_request.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_response.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_body_tags_inner.rb +75 -2
- data/client/lib/fastcomments-client/models/bulk_create_hash_tags_response.rb +76 -3
- data/client/lib/fastcomments-client/models/{add_hash_tag200_response.rb → bulk_create_hash_tags_response_results_inner.rb} +4 -3
- data/client/lib/fastcomments-client/models/bulk_pre_ban_params.rb +239 -0
- data/client/lib/fastcomments-client/models/bulk_pre_ban_summary.rb +375 -0
- data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +75 -2
- data/client/lib/fastcomments-client/models/change_ticket_state_body.rb +75 -2
- data/client/lib/fastcomments-client/models/change_ticket_state_response.rb +75 -2
- data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +75 -2
- data/client/lib/fastcomments-client/models/combine_question_results_with_comments_response.rb +75 -2
- data/client/lib/fastcomments-client/models/comment_data.rb +89 -7
- data/client/lib/fastcomments-client/models/comment_html_rendering_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_log_data.rb +85 -3
- data/client/lib/fastcomments-client/models/comment_log_entry.rb +75 -2
- 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 +75 -2
- data/client/lib/fastcomments-client/models/comment_thread_deletion_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/comment_user_badge_info.rb +75 -2
- data/client/lib/fastcomments-client/models/comment_user_hash_tag_info.rb +75 -2
- data/client/lib/fastcomments-client/models/comment_user_mention_info.rb +75 -2
- data/client/lib/fastcomments-client/models/commenter_name_formats.rb +1 -1
- data/client/lib/fastcomments-client/models/comments_by_ids_params.rb +239 -0
- data/client/lib/fastcomments-client/models/create_api_page_data.rb +75 -2
- data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +75 -2
- data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +75 -2
- data/client/lib/fastcomments-client/models/create_comment_params.rb +86 -4
- data/client/lib/fastcomments-client/models/create_email_template_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_email_template_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_feed_post_params.rb +75 -2
- data/client/lib/fastcomments-client/models/create_feed_post_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_feed_posts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_hash_tag_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_hash_tag_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_moderator_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_moderator_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_question_config_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_question_config_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_question_result_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_question_result_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_package_body.rb +88 -15
- data/client/lib/fastcomments-client/models/create_tenant_package_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_user_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_tenant_user_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_ticket_body.rb +75 -2
- data/client/lib/fastcomments-client/models/create_ticket_response.rb +75 -2
- data/client/lib/fastcomments-client/models/create_user_badge_params.rb +75 -2
- data/client/lib/fastcomments-client/models/create_v1_page_react.rb +268 -0
- data/client/lib/fastcomments-client/models/custom_config_parameters.rb +124 -3
- data/client/lib/fastcomments-client/models/custom_email_template.rb +75 -2
- data/client/lib/fastcomments-client/models/delete_comment_action.rb +1 -1
- data/client/lib/fastcomments-client/models/delete_comment_result.rb +75 -2
- data/client/lib/fastcomments-client/models/delete_domain_config_response.rb +223 -0
- data/client/lib/fastcomments-client/models/{delete_feed_post_public200_response_any_of.rb → delete_feed_post_public_response.rb} +77 -4
- data/client/lib/fastcomments-client/models/{delete_hash_tag_request.rb → delete_hash_tag_request_body.rb} +77 -4
- data/client/lib/fastcomments-client/models/delete_page_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/delete_sso_user_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/delete_subscription_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/deleted_comment_result_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/digest_email_frequency.rb +1 -1
- data/client/lib/fastcomments-client/models/email_template_definition.rb +75 -2
- data/client/lib/fastcomments-client/models/email_template_render_error_response.rb +75 -2
- data/client/lib/fastcomments-client/models/event_log_entry.rb +75 -2
- data/client/lib/fastcomments-client/models/f_comment.rb +88 -6
- data/client/lib/fastcomments-client/models/f_comment_meta.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post_link.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post_media_item.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post_media_item_asset.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_post_stats.rb +75 -2
- data/client/lib/fastcomments-client/models/feed_posts_stats_response.rb +75 -2
- data/client/lib/fastcomments-client/models/find_comments_by_range_item.rb +75 -2
- data/client/lib/fastcomments-client/models/find_comments_by_range_response.rb +75 -2
- data/client/lib/fastcomments-client/models/flag_comment_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_banned_users_count_response.rb +263 -0
- data/client/lib/fastcomments-client/models/get_banned_users_from_comment_response.rb +308 -0
- data/client/lib/fastcomments-client/models/get_cached_notification_count_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_comment_ban_status_response.rb +261 -0
- data/client/lib/fastcomments-client/models/get_comment_text_response.rb +269 -0
- data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_comments_for_user_response.rb +222 -0
- data/client/lib/fastcomments-client/models/get_comments_response_public_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/get_comments_response_with_presence_public_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/get_domain_config_response.rb +104 -0
- data/client/lib/fastcomments-client/models/get_domain_configs_response.rb +104 -0
- data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of.rb → get_domain_configs_response_any_of.rb} +77 -4
- data/client/lib/fastcomments-client/models/{get_domain_configs200_response_any_of1.rb → get_domain_configs_response_any_of1.rb} +77 -4
- data/client/lib/fastcomments-client/models/get_email_template_definitions_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_email_template_render_errors_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_email_template_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_email_templates_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_event_log_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/{add_hash_tags_bulk200_response.rb → get_gifs_search_response.rb} +6 -5
- data/client/lib/fastcomments-client/models/get_gifs_trending_response.rb +104 -0
- data/client/lib/fastcomments-client/models/get_hash_tags_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_moderator_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_moderators_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_notification_count_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_notifications_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_page_by_urlid_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_pages_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_pending_webhook_event_count_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_pending_webhook_events_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_public_feed_posts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_public_pages_response.rb +299 -0
- data/client/lib/fastcomments-client/models/get_question_config_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_question_configs_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_question_result_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_question_results_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_sso_user_by_email_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_sso_user_by_id_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/{get_sso_users200_response.rb → get_sso_users_response.rb} +77 -4
- data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_daily_usages_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_manual_badges_response.rb +287 -0
- data/client/lib/fastcomments-client/models/get_tenant_package_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_packages_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_user_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenant_users_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tenants_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_ticket_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_tickets_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_translations_response.rb +288 -0
- data/client/lib/fastcomments-client/models/get_user_internal_profile_response.rb +285 -0
- data/client/lib/fastcomments-client/models/get_user_internal_profile_response_profile.rb +371 -0
- data/client/lib/fastcomments-client/models/get_user_manual_badges_response.rb +287 -0
- data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_user_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_user_trust_factor_response.rb +277 -0
- data/client/lib/fastcomments-client/models/get_v1_page_likes.rb +363 -0
- data/client/lib/fastcomments-client/models/get_v2_page_react_users_response.rb +287 -0
- data/client/lib/fastcomments-client/models/get_v2_page_reacts.rb +282 -0
- data/client/lib/fastcomments-client/models/get_votes_for_user_response.rb +75 -2
- data/client/lib/fastcomments-client/models/get_votes_response.rb +75 -2
- data/client/lib/fastcomments-client/models/gif_get_large_response.rb +285 -0
- data/client/lib/fastcomments-client/models/gif_rating.rb +1 -1
- data/client/lib/fastcomments-client/models/gif_search_internal_error.rb +285 -0
- data/client/lib/fastcomments-client/models/gif_search_response.rb +287 -0
- data/client/lib/fastcomments-client/models/{block_from_comment_public200_response.rb → gif_search_response_images_inner_inner.rb} +6 -5
- data/client/lib/fastcomments-client/models/header_account_notification.rb +90 -6
- data/client/lib/fastcomments-client/models/header_state.rb +75 -2
- data/client/lib/fastcomments-client/models/ignored_response.rb +75 -2
- 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 +42 -0
- data/client/lib/fastcomments-client/models/imported_site_type.rb +1 -1
- data/client/lib/fastcomments-client/models/live_event.rb +85 -3
- data/client/lib/fastcomments-client/models/live_event_extra_info.rb +75 -2
- data/client/lib/fastcomments-client/models/live_event_type.rb +8 -2
- data/client/lib/fastcomments-client/models/media_asset.rb +75 -2
- data/client/lib/fastcomments-client/models/mention_auto_complete_mode.rb +1 -1
- data/client/lib/fastcomments-client/models/meta_item.rb +75 -2
- data/client/lib/fastcomments-client/models/moderation_api_child_comments_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderation_api_comment.rb +753 -0
- data/client/lib/fastcomments-client/models/moderation_api_comment_log.rb +298 -0
- data/client/lib/fastcomments-client/models/moderation_api_comment_response.rb +285 -0
- data/client/lib/fastcomments-client/models/moderation_api_count_comments_response.rb +285 -0
- data/client/lib/fastcomments-client/models/moderation_api_get_comment_ids_response.rb +313 -0
- data/client/lib/fastcomments-client/models/moderation_api_get_comments_response.rb +322 -0
- data/client/lib/fastcomments-client/models/moderation_api_get_logs_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderation_comment_search_response.rb +285 -0
- data/client/lib/fastcomments-client/models/moderation_export_response.rb +263 -0
- data/client/lib/fastcomments-client/models/moderation_export_status_response.rb +298 -0
- data/client/lib/fastcomments-client/models/moderation_filter.rb +325 -0
- data/client/lib/fastcomments-client/models/moderation_page_search_projected.rb +315 -0
- data/client/lib/fastcomments-client/models/moderation_page_search_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderation_site_search_projected.rb +247 -0
- data/client/lib/fastcomments-client/models/moderation_site_search_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderation_suggest_response.rb +268 -0
- data/client/lib/fastcomments-client/models/moderation_user_search_projected.rb +283 -0
- data/client/lib/fastcomments-client/models/moderation_user_search_response.rb +287 -0
- data/client/lib/fastcomments-client/models/moderator.rb +75 -2
- data/client/lib/fastcomments-client/models/notification_and_count.rb +75 -2
- 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 +281 -0
- data/client/lib/fastcomments-client/models/page_users_info_response.rb +287 -0
- data/client/lib/fastcomments-client/models/page_users_offline_response.rb +311 -0
- data/client/lib/fastcomments-client/models/page_users_online_response.rb +363 -0
- data/client/lib/fastcomments-client/models/pages_sort_by.rb +41 -0
- data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +75 -2
- data/client/lib/fastcomments-client/models/patch_domain_config_response.rb +104 -0
- data/client/lib/fastcomments-client/models/patch_page_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/pending_comment_to_sync_outbound.rb +75 -2
- data/client/lib/fastcomments-client/models/post_remove_comment_response.rb +104 -0
- data/client/lib/fastcomments-client/models/pre_ban_summary.rb +313 -0
- data/client/lib/fastcomments-client/models/pub_sub_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/pub_sub_comment_base.rb +75 -2
- data/client/lib/fastcomments-client/models/pub_sub_vote.rb +75 -2
- data/client/lib/fastcomments-client/models/public_api_delete_comment_response.rb +75 -2
- data/client/lib/fastcomments-client/models/public_api_get_comment_text_response.rb +75 -2
- data/client/lib/fastcomments-client/models/public_api_set_comment_text_response.rb +75 -2
- data/client/lib/fastcomments-client/models/public_block_from_comment_params.rb +75 -2
- data/client/lib/fastcomments-client/models/public_comment.rb +75 -2
- data/client/lib/fastcomments-client/models/public_comment_base.rb +75 -2
- data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/public_page.rb +341 -0
- data/client/lib/fastcomments-client/models/public_vote.rb +75 -2
- data/client/lib/fastcomments-client/models/put_domain_config_response.rb +104 -0
- data/client/lib/fastcomments-client/models/put_sso_user_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/query_predicate.rb +75 -2
- data/client/lib/fastcomments-client/models/query_predicate_value.rb +3 -2
- data/client/lib/fastcomments-client/models/question_config.rb +75 -2
- data/client/lib/fastcomments-client/models/question_config_custom_options_inner.rb +75 -2
- data/client/lib/fastcomments-client/models/question_datum.rb +75 -2
- data/client/lib/fastcomments-client/models/question_rendering_type.rb +1 -1
- data/client/lib/fastcomments-client/models/question_result.rb +75 -2
- data/client/lib/fastcomments-client/models/question_result_aggregation_overall.rb +75 -2
- 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 +75 -2
- data/client/lib/fastcomments-client/models/react_feed_post_response.rb +75 -2
- data/client/lib/fastcomments-client/models/record_string_before_string_or_null_after_string_or_null_value.rb +77 -32
- data/client/lib/fastcomments-client/models/remove_comment_action_response.rb +263 -0
- data/client/lib/fastcomments-client/models/remove_user_badge_response.rb +270 -0
- data/client/lib/fastcomments-client/models/render_email_template_body.rb +75 -2
- data/client/lib/fastcomments-client/models/render_email_template_response.rb +75 -2
- data/client/lib/fastcomments-client/models/renderable_user_notification.rb +75 -2
- 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 +75 -2
- data/client/lib/fastcomments-client/models/replace_tenant_user_body.rb +75 -2
- data/client/lib/fastcomments-client/models/reset_user_notifications_response.rb +75 -2
- data/client/lib/fastcomments-client/models/save_comment_response_optimized.rb +75 -2
- data/client/lib/fastcomments-client/models/{aggregate_question_results200_response.rb → save_comments_bulk_response.rb} +5 -4
- data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +75 -2
- data/client/lib/fastcomments-client/models/search_users_response.rb +75 -2
- data/client/lib/fastcomments-client/models/{search_users200_response.rb → search_users_result.rb} +4 -4
- data/client/lib/fastcomments-client/models/search_users_sectioned_response.rb +75 -2
- data/client/lib/fastcomments-client/models/set_comment_approved_response.rb +268 -0
- data/client/lib/fastcomments-client/models/set_comment_text_params.rb +237 -0
- data/client/lib/fastcomments-client/models/set_comment_text_response.rb +285 -0
- data/client/lib/fastcomments-client/models/set_comment_text_result.rb +75 -2
- data/client/lib/fastcomments-client/models/set_user_trust_factor_response.rb +268 -0
- 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 +75 -2
- data/client/lib/fastcomments-client/models/sso_security_level.rb +1 -1
- data/client/lib/fastcomments-client/models/tenant_badge.rb +637 -0
- data/client/lib/fastcomments-client/models/tenant_hash_tag.rb +75 -2
- data/client/lib/fastcomments-client/models/tenant_package.rb +142 -6
- data/client/lib/fastcomments-client/models/tos_config.rb +75 -2
- data/client/lib/fastcomments-client/models/un_block_from_comment_params.rb +75 -2
- data/client/lib/fastcomments-client/models/unblock_success.rb +75 -2
- data/client/lib/fastcomments-client/models/updatable_comment_params.rb +75 -2
- data/client/lib/fastcomments-client/models/update_api_page_data.rb +75 -2
- data/client/lib/fastcomments-client/models/update_api_user_subscription_data.rb +75 -2
- data/client/lib/fastcomments-client/models/update_apisso_user_data.rb +75 -2
- data/client/lib/fastcomments-client/models/update_domain_config_params.rb +75 -2
- data/client/lib/fastcomments-client/models/update_email_template_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_feed_post_params.rb +75 -2
- data/client/lib/fastcomments-client/models/update_hash_tag_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_hash_tag_response.rb +75 -2
- data/client/lib/fastcomments-client/models/update_moderator_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_notification_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_question_config_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_question_result_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_subscription_api_response.rb +75 -2
- data/client/lib/fastcomments-client/models/update_tenant_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_tenant_user_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_user_badge_params.rb +75 -2
- data/client/lib/fastcomments-client/models/update_user_notification_comment_subscription_status_response.rb +104 -0
- data/client/lib/fastcomments-client/models/update_user_notification_page_subscription_status_response.rb +104 -0
- data/client/lib/fastcomments-client/models/{update_user_notification_status200_response.rb → update_user_notification_status_response.rb} +4 -4
- data/client/lib/fastcomments-client/models/upload_image_response.rb +75 -2
- data/client/lib/fastcomments-client/models/user.rb +85 -3
- data/client/lib/fastcomments-client/models/user_badge.rb +75 -2
- data/client/lib/fastcomments-client/models/user_badge_progress.rb +75 -2
- data/client/lib/fastcomments-client/models/user_notification.rb +75 -2
- data/client/lib/fastcomments-client/models/user_notification_count.rb +75 -2
- data/client/lib/fastcomments-client/models/user_notification_write_response.rb +75 -2
- data/client/lib/fastcomments-client/models/user_presence_data.rb +75 -2
- data/client/lib/fastcomments-client/models/user_reacts_response.rb +75 -2
- data/client/lib/fastcomments-client/models/user_search_result.rb +75 -2
- data/client/lib/fastcomments-client/models/user_search_section.rb +1 -1
- data/client/lib/fastcomments-client/models/user_search_section_result.rb +75 -2
- data/client/lib/fastcomments-client/models/user_session_info.rb +75 -2
- data/client/lib/fastcomments-client/models/users_list_location.rb +42 -0
- data/client/lib/fastcomments-client/models/vote_body_params.rb +75 -2
- data/client/lib/fastcomments-client/models/vote_delete_response.rb +75 -2
- data/client/lib/fastcomments-client/models/vote_response.rb +81 -32
- data/client/lib/fastcomments-client/models/{change_ticket_state200_response.rb → vote_response_status.rb} +6 -5
- data/client/lib/fastcomments-client/models/vote_response_user.rb +75 -2
- 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 +102 -99
- data/client/spec/api/default_api_spec.rb +103 -101
- data/client/spec/api/moderation_api_spec.rb +559 -0
- data/client/spec/api/public_api_spec.rb +253 -37
- data/client/spec/models/add_domain_config_params_spec.rb +2 -2
- data/client/spec/models/{add_domain_config200_response_any_of_spec.rb → add_domain_config_response_any_of_spec.rb} +7 -7
- data/client/spec/models/{get_votes200_response_spec.rb → add_domain_config_response_spec.rb} +3 -3
- 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 +36 -0
- data/client/spec/models/adjust_votes_response_spec.rb +42 -0
- data/client/spec/models/aggregate_question_results_response_spec.rb +2 -2
- data/client/spec/models/{get_user200_response_spec.rb → aggregate_response_spec.rb} +3 -3
- data/client/spec/models/aggregate_time_bucket_spec.rb +2 -2
- data/client/spec/models/aggregation_api_error_spec.rb +54 -0
- 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 +54 -0
- data/client/spec/models/api_ban_user_changed_values_spec.rb +108 -0
- data/client/spec/models/api_banned_user_spec.rb +108 -0
- data/client/spec/models/api_banned_user_with_multi_match_info_spec.rb +84 -0
- data/client/spec/models/api_comment_base_meta_spec.rb +2 -2
- data/client/spec/models/api_comment_base_spec.rb +3 -3
- data/client/spec/models/api_comment_common_banned_user_spec.rb +78 -0
- data/client/spec/models/api_comment_spec.rb +3 -3
- 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 +42 -0
- data/client/spec/models/api_moderate_user_ban_preferences_spec.rb +54 -0
- data/client/spec/models/api_page_spec.rb +2 -2
- data/client/spec/models/{save_comment_response_spec.rb → api_save_comment_response_spec.rb} +7 -7
- 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 +48 -0
- data/client/spec/models/ban_user_from_comment_result_spec.rb +54 -0
- data/client/spec/models/ban_user_undo_params_spec.rb +36 -0
- data/client/spec/models/{create_tenant200_response_spec.rb → banned_user_match_matched_on_value_spec.rb} +3 -3
- data/client/spec/models/banned_user_match_spec.rb +42 -0
- data/client/spec/models/banned_user_match_type_spec.rb +30 -0
- 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 +60 -0
- data/client/spec/models/build_moderation_filter_response_spec.rb +42 -0
- 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/{add_hash_tag200_response_spec.rb → bulk_create_hash_tags_response_results_inner_spec.rb} +3 -3
- data/client/spec/models/bulk_create_hash_tags_response_spec.rb +2 -2
- data/client/spec/models/bulk_pre_ban_params_spec.rb +36 -0
- data/client/spec/models/bulk_pre_ban_summary_spec.rb +66 -0
- 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 +8 -2
- data/client/spec/models/comment_html_rendering_mode_spec.rb +2 -2
- data/client/spec/models/comment_log_data_spec.rb +8 -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 +36 -0
- 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 +8 -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 +4 -4
- 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 +42 -0
- data/client/spec/models/custom_config_parameters_spec.rb +32 -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_config200_response_spec.rb → delete_domain_config_response_spec.rb} +7 -7
- data/client/spec/models/{delete_feed_post_public200_response_any_of_spec.rb → delete_feed_post_public_response_spec.rb} +7 -7
- data/client/spec/models/{delete_hash_tag_request_spec.rb → delete_hash_tag_request_body_spec.rb} +7 -7
- 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 +8 -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 +42 -0
- data/client/spec/models/get_banned_users_from_comment_response_spec.rb +52 -0
- data/client/spec/models/get_cached_notification_count_response_spec.rb +2 -2
- data/client/spec/models/get_comment_ban_status_response_spec.rb +48 -0
- data/client/spec/models/get_comment_text_response_spec.rb +42 -0
- 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 +36 -0
- 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_ticket200_response_spec.rb → get_domain_config_response_spec.rb} +3 -3
- data/client/spec/models/{get_domain_configs200_response_any_of1_spec.rb → get_domain_configs_response_any_of1_spec.rb} +7 -7
- data/client/spec/models/{get_domain_configs200_response_any_of_spec.rb → get_domain_configs_response_any_of_spec.rb} +7 -7
- data/client/spec/models/{get_tenant200_response_spec.rb → get_domain_configs_response_spec.rb} +3 -3
- 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 +21 -0
- data/client/spec/models/get_gifs_trending_response_spec.rb +21 -0
- 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 +48 -0
- 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_users200_response_spec.rb → get_sso_users_response_spec.rb} +7 -7
- 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 +42 -0
- 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 +42 -0
- data/client/spec/models/get_user_internal_profile_response_profile_spec.rb +132 -0
- data/client/spec/models/get_user_internal_profile_response_spec.rb +42 -0
- data/client/spec/models/get_user_manual_badges_response_spec.rb +42 -0
- 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 +48 -0
- data/client/spec/models/get_v1_page_likes_spec.rb +60 -0
- data/client/spec/models/get_v2_page_react_users_response_spec.rb +42 -0
- data/client/spec/models/get_v2_page_reacts_spec.rb +48 -0
- 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 +42 -0
- data/client/spec/models/gif_rating_spec.rb +2 -2
- data/client/spec/models/gif_search_internal_error_spec.rb +42 -0
- data/client/spec/models/{add_domain_config200_response_spec.rb → gif_search_response_images_inner_inner_spec.rb} +3 -3
- data/client/spec/models/gif_search_response_spec.rb +42 -0
- data/client/spec/models/header_account_notification_spec.rb +8 -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 +30 -0
- 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 +8 -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 +42 -0
- data/client/spec/models/moderation_api_comment_log_spec.rb +54 -0
- data/client/spec/models/moderation_api_comment_response_spec.rb +42 -0
- data/client/spec/models/moderation_api_comment_spec.rb +282 -0
- data/client/spec/models/moderation_api_count_comments_response_spec.rb +42 -0
- data/client/spec/models/moderation_api_get_comment_ids_response_spec.rb +48 -0
- data/client/spec/models/moderation_api_get_comments_response_spec.rb +54 -0
- data/client/spec/models/moderation_api_get_logs_response_spec.rb +42 -0
- data/client/spec/models/moderation_comment_search_response_spec.rb +42 -0
- data/client/spec/models/moderation_export_response_spec.rb +42 -0
- data/client/spec/models/moderation_export_status_response_spec.rb +54 -0
- data/client/spec/models/moderation_filter_spec.rb +102 -0
- data/client/spec/models/moderation_page_search_projected_spec.rb +54 -0
- data/client/spec/models/moderation_page_search_response_spec.rb +42 -0
- data/client/spec/models/moderation_site_search_projected_spec.rb +42 -0
- data/client/spec/models/moderation_site_search_response_spec.rb +42 -0
- data/client/spec/models/moderation_suggest_response_spec.rb +54 -0
- data/client/spec/models/moderation_user_search_projected_spec.rb +54 -0
- data/client/spec/models/moderation_user_search_response_spec.rb +42 -0
- 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 +54 -0
- data/client/spec/models/page_users_info_response_spec.rb +42 -0
- data/client/spec/models/page_users_offline_response_spec.rb +54 -0
- data/client/spec/models/page_users_online_response_spec.rb +66 -0
- data/client/spec/models/pages_sort_by_spec.rb +30 -0
- data/client/spec/models/patch_domain_config_params_spec.rb +2 -2
- data/client/spec/models/patch_domain_config_response_spec.rb +21 -0
- 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 +21 -0
- data/client/spec/models/pre_ban_summary_spec.rb +48 -0
- 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 +60 -0
- data/client/spec/models/public_vote_spec.rb +2 -2
- data/client/spec/models/put_domain_config_response_spec.rb +21 -0
- 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 +42 -0
- data/client/spec/models/remove_user_badge_response_spec.rb +42 -0
- 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 +21 -0
- 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 +21 -0
- data/client/spec/models/search_users_sectioned_response_spec.rb +2 -2
- data/client/spec/models/set_comment_approved_response_spec.rb +42 -0
- data/client/spec/models/set_comment_text_params_spec.rb +36 -0
- data/client/spec/models/set_comment_text_response_spec.rb +42 -0
- data/client/spec/models/set_comment_text_result_spec.rb +2 -2
- data/client/spec/models/set_user_trust_factor_response_spec.rb +42 -0
- 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 +156 -0
- data/client/spec/models/tenant_hash_tag_spec.rb +2 -2
- data/client/spec/models/tenant_package_spec.rb +44 -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/{aggregate_question_results200_response_spec.rb → update_user_notification_comment_subscription_status_response_spec.rb} +3 -3
- data/client/spec/models/{add_hash_tags_bulk200_response_spec.rb → update_user_notification_page_subscription_status_response_spec.rb} +3 -3
- data/client/spec/models/{update_user_notification_status200_response_spec.rb → update_user_notification_status_response_spec.rb} +3 -3
- 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 +8 -2
- data/client/spec/models/users_list_location_spec.rb +30 -0
- 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 +2 -6
- data/client/spec/models/vote_response_status_spec.rb +21 -0
- 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 +305 -294
- data/client/docs/AddHashTag200Response.md +0 -34
- data/client/docs/AddHashTagsBulk200Response.md +0 -34
- data/client/docs/AggregateQuestionResults200Response.md +0 -34
- data/client/docs/BlockFromCommentPublic200Response.md +0 -34
- data/client/docs/BulkAggregateQuestionResults200Response.md +0 -34
- data/client/docs/ChangeTicketState200Response.md +0 -34
- data/client/docs/CheckedCommentsForBlocked200Response.md +0 -34
- data/client/docs/CombineCommentsWithQuestionResults200Response.md +0 -34
- data/client/docs/CreateCommentPublic200Response.md +0 -40
- data/client/docs/CreateEmailTemplate200Response.md +0 -34
- data/client/docs/CreateFeedPost200Response.md +0 -34
- data/client/docs/CreateFeedPostPublic200Response.md +0 -34
- data/client/docs/CreateModerator200Response.md +0 -34
- data/client/docs/CreateQuestionConfig200Response.md +0 -34
- data/client/docs/CreateQuestionResult200Response.md +0 -34
- data/client/docs/CreateTenant200Response.md +0 -34
- data/client/docs/CreateTenantPackage200Response.md +0 -34
- data/client/docs/CreateTenantUser200Response.md +0 -34
- data/client/docs/CreateTicket200Response.md +0 -34
- data/client/docs/CreateUserBadge200Response.md +0 -36
- data/client/docs/DeleteComment200Response.md +0 -34
- data/client/docs/DeleteCommentPublic200Response.md +0 -36
- data/client/docs/DeleteCommentVote200Response.md +0 -34
- data/client/docs/DeleteFeedPostPublic200Response.md +0 -32
- data/client/docs/FlagComment200Response.md +0 -36
- data/client/docs/FlagCommentPublic200Response.md +0 -32
- data/client/docs/GetAuditLogs200Response.md +0 -34
- data/client/docs/GetCachedNotificationCount200Response.md +0 -34
- data/client/docs/GetComment200Response.md +0 -34
- data/client/docs/GetCommentText200Response.md +0 -36
- data/client/docs/GetCommentVoteUserNames200Response.md +0 -36
- data/client/docs/GetComments200Response.md +0 -34
- data/client/docs/GetCommentsPublic200Response.md +0 -78
- data/client/docs/GetEmailTemplate200Response.md +0 -34
- data/client/docs/GetEmailTemplateDefinitions200Response.md +0 -34
- data/client/docs/GetEmailTemplateRenderErrors200Response.md +0 -34
- data/client/docs/GetEmailTemplates200Response.md +0 -34
- data/client/docs/GetEventLog200Response.md +0 -34
- data/client/docs/GetFeedPosts200Response.md +0 -34
- data/client/docs/GetFeedPostsPublic200Response.md +0 -44
- data/client/docs/GetFeedPostsStats200Response.md +0 -34
- data/client/docs/GetHashTags200Response.md +0 -34
- data/client/docs/GetModerator200Response.md +0 -34
- data/client/docs/GetModerators200Response.md +0 -34
- data/client/docs/GetNotificationCount200Response.md +0 -34
- data/client/docs/GetNotifications200Response.md +0 -34
- data/client/docs/GetPendingWebhookEventCount200Response.md +0 -34
- data/client/docs/GetPendingWebhookEvents200Response.md +0 -34
- data/client/docs/GetQuestionConfig200Response.md +0 -34
- data/client/docs/GetQuestionConfigs200Response.md +0 -34
- data/client/docs/GetQuestionResult200Response.md +0 -34
- data/client/docs/GetQuestionResults200Response.md +0 -34
- data/client/docs/GetTenant200Response.md +0 -34
- data/client/docs/GetTenantDailyUsages200Response.md +0 -34
- data/client/docs/GetTenantPackage200Response.md +0 -34
- data/client/docs/GetTenantPackages200Response.md +0 -34
- data/client/docs/GetTenantUser200Response.md +0 -34
- data/client/docs/GetTenantUsers200Response.md +0 -34
- data/client/docs/GetTenants200Response.md +0 -34
- data/client/docs/GetTicket200Response.md +0 -36
- data/client/docs/GetTickets200Response.md +0 -34
- data/client/docs/GetUser200Response.md +0 -34
- data/client/docs/GetUserBadge200Response.md +0 -34
- data/client/docs/GetUserBadgeProgressById200Response.md +0 -34
- data/client/docs/GetUserBadgeProgressList200Response.md +0 -34
- data/client/docs/GetUserBadges200Response.md +0 -34
- data/client/docs/GetUserNotificationCount200Response.md +0 -34
- data/client/docs/GetUserNotifications200Response.md +0 -40
- data/client/docs/GetUserPresenceStatuses200Response.md +0 -34
- data/client/docs/GetUserReactsPublic200Response.md +0 -34
- data/client/docs/GetVotes200Response.md +0 -38
- data/client/docs/GetVotesForUser200Response.md +0 -38
- data/client/docs/LockComment200Response.md +0 -32
- data/client/docs/PinComment200Response.md +0 -34
- data/client/docs/ReactFeedPostPublic200Response.md +0 -36
- data/client/docs/RenderEmailTemplate200Response.md +0 -34
- data/client/docs/ResetUserNotifications200Response.md +0 -32
- data/client/docs/SearchUsers200Response.md +0 -36
- data/client/docs/SetCommentText200Response.md +0 -34
- data/client/docs/UnBlockCommentPublic200Response.md +0 -34
- data/client/docs/UpdateUserBadge200Response.md +0 -32
- data/client/docs/UpdateUserNotificationStatus200Response.md +0 -38
- data/client/docs/VoteComment200Response.md +0 -40
- data/client/lib/fastcomments-client/api_model_base.rb +0 -88
- data/client/lib/fastcomments-client/models/bulk_aggregate_question_results200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/checked_comments_for_blocked200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/combine_comments_with_question_results200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_comment_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_email_template200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_feed_post200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_feed_post_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_moderator200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_question_config200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_question_result200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_tenant200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_tenant_package200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_tenant_user200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_ticket200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/create_user_badge200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/delete_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/delete_comment_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/delete_comment_vote200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/delete_domain_config200_response.rb +0 -150
- data/client/lib/fastcomments-client/models/delete_feed_post_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/flag_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/flag_comment_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_audit_logs200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_cached_notification_count200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_comment_text200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_comment_vote_user_names200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_comments200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_comments_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_domain_config200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_domain_configs200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_email_template200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_email_template_definitions200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_email_template_render_errors200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_email_templates200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_event_log200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_feed_posts200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_feed_posts_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_feed_posts_stats200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_hash_tags200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_moderator200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_moderators200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_notification_count200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_notifications200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_pending_webhook_event_count200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_pending_webhook_events200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_question_config200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_question_configs200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_question_result200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_question_results200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenant200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenant_daily_usages200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenant_package200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenant_packages200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenant_user200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenant_users200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tenants200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_ticket200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_tickets200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_badge200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_badge_progress_by_id200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_badge_progress_list200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_badges200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_notification_count200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_notifications200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_presence_statuses200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_user_reacts_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_votes200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/get_votes_for_user200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/lock_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/patch_hash_tag200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/pin_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/react_feed_post_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/render_email_template200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/reset_user_notifications200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/save_comment200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/set_comment_text200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/un_block_comment_public200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/update_user_badge200_response.rb +0 -103
- data/client/lib/fastcomments-client/models/vote_comment200_response.rb +0 -103
- data/client/spec/models/block_from_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/bulk_aggregate_question_results200_response_spec.rb +0 -21
- data/client/spec/models/change_ticket_state200_response_spec.rb +0 -21
- data/client/spec/models/checked_comments_for_blocked200_response_spec.rb +0 -21
- data/client/spec/models/combine_comments_with_question_results200_response_spec.rb +0 -21
- data/client/spec/models/create_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/create_email_template200_response_spec.rb +0 -21
- data/client/spec/models/create_feed_post200_response_spec.rb +0 -21
- data/client/spec/models/create_feed_post_public200_response_spec.rb +0 -21
- data/client/spec/models/create_moderator200_response_spec.rb +0 -21
- data/client/spec/models/create_question_config200_response_spec.rb +0 -21
- data/client/spec/models/create_question_result200_response_spec.rb +0 -21
- data/client/spec/models/create_tenant_package200_response_spec.rb +0 -21
- data/client/spec/models/create_tenant_user200_response_spec.rb +0 -21
- data/client/spec/models/create_ticket200_response_spec.rb +0 -21
- data/client/spec/models/create_user_badge200_response_spec.rb +0 -21
- data/client/spec/models/delete_comment200_response_spec.rb +0 -21
- data/client/spec/models/delete_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/delete_comment_vote200_response_spec.rb +0 -21
- data/client/spec/models/delete_feed_post_public200_response_spec.rb +0 -21
- data/client/spec/models/flag_comment200_response_spec.rb +0 -21
- data/client/spec/models/flag_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/get_audit_logs200_response_spec.rb +0 -21
- data/client/spec/models/get_cached_notification_count200_response_spec.rb +0 -21
- data/client/spec/models/get_comment200_response_spec.rb +0 -21
- data/client/spec/models/get_comment_text200_response_spec.rb +0 -21
- data/client/spec/models/get_comment_vote_user_names200_response_spec.rb +0 -21
- data/client/spec/models/get_comments200_response_spec.rb +0 -21
- data/client/spec/models/get_comments_public200_response_spec.rb +0 -21
- data/client/spec/models/get_domain_config200_response_spec.rb +0 -21
- data/client/spec/models/get_domain_configs200_response_spec.rb +0 -21
- data/client/spec/models/get_email_template200_response_spec.rb +0 -21
- data/client/spec/models/get_email_template_definitions200_response_spec.rb +0 -21
- data/client/spec/models/get_email_template_render_errors200_response_spec.rb +0 -21
- data/client/spec/models/get_email_templates200_response_spec.rb +0 -21
- data/client/spec/models/get_event_log200_response_spec.rb +0 -21
- data/client/spec/models/get_feed_posts200_response_spec.rb +0 -21
- data/client/spec/models/get_feed_posts_public200_response_spec.rb +0 -21
- data/client/spec/models/get_feed_posts_stats200_response_spec.rb +0 -21
- data/client/spec/models/get_hash_tags200_response_spec.rb +0 -21
- data/client/spec/models/get_moderator200_response_spec.rb +0 -21
- data/client/spec/models/get_moderators200_response_spec.rb +0 -21
- data/client/spec/models/get_notification_count200_response_spec.rb +0 -21
- data/client/spec/models/get_notifications200_response_spec.rb +0 -21
- data/client/spec/models/get_pending_webhook_event_count200_response_spec.rb +0 -21
- data/client/spec/models/get_pending_webhook_events200_response_spec.rb +0 -21
- data/client/spec/models/get_question_config200_response_spec.rb +0 -21
- data/client/spec/models/get_question_configs200_response_spec.rb +0 -21
- data/client/spec/models/get_question_result200_response_spec.rb +0 -21
- data/client/spec/models/get_question_results200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_daily_usages200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_package200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_packages200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_user200_response_spec.rb +0 -21
- data/client/spec/models/get_tenant_users200_response_spec.rb +0 -21
- data/client/spec/models/get_tenants200_response_spec.rb +0 -21
- data/client/spec/models/get_tickets200_response_spec.rb +0 -21
- data/client/spec/models/get_user_badge200_response_spec.rb +0 -21
- data/client/spec/models/get_user_badge_progress_by_id200_response_spec.rb +0 -21
- data/client/spec/models/get_user_badge_progress_list200_response_spec.rb +0 -21
- data/client/spec/models/get_user_badges200_response_spec.rb +0 -21
- data/client/spec/models/get_user_notification_count200_response_spec.rb +0 -21
- data/client/spec/models/get_user_notifications200_response_spec.rb +0 -21
- data/client/spec/models/get_user_presence_statuses200_response_spec.rb +0 -21
- data/client/spec/models/get_user_reacts_public200_response_spec.rb +0 -21
- data/client/spec/models/get_votes_for_user200_response_spec.rb +0 -21
- data/client/spec/models/lock_comment200_response_spec.rb +0 -21
- data/client/spec/models/patch_hash_tag200_response_spec.rb +0 -21
- data/client/spec/models/pin_comment200_response_spec.rb +0 -21
- data/client/spec/models/react_feed_post_public200_response_spec.rb +0 -21
- data/client/spec/models/record_string_string_or_number_value_spec.rb +0 -21
- data/client/spec/models/render_email_template200_response_spec.rb +0 -21
- data/client/spec/models/reset_user_notifications200_response_spec.rb +0 -21
- data/client/spec/models/save_comment200_response_spec.rb +0 -21
- data/client/spec/models/search_users200_response_spec.rb +0 -21
- data/client/spec/models/set_comment_text200_response_spec.rb +0 -21
- data/client/spec/models/un_block_comment_public200_response_spec.rb +0 -21
- data/client/spec/models/update_user_badge200_response_spec.rb +0 -21
- data/client/spec/models/vote_comment200_response_spec.rb +0 -21
data/client/docs/PublicApi.md
CHANGED
|
@@ -8,22 +8,39 @@ All URIs are relative to *https://fastcomments.com*
|
|
|
8
8
|
| [**checked_comments_for_blocked**](PublicApi.md#checked_comments_for_blocked) | **GET** /check-blocked-comments | |
|
|
9
9
|
| [**create_comment_public**](PublicApi.md#create_comment_public) | **POST** /comments/{tenantId} | |
|
|
10
10
|
| [**create_feed_post_public**](PublicApi.md#create_feed_post_public) | **POST** /feed-posts/{tenantId} | |
|
|
11
|
+
| [**create_v1_page_react**](PublicApi.md#create_v1_page_react) | **POST** /page-reacts/v1/likes/{tenantId} | |
|
|
12
|
+
| [**create_v2_page_react**](PublicApi.md#create_v2_page_react) | **POST** /page-reacts/v2/{tenantId} | |
|
|
11
13
|
| [**delete_comment_public**](PublicApi.md#delete_comment_public) | **DELETE** /comments/{tenantId}/{commentId} | |
|
|
12
14
|
| [**delete_comment_vote**](PublicApi.md#delete_comment_vote) | **DELETE** /comments/{tenantId}/{commentId}/vote/{voteId} | |
|
|
13
15
|
| [**delete_feed_post_public**](PublicApi.md#delete_feed_post_public) | **DELETE** /feed-posts/{tenantId}/{postId} | |
|
|
16
|
+
| [**delete_v1_page_react**](PublicApi.md#delete_v1_page_react) | **DELETE** /page-reacts/v1/likes/{tenantId} | |
|
|
17
|
+
| [**delete_v2_page_react**](PublicApi.md#delete_v2_page_react) | **DELETE** /page-reacts/v2/{tenantId} | |
|
|
14
18
|
| [**flag_comment_public**](PublicApi.md#flag_comment_public) | **POST** /flag-comment/{commentId} | |
|
|
15
19
|
| [**get_comment_text**](PublicApi.md#get_comment_text) | **GET** /comments/{tenantId}/{commentId}/text | |
|
|
16
20
|
| [**get_comment_vote_user_names**](PublicApi.md#get_comment_vote_user_names) | **GET** /comments/{tenantId}/{commentId}/votes | |
|
|
21
|
+
| [**get_comments_for_user**](PublicApi.md#get_comments_for_user) | **GET** /comments-for-user | |
|
|
17
22
|
| [**get_comments_public**](PublicApi.md#get_comments_public) | **GET** /comments/{tenantId} | |
|
|
18
23
|
| [**get_event_log**](PublicApi.md#get_event_log) | **GET** /event-log/{tenantId} | |
|
|
19
24
|
| [**get_feed_posts_public**](PublicApi.md#get_feed_posts_public) | **GET** /feed-posts/{tenantId} | |
|
|
20
25
|
| [**get_feed_posts_stats**](PublicApi.md#get_feed_posts_stats) | **GET** /feed-posts/{tenantId}/stats | |
|
|
26
|
+
| [**get_gif_large**](PublicApi.md#get_gif_large) | **GET** /gifs/get-large/{tenantId} | |
|
|
27
|
+
| [**get_gifs_search**](PublicApi.md#get_gifs_search) | **GET** /gifs/search/{tenantId} | |
|
|
28
|
+
| [**get_gifs_trending**](PublicApi.md#get_gifs_trending) | **GET** /gifs/trending/{tenantId} | |
|
|
21
29
|
| [**get_global_event_log**](PublicApi.md#get_global_event_log) | **GET** /event-log/global/{tenantId} | |
|
|
30
|
+
| [**get_offline_users**](PublicApi.md#get_offline_users) | **GET** /pages/{tenantId}/users/offline | |
|
|
31
|
+
| [**get_online_users**](PublicApi.md#get_online_users) | **GET** /pages/{tenantId}/users/online | |
|
|
32
|
+
| [**get_pages_public**](PublicApi.md#get_pages_public) | **GET** /pages/{tenantId} | |
|
|
33
|
+
| [**get_translations**](PublicApi.md#get_translations) | **GET** /translations/{namespace}/{component} | |
|
|
22
34
|
| [**get_user_notification_count**](PublicApi.md#get_user_notification_count) | **GET** /user-notifications/get-count | |
|
|
23
35
|
| [**get_user_notifications**](PublicApi.md#get_user_notifications) | **GET** /user-notifications | |
|
|
24
36
|
| [**get_user_presence_statuses**](PublicApi.md#get_user_presence_statuses) | **GET** /user-presence-status | |
|
|
25
37
|
| [**get_user_reacts_public**](PublicApi.md#get_user_reacts_public) | **GET** /feed-posts/{tenantId}/user-reacts | |
|
|
38
|
+
| [**get_users_info**](PublicApi.md#get_users_info) | **GET** /pages/{tenantId}/users/info | |
|
|
39
|
+
| [**get_v1_page_likes**](PublicApi.md#get_v1_page_likes) | **GET** /page-reacts/v1/likes/{tenantId} | |
|
|
40
|
+
| [**get_v2_page_react_users**](PublicApi.md#get_v2_page_react_users) | **GET** /page-reacts/v2/{tenantId}/list | |
|
|
41
|
+
| [**get_v2_page_reacts**](PublicApi.md#get_v2_page_reacts) | **GET** /page-reacts/v2/{tenantId} | |
|
|
26
42
|
| [**lock_comment**](PublicApi.md#lock_comment) | **POST** /comments/{tenantId}/{commentId}/lock | |
|
|
43
|
+
| [**logout_public**](PublicApi.md#logout_public) | **PUT** /auth/logout | |
|
|
27
44
|
| [**pin_comment**](PublicApi.md#pin_comment) | **POST** /comments/{tenantId}/{commentId}/pin | |
|
|
28
45
|
| [**react_feed_post_public**](PublicApi.md#react_feed_post_public) | **POST** /feed-posts/{tenantId}/react/{postId} | |
|
|
29
46
|
| [**reset_user_notification_count**](PublicApi.md#reset_user_notification_count) | **POST** /user-notifications/reset-count | |
|
|
@@ -43,7 +60,7 @@ All URIs are relative to *https://fastcomments.com*
|
|
|
43
60
|
|
|
44
61
|
## block_from_comment_public
|
|
45
62
|
|
|
46
|
-
> <
|
|
63
|
+
> <BlockSuccess> block_from_comment_public(tenant_id, comment_id, public_block_from_comment_params, opts)
|
|
47
64
|
|
|
48
65
|
|
|
49
66
|
|
|
@@ -74,7 +91,7 @@ end
|
|
|
74
91
|
|
|
75
92
|
This returns an Array which contains the response data, status code and headers.
|
|
76
93
|
|
|
77
|
-
> <Array(<
|
|
94
|
+
> <Array(<BlockSuccess>, Integer, Hash)> block_from_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
|
|
78
95
|
|
|
79
96
|
```ruby
|
|
80
97
|
begin
|
|
@@ -82,7 +99,7 @@ begin
|
|
|
82
99
|
data, status_code, headers = api_instance.block_from_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
|
|
83
100
|
p status_code # => 2xx
|
|
84
101
|
p headers # => { ... }
|
|
85
|
-
p data # => <
|
|
102
|
+
p data # => <BlockSuccess>
|
|
86
103
|
rescue FastCommentsClient::ApiError => e
|
|
87
104
|
puts "Error when calling PublicApi->block_from_comment_public_with_http_info: #{e}"
|
|
88
105
|
end
|
|
@@ -99,7 +116,7 @@ end
|
|
|
99
116
|
|
|
100
117
|
### Return type
|
|
101
118
|
|
|
102
|
-
[**
|
|
119
|
+
[**BlockSuccess**](BlockSuccess.md)
|
|
103
120
|
|
|
104
121
|
### Authorization
|
|
105
122
|
|
|
@@ -113,7 +130,7 @@ No authorization required
|
|
|
113
130
|
|
|
114
131
|
## checked_comments_for_blocked
|
|
115
132
|
|
|
116
|
-
> <
|
|
133
|
+
> <CheckBlockedCommentsResponse> checked_comments_for_blocked(tenant_id, comment_ids, opts)
|
|
117
134
|
|
|
118
135
|
|
|
119
136
|
|
|
@@ -143,7 +160,7 @@ end
|
|
|
143
160
|
|
|
144
161
|
This returns an Array which contains the response data, status code and headers.
|
|
145
162
|
|
|
146
|
-
> <Array(<
|
|
163
|
+
> <Array(<CheckBlockedCommentsResponse>, Integer, Hash)> checked_comments_for_blocked_with_http_info(tenant_id, comment_ids, opts)
|
|
147
164
|
|
|
148
165
|
```ruby
|
|
149
166
|
begin
|
|
@@ -151,7 +168,7 @@ begin
|
|
|
151
168
|
data, status_code, headers = api_instance.checked_comments_for_blocked_with_http_info(tenant_id, comment_ids, opts)
|
|
152
169
|
p status_code # => 2xx
|
|
153
170
|
p headers # => { ... }
|
|
154
|
-
p data # => <
|
|
171
|
+
p data # => <CheckBlockedCommentsResponse>
|
|
155
172
|
rescue FastCommentsClient::ApiError => e
|
|
156
173
|
puts "Error when calling PublicApi->checked_comments_for_blocked_with_http_info: #{e}"
|
|
157
174
|
end
|
|
@@ -167,7 +184,7 @@ end
|
|
|
167
184
|
|
|
168
185
|
### Return type
|
|
169
186
|
|
|
170
|
-
[**
|
|
187
|
+
[**CheckBlockedCommentsResponse**](CheckBlockedCommentsResponse.md)
|
|
171
188
|
|
|
172
189
|
### Authorization
|
|
173
190
|
|
|
@@ -181,7 +198,7 @@ No authorization required
|
|
|
181
198
|
|
|
182
199
|
## create_comment_public
|
|
183
200
|
|
|
184
|
-
> <
|
|
201
|
+
> <SaveCommentsResponseWithPresence> create_comment_public(tenant_id, url_id, broadcast_id, comment_data, opts)
|
|
185
202
|
|
|
186
203
|
|
|
187
204
|
|
|
@@ -214,7 +231,7 @@ end
|
|
|
214
231
|
|
|
215
232
|
This returns an Array which contains the response data, status code and headers.
|
|
216
233
|
|
|
217
|
-
> <Array(<
|
|
234
|
+
> <Array(<SaveCommentsResponseWithPresence>, Integer, Hash)> create_comment_public_with_http_info(tenant_id, url_id, broadcast_id, comment_data, opts)
|
|
218
235
|
|
|
219
236
|
```ruby
|
|
220
237
|
begin
|
|
@@ -222,7 +239,7 @@ begin
|
|
|
222
239
|
data, status_code, headers = api_instance.create_comment_public_with_http_info(tenant_id, url_id, broadcast_id, comment_data, opts)
|
|
223
240
|
p status_code # => 2xx
|
|
224
241
|
p headers # => { ... }
|
|
225
|
-
p data # => <
|
|
242
|
+
p data # => <SaveCommentsResponseWithPresence>
|
|
226
243
|
rescue FastCommentsClient::ApiError => e
|
|
227
244
|
puts "Error when calling PublicApi->create_comment_public_with_http_info: #{e}"
|
|
228
245
|
end
|
|
@@ -241,7 +258,7 @@ end
|
|
|
241
258
|
|
|
242
259
|
### Return type
|
|
243
260
|
|
|
244
|
-
[**
|
|
261
|
+
[**SaveCommentsResponseWithPresence**](SaveCommentsResponseWithPresence.md)
|
|
245
262
|
|
|
246
263
|
### Authorization
|
|
247
264
|
|
|
@@ -255,7 +272,7 @@ No authorization required
|
|
|
255
272
|
|
|
256
273
|
## create_feed_post_public
|
|
257
274
|
|
|
258
|
-
> <
|
|
275
|
+
> <CreateFeedPostResponse> create_feed_post_public(tenant_id, create_feed_post_params, opts)
|
|
259
276
|
|
|
260
277
|
|
|
261
278
|
|
|
@@ -286,7 +303,7 @@ end
|
|
|
286
303
|
|
|
287
304
|
This returns an Array which contains the response data, status code and headers.
|
|
288
305
|
|
|
289
|
-
> <Array(<
|
|
306
|
+
> <Array(<CreateFeedPostResponse>, Integer, Hash)> create_feed_post_public_with_http_info(tenant_id, create_feed_post_params, opts)
|
|
290
307
|
|
|
291
308
|
```ruby
|
|
292
309
|
begin
|
|
@@ -294,7 +311,7 @@ begin
|
|
|
294
311
|
data, status_code, headers = api_instance.create_feed_post_public_with_http_info(tenant_id, create_feed_post_params, opts)
|
|
295
312
|
p status_code # => 2xx
|
|
296
313
|
p headers # => { ... }
|
|
297
|
-
p data # => <
|
|
314
|
+
p data # => <CreateFeedPostResponse>
|
|
298
315
|
rescue FastCommentsClient::ApiError => e
|
|
299
316
|
puts "Error when calling PublicApi->create_feed_post_public_with_http_info: #{e}"
|
|
300
317
|
end
|
|
@@ -311,7 +328,7 @@ end
|
|
|
311
328
|
|
|
312
329
|
### Return type
|
|
313
330
|
|
|
314
|
-
[**
|
|
331
|
+
[**CreateFeedPostResponse**](CreateFeedPostResponse.md)
|
|
315
332
|
|
|
316
333
|
### Authorization
|
|
317
334
|
|
|
@@ -323,9 +340,9 @@ No authorization required
|
|
|
323
340
|
- **Accept**: application/json
|
|
324
341
|
|
|
325
342
|
|
|
326
|
-
##
|
|
343
|
+
## create_v1_page_react
|
|
327
344
|
|
|
328
|
-
> <
|
|
345
|
+
> <CreateV1PageReact> create_v1_page_react(tenant_id, url_id, opts)
|
|
329
346
|
|
|
330
347
|
|
|
331
348
|
|
|
@@ -337,37 +354,35 @@ require 'fastcomments-client'
|
|
|
337
354
|
|
|
338
355
|
api_instance = FastCommentsClient::PublicApi.new
|
|
339
356
|
tenant_id = 'tenant_id_example' # String |
|
|
340
|
-
|
|
341
|
-
broadcast_id = 'broadcast_id_example' # String |
|
|
357
|
+
url_id = 'url_id_example' # String |
|
|
342
358
|
opts = {
|
|
343
|
-
|
|
344
|
-
sso: 'sso_example' # String |
|
|
359
|
+
title: 'title_example' # String |
|
|
345
360
|
}
|
|
346
361
|
|
|
347
362
|
begin
|
|
348
363
|
|
|
349
|
-
result = api_instance.
|
|
364
|
+
result = api_instance.create_v1_page_react(tenant_id, url_id, opts)
|
|
350
365
|
p result
|
|
351
366
|
rescue FastCommentsClient::ApiError => e
|
|
352
|
-
puts "Error when calling PublicApi->
|
|
367
|
+
puts "Error when calling PublicApi->create_v1_page_react: #{e}"
|
|
353
368
|
end
|
|
354
369
|
```
|
|
355
370
|
|
|
356
|
-
#### Using the
|
|
371
|
+
#### Using the create_v1_page_react_with_http_info variant
|
|
357
372
|
|
|
358
373
|
This returns an Array which contains the response data, status code and headers.
|
|
359
374
|
|
|
360
|
-
> <Array(<
|
|
375
|
+
> <Array(<CreateV1PageReact>, Integer, Hash)> create_v1_page_react_with_http_info(tenant_id, url_id, opts)
|
|
361
376
|
|
|
362
377
|
```ruby
|
|
363
378
|
begin
|
|
364
379
|
|
|
365
|
-
data, status_code, headers = api_instance.
|
|
380
|
+
data, status_code, headers = api_instance.create_v1_page_react_with_http_info(tenant_id, url_id, opts)
|
|
366
381
|
p status_code # => 2xx
|
|
367
382
|
p headers # => { ... }
|
|
368
|
-
p data # => <
|
|
383
|
+
p data # => <CreateV1PageReact>
|
|
369
384
|
rescue FastCommentsClient::ApiError => e
|
|
370
|
-
puts "Error when calling PublicApi->
|
|
385
|
+
puts "Error when calling PublicApi->create_v1_page_react_with_http_info: #{e}"
|
|
371
386
|
end
|
|
372
387
|
```
|
|
373
388
|
|
|
@@ -376,14 +391,12 @@ end
|
|
|
376
391
|
| Name | Type | Description | Notes |
|
|
377
392
|
| ---- | ---- | ----------- | ----- |
|
|
378
393
|
| **tenant_id** | **String** | | |
|
|
379
|
-
| **
|
|
380
|
-
| **
|
|
381
|
-
| **edit_key** | **String** | | [optional] |
|
|
382
|
-
| **sso** | **String** | | [optional] |
|
|
394
|
+
| **url_id** | **String** | | |
|
|
395
|
+
| **title** | **String** | | [optional] |
|
|
383
396
|
|
|
384
397
|
### Return type
|
|
385
398
|
|
|
386
|
-
[**
|
|
399
|
+
[**CreateV1PageReact**](CreateV1PageReact.md)
|
|
387
400
|
|
|
388
401
|
### Authorization
|
|
389
402
|
|
|
@@ -395,9 +408,9 @@ No authorization required
|
|
|
395
408
|
- **Accept**: application/json
|
|
396
409
|
|
|
397
410
|
|
|
398
|
-
##
|
|
411
|
+
## create_v2_page_react
|
|
399
412
|
|
|
400
|
-
> <
|
|
413
|
+
> <CreateV1PageReact> create_v2_page_react(tenant_id, url_id, id, opts)
|
|
401
414
|
|
|
402
415
|
|
|
403
416
|
|
|
@@ -409,39 +422,36 @@ require 'fastcomments-client'
|
|
|
409
422
|
|
|
410
423
|
api_instance = FastCommentsClient::PublicApi.new
|
|
411
424
|
tenant_id = 'tenant_id_example' # String |
|
|
412
|
-
comment_id = 'comment_id_example' # String |
|
|
413
|
-
vote_id = 'vote_id_example' # String |
|
|
414
425
|
url_id = 'url_id_example' # String |
|
|
415
|
-
|
|
426
|
+
id = 'id_example' # String |
|
|
416
427
|
opts = {
|
|
417
|
-
|
|
418
|
-
sso: 'sso_example' # String |
|
|
428
|
+
title: 'title_example' # String |
|
|
419
429
|
}
|
|
420
430
|
|
|
421
431
|
begin
|
|
422
432
|
|
|
423
|
-
result = api_instance.
|
|
433
|
+
result = api_instance.create_v2_page_react(tenant_id, url_id, id, opts)
|
|
424
434
|
p result
|
|
425
435
|
rescue FastCommentsClient::ApiError => e
|
|
426
|
-
puts "Error when calling PublicApi->
|
|
436
|
+
puts "Error when calling PublicApi->create_v2_page_react: #{e}"
|
|
427
437
|
end
|
|
428
438
|
```
|
|
429
439
|
|
|
430
|
-
#### Using the
|
|
440
|
+
#### Using the create_v2_page_react_with_http_info variant
|
|
431
441
|
|
|
432
442
|
This returns an Array which contains the response data, status code and headers.
|
|
433
443
|
|
|
434
|
-
> <Array(<
|
|
444
|
+
> <Array(<CreateV1PageReact>, Integer, Hash)> create_v2_page_react_with_http_info(tenant_id, url_id, id, opts)
|
|
435
445
|
|
|
436
446
|
```ruby
|
|
437
447
|
begin
|
|
438
448
|
|
|
439
|
-
data, status_code, headers = api_instance.
|
|
449
|
+
data, status_code, headers = api_instance.create_v2_page_react_with_http_info(tenant_id, url_id, id, opts)
|
|
440
450
|
p status_code # => 2xx
|
|
441
451
|
p headers # => { ... }
|
|
442
|
-
p data # => <
|
|
452
|
+
p data # => <CreateV1PageReact>
|
|
443
453
|
rescue FastCommentsClient::ApiError => e
|
|
444
|
-
puts "Error when calling PublicApi->
|
|
454
|
+
puts "Error when calling PublicApi->create_v2_page_react_with_http_info: #{e}"
|
|
445
455
|
end
|
|
446
456
|
```
|
|
447
457
|
|
|
@@ -450,16 +460,13 @@ end
|
|
|
450
460
|
| Name | Type | Description | Notes |
|
|
451
461
|
| ---- | ---- | ----------- | ----- |
|
|
452
462
|
| **tenant_id** | **String** | | |
|
|
453
|
-
| **comment_id** | **String** | | |
|
|
454
|
-
| **vote_id** | **String** | | |
|
|
455
463
|
| **url_id** | **String** | | |
|
|
456
|
-
| **
|
|
457
|
-
| **
|
|
458
|
-
| **sso** | **String** | | [optional] |
|
|
464
|
+
| **id** | **String** | | |
|
|
465
|
+
| **title** | **String** | | [optional] |
|
|
459
466
|
|
|
460
467
|
### Return type
|
|
461
468
|
|
|
462
|
-
[**
|
|
469
|
+
[**CreateV1PageReact**](CreateV1PageReact.md)
|
|
463
470
|
|
|
464
471
|
### Authorization
|
|
465
472
|
|
|
@@ -471,9 +478,9 @@ No authorization required
|
|
|
471
478
|
- **Accept**: application/json
|
|
472
479
|
|
|
473
480
|
|
|
474
|
-
##
|
|
481
|
+
## delete_comment_public
|
|
475
482
|
|
|
476
|
-
> <
|
|
483
|
+
> <PublicAPIDeleteCommentResponse> delete_comment_public(tenant_id, comment_id, broadcast_id, opts)
|
|
477
484
|
|
|
478
485
|
|
|
479
486
|
|
|
@@ -485,36 +492,37 @@ require 'fastcomments-client'
|
|
|
485
492
|
|
|
486
493
|
api_instance = FastCommentsClient::PublicApi.new
|
|
487
494
|
tenant_id = 'tenant_id_example' # String |
|
|
488
|
-
|
|
495
|
+
comment_id = 'comment_id_example' # String |
|
|
496
|
+
broadcast_id = 'broadcast_id_example' # String |
|
|
489
497
|
opts = {
|
|
490
|
-
|
|
498
|
+
edit_key: 'edit_key_example', # String |
|
|
491
499
|
sso: 'sso_example' # String |
|
|
492
500
|
}
|
|
493
501
|
|
|
494
502
|
begin
|
|
495
503
|
|
|
496
|
-
result = api_instance.
|
|
504
|
+
result = api_instance.delete_comment_public(tenant_id, comment_id, broadcast_id, opts)
|
|
497
505
|
p result
|
|
498
506
|
rescue FastCommentsClient::ApiError => e
|
|
499
|
-
puts "Error when calling PublicApi->
|
|
507
|
+
puts "Error when calling PublicApi->delete_comment_public: #{e}"
|
|
500
508
|
end
|
|
501
509
|
```
|
|
502
510
|
|
|
503
|
-
#### Using the
|
|
511
|
+
#### Using the delete_comment_public_with_http_info variant
|
|
504
512
|
|
|
505
513
|
This returns an Array which contains the response data, status code and headers.
|
|
506
514
|
|
|
507
|
-
> <Array(<
|
|
515
|
+
> <Array(<PublicAPIDeleteCommentResponse>, Integer, Hash)> delete_comment_public_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
508
516
|
|
|
509
517
|
```ruby
|
|
510
518
|
begin
|
|
511
519
|
|
|
512
|
-
data, status_code, headers = api_instance.
|
|
520
|
+
data, status_code, headers = api_instance.delete_comment_public_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
513
521
|
p status_code # => 2xx
|
|
514
522
|
p headers # => { ... }
|
|
515
|
-
p data # => <
|
|
523
|
+
p data # => <PublicAPIDeleteCommentResponse>
|
|
516
524
|
rescue FastCommentsClient::ApiError => e
|
|
517
|
-
puts "Error when calling PublicApi->
|
|
525
|
+
puts "Error when calling PublicApi->delete_comment_public_with_http_info: #{e}"
|
|
518
526
|
end
|
|
519
527
|
```
|
|
520
528
|
|
|
@@ -523,13 +531,14 @@ end
|
|
|
523
531
|
| Name | Type | Description | Notes |
|
|
524
532
|
| ---- | ---- | ----------- | ----- |
|
|
525
533
|
| **tenant_id** | **String** | | |
|
|
526
|
-
| **
|
|
527
|
-
| **broadcast_id** | **String** | |
|
|
534
|
+
| **comment_id** | **String** | | |
|
|
535
|
+
| **broadcast_id** | **String** | | |
|
|
536
|
+
| **edit_key** | **String** | | [optional] |
|
|
528
537
|
| **sso** | **String** | | [optional] |
|
|
529
538
|
|
|
530
539
|
### Return type
|
|
531
540
|
|
|
532
|
-
[**
|
|
541
|
+
[**PublicAPIDeleteCommentResponse**](PublicAPIDeleteCommentResponse.md)
|
|
533
542
|
|
|
534
543
|
### Authorization
|
|
535
544
|
|
|
@@ -541,9 +550,9 @@ No authorization required
|
|
|
541
550
|
- **Accept**: application/json
|
|
542
551
|
|
|
543
552
|
|
|
544
|
-
##
|
|
553
|
+
## delete_comment_vote
|
|
545
554
|
|
|
546
|
-
> <
|
|
555
|
+
> <VoteDeleteResponse> delete_comment_vote(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
|
|
547
556
|
|
|
548
557
|
|
|
549
558
|
|
|
@@ -556,35 +565,38 @@ require 'fastcomments-client'
|
|
|
556
565
|
api_instance = FastCommentsClient::PublicApi.new
|
|
557
566
|
tenant_id = 'tenant_id_example' # String |
|
|
558
567
|
comment_id = 'comment_id_example' # String |
|
|
559
|
-
|
|
568
|
+
vote_id = 'vote_id_example' # String |
|
|
569
|
+
url_id = 'url_id_example' # String |
|
|
570
|
+
broadcast_id = 'broadcast_id_example' # String |
|
|
560
571
|
opts = {
|
|
572
|
+
edit_key: 'edit_key_example', # String |
|
|
561
573
|
sso: 'sso_example' # String |
|
|
562
574
|
}
|
|
563
575
|
|
|
564
576
|
begin
|
|
565
577
|
|
|
566
|
-
result = api_instance.
|
|
578
|
+
result = api_instance.delete_comment_vote(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
|
|
567
579
|
p result
|
|
568
580
|
rescue FastCommentsClient::ApiError => e
|
|
569
|
-
puts "Error when calling PublicApi->
|
|
581
|
+
puts "Error when calling PublicApi->delete_comment_vote: #{e}"
|
|
570
582
|
end
|
|
571
583
|
```
|
|
572
584
|
|
|
573
|
-
#### Using the
|
|
585
|
+
#### Using the delete_comment_vote_with_http_info variant
|
|
574
586
|
|
|
575
587
|
This returns an Array which contains the response data, status code and headers.
|
|
576
588
|
|
|
577
|
-
> <Array(<
|
|
589
|
+
> <Array(<VoteDeleteResponse>, Integer, Hash)> delete_comment_vote_with_http_info(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
|
|
578
590
|
|
|
579
591
|
```ruby
|
|
580
592
|
begin
|
|
581
593
|
|
|
582
|
-
data, status_code, headers = api_instance.
|
|
594
|
+
data, status_code, headers = api_instance.delete_comment_vote_with_http_info(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
|
|
583
595
|
p status_code # => 2xx
|
|
584
596
|
p headers # => { ... }
|
|
585
|
-
p data # => <
|
|
597
|
+
p data # => <VoteDeleteResponse>
|
|
586
598
|
rescue FastCommentsClient::ApiError => e
|
|
587
|
-
puts "Error when calling PublicApi->
|
|
599
|
+
puts "Error when calling PublicApi->delete_comment_vote_with_http_info: #{e}"
|
|
588
600
|
end
|
|
589
601
|
```
|
|
590
602
|
|
|
@@ -594,12 +606,15 @@ end
|
|
|
594
606
|
| ---- | ---- | ----------- | ----- |
|
|
595
607
|
| **tenant_id** | **String** | | |
|
|
596
608
|
| **comment_id** | **String** | | |
|
|
597
|
-
| **
|
|
609
|
+
| **vote_id** | **String** | | |
|
|
610
|
+
| **url_id** | **String** | | |
|
|
611
|
+
| **broadcast_id** | **String** | | |
|
|
612
|
+
| **edit_key** | **String** | | [optional] |
|
|
598
613
|
| **sso** | **String** | | [optional] |
|
|
599
614
|
|
|
600
615
|
### Return type
|
|
601
616
|
|
|
602
|
-
[**
|
|
617
|
+
[**VoteDeleteResponse**](VoteDeleteResponse.md)
|
|
603
618
|
|
|
604
619
|
### Authorization
|
|
605
620
|
|
|
@@ -611,9 +626,9 @@ No authorization required
|
|
|
611
626
|
- **Accept**: application/json
|
|
612
627
|
|
|
613
628
|
|
|
614
|
-
##
|
|
629
|
+
## delete_feed_post_public
|
|
615
630
|
|
|
616
|
-
> <
|
|
631
|
+
> <DeleteFeedPostPublicResponse> delete_feed_post_public(tenant_id, post_id, opts)
|
|
617
632
|
|
|
618
633
|
|
|
619
634
|
|
|
@@ -625,36 +640,36 @@ require 'fastcomments-client'
|
|
|
625
640
|
|
|
626
641
|
api_instance = FastCommentsClient::PublicApi.new
|
|
627
642
|
tenant_id = 'tenant_id_example' # String |
|
|
628
|
-
|
|
643
|
+
post_id = 'post_id_example' # String |
|
|
629
644
|
opts = {
|
|
630
|
-
|
|
645
|
+
broadcast_id: 'broadcast_id_example', # String |
|
|
631
646
|
sso: 'sso_example' # String |
|
|
632
647
|
}
|
|
633
648
|
|
|
634
649
|
begin
|
|
635
650
|
|
|
636
|
-
result = api_instance.
|
|
651
|
+
result = api_instance.delete_feed_post_public(tenant_id, post_id, opts)
|
|
637
652
|
p result
|
|
638
653
|
rescue FastCommentsClient::ApiError => e
|
|
639
|
-
puts "Error when calling PublicApi->
|
|
654
|
+
puts "Error when calling PublicApi->delete_feed_post_public: #{e}"
|
|
640
655
|
end
|
|
641
656
|
```
|
|
642
657
|
|
|
643
|
-
#### Using the
|
|
658
|
+
#### Using the delete_feed_post_public_with_http_info variant
|
|
644
659
|
|
|
645
660
|
This returns an Array which contains the response data, status code and headers.
|
|
646
661
|
|
|
647
|
-
> <Array(<
|
|
662
|
+
> <Array(<DeleteFeedPostPublicResponse>, Integer, Hash)> delete_feed_post_public_with_http_info(tenant_id, post_id, opts)
|
|
648
663
|
|
|
649
664
|
```ruby
|
|
650
665
|
begin
|
|
651
666
|
|
|
652
|
-
data, status_code, headers = api_instance.
|
|
667
|
+
data, status_code, headers = api_instance.delete_feed_post_public_with_http_info(tenant_id, post_id, opts)
|
|
653
668
|
p status_code # => 2xx
|
|
654
669
|
p headers # => { ... }
|
|
655
|
-
p data # => <
|
|
670
|
+
p data # => <DeleteFeedPostPublicResponse>
|
|
656
671
|
rescue FastCommentsClient::ApiError => e
|
|
657
|
-
puts "Error when calling PublicApi->
|
|
672
|
+
puts "Error when calling PublicApi->delete_feed_post_public_with_http_info: #{e}"
|
|
658
673
|
end
|
|
659
674
|
```
|
|
660
675
|
|
|
@@ -663,13 +678,13 @@ end
|
|
|
663
678
|
| Name | Type | Description | Notes |
|
|
664
679
|
| ---- | ---- | ----------- | ----- |
|
|
665
680
|
| **tenant_id** | **String** | | |
|
|
666
|
-
| **
|
|
667
|
-
| **
|
|
681
|
+
| **post_id** | **String** | | |
|
|
682
|
+
| **broadcast_id** | **String** | | [optional] |
|
|
668
683
|
| **sso** | **String** | | [optional] |
|
|
669
684
|
|
|
670
685
|
### Return type
|
|
671
686
|
|
|
672
|
-
[**
|
|
687
|
+
[**DeleteFeedPostPublicResponse**](DeleteFeedPostPublicResponse.md)
|
|
673
688
|
|
|
674
689
|
### Authorization
|
|
675
690
|
|
|
@@ -681,9 +696,9 @@ No authorization required
|
|
|
681
696
|
- **Accept**: application/json
|
|
682
697
|
|
|
683
698
|
|
|
684
|
-
##
|
|
699
|
+
## delete_v1_page_react
|
|
685
700
|
|
|
686
|
-
> <
|
|
701
|
+
> <CreateV1PageReact> delete_v1_page_react(tenant_id, url_id)
|
|
687
702
|
|
|
688
703
|
|
|
689
704
|
|
|
@@ -695,36 +710,32 @@ require 'fastcomments-client'
|
|
|
695
710
|
|
|
696
711
|
api_instance = FastCommentsClient::PublicApi.new
|
|
697
712
|
tenant_id = 'tenant_id_example' # String |
|
|
698
|
-
|
|
699
|
-
dir = 56 # Integer |
|
|
700
|
-
opts = {
|
|
701
|
-
sso: 'sso_example' # String |
|
|
702
|
-
}
|
|
713
|
+
url_id = 'url_id_example' # String |
|
|
703
714
|
|
|
704
715
|
begin
|
|
705
716
|
|
|
706
|
-
result = api_instance.
|
|
717
|
+
result = api_instance.delete_v1_page_react(tenant_id, url_id)
|
|
707
718
|
p result
|
|
708
719
|
rescue FastCommentsClient::ApiError => e
|
|
709
|
-
puts "Error when calling PublicApi->
|
|
720
|
+
puts "Error when calling PublicApi->delete_v1_page_react: #{e}"
|
|
710
721
|
end
|
|
711
722
|
```
|
|
712
723
|
|
|
713
|
-
#### Using the
|
|
724
|
+
#### Using the delete_v1_page_react_with_http_info variant
|
|
714
725
|
|
|
715
726
|
This returns an Array which contains the response data, status code and headers.
|
|
716
727
|
|
|
717
|
-
> <Array(<
|
|
728
|
+
> <Array(<CreateV1PageReact>, Integer, Hash)> delete_v1_page_react_with_http_info(tenant_id, url_id)
|
|
718
729
|
|
|
719
730
|
```ruby
|
|
720
731
|
begin
|
|
721
732
|
|
|
722
|
-
data, status_code, headers = api_instance.
|
|
733
|
+
data, status_code, headers = api_instance.delete_v1_page_react_with_http_info(tenant_id, url_id)
|
|
723
734
|
p status_code # => 2xx
|
|
724
735
|
p headers # => { ... }
|
|
725
|
-
p data # => <
|
|
736
|
+
p data # => <CreateV1PageReact>
|
|
726
737
|
rescue FastCommentsClient::ApiError => e
|
|
727
|
-
puts "Error when calling PublicApi->
|
|
738
|
+
puts "Error when calling PublicApi->delete_v1_page_react_with_http_info: #{e}"
|
|
728
739
|
end
|
|
729
740
|
```
|
|
730
741
|
|
|
@@ -733,13 +744,11 @@ end
|
|
|
733
744
|
| Name | Type | Description | Notes |
|
|
734
745
|
| ---- | ---- | ----------- | ----- |
|
|
735
746
|
| **tenant_id** | **String** | | |
|
|
736
|
-
| **
|
|
737
|
-
| **dir** | **Integer** | | |
|
|
738
|
-
| **sso** | **String** | | [optional] |
|
|
747
|
+
| **url_id** | **String** | | |
|
|
739
748
|
|
|
740
749
|
### Return type
|
|
741
750
|
|
|
742
|
-
[**
|
|
751
|
+
[**CreateV1PageReact**](CreateV1PageReact.md)
|
|
743
752
|
|
|
744
753
|
### Authorization
|
|
745
754
|
|
|
@@ -751,13 +760,11 @@ No authorization required
|
|
|
751
760
|
- **Accept**: application/json
|
|
752
761
|
|
|
753
762
|
|
|
754
|
-
##
|
|
755
|
-
|
|
756
|
-
> <GetCommentsPublic200Response> get_comments_public(tenant_id, url_id, opts)
|
|
763
|
+
## delete_v2_page_react
|
|
757
764
|
|
|
765
|
+
> <CreateV1PageReact> delete_v2_page_react(tenant_id, url_id, id)
|
|
758
766
|
|
|
759
767
|
|
|
760
|
-
req tenantId urlId
|
|
761
768
|
|
|
762
769
|
### Examples
|
|
763
770
|
|
|
@@ -768,59 +775,32 @@ require 'fastcomments-client'
|
|
|
768
775
|
api_instance = FastCommentsClient::PublicApi.new
|
|
769
776
|
tenant_id = 'tenant_id_example' # String |
|
|
770
777
|
url_id = 'url_id_example' # String |
|
|
771
|
-
|
|
772
|
-
page: 56, # Integer |
|
|
773
|
-
direction: FastCommentsClient::SortDirections::OF, # SortDirections |
|
|
774
|
-
sso: 'sso_example', # String |
|
|
775
|
-
skip: 56, # Integer |
|
|
776
|
-
skip_children: 56, # Integer |
|
|
777
|
-
limit: 56, # Integer |
|
|
778
|
-
limit_children: 56, # Integer |
|
|
779
|
-
count_children: true, # Boolean |
|
|
780
|
-
fetch_page_for_comment_id: 'fetch_page_for_comment_id_example', # String |
|
|
781
|
-
include_config: true, # Boolean |
|
|
782
|
-
count_all: true, # Boolean |
|
|
783
|
-
includei10n: true, # Boolean |
|
|
784
|
-
locale: 'locale_example', # String |
|
|
785
|
-
modules: 'modules_example', # String |
|
|
786
|
-
is_crawler: true, # Boolean |
|
|
787
|
-
include_notification_count: true, # Boolean |
|
|
788
|
-
as_tree: true, # Boolean |
|
|
789
|
-
max_tree_depth: 56, # Integer |
|
|
790
|
-
use_full_translation_ids: true, # Boolean |
|
|
791
|
-
parent_id: 'parent_id_example', # String |
|
|
792
|
-
search_text: 'search_text_example', # String |
|
|
793
|
-
hash_tags: ['inner_example'], # Array<String> |
|
|
794
|
-
user_id: 'user_id_example', # String |
|
|
795
|
-
custom_config_str: 'custom_config_str_example', # String |
|
|
796
|
-
after_comment_id: 'after_comment_id_example', # String |
|
|
797
|
-
before_comment_id: 'before_comment_id_example' # String |
|
|
798
|
-
}
|
|
778
|
+
id = 'id_example' # String |
|
|
799
779
|
|
|
800
780
|
begin
|
|
801
781
|
|
|
802
|
-
result = api_instance.
|
|
782
|
+
result = api_instance.delete_v2_page_react(tenant_id, url_id, id)
|
|
803
783
|
p result
|
|
804
784
|
rescue FastCommentsClient::ApiError => e
|
|
805
|
-
puts "Error when calling PublicApi->
|
|
785
|
+
puts "Error when calling PublicApi->delete_v2_page_react: #{e}"
|
|
806
786
|
end
|
|
807
787
|
```
|
|
808
788
|
|
|
809
|
-
#### Using the
|
|
789
|
+
#### Using the delete_v2_page_react_with_http_info variant
|
|
810
790
|
|
|
811
791
|
This returns an Array which contains the response data, status code and headers.
|
|
812
792
|
|
|
813
|
-
> <Array(<
|
|
793
|
+
> <Array(<CreateV1PageReact>, Integer, Hash)> delete_v2_page_react_with_http_info(tenant_id, url_id, id)
|
|
814
794
|
|
|
815
795
|
```ruby
|
|
816
796
|
begin
|
|
817
797
|
|
|
818
|
-
data, status_code, headers = api_instance.
|
|
798
|
+
data, status_code, headers = api_instance.delete_v2_page_react_with_http_info(tenant_id, url_id, id)
|
|
819
799
|
p status_code # => 2xx
|
|
820
800
|
p headers # => { ... }
|
|
821
|
-
p data # => <
|
|
801
|
+
p data # => <CreateV1PageReact>
|
|
822
802
|
rescue FastCommentsClient::ApiError => e
|
|
823
|
-
puts "Error when calling PublicApi->
|
|
803
|
+
puts "Error when calling PublicApi->delete_v2_page_react_with_http_info: #{e}"
|
|
824
804
|
end
|
|
825
805
|
```
|
|
826
806
|
|
|
@@ -830,36 +810,11 @@ end
|
|
|
830
810
|
| ---- | ---- | ----------- | ----- |
|
|
831
811
|
| **tenant_id** | **String** | | |
|
|
832
812
|
| **url_id** | **String** | | |
|
|
833
|
-
| **
|
|
834
|
-
| **direction** | [**SortDirections**](.md) | | [optional] |
|
|
835
|
-
| **sso** | **String** | | [optional] |
|
|
836
|
-
| **skip** | **Integer** | | [optional] |
|
|
837
|
-
| **skip_children** | **Integer** | | [optional] |
|
|
838
|
-
| **limit** | **Integer** | | [optional] |
|
|
839
|
-
| **limit_children** | **Integer** | | [optional] |
|
|
840
|
-
| **count_children** | **Boolean** | | [optional] |
|
|
841
|
-
| **fetch_page_for_comment_id** | **String** | | [optional] |
|
|
842
|
-
| **include_config** | **Boolean** | | [optional] |
|
|
843
|
-
| **count_all** | **Boolean** | | [optional] |
|
|
844
|
-
| **includei10n** | **Boolean** | | [optional] |
|
|
845
|
-
| **locale** | **String** | | [optional] |
|
|
846
|
-
| **modules** | **String** | | [optional] |
|
|
847
|
-
| **is_crawler** | **Boolean** | | [optional] |
|
|
848
|
-
| **include_notification_count** | **Boolean** | | [optional] |
|
|
849
|
-
| **as_tree** | **Boolean** | | [optional] |
|
|
850
|
-
| **max_tree_depth** | **Integer** | | [optional] |
|
|
851
|
-
| **use_full_translation_ids** | **Boolean** | | [optional] |
|
|
852
|
-
| **parent_id** | **String** | | [optional] |
|
|
853
|
-
| **search_text** | **String** | | [optional] |
|
|
854
|
-
| **hash_tags** | [**Array<String>**](String.md) | | [optional] |
|
|
855
|
-
| **user_id** | **String** | | [optional] |
|
|
856
|
-
| **custom_config_str** | **String** | | [optional] |
|
|
857
|
-
| **after_comment_id** | **String** | | [optional] |
|
|
858
|
-
| **before_comment_id** | **String** | | [optional] |
|
|
813
|
+
| **id** | **String** | | |
|
|
859
814
|
|
|
860
815
|
### Return type
|
|
861
816
|
|
|
862
|
-
[**
|
|
817
|
+
[**CreateV1PageReact**](CreateV1PageReact.md)
|
|
863
818
|
|
|
864
819
|
### Authorization
|
|
865
820
|
|
|
@@ -871,13 +826,11 @@ No authorization required
|
|
|
871
826
|
- **Accept**: application/json
|
|
872
827
|
|
|
873
828
|
|
|
874
|
-
##
|
|
875
|
-
|
|
876
|
-
> <GetEventLog200Response> get_event_log(tenant_id, url_id, user_id_ws, start_time, end_time)
|
|
829
|
+
## flag_comment_public
|
|
877
830
|
|
|
831
|
+
> <APIEmptyResponse> flag_comment_public(tenant_id, comment_id, is_flagged, opts)
|
|
878
832
|
|
|
879
833
|
|
|
880
|
-
req tenantId urlId userIdWS
|
|
881
834
|
|
|
882
835
|
### Examples
|
|
883
836
|
|
|
@@ -887,35 +840,36 @@ require 'fastcomments-client'
|
|
|
887
840
|
|
|
888
841
|
api_instance = FastCommentsClient::PublicApi.new
|
|
889
842
|
tenant_id = 'tenant_id_example' # String |
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
843
|
+
comment_id = 'comment_id_example' # String |
|
|
844
|
+
is_flagged = true # Boolean |
|
|
845
|
+
opts = {
|
|
846
|
+
sso: 'sso_example' # String |
|
|
847
|
+
}
|
|
894
848
|
|
|
895
849
|
begin
|
|
896
850
|
|
|
897
|
-
result = api_instance.
|
|
851
|
+
result = api_instance.flag_comment_public(tenant_id, comment_id, is_flagged, opts)
|
|
898
852
|
p result
|
|
899
853
|
rescue FastCommentsClient::ApiError => e
|
|
900
|
-
puts "Error when calling PublicApi->
|
|
854
|
+
puts "Error when calling PublicApi->flag_comment_public: #{e}"
|
|
901
855
|
end
|
|
902
856
|
```
|
|
903
857
|
|
|
904
|
-
#### Using the
|
|
858
|
+
#### Using the flag_comment_public_with_http_info variant
|
|
905
859
|
|
|
906
860
|
This returns an Array which contains the response data, status code and headers.
|
|
907
861
|
|
|
908
|
-
> <Array(<
|
|
862
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> flag_comment_public_with_http_info(tenant_id, comment_id, is_flagged, opts)
|
|
909
863
|
|
|
910
864
|
```ruby
|
|
911
865
|
begin
|
|
912
866
|
|
|
913
|
-
data, status_code, headers = api_instance.
|
|
867
|
+
data, status_code, headers = api_instance.flag_comment_public_with_http_info(tenant_id, comment_id, is_flagged, opts)
|
|
914
868
|
p status_code # => 2xx
|
|
915
869
|
p headers # => { ... }
|
|
916
|
-
p data # => <
|
|
870
|
+
p data # => <APIEmptyResponse>
|
|
917
871
|
rescue FastCommentsClient::ApiError => e
|
|
918
|
-
puts "Error when calling PublicApi->
|
|
872
|
+
puts "Error when calling PublicApi->flag_comment_public_with_http_info: #{e}"
|
|
919
873
|
end
|
|
920
874
|
```
|
|
921
875
|
|
|
@@ -924,14 +878,13 @@ end
|
|
|
924
878
|
| Name | Type | Description | Notes |
|
|
925
879
|
| ---- | ---- | ----------- | ----- |
|
|
926
880
|
| **tenant_id** | **String** | | |
|
|
927
|
-
| **
|
|
928
|
-
| **
|
|
929
|
-
| **
|
|
930
|
-
| **end_time** | **Integer** | | |
|
|
881
|
+
| **comment_id** | **String** | | |
|
|
882
|
+
| **is_flagged** | **Boolean** | | |
|
|
883
|
+
| **sso** | **String** | | [optional] |
|
|
931
884
|
|
|
932
885
|
### Return type
|
|
933
886
|
|
|
934
|
-
[**
|
|
887
|
+
[**APIEmptyResponse**](APIEmptyResponse.md)
|
|
935
888
|
|
|
936
889
|
### Authorization
|
|
937
890
|
|
|
@@ -943,13 +896,11 @@ No authorization required
|
|
|
943
896
|
- **Accept**: application/json
|
|
944
897
|
|
|
945
898
|
|
|
946
|
-
##
|
|
947
|
-
|
|
948
|
-
> <GetFeedPostsPublic200Response> get_feed_posts_public(tenant_id, opts)
|
|
899
|
+
## get_comment_text
|
|
949
900
|
|
|
901
|
+
> <PublicAPIGetCommentTextResponse> get_comment_text(tenant_id, comment_id, opts)
|
|
950
902
|
|
|
951
903
|
|
|
952
|
-
req tenantId afterId
|
|
953
904
|
|
|
954
905
|
### Examples
|
|
955
906
|
|
|
@@ -959,39 +910,36 @@ require 'fastcomments-client'
|
|
|
959
910
|
|
|
960
911
|
api_instance = FastCommentsClient::PublicApi.new
|
|
961
912
|
tenant_id = 'tenant_id_example' # String |
|
|
913
|
+
comment_id = 'comment_id_example' # String |
|
|
962
914
|
opts = {
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
tags: ['inner_example'], # Array<String> |
|
|
966
|
-
sso: 'sso_example', # String |
|
|
967
|
-
is_crawler: true, # Boolean |
|
|
968
|
-
include_user_info: true # Boolean |
|
|
915
|
+
edit_key: 'edit_key_example', # String |
|
|
916
|
+
sso: 'sso_example' # String |
|
|
969
917
|
}
|
|
970
918
|
|
|
971
919
|
begin
|
|
972
920
|
|
|
973
|
-
result = api_instance.
|
|
921
|
+
result = api_instance.get_comment_text(tenant_id, comment_id, opts)
|
|
974
922
|
p result
|
|
975
923
|
rescue FastCommentsClient::ApiError => e
|
|
976
|
-
puts "Error when calling PublicApi->
|
|
924
|
+
puts "Error when calling PublicApi->get_comment_text: #{e}"
|
|
977
925
|
end
|
|
978
926
|
```
|
|
979
927
|
|
|
980
|
-
#### Using the
|
|
928
|
+
#### Using the get_comment_text_with_http_info variant
|
|
981
929
|
|
|
982
930
|
This returns an Array which contains the response data, status code and headers.
|
|
983
931
|
|
|
984
|
-
> <Array(<
|
|
932
|
+
> <Array(<PublicAPIGetCommentTextResponse>, Integer, Hash)> get_comment_text_with_http_info(tenant_id, comment_id, opts)
|
|
985
933
|
|
|
986
934
|
```ruby
|
|
987
935
|
begin
|
|
988
936
|
|
|
989
|
-
data, status_code, headers = api_instance.
|
|
937
|
+
data, status_code, headers = api_instance.get_comment_text_with_http_info(tenant_id, comment_id, opts)
|
|
990
938
|
p status_code # => 2xx
|
|
991
939
|
p headers # => { ... }
|
|
992
|
-
p data # => <
|
|
940
|
+
p data # => <PublicAPIGetCommentTextResponse>
|
|
993
941
|
rescue FastCommentsClient::ApiError => e
|
|
994
|
-
puts "Error when calling PublicApi->
|
|
942
|
+
puts "Error when calling PublicApi->get_comment_text_with_http_info: #{e}"
|
|
995
943
|
end
|
|
996
944
|
```
|
|
997
945
|
|
|
@@ -1000,16 +948,13 @@ end
|
|
|
1000
948
|
| Name | Type | Description | Notes |
|
|
1001
949
|
| ---- | ---- | ----------- | ----- |
|
|
1002
950
|
| **tenant_id** | **String** | | |
|
|
1003
|
-
| **
|
|
1004
|
-
| **
|
|
1005
|
-
| **tags** | [**Array<String>**](String.md) | | [optional] |
|
|
951
|
+
| **comment_id** | **String** | | |
|
|
952
|
+
| **edit_key** | **String** | | [optional] |
|
|
1006
953
|
| **sso** | **String** | | [optional] |
|
|
1007
|
-
| **is_crawler** | **Boolean** | | [optional] |
|
|
1008
|
-
| **include_user_info** | **Boolean** | | [optional] |
|
|
1009
954
|
|
|
1010
955
|
### Return type
|
|
1011
956
|
|
|
1012
|
-
[**
|
|
957
|
+
[**PublicAPIGetCommentTextResponse**](PublicAPIGetCommentTextResponse.md)
|
|
1013
958
|
|
|
1014
959
|
### Authorization
|
|
1015
960
|
|
|
@@ -1021,9 +966,9 @@ No authorization required
|
|
|
1021
966
|
- **Accept**: application/json
|
|
1022
967
|
|
|
1023
968
|
|
|
1024
|
-
##
|
|
969
|
+
## get_comment_vote_user_names
|
|
1025
970
|
|
|
1026
|
-
> <
|
|
971
|
+
> <GetCommentVoteUserNamesSuccessResponse> get_comment_vote_user_names(tenant_id, comment_id, dir, opts)
|
|
1027
972
|
|
|
1028
973
|
|
|
1029
974
|
|
|
@@ -1035,35 +980,36 @@ require 'fastcomments-client'
|
|
|
1035
980
|
|
|
1036
981
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1037
982
|
tenant_id = 'tenant_id_example' # String |
|
|
1038
|
-
|
|
983
|
+
comment_id = 'comment_id_example' # String |
|
|
984
|
+
dir = 56 # Integer |
|
|
1039
985
|
opts = {
|
|
1040
986
|
sso: 'sso_example' # String |
|
|
1041
987
|
}
|
|
1042
988
|
|
|
1043
989
|
begin
|
|
1044
990
|
|
|
1045
|
-
result = api_instance.
|
|
991
|
+
result = api_instance.get_comment_vote_user_names(tenant_id, comment_id, dir, opts)
|
|
1046
992
|
p result
|
|
1047
993
|
rescue FastCommentsClient::ApiError => e
|
|
1048
|
-
puts "Error when calling PublicApi->
|
|
994
|
+
puts "Error when calling PublicApi->get_comment_vote_user_names: #{e}"
|
|
1049
995
|
end
|
|
1050
996
|
```
|
|
1051
997
|
|
|
1052
|
-
#### Using the
|
|
998
|
+
#### Using the get_comment_vote_user_names_with_http_info variant
|
|
1053
999
|
|
|
1054
1000
|
This returns an Array which contains the response data, status code and headers.
|
|
1055
1001
|
|
|
1056
|
-
> <Array(<
|
|
1002
|
+
> <Array(<GetCommentVoteUserNamesSuccessResponse>, Integer, Hash)> get_comment_vote_user_names_with_http_info(tenant_id, comment_id, dir, opts)
|
|
1057
1003
|
|
|
1058
1004
|
```ruby
|
|
1059
1005
|
begin
|
|
1060
1006
|
|
|
1061
|
-
data, status_code, headers = api_instance.
|
|
1007
|
+
data, status_code, headers = api_instance.get_comment_vote_user_names_with_http_info(tenant_id, comment_id, dir, opts)
|
|
1062
1008
|
p status_code # => 2xx
|
|
1063
1009
|
p headers # => { ... }
|
|
1064
|
-
p data # => <
|
|
1010
|
+
p data # => <GetCommentVoteUserNamesSuccessResponse>
|
|
1065
1011
|
rescue FastCommentsClient::ApiError => e
|
|
1066
|
-
puts "Error when calling PublicApi->
|
|
1012
|
+
puts "Error when calling PublicApi->get_comment_vote_user_names_with_http_info: #{e}"
|
|
1067
1013
|
end
|
|
1068
1014
|
```
|
|
1069
1015
|
|
|
@@ -1072,12 +1018,13 @@ end
|
|
|
1072
1018
|
| Name | Type | Description | Notes |
|
|
1073
1019
|
| ---- | ---- | ----------- | ----- |
|
|
1074
1020
|
| **tenant_id** | **String** | | |
|
|
1075
|
-
| **
|
|
1021
|
+
| **comment_id** | **String** | | |
|
|
1022
|
+
| **dir** | **Integer** | | |
|
|
1076
1023
|
| **sso** | **String** | | [optional] |
|
|
1077
1024
|
|
|
1078
1025
|
### Return type
|
|
1079
1026
|
|
|
1080
|
-
[**
|
|
1027
|
+
[**GetCommentVoteUserNamesSuccessResponse**](GetCommentVoteUserNamesSuccessResponse.md)
|
|
1081
1028
|
|
|
1082
1029
|
### Authorization
|
|
1083
1030
|
|
|
@@ -1089,13 +1036,11 @@ No authorization required
|
|
|
1089
1036
|
- **Accept**: application/json
|
|
1090
1037
|
|
|
1091
1038
|
|
|
1092
|
-
##
|
|
1093
|
-
|
|
1094
|
-
> <GetEventLog200Response> get_global_event_log(tenant_id, url_id, user_id_ws, start_time, end_time)
|
|
1039
|
+
## get_comments_for_user
|
|
1095
1040
|
|
|
1041
|
+
> <GetCommentsForUserResponse> get_comments_for_user(opts)
|
|
1096
1042
|
|
|
1097
1043
|
|
|
1098
|
-
req tenantId urlId userIdWS
|
|
1099
1044
|
|
|
1100
1045
|
### Examples
|
|
1101
1046
|
|
|
@@ -1104,36 +1049,1097 @@ require 'time'
|
|
|
1104
1049
|
require 'fastcomments-client'
|
|
1105
1050
|
|
|
1106
1051
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1107
|
-
|
|
1108
|
-
|
|
1109
|
-
|
|
1110
|
-
|
|
1111
|
-
|
|
1112
|
-
|
|
1052
|
+
opts = {
|
|
1053
|
+
user_id: 'user_id_example', # String |
|
|
1054
|
+
direction: FastCommentsClient::SortDirections::OF, # SortDirections |
|
|
1055
|
+
replies_to_user_id: 'replies_to_user_id_example', # String |
|
|
1056
|
+
page: 1.2, # Float |
|
|
1057
|
+
includei10n: true, # Boolean |
|
|
1058
|
+
locale: 'locale_example', # String |
|
|
1059
|
+
is_crawler: true # Boolean |
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
begin
|
|
1063
|
+
|
|
1064
|
+
result = api_instance.get_comments_for_user(opts)
|
|
1065
|
+
p result
|
|
1066
|
+
rescue FastCommentsClient::ApiError => e
|
|
1067
|
+
puts "Error when calling PublicApi->get_comments_for_user: #{e}"
|
|
1068
|
+
end
|
|
1069
|
+
```
|
|
1070
|
+
|
|
1071
|
+
#### Using the get_comments_for_user_with_http_info variant
|
|
1072
|
+
|
|
1073
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1074
|
+
|
|
1075
|
+
> <Array(<GetCommentsForUserResponse>, Integer, Hash)> get_comments_for_user_with_http_info(opts)
|
|
1076
|
+
|
|
1077
|
+
```ruby
|
|
1078
|
+
begin
|
|
1079
|
+
|
|
1080
|
+
data, status_code, headers = api_instance.get_comments_for_user_with_http_info(opts)
|
|
1081
|
+
p status_code # => 2xx
|
|
1082
|
+
p headers # => { ... }
|
|
1083
|
+
p data # => <GetCommentsForUserResponse>
|
|
1084
|
+
rescue FastCommentsClient::ApiError => e
|
|
1085
|
+
puts "Error when calling PublicApi->get_comments_for_user_with_http_info: #{e}"
|
|
1086
|
+
end
|
|
1087
|
+
```
|
|
1088
|
+
|
|
1089
|
+
### Parameters
|
|
1090
|
+
|
|
1091
|
+
| Name | Type | Description | Notes |
|
|
1092
|
+
| ---- | ---- | ----------- | ----- |
|
|
1093
|
+
| **user_id** | **String** | | [optional] |
|
|
1094
|
+
| **direction** | [**SortDirections**](.md) | | [optional] |
|
|
1095
|
+
| **replies_to_user_id** | **String** | | [optional] |
|
|
1096
|
+
| **page** | **Float** | | [optional] |
|
|
1097
|
+
| **includei10n** | **Boolean** | | [optional] |
|
|
1098
|
+
| **locale** | **String** | | [optional] |
|
|
1099
|
+
| **is_crawler** | **Boolean** | | [optional] |
|
|
1100
|
+
|
|
1101
|
+
### Return type
|
|
1102
|
+
|
|
1103
|
+
[**GetCommentsForUserResponse**](GetCommentsForUserResponse.md)
|
|
1104
|
+
|
|
1105
|
+
### Authorization
|
|
1106
|
+
|
|
1107
|
+
No authorization required
|
|
1108
|
+
|
|
1109
|
+
### HTTP request headers
|
|
1110
|
+
|
|
1111
|
+
- **Content-Type**: Not defined
|
|
1112
|
+
- **Accept**: application/json
|
|
1113
|
+
|
|
1114
|
+
|
|
1115
|
+
## get_comments_public
|
|
1116
|
+
|
|
1117
|
+
> <GetCommentsResponseWithPresencePublicComment> get_comments_public(tenant_id, url_id, opts)
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
|
|
1121
|
+
req tenantId urlId
|
|
1122
|
+
|
|
1123
|
+
### Examples
|
|
1124
|
+
|
|
1125
|
+
```ruby
|
|
1126
|
+
require 'time'
|
|
1127
|
+
require 'fastcomments-client'
|
|
1128
|
+
|
|
1129
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
1130
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1131
|
+
url_id = 'url_id_example' # String |
|
|
1132
|
+
opts = {
|
|
1133
|
+
page: 56, # Integer |
|
|
1134
|
+
direction: FastCommentsClient::SortDirections::OF, # SortDirections |
|
|
1135
|
+
sso: 'sso_example', # String |
|
|
1136
|
+
skip: 56, # Integer |
|
|
1137
|
+
skip_children: 56, # Integer |
|
|
1138
|
+
limit: 56, # Integer |
|
|
1139
|
+
limit_children: 56, # Integer |
|
|
1140
|
+
count_children: true, # Boolean |
|
|
1141
|
+
fetch_page_for_comment_id: 'fetch_page_for_comment_id_example', # String |
|
|
1142
|
+
include_config: true, # Boolean |
|
|
1143
|
+
count_all: true, # Boolean |
|
|
1144
|
+
includei10n: true, # Boolean |
|
|
1145
|
+
locale: 'locale_example', # String |
|
|
1146
|
+
modules: 'modules_example', # String |
|
|
1147
|
+
is_crawler: true, # Boolean |
|
|
1148
|
+
include_notification_count: true, # Boolean |
|
|
1149
|
+
as_tree: true, # Boolean |
|
|
1150
|
+
max_tree_depth: 56, # Integer |
|
|
1151
|
+
use_full_translation_ids: true, # Boolean |
|
|
1152
|
+
parent_id: 'parent_id_example', # String |
|
|
1153
|
+
search_text: 'search_text_example', # String |
|
|
1154
|
+
hash_tags: ['inner_example'], # Array<String> |
|
|
1155
|
+
user_id: 'user_id_example', # String |
|
|
1156
|
+
custom_config_str: 'custom_config_str_example', # String |
|
|
1157
|
+
after_comment_id: 'after_comment_id_example', # String |
|
|
1158
|
+
before_comment_id: 'before_comment_id_example' # String |
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
begin
|
|
1162
|
+
|
|
1163
|
+
result = api_instance.get_comments_public(tenant_id, url_id, opts)
|
|
1164
|
+
p result
|
|
1165
|
+
rescue FastCommentsClient::ApiError => e
|
|
1166
|
+
puts "Error when calling PublicApi->get_comments_public: #{e}"
|
|
1167
|
+
end
|
|
1168
|
+
```
|
|
1169
|
+
|
|
1170
|
+
#### Using the get_comments_public_with_http_info variant
|
|
1171
|
+
|
|
1172
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1173
|
+
|
|
1174
|
+
> <Array(<GetCommentsResponseWithPresencePublicComment>, Integer, Hash)> get_comments_public_with_http_info(tenant_id, url_id, opts)
|
|
1175
|
+
|
|
1176
|
+
```ruby
|
|
1177
|
+
begin
|
|
1178
|
+
|
|
1179
|
+
data, status_code, headers = api_instance.get_comments_public_with_http_info(tenant_id, url_id, opts)
|
|
1180
|
+
p status_code # => 2xx
|
|
1181
|
+
p headers # => { ... }
|
|
1182
|
+
p data # => <GetCommentsResponseWithPresencePublicComment>
|
|
1183
|
+
rescue FastCommentsClient::ApiError => e
|
|
1184
|
+
puts "Error when calling PublicApi->get_comments_public_with_http_info: #{e}"
|
|
1185
|
+
end
|
|
1186
|
+
```
|
|
1187
|
+
|
|
1188
|
+
### Parameters
|
|
1189
|
+
|
|
1190
|
+
| Name | Type | Description | Notes |
|
|
1191
|
+
| ---- | ---- | ----------- | ----- |
|
|
1192
|
+
| **tenant_id** | **String** | | |
|
|
1193
|
+
| **url_id** | **String** | | |
|
|
1194
|
+
| **page** | **Integer** | | [optional] |
|
|
1195
|
+
| **direction** | [**SortDirections**](.md) | | [optional] |
|
|
1196
|
+
| **sso** | **String** | | [optional] |
|
|
1197
|
+
| **skip** | **Integer** | | [optional] |
|
|
1198
|
+
| **skip_children** | **Integer** | | [optional] |
|
|
1199
|
+
| **limit** | **Integer** | | [optional] |
|
|
1200
|
+
| **limit_children** | **Integer** | | [optional] |
|
|
1201
|
+
| **count_children** | **Boolean** | | [optional] |
|
|
1202
|
+
| **fetch_page_for_comment_id** | **String** | | [optional] |
|
|
1203
|
+
| **include_config** | **Boolean** | | [optional] |
|
|
1204
|
+
| **count_all** | **Boolean** | | [optional] |
|
|
1205
|
+
| **includei10n** | **Boolean** | | [optional] |
|
|
1206
|
+
| **locale** | **String** | | [optional] |
|
|
1207
|
+
| **modules** | **String** | | [optional] |
|
|
1208
|
+
| **is_crawler** | **Boolean** | | [optional] |
|
|
1209
|
+
| **include_notification_count** | **Boolean** | | [optional] |
|
|
1210
|
+
| **as_tree** | **Boolean** | | [optional] |
|
|
1211
|
+
| **max_tree_depth** | **Integer** | | [optional] |
|
|
1212
|
+
| **use_full_translation_ids** | **Boolean** | | [optional] |
|
|
1213
|
+
| **parent_id** | **String** | | [optional] |
|
|
1214
|
+
| **search_text** | **String** | | [optional] |
|
|
1215
|
+
| **hash_tags** | [**Array<String>**](String.md) | | [optional] |
|
|
1216
|
+
| **user_id** | **String** | | [optional] |
|
|
1217
|
+
| **custom_config_str** | **String** | | [optional] |
|
|
1218
|
+
| **after_comment_id** | **String** | | [optional] |
|
|
1219
|
+
| **before_comment_id** | **String** | | [optional] |
|
|
1220
|
+
|
|
1221
|
+
### Return type
|
|
1222
|
+
|
|
1223
|
+
[**GetCommentsResponseWithPresencePublicComment**](GetCommentsResponseWithPresencePublicComment.md)
|
|
1224
|
+
|
|
1225
|
+
### Authorization
|
|
1226
|
+
|
|
1227
|
+
No authorization required
|
|
1228
|
+
|
|
1229
|
+
### HTTP request headers
|
|
1230
|
+
|
|
1231
|
+
- **Content-Type**: Not defined
|
|
1232
|
+
- **Accept**: application/json
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
## get_event_log
|
|
1236
|
+
|
|
1237
|
+
> <GetEventLogResponse> get_event_log(tenant_id, url_id, user_id_ws, start_time, opts)
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
req tenantId urlId userIdWS
|
|
1242
|
+
|
|
1243
|
+
### Examples
|
|
1244
|
+
|
|
1245
|
+
```ruby
|
|
1246
|
+
require 'time'
|
|
1247
|
+
require 'fastcomments-client'
|
|
1248
|
+
|
|
1249
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
1250
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1251
|
+
url_id = 'url_id_example' # String |
|
|
1252
|
+
user_id_ws = 'user_id_ws_example' # String |
|
|
1253
|
+
start_time = 789 # Integer |
|
|
1254
|
+
opts = {
|
|
1255
|
+
end_time: 789 # Integer |
|
|
1256
|
+
}
|
|
1257
|
+
|
|
1258
|
+
begin
|
|
1259
|
+
|
|
1260
|
+
result = api_instance.get_event_log(tenant_id, url_id, user_id_ws, start_time, opts)
|
|
1261
|
+
p result
|
|
1262
|
+
rescue FastCommentsClient::ApiError => e
|
|
1263
|
+
puts "Error when calling PublicApi->get_event_log: #{e}"
|
|
1264
|
+
end
|
|
1265
|
+
```
|
|
1266
|
+
|
|
1267
|
+
#### Using the get_event_log_with_http_info variant
|
|
1268
|
+
|
|
1269
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1270
|
+
|
|
1271
|
+
> <Array(<GetEventLogResponse>, Integer, Hash)> get_event_log_with_http_info(tenant_id, url_id, user_id_ws, start_time, opts)
|
|
1272
|
+
|
|
1273
|
+
```ruby
|
|
1274
|
+
begin
|
|
1275
|
+
|
|
1276
|
+
data, status_code, headers = api_instance.get_event_log_with_http_info(tenant_id, url_id, user_id_ws, start_time, opts)
|
|
1277
|
+
p status_code # => 2xx
|
|
1278
|
+
p headers # => { ... }
|
|
1279
|
+
p data # => <GetEventLogResponse>
|
|
1280
|
+
rescue FastCommentsClient::ApiError => e
|
|
1281
|
+
puts "Error when calling PublicApi->get_event_log_with_http_info: #{e}"
|
|
1282
|
+
end
|
|
1283
|
+
```
|
|
1284
|
+
|
|
1285
|
+
### Parameters
|
|
1286
|
+
|
|
1287
|
+
| Name | Type | Description | Notes |
|
|
1288
|
+
| ---- | ---- | ----------- | ----- |
|
|
1289
|
+
| **tenant_id** | **String** | | |
|
|
1290
|
+
| **url_id** | **String** | | |
|
|
1291
|
+
| **user_id_ws** | **String** | | |
|
|
1292
|
+
| **start_time** | **Integer** | | |
|
|
1293
|
+
| **end_time** | **Integer** | | [optional] |
|
|
1294
|
+
|
|
1295
|
+
### Return type
|
|
1296
|
+
|
|
1297
|
+
[**GetEventLogResponse**](GetEventLogResponse.md)
|
|
1298
|
+
|
|
1299
|
+
### Authorization
|
|
1300
|
+
|
|
1301
|
+
No authorization required
|
|
1302
|
+
|
|
1303
|
+
### HTTP request headers
|
|
1304
|
+
|
|
1305
|
+
- **Content-Type**: Not defined
|
|
1306
|
+
- **Accept**: application/json
|
|
1307
|
+
|
|
1308
|
+
|
|
1309
|
+
## get_feed_posts_public
|
|
1310
|
+
|
|
1311
|
+
> <PublicFeedPostsResponse> get_feed_posts_public(tenant_id, opts)
|
|
1312
|
+
|
|
1313
|
+
|
|
1314
|
+
|
|
1315
|
+
req tenantId afterId
|
|
1316
|
+
|
|
1317
|
+
### Examples
|
|
1318
|
+
|
|
1319
|
+
```ruby
|
|
1320
|
+
require 'time'
|
|
1321
|
+
require 'fastcomments-client'
|
|
1322
|
+
|
|
1323
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
1324
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1325
|
+
opts = {
|
|
1326
|
+
after_id: 'after_id_example', # String |
|
|
1327
|
+
limit: 56, # Integer |
|
|
1328
|
+
tags: ['inner_example'], # Array<String> |
|
|
1329
|
+
sso: 'sso_example', # String |
|
|
1330
|
+
is_crawler: true, # Boolean |
|
|
1331
|
+
include_user_info: true # Boolean |
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
begin
|
|
1335
|
+
|
|
1336
|
+
result = api_instance.get_feed_posts_public(tenant_id, opts)
|
|
1337
|
+
p result
|
|
1338
|
+
rescue FastCommentsClient::ApiError => e
|
|
1339
|
+
puts "Error when calling PublicApi->get_feed_posts_public: #{e}"
|
|
1340
|
+
end
|
|
1341
|
+
```
|
|
1342
|
+
|
|
1343
|
+
#### Using the get_feed_posts_public_with_http_info variant
|
|
1344
|
+
|
|
1345
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1346
|
+
|
|
1347
|
+
> <Array(<PublicFeedPostsResponse>, Integer, Hash)> get_feed_posts_public_with_http_info(tenant_id, opts)
|
|
1348
|
+
|
|
1349
|
+
```ruby
|
|
1350
|
+
begin
|
|
1351
|
+
|
|
1352
|
+
data, status_code, headers = api_instance.get_feed_posts_public_with_http_info(tenant_id, opts)
|
|
1353
|
+
p status_code # => 2xx
|
|
1354
|
+
p headers # => { ... }
|
|
1355
|
+
p data # => <PublicFeedPostsResponse>
|
|
1356
|
+
rescue FastCommentsClient::ApiError => e
|
|
1357
|
+
puts "Error when calling PublicApi->get_feed_posts_public_with_http_info: #{e}"
|
|
1358
|
+
end
|
|
1359
|
+
```
|
|
1360
|
+
|
|
1361
|
+
### Parameters
|
|
1362
|
+
|
|
1363
|
+
| Name | Type | Description | Notes |
|
|
1364
|
+
| ---- | ---- | ----------- | ----- |
|
|
1365
|
+
| **tenant_id** | **String** | | |
|
|
1366
|
+
| **after_id** | **String** | | [optional] |
|
|
1367
|
+
| **limit** | **Integer** | | [optional] |
|
|
1368
|
+
| **tags** | [**Array<String>**](String.md) | | [optional] |
|
|
1369
|
+
| **sso** | **String** | | [optional] |
|
|
1370
|
+
| **is_crawler** | **Boolean** | | [optional] |
|
|
1371
|
+
| **include_user_info** | **Boolean** | | [optional] |
|
|
1372
|
+
|
|
1373
|
+
### Return type
|
|
1374
|
+
|
|
1375
|
+
[**PublicFeedPostsResponse**](PublicFeedPostsResponse.md)
|
|
1376
|
+
|
|
1377
|
+
### Authorization
|
|
1378
|
+
|
|
1379
|
+
No authorization required
|
|
1380
|
+
|
|
1381
|
+
### HTTP request headers
|
|
1382
|
+
|
|
1383
|
+
- **Content-Type**: Not defined
|
|
1384
|
+
- **Accept**: application/json
|
|
1385
|
+
|
|
1386
|
+
|
|
1387
|
+
## get_feed_posts_stats
|
|
1388
|
+
|
|
1389
|
+
> <FeedPostsStatsResponse> get_feed_posts_stats(tenant_id, post_ids, opts)
|
|
1390
|
+
|
|
1391
|
+
|
|
1392
|
+
|
|
1393
|
+
### Examples
|
|
1394
|
+
|
|
1395
|
+
```ruby
|
|
1396
|
+
require 'time'
|
|
1397
|
+
require 'fastcomments-client'
|
|
1398
|
+
|
|
1399
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
1400
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1401
|
+
post_ids = ['inner_example'] # Array<String> |
|
|
1402
|
+
opts = {
|
|
1403
|
+
sso: 'sso_example' # String |
|
|
1404
|
+
}
|
|
1405
|
+
|
|
1406
|
+
begin
|
|
1407
|
+
|
|
1408
|
+
result = api_instance.get_feed_posts_stats(tenant_id, post_ids, opts)
|
|
1409
|
+
p result
|
|
1410
|
+
rescue FastCommentsClient::ApiError => e
|
|
1411
|
+
puts "Error when calling PublicApi->get_feed_posts_stats: #{e}"
|
|
1412
|
+
end
|
|
1413
|
+
```
|
|
1414
|
+
|
|
1415
|
+
#### Using the get_feed_posts_stats_with_http_info variant
|
|
1416
|
+
|
|
1417
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1418
|
+
|
|
1419
|
+
> <Array(<FeedPostsStatsResponse>, Integer, Hash)> get_feed_posts_stats_with_http_info(tenant_id, post_ids, opts)
|
|
1420
|
+
|
|
1421
|
+
```ruby
|
|
1422
|
+
begin
|
|
1423
|
+
|
|
1424
|
+
data, status_code, headers = api_instance.get_feed_posts_stats_with_http_info(tenant_id, post_ids, opts)
|
|
1425
|
+
p status_code # => 2xx
|
|
1426
|
+
p headers # => { ... }
|
|
1427
|
+
p data # => <FeedPostsStatsResponse>
|
|
1428
|
+
rescue FastCommentsClient::ApiError => e
|
|
1429
|
+
puts "Error when calling PublicApi->get_feed_posts_stats_with_http_info: #{e}"
|
|
1430
|
+
end
|
|
1431
|
+
```
|
|
1432
|
+
|
|
1433
|
+
### Parameters
|
|
1434
|
+
|
|
1435
|
+
| Name | Type | Description | Notes |
|
|
1436
|
+
| ---- | ---- | ----------- | ----- |
|
|
1437
|
+
| **tenant_id** | **String** | | |
|
|
1438
|
+
| **post_ids** | [**Array<String>**](String.md) | | |
|
|
1439
|
+
| **sso** | **String** | | [optional] |
|
|
1440
|
+
|
|
1441
|
+
### Return type
|
|
1442
|
+
|
|
1443
|
+
[**FeedPostsStatsResponse**](FeedPostsStatsResponse.md)
|
|
1444
|
+
|
|
1445
|
+
### Authorization
|
|
1446
|
+
|
|
1447
|
+
No authorization required
|
|
1448
|
+
|
|
1449
|
+
### HTTP request headers
|
|
1450
|
+
|
|
1451
|
+
- **Content-Type**: Not defined
|
|
1452
|
+
- **Accept**: application/json
|
|
1453
|
+
|
|
1454
|
+
|
|
1455
|
+
## get_gif_large
|
|
1456
|
+
|
|
1457
|
+
> <GifGetLargeResponse> get_gif_large(tenant_id, large_internal_url_sanitized)
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
### Examples
|
|
1462
|
+
|
|
1463
|
+
```ruby
|
|
1464
|
+
require 'time'
|
|
1465
|
+
require 'fastcomments-client'
|
|
1466
|
+
|
|
1467
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
1468
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1469
|
+
large_internal_url_sanitized = 'large_internal_url_sanitized_example' # String |
|
|
1470
|
+
|
|
1471
|
+
begin
|
|
1472
|
+
|
|
1473
|
+
result = api_instance.get_gif_large(tenant_id, large_internal_url_sanitized)
|
|
1474
|
+
p result
|
|
1475
|
+
rescue FastCommentsClient::ApiError => e
|
|
1476
|
+
puts "Error when calling PublicApi->get_gif_large: #{e}"
|
|
1477
|
+
end
|
|
1478
|
+
```
|
|
1479
|
+
|
|
1480
|
+
#### Using the get_gif_large_with_http_info variant
|
|
1481
|
+
|
|
1482
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1483
|
+
|
|
1484
|
+
> <Array(<GifGetLargeResponse>, Integer, Hash)> get_gif_large_with_http_info(tenant_id, large_internal_url_sanitized)
|
|
1485
|
+
|
|
1486
|
+
```ruby
|
|
1487
|
+
begin
|
|
1488
|
+
|
|
1489
|
+
data, status_code, headers = api_instance.get_gif_large_with_http_info(tenant_id, large_internal_url_sanitized)
|
|
1490
|
+
p status_code # => 2xx
|
|
1491
|
+
p headers # => { ... }
|
|
1492
|
+
p data # => <GifGetLargeResponse>
|
|
1493
|
+
rescue FastCommentsClient::ApiError => e
|
|
1494
|
+
puts "Error when calling PublicApi->get_gif_large_with_http_info: #{e}"
|
|
1495
|
+
end
|
|
1496
|
+
```
|
|
1497
|
+
|
|
1498
|
+
### Parameters
|
|
1499
|
+
|
|
1500
|
+
| Name | Type | Description | Notes |
|
|
1501
|
+
| ---- | ---- | ----------- | ----- |
|
|
1502
|
+
| **tenant_id** | **String** | | |
|
|
1503
|
+
| **large_internal_url_sanitized** | **String** | | |
|
|
1504
|
+
|
|
1505
|
+
### Return type
|
|
1506
|
+
|
|
1507
|
+
[**GifGetLargeResponse**](GifGetLargeResponse.md)
|
|
1508
|
+
|
|
1509
|
+
### Authorization
|
|
1510
|
+
|
|
1511
|
+
No authorization required
|
|
1512
|
+
|
|
1513
|
+
### HTTP request headers
|
|
1514
|
+
|
|
1515
|
+
- **Content-Type**: Not defined
|
|
1516
|
+
- **Accept**: application/json
|
|
1517
|
+
|
|
1518
|
+
|
|
1519
|
+
## get_gifs_search
|
|
1520
|
+
|
|
1521
|
+
> <GetGifsSearchResponse> get_gifs_search(tenant_id, search, opts)
|
|
1522
|
+
|
|
1523
|
+
|
|
1524
|
+
|
|
1525
|
+
### Examples
|
|
1526
|
+
|
|
1527
|
+
```ruby
|
|
1528
|
+
require 'time'
|
|
1529
|
+
require 'fastcomments-client'
|
|
1530
|
+
|
|
1531
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
1532
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1533
|
+
search = 'search_example' # String |
|
|
1534
|
+
opts = {
|
|
1535
|
+
locale: 'locale_example', # String |
|
|
1536
|
+
rating: 'rating_example', # String |
|
|
1537
|
+
page: 1.2 # Float |
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
begin
|
|
1541
|
+
|
|
1542
|
+
result = api_instance.get_gifs_search(tenant_id, search, opts)
|
|
1543
|
+
p result
|
|
1544
|
+
rescue FastCommentsClient::ApiError => e
|
|
1545
|
+
puts "Error when calling PublicApi->get_gifs_search: #{e}"
|
|
1546
|
+
end
|
|
1547
|
+
```
|
|
1548
|
+
|
|
1549
|
+
#### Using the get_gifs_search_with_http_info variant
|
|
1550
|
+
|
|
1551
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1552
|
+
|
|
1553
|
+
> <Array(<GetGifsSearchResponse>, Integer, Hash)> get_gifs_search_with_http_info(tenant_id, search, opts)
|
|
1554
|
+
|
|
1555
|
+
```ruby
|
|
1556
|
+
begin
|
|
1557
|
+
|
|
1558
|
+
data, status_code, headers = api_instance.get_gifs_search_with_http_info(tenant_id, search, opts)
|
|
1559
|
+
p status_code # => 2xx
|
|
1560
|
+
p headers # => { ... }
|
|
1561
|
+
p data # => <GetGifsSearchResponse>
|
|
1562
|
+
rescue FastCommentsClient::ApiError => e
|
|
1563
|
+
puts "Error when calling PublicApi->get_gifs_search_with_http_info: #{e}"
|
|
1564
|
+
end
|
|
1565
|
+
```
|
|
1566
|
+
|
|
1567
|
+
### Parameters
|
|
1568
|
+
|
|
1569
|
+
| Name | Type | Description | Notes |
|
|
1570
|
+
| ---- | ---- | ----------- | ----- |
|
|
1571
|
+
| **tenant_id** | **String** | | |
|
|
1572
|
+
| **search** | **String** | | |
|
|
1573
|
+
| **locale** | **String** | | [optional] |
|
|
1574
|
+
| **rating** | **String** | | [optional] |
|
|
1575
|
+
| **page** | **Float** | | [optional] |
|
|
1576
|
+
|
|
1577
|
+
### Return type
|
|
1578
|
+
|
|
1579
|
+
[**GetGifsSearchResponse**](GetGifsSearchResponse.md)
|
|
1580
|
+
|
|
1581
|
+
### Authorization
|
|
1582
|
+
|
|
1583
|
+
No authorization required
|
|
1584
|
+
|
|
1585
|
+
### HTTP request headers
|
|
1586
|
+
|
|
1587
|
+
- **Content-Type**: Not defined
|
|
1588
|
+
- **Accept**: application/json
|
|
1589
|
+
|
|
1590
|
+
|
|
1591
|
+
## get_gifs_trending
|
|
1592
|
+
|
|
1593
|
+
> <GetGifsTrendingResponse> get_gifs_trending(tenant_id, opts)
|
|
1594
|
+
|
|
1595
|
+
|
|
1596
|
+
|
|
1597
|
+
### Examples
|
|
1598
|
+
|
|
1599
|
+
```ruby
|
|
1600
|
+
require 'time'
|
|
1601
|
+
require 'fastcomments-client'
|
|
1602
|
+
|
|
1603
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
1604
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1605
|
+
opts = {
|
|
1606
|
+
locale: 'locale_example', # String |
|
|
1607
|
+
rating: 'rating_example', # String |
|
|
1608
|
+
page: 1.2 # Float |
|
|
1609
|
+
}
|
|
1610
|
+
|
|
1611
|
+
begin
|
|
1612
|
+
|
|
1613
|
+
result = api_instance.get_gifs_trending(tenant_id, opts)
|
|
1614
|
+
p result
|
|
1615
|
+
rescue FastCommentsClient::ApiError => e
|
|
1616
|
+
puts "Error when calling PublicApi->get_gifs_trending: #{e}"
|
|
1617
|
+
end
|
|
1618
|
+
```
|
|
1619
|
+
|
|
1620
|
+
#### Using the get_gifs_trending_with_http_info variant
|
|
1621
|
+
|
|
1622
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1623
|
+
|
|
1624
|
+
> <Array(<GetGifsTrendingResponse>, Integer, Hash)> get_gifs_trending_with_http_info(tenant_id, opts)
|
|
1625
|
+
|
|
1626
|
+
```ruby
|
|
1627
|
+
begin
|
|
1628
|
+
|
|
1629
|
+
data, status_code, headers = api_instance.get_gifs_trending_with_http_info(tenant_id, opts)
|
|
1630
|
+
p status_code # => 2xx
|
|
1631
|
+
p headers # => { ... }
|
|
1632
|
+
p data # => <GetGifsTrendingResponse>
|
|
1633
|
+
rescue FastCommentsClient::ApiError => e
|
|
1634
|
+
puts "Error when calling PublicApi->get_gifs_trending_with_http_info: #{e}"
|
|
1635
|
+
end
|
|
1636
|
+
```
|
|
1637
|
+
|
|
1638
|
+
### Parameters
|
|
1639
|
+
|
|
1640
|
+
| Name | Type | Description | Notes |
|
|
1641
|
+
| ---- | ---- | ----------- | ----- |
|
|
1642
|
+
| **tenant_id** | **String** | | |
|
|
1643
|
+
| **locale** | **String** | | [optional] |
|
|
1644
|
+
| **rating** | **String** | | [optional] |
|
|
1645
|
+
| **page** | **Float** | | [optional] |
|
|
1646
|
+
|
|
1647
|
+
### Return type
|
|
1648
|
+
|
|
1649
|
+
[**GetGifsTrendingResponse**](GetGifsTrendingResponse.md)
|
|
1650
|
+
|
|
1651
|
+
### Authorization
|
|
1652
|
+
|
|
1653
|
+
No authorization required
|
|
1654
|
+
|
|
1655
|
+
### HTTP request headers
|
|
1656
|
+
|
|
1657
|
+
- **Content-Type**: Not defined
|
|
1658
|
+
- **Accept**: application/json
|
|
1659
|
+
|
|
1660
|
+
|
|
1661
|
+
## get_global_event_log
|
|
1662
|
+
|
|
1663
|
+
> <GetEventLogResponse> get_global_event_log(tenant_id, url_id, user_id_ws, start_time, opts)
|
|
1664
|
+
|
|
1665
|
+
|
|
1666
|
+
|
|
1667
|
+
req tenantId urlId userIdWS
|
|
1668
|
+
|
|
1669
|
+
### Examples
|
|
1670
|
+
|
|
1671
|
+
```ruby
|
|
1672
|
+
require 'time'
|
|
1673
|
+
require 'fastcomments-client'
|
|
1674
|
+
|
|
1675
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
1676
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1677
|
+
url_id = 'url_id_example' # String |
|
|
1678
|
+
user_id_ws = 'user_id_ws_example' # String |
|
|
1679
|
+
start_time = 789 # Integer |
|
|
1680
|
+
opts = {
|
|
1681
|
+
end_time: 789 # Integer |
|
|
1682
|
+
}
|
|
1683
|
+
|
|
1684
|
+
begin
|
|
1685
|
+
|
|
1686
|
+
result = api_instance.get_global_event_log(tenant_id, url_id, user_id_ws, start_time, opts)
|
|
1687
|
+
p result
|
|
1688
|
+
rescue FastCommentsClient::ApiError => e
|
|
1689
|
+
puts "Error when calling PublicApi->get_global_event_log: #{e}"
|
|
1690
|
+
end
|
|
1691
|
+
```
|
|
1692
|
+
|
|
1693
|
+
#### Using the get_global_event_log_with_http_info variant
|
|
1694
|
+
|
|
1695
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1696
|
+
|
|
1697
|
+
> <Array(<GetEventLogResponse>, Integer, Hash)> get_global_event_log_with_http_info(tenant_id, url_id, user_id_ws, start_time, opts)
|
|
1698
|
+
|
|
1699
|
+
```ruby
|
|
1700
|
+
begin
|
|
1701
|
+
|
|
1702
|
+
data, status_code, headers = api_instance.get_global_event_log_with_http_info(tenant_id, url_id, user_id_ws, start_time, opts)
|
|
1703
|
+
p status_code # => 2xx
|
|
1704
|
+
p headers # => { ... }
|
|
1705
|
+
p data # => <GetEventLogResponse>
|
|
1706
|
+
rescue FastCommentsClient::ApiError => e
|
|
1707
|
+
puts "Error when calling PublicApi->get_global_event_log_with_http_info: #{e}"
|
|
1708
|
+
end
|
|
1709
|
+
```
|
|
1710
|
+
|
|
1711
|
+
### Parameters
|
|
1712
|
+
|
|
1713
|
+
| Name | Type | Description | Notes |
|
|
1714
|
+
| ---- | ---- | ----------- | ----- |
|
|
1715
|
+
| **tenant_id** | **String** | | |
|
|
1716
|
+
| **url_id** | **String** | | |
|
|
1717
|
+
| **user_id_ws** | **String** | | |
|
|
1718
|
+
| **start_time** | **Integer** | | |
|
|
1719
|
+
| **end_time** | **Integer** | | [optional] |
|
|
1720
|
+
|
|
1721
|
+
### Return type
|
|
1722
|
+
|
|
1723
|
+
[**GetEventLogResponse**](GetEventLogResponse.md)
|
|
1724
|
+
|
|
1725
|
+
### Authorization
|
|
1726
|
+
|
|
1727
|
+
No authorization required
|
|
1728
|
+
|
|
1729
|
+
### HTTP request headers
|
|
1730
|
+
|
|
1731
|
+
- **Content-Type**: Not defined
|
|
1732
|
+
- **Accept**: application/json
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
## get_offline_users
|
|
1736
|
+
|
|
1737
|
+
> <PageUsersOfflineResponse> get_offline_users(tenant_id, url_id, opts)
|
|
1738
|
+
|
|
1739
|
+
|
|
1740
|
+
|
|
1741
|
+
Past commenters on the page who are NOT currently online. Sorted by displayName. Use this after exhausting /users/online to render a \"Members\" section. Cursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName} index from afterName forward via $gt, no $skip cost.
|
|
1742
|
+
|
|
1743
|
+
### Examples
|
|
1744
|
+
|
|
1745
|
+
```ruby
|
|
1746
|
+
require 'time'
|
|
1747
|
+
require 'fastcomments-client'
|
|
1748
|
+
|
|
1749
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
1750
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1751
|
+
url_id = 'url_id_example' # String | Page URL identifier (cleaned server-side).
|
|
1752
|
+
opts = {
|
|
1753
|
+
after_name: 'after_name_example', # String | Cursor: pass nextAfterName from the previous response.
|
|
1754
|
+
after_user_id: 'after_user_id_example' # String | Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries.
|
|
1755
|
+
}
|
|
1756
|
+
|
|
1757
|
+
begin
|
|
1758
|
+
|
|
1759
|
+
result = api_instance.get_offline_users(tenant_id, url_id, opts)
|
|
1760
|
+
p result
|
|
1761
|
+
rescue FastCommentsClient::ApiError => e
|
|
1762
|
+
puts "Error when calling PublicApi->get_offline_users: #{e}"
|
|
1763
|
+
end
|
|
1764
|
+
```
|
|
1765
|
+
|
|
1766
|
+
#### Using the get_offline_users_with_http_info variant
|
|
1767
|
+
|
|
1768
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1769
|
+
|
|
1770
|
+
> <Array(<PageUsersOfflineResponse>, Integer, Hash)> get_offline_users_with_http_info(tenant_id, url_id, opts)
|
|
1771
|
+
|
|
1772
|
+
```ruby
|
|
1773
|
+
begin
|
|
1774
|
+
|
|
1775
|
+
data, status_code, headers = api_instance.get_offline_users_with_http_info(tenant_id, url_id, opts)
|
|
1776
|
+
p status_code # => 2xx
|
|
1777
|
+
p headers # => { ... }
|
|
1778
|
+
p data # => <PageUsersOfflineResponse>
|
|
1779
|
+
rescue FastCommentsClient::ApiError => e
|
|
1780
|
+
puts "Error when calling PublicApi->get_offline_users_with_http_info: #{e}"
|
|
1781
|
+
end
|
|
1782
|
+
```
|
|
1783
|
+
|
|
1784
|
+
### Parameters
|
|
1785
|
+
|
|
1786
|
+
| Name | Type | Description | Notes |
|
|
1787
|
+
| ---- | ---- | ----------- | ----- |
|
|
1788
|
+
| **tenant_id** | **String** | | |
|
|
1789
|
+
| **url_id** | **String** | Page URL identifier (cleaned server-side). | |
|
|
1790
|
+
| **after_name** | **String** | Cursor: pass nextAfterName from the previous response. | [optional] |
|
|
1791
|
+
| **after_user_id** | **String** | Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. | [optional] |
|
|
1792
|
+
|
|
1793
|
+
### Return type
|
|
1794
|
+
|
|
1795
|
+
[**PageUsersOfflineResponse**](PageUsersOfflineResponse.md)
|
|
1796
|
+
|
|
1797
|
+
### Authorization
|
|
1798
|
+
|
|
1799
|
+
No authorization required
|
|
1800
|
+
|
|
1801
|
+
### HTTP request headers
|
|
1802
|
+
|
|
1803
|
+
- **Content-Type**: Not defined
|
|
1804
|
+
- **Accept**: application/json
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
## get_online_users
|
|
1808
|
+
|
|
1809
|
+
> <PageUsersOnlineResponse> get_online_users(tenant_id, url_id, opts)
|
|
1810
|
+
|
|
1811
|
+
|
|
1812
|
+
|
|
1813
|
+
Currently-online viewers of a page: people whose websocket session is subscribed to the page right now. Returns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate).
|
|
1814
|
+
|
|
1815
|
+
### Examples
|
|
1816
|
+
|
|
1817
|
+
```ruby
|
|
1818
|
+
require 'time'
|
|
1819
|
+
require 'fastcomments-client'
|
|
1820
|
+
|
|
1821
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
1822
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1823
|
+
url_id = 'url_id_example' # String | Page URL identifier (cleaned server-side).
|
|
1824
|
+
opts = {
|
|
1825
|
+
after_name: 'after_name_example', # String | Cursor: pass nextAfterName from the previous response.
|
|
1826
|
+
after_user_id: 'after_user_id_example' # String | Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries.
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
begin
|
|
1830
|
+
|
|
1831
|
+
result = api_instance.get_online_users(tenant_id, url_id, opts)
|
|
1832
|
+
p result
|
|
1833
|
+
rescue FastCommentsClient::ApiError => e
|
|
1834
|
+
puts "Error when calling PublicApi->get_online_users: #{e}"
|
|
1835
|
+
end
|
|
1836
|
+
```
|
|
1837
|
+
|
|
1838
|
+
#### Using the get_online_users_with_http_info variant
|
|
1839
|
+
|
|
1840
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1841
|
+
|
|
1842
|
+
> <Array(<PageUsersOnlineResponse>, Integer, Hash)> get_online_users_with_http_info(tenant_id, url_id, opts)
|
|
1843
|
+
|
|
1844
|
+
```ruby
|
|
1845
|
+
begin
|
|
1846
|
+
|
|
1847
|
+
data, status_code, headers = api_instance.get_online_users_with_http_info(tenant_id, url_id, opts)
|
|
1848
|
+
p status_code # => 2xx
|
|
1849
|
+
p headers # => { ... }
|
|
1850
|
+
p data # => <PageUsersOnlineResponse>
|
|
1851
|
+
rescue FastCommentsClient::ApiError => e
|
|
1852
|
+
puts "Error when calling PublicApi->get_online_users_with_http_info: #{e}"
|
|
1853
|
+
end
|
|
1854
|
+
```
|
|
1855
|
+
|
|
1856
|
+
### Parameters
|
|
1857
|
+
|
|
1858
|
+
| Name | Type | Description | Notes |
|
|
1859
|
+
| ---- | ---- | ----------- | ----- |
|
|
1860
|
+
| **tenant_id** | **String** | | |
|
|
1861
|
+
| **url_id** | **String** | Page URL identifier (cleaned server-side). | |
|
|
1862
|
+
| **after_name** | **String** | Cursor: pass nextAfterName from the previous response. | [optional] |
|
|
1863
|
+
| **after_user_id** | **String** | Cursor tiebreaker: pass nextAfterUserId from the previous response. Required when afterName is set so name-ties don't drop entries. | [optional] |
|
|
1864
|
+
|
|
1865
|
+
### Return type
|
|
1866
|
+
|
|
1867
|
+
[**PageUsersOnlineResponse**](PageUsersOnlineResponse.md)
|
|
1868
|
+
|
|
1869
|
+
### Authorization
|
|
1870
|
+
|
|
1871
|
+
No authorization required
|
|
1872
|
+
|
|
1873
|
+
### HTTP request headers
|
|
1874
|
+
|
|
1875
|
+
- **Content-Type**: Not defined
|
|
1876
|
+
- **Accept**: application/json
|
|
1877
|
+
|
|
1878
|
+
|
|
1879
|
+
## get_pages_public
|
|
1880
|
+
|
|
1881
|
+
> <GetPublicPagesResponse> get_pages_public(tenant_id, opts)
|
|
1882
|
+
|
|
1883
|
+
|
|
1884
|
+
|
|
1885
|
+
List pages for a tenant. Used by the FChat desktop client to populate its room list. Requires `enableFChat` to be true on the resolved custom config for each page. Pages that require SSO are filtered against the requesting user's group access.
|
|
1886
|
+
|
|
1887
|
+
### Examples
|
|
1888
|
+
|
|
1889
|
+
```ruby
|
|
1890
|
+
require 'time'
|
|
1891
|
+
require 'fastcomments-client'
|
|
1892
|
+
|
|
1893
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
1894
|
+
tenant_id = 'tenant_id_example' # String |
|
|
1895
|
+
opts = {
|
|
1896
|
+
cursor: 'cursor_example', # String | Opaque pagination cursor returned as `nextCursor` from a prior request. Tied to the same `sortBy`.
|
|
1897
|
+
limit: 56, # Integer | 1..200, default 50
|
|
1898
|
+
q: 'q_example', # String | Optional case-insensitive title prefix filter.
|
|
1899
|
+
sort_by: FastCommentsClient::PagesSortBy::UPDATED_AT, # PagesSortBy | Sort order. `updatedAt` (default, newest first), `commentCount` (most comments first), or `title` (alphabetical).
|
|
1900
|
+
has_comments: true # Boolean | If true, only return pages with at least one comment.
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
begin
|
|
1904
|
+
|
|
1905
|
+
result = api_instance.get_pages_public(tenant_id, opts)
|
|
1906
|
+
p result
|
|
1907
|
+
rescue FastCommentsClient::ApiError => e
|
|
1908
|
+
puts "Error when calling PublicApi->get_pages_public: #{e}"
|
|
1909
|
+
end
|
|
1910
|
+
```
|
|
1911
|
+
|
|
1912
|
+
#### Using the get_pages_public_with_http_info variant
|
|
1913
|
+
|
|
1914
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1915
|
+
|
|
1916
|
+
> <Array(<GetPublicPagesResponse>, Integer, Hash)> get_pages_public_with_http_info(tenant_id, opts)
|
|
1917
|
+
|
|
1918
|
+
```ruby
|
|
1919
|
+
begin
|
|
1920
|
+
|
|
1921
|
+
data, status_code, headers = api_instance.get_pages_public_with_http_info(tenant_id, opts)
|
|
1922
|
+
p status_code # => 2xx
|
|
1923
|
+
p headers # => { ... }
|
|
1924
|
+
p data # => <GetPublicPagesResponse>
|
|
1925
|
+
rescue FastCommentsClient::ApiError => e
|
|
1926
|
+
puts "Error when calling PublicApi->get_pages_public_with_http_info: #{e}"
|
|
1927
|
+
end
|
|
1928
|
+
```
|
|
1929
|
+
|
|
1930
|
+
### Parameters
|
|
1931
|
+
|
|
1932
|
+
| Name | Type | Description | Notes |
|
|
1933
|
+
| ---- | ---- | ----------- | ----- |
|
|
1934
|
+
| **tenant_id** | **String** | | |
|
|
1935
|
+
| **cursor** | **String** | Opaque pagination cursor returned as `nextCursor` from a prior request. Tied to the same `sortBy`. | [optional] |
|
|
1936
|
+
| **limit** | **Integer** | 1..200, default 50 | [optional] |
|
|
1937
|
+
| **q** | **String** | Optional case-insensitive title prefix filter. | [optional] |
|
|
1938
|
+
| **sort_by** | [**PagesSortBy**](.md) | Sort order. `updatedAt` (default, newest first), `commentCount` (most comments first), or `title` (alphabetical). | [optional] |
|
|
1939
|
+
| **has_comments** | **Boolean** | If true, only return pages with at least one comment. | [optional] |
|
|
1940
|
+
|
|
1941
|
+
### Return type
|
|
1942
|
+
|
|
1943
|
+
[**GetPublicPagesResponse**](GetPublicPagesResponse.md)
|
|
1944
|
+
|
|
1945
|
+
### Authorization
|
|
1946
|
+
|
|
1947
|
+
No authorization required
|
|
1948
|
+
|
|
1949
|
+
### HTTP request headers
|
|
1950
|
+
|
|
1951
|
+
- **Content-Type**: Not defined
|
|
1952
|
+
- **Accept**: application/json
|
|
1953
|
+
|
|
1954
|
+
|
|
1955
|
+
## get_translations
|
|
1956
|
+
|
|
1957
|
+
> <GetTranslationsResponse> get_translations(namespace, component, opts)
|
|
1958
|
+
|
|
1959
|
+
|
|
1960
|
+
|
|
1961
|
+
### Examples
|
|
1962
|
+
|
|
1963
|
+
```ruby
|
|
1964
|
+
require 'time'
|
|
1965
|
+
require 'fastcomments-client'
|
|
1966
|
+
|
|
1967
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
1968
|
+
namespace = 'namespace_example' # String |
|
|
1969
|
+
component = 'component_example' # String |
|
|
1970
|
+
opts = {
|
|
1971
|
+
locale: 'locale_example', # String |
|
|
1972
|
+
use_full_translation_ids: true # Boolean |
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
begin
|
|
1976
|
+
|
|
1977
|
+
result = api_instance.get_translations(namespace, component, opts)
|
|
1978
|
+
p result
|
|
1979
|
+
rescue FastCommentsClient::ApiError => e
|
|
1980
|
+
puts "Error when calling PublicApi->get_translations: #{e}"
|
|
1981
|
+
end
|
|
1982
|
+
```
|
|
1983
|
+
|
|
1984
|
+
#### Using the get_translations_with_http_info variant
|
|
1985
|
+
|
|
1986
|
+
This returns an Array which contains the response data, status code and headers.
|
|
1987
|
+
|
|
1988
|
+
> <Array(<GetTranslationsResponse>, Integer, Hash)> get_translations_with_http_info(namespace, component, opts)
|
|
1989
|
+
|
|
1990
|
+
```ruby
|
|
1991
|
+
begin
|
|
1992
|
+
|
|
1993
|
+
data, status_code, headers = api_instance.get_translations_with_http_info(namespace, component, opts)
|
|
1994
|
+
p status_code # => 2xx
|
|
1995
|
+
p headers # => { ... }
|
|
1996
|
+
p data # => <GetTranslationsResponse>
|
|
1997
|
+
rescue FastCommentsClient::ApiError => e
|
|
1998
|
+
puts "Error when calling PublicApi->get_translations_with_http_info: #{e}"
|
|
1999
|
+
end
|
|
2000
|
+
```
|
|
2001
|
+
|
|
2002
|
+
### Parameters
|
|
2003
|
+
|
|
2004
|
+
| Name | Type | Description | Notes |
|
|
2005
|
+
| ---- | ---- | ----------- | ----- |
|
|
2006
|
+
| **namespace** | **String** | | |
|
|
2007
|
+
| **component** | **String** | | |
|
|
2008
|
+
| **locale** | **String** | | [optional] |
|
|
2009
|
+
| **use_full_translation_ids** | **Boolean** | | [optional] |
|
|
2010
|
+
|
|
2011
|
+
### Return type
|
|
2012
|
+
|
|
2013
|
+
[**GetTranslationsResponse**](GetTranslationsResponse.md)
|
|
2014
|
+
|
|
2015
|
+
### Authorization
|
|
2016
|
+
|
|
2017
|
+
No authorization required
|
|
2018
|
+
|
|
2019
|
+
### HTTP request headers
|
|
2020
|
+
|
|
2021
|
+
- **Content-Type**: Not defined
|
|
2022
|
+
- **Accept**: application/json
|
|
2023
|
+
|
|
2024
|
+
|
|
2025
|
+
## get_user_notification_count
|
|
2026
|
+
|
|
2027
|
+
> <GetUserNotificationCountResponse> get_user_notification_count(tenant_id, opts)
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
|
|
2031
|
+
### Examples
|
|
2032
|
+
|
|
2033
|
+
```ruby
|
|
2034
|
+
require 'time'
|
|
2035
|
+
require 'fastcomments-client'
|
|
2036
|
+
|
|
2037
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
2038
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2039
|
+
opts = {
|
|
2040
|
+
sso: 'sso_example' # String |
|
|
2041
|
+
}
|
|
2042
|
+
|
|
2043
|
+
begin
|
|
2044
|
+
|
|
2045
|
+
result = api_instance.get_user_notification_count(tenant_id, opts)
|
|
2046
|
+
p result
|
|
2047
|
+
rescue FastCommentsClient::ApiError => e
|
|
2048
|
+
puts "Error when calling PublicApi->get_user_notification_count: #{e}"
|
|
2049
|
+
end
|
|
2050
|
+
```
|
|
2051
|
+
|
|
2052
|
+
#### Using the get_user_notification_count_with_http_info variant
|
|
2053
|
+
|
|
2054
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2055
|
+
|
|
2056
|
+
> <Array(<GetUserNotificationCountResponse>, Integer, Hash)> get_user_notification_count_with_http_info(tenant_id, opts)
|
|
2057
|
+
|
|
2058
|
+
```ruby
|
|
2059
|
+
begin
|
|
2060
|
+
|
|
2061
|
+
data, status_code, headers = api_instance.get_user_notification_count_with_http_info(tenant_id, opts)
|
|
2062
|
+
p status_code # => 2xx
|
|
2063
|
+
p headers # => { ... }
|
|
2064
|
+
p data # => <GetUserNotificationCountResponse>
|
|
2065
|
+
rescue FastCommentsClient::ApiError => e
|
|
2066
|
+
puts "Error when calling PublicApi->get_user_notification_count_with_http_info: #{e}"
|
|
2067
|
+
end
|
|
2068
|
+
```
|
|
2069
|
+
|
|
2070
|
+
### Parameters
|
|
2071
|
+
|
|
2072
|
+
| Name | Type | Description | Notes |
|
|
2073
|
+
| ---- | ---- | ----------- | ----- |
|
|
2074
|
+
| **tenant_id** | **String** | | |
|
|
2075
|
+
| **sso** | **String** | | [optional] |
|
|
2076
|
+
|
|
2077
|
+
### Return type
|
|
2078
|
+
|
|
2079
|
+
[**GetUserNotificationCountResponse**](GetUserNotificationCountResponse.md)
|
|
2080
|
+
|
|
2081
|
+
### Authorization
|
|
2082
|
+
|
|
2083
|
+
No authorization required
|
|
2084
|
+
|
|
2085
|
+
### HTTP request headers
|
|
2086
|
+
|
|
2087
|
+
- **Content-Type**: Not defined
|
|
2088
|
+
- **Accept**: application/json
|
|
2089
|
+
|
|
2090
|
+
|
|
2091
|
+
## get_user_notifications
|
|
2092
|
+
|
|
2093
|
+
> <GetMyNotificationsResponse> get_user_notifications(tenant_id, opts)
|
|
2094
|
+
|
|
2095
|
+
|
|
2096
|
+
|
|
2097
|
+
### Examples
|
|
2098
|
+
|
|
2099
|
+
```ruby
|
|
2100
|
+
require 'time'
|
|
2101
|
+
require 'fastcomments-client'
|
|
2102
|
+
|
|
2103
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
2104
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2105
|
+
opts = {
|
|
2106
|
+
url_id: 'url_id_example', # String | Used to determine whether the current page is subscribed.
|
|
2107
|
+
page_size: 56, # Integer |
|
|
2108
|
+
after_id: 'after_id_example', # String |
|
|
2109
|
+
include_context: true, # Boolean |
|
|
2110
|
+
after_created_at: 789, # Integer |
|
|
2111
|
+
unread_only: true, # Boolean |
|
|
2112
|
+
dm_only: true, # Boolean |
|
|
2113
|
+
no_dm: true, # Boolean |
|
|
2114
|
+
include_translations: true, # Boolean |
|
|
2115
|
+
include_tenant_notifications: true, # Boolean |
|
|
2116
|
+
sso: 'sso_example' # String |
|
|
2117
|
+
}
|
|
2118
|
+
|
|
1113
2119
|
begin
|
|
1114
2120
|
|
|
1115
|
-
result = api_instance.
|
|
2121
|
+
result = api_instance.get_user_notifications(tenant_id, opts)
|
|
1116
2122
|
p result
|
|
1117
2123
|
rescue FastCommentsClient::ApiError => e
|
|
1118
|
-
puts "Error when calling PublicApi->
|
|
2124
|
+
puts "Error when calling PublicApi->get_user_notifications: #{e}"
|
|
1119
2125
|
end
|
|
1120
2126
|
```
|
|
1121
2127
|
|
|
1122
|
-
#### Using the
|
|
2128
|
+
#### Using the get_user_notifications_with_http_info variant
|
|
1123
2129
|
|
|
1124
2130
|
This returns an Array which contains the response data, status code and headers.
|
|
1125
2131
|
|
|
1126
|
-
> <Array(<
|
|
2132
|
+
> <Array(<GetMyNotificationsResponse>, Integer, Hash)> get_user_notifications_with_http_info(tenant_id, opts)
|
|
1127
2133
|
|
|
1128
2134
|
```ruby
|
|
1129
2135
|
begin
|
|
1130
2136
|
|
|
1131
|
-
data, status_code, headers = api_instance.
|
|
2137
|
+
data, status_code, headers = api_instance.get_user_notifications_with_http_info(tenant_id, opts)
|
|
1132
2138
|
p status_code # => 2xx
|
|
1133
2139
|
p headers # => { ... }
|
|
1134
|
-
p data # => <
|
|
2140
|
+
p data # => <GetMyNotificationsResponse>
|
|
1135
2141
|
rescue FastCommentsClient::ApiError => e
|
|
1136
|
-
puts "Error when calling PublicApi->
|
|
2142
|
+
puts "Error when calling PublicApi->get_user_notifications_with_http_info: #{e}"
|
|
1137
2143
|
end
|
|
1138
2144
|
```
|
|
1139
2145
|
|
|
@@ -1142,14 +2148,21 @@ end
|
|
|
1142
2148
|
| Name | Type | Description | Notes |
|
|
1143
2149
|
| ---- | ---- | ----------- | ----- |
|
|
1144
2150
|
| **tenant_id** | **String** | | |
|
|
1145
|
-
| **url_id** | **String** |
|
|
1146
|
-
| **
|
|
1147
|
-
| **
|
|
1148
|
-
| **
|
|
2151
|
+
| **url_id** | **String** | Used to determine whether the current page is subscribed. | [optional] |
|
|
2152
|
+
| **page_size** | **Integer** | | [optional] |
|
|
2153
|
+
| **after_id** | **String** | | [optional] |
|
|
2154
|
+
| **include_context** | **Boolean** | | [optional] |
|
|
2155
|
+
| **after_created_at** | **Integer** | | [optional] |
|
|
2156
|
+
| **unread_only** | **Boolean** | | [optional] |
|
|
2157
|
+
| **dm_only** | **Boolean** | | [optional] |
|
|
2158
|
+
| **no_dm** | **Boolean** | | [optional] |
|
|
2159
|
+
| **include_translations** | **Boolean** | | [optional] |
|
|
2160
|
+
| **include_tenant_notifications** | **Boolean** | | [optional] |
|
|
2161
|
+
| **sso** | **String** | | [optional] |
|
|
1149
2162
|
|
|
1150
2163
|
### Return type
|
|
1151
2164
|
|
|
1152
|
-
[**
|
|
2165
|
+
[**GetMyNotificationsResponse**](GetMyNotificationsResponse.md)
|
|
1153
2166
|
|
|
1154
2167
|
### Authorization
|
|
1155
2168
|
|
|
@@ -1161,9 +2174,9 @@ No authorization required
|
|
|
1161
2174
|
- **Accept**: application/json
|
|
1162
2175
|
|
|
1163
2176
|
|
|
1164
|
-
##
|
|
2177
|
+
## get_user_presence_statuses
|
|
1165
2178
|
|
|
1166
|
-
> <
|
|
2179
|
+
> <GetUserPresenceStatusesResponse> get_user_presence_statuses(tenant_id, url_id_ws, user_ids)
|
|
1167
2180
|
|
|
1168
2181
|
|
|
1169
2182
|
|
|
@@ -1175,34 +2188,33 @@ require 'fastcomments-client'
|
|
|
1175
2188
|
|
|
1176
2189
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1177
2190
|
tenant_id = 'tenant_id_example' # String |
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
}
|
|
2191
|
+
url_id_ws = 'url_id_ws_example' # String |
|
|
2192
|
+
user_ids = 'user_ids_example' # String |
|
|
1181
2193
|
|
|
1182
2194
|
begin
|
|
1183
2195
|
|
|
1184
|
-
result = api_instance.
|
|
2196
|
+
result = api_instance.get_user_presence_statuses(tenant_id, url_id_ws, user_ids)
|
|
1185
2197
|
p result
|
|
1186
2198
|
rescue FastCommentsClient::ApiError => e
|
|
1187
|
-
puts "Error when calling PublicApi->
|
|
2199
|
+
puts "Error when calling PublicApi->get_user_presence_statuses: #{e}"
|
|
1188
2200
|
end
|
|
1189
2201
|
```
|
|
1190
2202
|
|
|
1191
|
-
#### Using the
|
|
2203
|
+
#### Using the get_user_presence_statuses_with_http_info variant
|
|
1192
2204
|
|
|
1193
2205
|
This returns an Array which contains the response data, status code and headers.
|
|
1194
2206
|
|
|
1195
|
-
> <Array(<
|
|
2207
|
+
> <Array(<GetUserPresenceStatusesResponse>, Integer, Hash)> get_user_presence_statuses_with_http_info(tenant_id, url_id_ws, user_ids)
|
|
1196
2208
|
|
|
1197
2209
|
```ruby
|
|
1198
2210
|
begin
|
|
1199
2211
|
|
|
1200
|
-
data, status_code, headers = api_instance.
|
|
2212
|
+
data, status_code, headers = api_instance.get_user_presence_statuses_with_http_info(tenant_id, url_id_ws, user_ids)
|
|
1201
2213
|
p status_code # => 2xx
|
|
1202
2214
|
p headers # => { ... }
|
|
1203
|
-
p data # => <
|
|
2215
|
+
p data # => <GetUserPresenceStatusesResponse>
|
|
1204
2216
|
rescue FastCommentsClient::ApiError => e
|
|
1205
|
-
puts "Error when calling PublicApi->
|
|
2217
|
+
puts "Error when calling PublicApi->get_user_presence_statuses_with_http_info: #{e}"
|
|
1206
2218
|
end
|
|
1207
2219
|
```
|
|
1208
2220
|
|
|
@@ -1211,11 +2223,12 @@ end
|
|
|
1211
2223
|
| Name | Type | Description | Notes |
|
|
1212
2224
|
| ---- | ---- | ----------- | ----- |
|
|
1213
2225
|
| **tenant_id** | **String** | | |
|
|
1214
|
-
| **
|
|
2226
|
+
| **url_id_ws** | **String** | | |
|
|
2227
|
+
| **user_ids** | **String** | | |
|
|
1215
2228
|
|
|
1216
2229
|
### Return type
|
|
1217
2230
|
|
|
1218
|
-
[**
|
|
2231
|
+
[**GetUserPresenceStatusesResponse**](GetUserPresenceStatusesResponse.md)
|
|
1219
2232
|
|
|
1220
2233
|
### Authorization
|
|
1221
2234
|
|
|
@@ -1227,9 +2240,9 @@ No authorization required
|
|
|
1227
2240
|
- **Accept**: application/json
|
|
1228
2241
|
|
|
1229
2242
|
|
|
1230
|
-
##
|
|
2243
|
+
## get_user_reacts_public
|
|
1231
2244
|
|
|
1232
|
-
> <
|
|
2245
|
+
> <UserReactsResponse> get_user_reacts_public(tenant_id, opts)
|
|
1233
2246
|
|
|
1234
2247
|
|
|
1235
2248
|
|
|
@@ -1242,41 +2255,34 @@ require 'fastcomments-client'
|
|
|
1242
2255
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1243
2256
|
tenant_id = 'tenant_id_example' # String |
|
|
1244
2257
|
opts = {
|
|
1245
|
-
|
|
1246
|
-
after_id: 'after_id_example', # String |
|
|
1247
|
-
include_context: true, # Boolean |
|
|
1248
|
-
after_created_at: 789, # Integer |
|
|
1249
|
-
unread_only: true, # Boolean |
|
|
1250
|
-
dm_only: true, # Boolean |
|
|
1251
|
-
no_dm: true, # Boolean |
|
|
1252
|
-
include_translations: true, # Boolean |
|
|
2258
|
+
post_ids: ['inner_example'], # Array<String> |
|
|
1253
2259
|
sso: 'sso_example' # String |
|
|
1254
2260
|
}
|
|
1255
2261
|
|
|
1256
2262
|
begin
|
|
1257
2263
|
|
|
1258
|
-
result = api_instance.
|
|
2264
|
+
result = api_instance.get_user_reacts_public(tenant_id, opts)
|
|
1259
2265
|
p result
|
|
1260
2266
|
rescue FastCommentsClient::ApiError => e
|
|
1261
|
-
puts "Error when calling PublicApi->
|
|
2267
|
+
puts "Error when calling PublicApi->get_user_reacts_public: #{e}"
|
|
1262
2268
|
end
|
|
1263
2269
|
```
|
|
1264
2270
|
|
|
1265
|
-
#### Using the
|
|
2271
|
+
#### Using the get_user_reacts_public_with_http_info variant
|
|
1266
2272
|
|
|
1267
2273
|
This returns an Array which contains the response data, status code and headers.
|
|
1268
2274
|
|
|
1269
|
-
> <Array(<
|
|
2275
|
+
> <Array(<UserReactsResponse>, Integer, Hash)> get_user_reacts_public_with_http_info(tenant_id, opts)
|
|
1270
2276
|
|
|
1271
2277
|
```ruby
|
|
1272
2278
|
begin
|
|
1273
2279
|
|
|
1274
|
-
data, status_code, headers = api_instance.
|
|
2280
|
+
data, status_code, headers = api_instance.get_user_reacts_public_with_http_info(tenant_id, opts)
|
|
1275
2281
|
p status_code # => 2xx
|
|
1276
2282
|
p headers # => { ... }
|
|
1277
|
-
p data # => <
|
|
2283
|
+
p data # => <UserReactsResponse>
|
|
1278
2284
|
rescue FastCommentsClient::ApiError => e
|
|
1279
|
-
puts "Error when calling PublicApi->
|
|
2285
|
+
puts "Error when calling PublicApi->get_user_reacts_public_with_http_info: #{e}"
|
|
1280
2286
|
end
|
|
1281
2287
|
```
|
|
1282
2288
|
|
|
@@ -1285,19 +2291,12 @@ end
|
|
|
1285
2291
|
| Name | Type | Description | Notes |
|
|
1286
2292
|
| ---- | ---- | ----------- | ----- |
|
|
1287
2293
|
| **tenant_id** | **String** | | |
|
|
1288
|
-
| **
|
|
1289
|
-
| **after_id** | **String** | | [optional] |
|
|
1290
|
-
| **include_context** | **Boolean** | | [optional] |
|
|
1291
|
-
| **after_created_at** | **Integer** | | [optional] |
|
|
1292
|
-
| **unread_only** | **Boolean** | | [optional] |
|
|
1293
|
-
| **dm_only** | **Boolean** | | [optional] |
|
|
1294
|
-
| **no_dm** | **Boolean** | | [optional] |
|
|
1295
|
-
| **include_translations** | **Boolean** | | [optional] |
|
|
2294
|
+
| **post_ids** | [**Array<String>**](String.md) | | [optional] |
|
|
1296
2295
|
| **sso** | **String** | | [optional] |
|
|
1297
2296
|
|
|
1298
2297
|
### Return type
|
|
1299
2298
|
|
|
1300
|
-
[**
|
|
2299
|
+
[**UserReactsResponse**](UserReactsResponse.md)
|
|
1301
2300
|
|
|
1302
2301
|
### Authorization
|
|
1303
2302
|
|
|
@@ -1309,12 +2308,14 @@ No authorization required
|
|
|
1309
2308
|
- **Accept**: application/json
|
|
1310
2309
|
|
|
1311
2310
|
|
|
1312
|
-
##
|
|
2311
|
+
## get_users_info
|
|
1313
2312
|
|
|
1314
|
-
> <
|
|
2313
|
+
> <PageUsersInfoResponse> get_users_info(tenant_id, ids)
|
|
1315
2314
|
|
|
1316
2315
|
|
|
1317
2316
|
|
|
2317
|
+
Bulk user info for a tenant. Given userIds, return display info from User / SSOUser. Used by the comment widget to enrich users that just appeared via a presence event. No page context: privacy is enforced uniformly (private profiles are masked).
|
|
2318
|
+
|
|
1318
2319
|
### Examples
|
|
1319
2320
|
|
|
1320
2321
|
```ruby
|
|
@@ -1323,33 +2324,32 @@ require 'fastcomments-client'
|
|
|
1323
2324
|
|
|
1324
2325
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1325
2326
|
tenant_id = 'tenant_id_example' # String |
|
|
1326
|
-
|
|
1327
|
-
user_ids = 'user_ids_example' # String |
|
|
2327
|
+
ids = 'ids_example' # String | Comma-delimited userIds.
|
|
1328
2328
|
|
|
1329
2329
|
begin
|
|
1330
2330
|
|
|
1331
|
-
result = api_instance.
|
|
2331
|
+
result = api_instance.get_users_info(tenant_id, ids)
|
|
1332
2332
|
p result
|
|
1333
2333
|
rescue FastCommentsClient::ApiError => e
|
|
1334
|
-
puts "Error when calling PublicApi->
|
|
2334
|
+
puts "Error when calling PublicApi->get_users_info: #{e}"
|
|
1335
2335
|
end
|
|
1336
2336
|
```
|
|
1337
2337
|
|
|
1338
|
-
#### Using the
|
|
2338
|
+
#### Using the get_users_info_with_http_info variant
|
|
1339
2339
|
|
|
1340
2340
|
This returns an Array which contains the response data, status code and headers.
|
|
1341
2341
|
|
|
1342
|
-
> <Array(<
|
|
2342
|
+
> <Array(<PageUsersInfoResponse>, Integer, Hash)> get_users_info_with_http_info(tenant_id, ids)
|
|
1343
2343
|
|
|
1344
2344
|
```ruby
|
|
1345
2345
|
begin
|
|
1346
2346
|
|
|
1347
|
-
data, status_code, headers = api_instance.
|
|
2347
|
+
data, status_code, headers = api_instance.get_users_info_with_http_info(tenant_id, ids)
|
|
1348
2348
|
p status_code # => 2xx
|
|
1349
2349
|
p headers # => { ... }
|
|
1350
|
-
p data # => <
|
|
2350
|
+
p data # => <PageUsersInfoResponse>
|
|
1351
2351
|
rescue FastCommentsClient::ApiError => e
|
|
1352
|
-
puts "Error when calling PublicApi->
|
|
2352
|
+
puts "Error when calling PublicApi->get_users_info_with_http_info: #{e}"
|
|
1353
2353
|
end
|
|
1354
2354
|
```
|
|
1355
2355
|
|
|
@@ -1358,12 +2358,11 @@ end
|
|
|
1358
2358
|
| Name | Type | Description | Notes |
|
|
1359
2359
|
| ---- | ---- | ----------- | ----- |
|
|
1360
2360
|
| **tenant_id** | **String** | | |
|
|
1361
|
-
| **
|
|
1362
|
-
| **user_ids** | **String** | | |
|
|
2361
|
+
| **ids** | **String** | Comma-delimited userIds. | |
|
|
1363
2362
|
|
|
1364
2363
|
### Return type
|
|
1365
2364
|
|
|
1366
|
-
[**
|
|
2365
|
+
[**PageUsersInfoResponse**](PageUsersInfoResponse.md)
|
|
1367
2366
|
|
|
1368
2367
|
### Authorization
|
|
1369
2368
|
|
|
@@ -1375,9 +2374,9 @@ No authorization required
|
|
|
1375
2374
|
- **Accept**: application/json
|
|
1376
2375
|
|
|
1377
2376
|
|
|
1378
|
-
##
|
|
2377
|
+
## get_v1_page_likes
|
|
1379
2378
|
|
|
1380
|
-
> <
|
|
2379
|
+
> <GetV1PageLikes> get_v1_page_likes(tenant_id, url_id)
|
|
1381
2380
|
|
|
1382
2381
|
|
|
1383
2382
|
|
|
@@ -1389,35 +2388,32 @@ require 'fastcomments-client'
|
|
|
1389
2388
|
|
|
1390
2389
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1391
2390
|
tenant_id = 'tenant_id_example' # String |
|
|
1392
|
-
|
|
1393
|
-
post_ids: ['inner_example'], # Array<String> |
|
|
1394
|
-
sso: 'sso_example' # String |
|
|
1395
|
-
}
|
|
2391
|
+
url_id = 'url_id_example' # String |
|
|
1396
2392
|
|
|
1397
2393
|
begin
|
|
1398
2394
|
|
|
1399
|
-
result = api_instance.
|
|
2395
|
+
result = api_instance.get_v1_page_likes(tenant_id, url_id)
|
|
1400
2396
|
p result
|
|
1401
2397
|
rescue FastCommentsClient::ApiError => e
|
|
1402
|
-
puts "Error when calling PublicApi->
|
|
2398
|
+
puts "Error when calling PublicApi->get_v1_page_likes: #{e}"
|
|
1403
2399
|
end
|
|
1404
2400
|
```
|
|
1405
2401
|
|
|
1406
|
-
#### Using the
|
|
2402
|
+
#### Using the get_v1_page_likes_with_http_info variant
|
|
1407
2403
|
|
|
1408
2404
|
This returns an Array which contains the response data, status code and headers.
|
|
1409
2405
|
|
|
1410
|
-
> <Array(<
|
|
2406
|
+
> <Array(<GetV1PageLikes>, Integer, Hash)> get_v1_page_likes_with_http_info(tenant_id, url_id)
|
|
1411
2407
|
|
|
1412
2408
|
```ruby
|
|
1413
2409
|
begin
|
|
1414
2410
|
|
|
1415
|
-
data, status_code, headers = api_instance.
|
|
2411
|
+
data, status_code, headers = api_instance.get_v1_page_likes_with_http_info(tenant_id, url_id)
|
|
1416
2412
|
p status_code # => 2xx
|
|
1417
2413
|
p headers # => { ... }
|
|
1418
|
-
p data # => <
|
|
2414
|
+
p data # => <GetV1PageLikes>
|
|
1419
2415
|
rescue FastCommentsClient::ApiError => e
|
|
1420
|
-
puts "Error when calling PublicApi->
|
|
2416
|
+
puts "Error when calling PublicApi->get_v1_page_likes_with_http_info: #{e}"
|
|
1421
2417
|
end
|
|
1422
2418
|
```
|
|
1423
2419
|
|
|
@@ -1426,12 +2422,141 @@ end
|
|
|
1426
2422
|
| Name | Type | Description | Notes |
|
|
1427
2423
|
| ---- | ---- | ----------- | ----- |
|
|
1428
2424
|
| **tenant_id** | **String** | | |
|
|
1429
|
-
| **
|
|
1430
|
-
|
|
2425
|
+
| **url_id** | **String** | | |
|
|
2426
|
+
|
|
2427
|
+
### Return type
|
|
2428
|
+
|
|
2429
|
+
[**GetV1PageLikes**](GetV1PageLikes.md)
|
|
2430
|
+
|
|
2431
|
+
### Authorization
|
|
2432
|
+
|
|
2433
|
+
No authorization required
|
|
2434
|
+
|
|
2435
|
+
### HTTP request headers
|
|
2436
|
+
|
|
2437
|
+
- **Content-Type**: Not defined
|
|
2438
|
+
- **Accept**: application/json
|
|
2439
|
+
|
|
2440
|
+
|
|
2441
|
+
## get_v2_page_react_users
|
|
2442
|
+
|
|
2443
|
+
> <GetV2PageReactUsersResponse> get_v2_page_react_users(tenant_id, url_id, id)
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
|
|
2447
|
+
### Examples
|
|
2448
|
+
|
|
2449
|
+
```ruby
|
|
2450
|
+
require 'time'
|
|
2451
|
+
require 'fastcomments-client'
|
|
2452
|
+
|
|
2453
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
2454
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2455
|
+
url_id = 'url_id_example' # String |
|
|
2456
|
+
id = 'id_example' # String |
|
|
2457
|
+
|
|
2458
|
+
begin
|
|
2459
|
+
|
|
2460
|
+
result = api_instance.get_v2_page_react_users(tenant_id, url_id, id)
|
|
2461
|
+
p result
|
|
2462
|
+
rescue FastCommentsClient::ApiError => e
|
|
2463
|
+
puts "Error when calling PublicApi->get_v2_page_react_users: #{e}"
|
|
2464
|
+
end
|
|
2465
|
+
```
|
|
2466
|
+
|
|
2467
|
+
#### Using the get_v2_page_react_users_with_http_info variant
|
|
2468
|
+
|
|
2469
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2470
|
+
|
|
2471
|
+
> <Array(<GetV2PageReactUsersResponse>, Integer, Hash)> get_v2_page_react_users_with_http_info(tenant_id, url_id, id)
|
|
2472
|
+
|
|
2473
|
+
```ruby
|
|
2474
|
+
begin
|
|
2475
|
+
|
|
2476
|
+
data, status_code, headers = api_instance.get_v2_page_react_users_with_http_info(tenant_id, url_id, id)
|
|
2477
|
+
p status_code # => 2xx
|
|
2478
|
+
p headers # => { ... }
|
|
2479
|
+
p data # => <GetV2PageReactUsersResponse>
|
|
2480
|
+
rescue FastCommentsClient::ApiError => e
|
|
2481
|
+
puts "Error when calling PublicApi->get_v2_page_react_users_with_http_info: #{e}"
|
|
2482
|
+
end
|
|
2483
|
+
```
|
|
2484
|
+
|
|
2485
|
+
### Parameters
|
|
2486
|
+
|
|
2487
|
+
| Name | Type | Description | Notes |
|
|
2488
|
+
| ---- | ---- | ----------- | ----- |
|
|
2489
|
+
| **tenant_id** | **String** | | |
|
|
2490
|
+
| **url_id** | **String** | | |
|
|
2491
|
+
| **id** | **String** | | |
|
|
2492
|
+
|
|
2493
|
+
### Return type
|
|
2494
|
+
|
|
2495
|
+
[**GetV2PageReactUsersResponse**](GetV2PageReactUsersResponse.md)
|
|
2496
|
+
|
|
2497
|
+
### Authorization
|
|
2498
|
+
|
|
2499
|
+
No authorization required
|
|
2500
|
+
|
|
2501
|
+
### HTTP request headers
|
|
2502
|
+
|
|
2503
|
+
- **Content-Type**: Not defined
|
|
2504
|
+
- **Accept**: application/json
|
|
2505
|
+
|
|
2506
|
+
|
|
2507
|
+
## get_v2_page_reacts
|
|
2508
|
+
|
|
2509
|
+
> <GetV2PageReacts> get_v2_page_reacts(tenant_id, url_id)
|
|
2510
|
+
|
|
2511
|
+
|
|
2512
|
+
|
|
2513
|
+
### Examples
|
|
2514
|
+
|
|
2515
|
+
```ruby
|
|
2516
|
+
require 'time'
|
|
2517
|
+
require 'fastcomments-client'
|
|
2518
|
+
|
|
2519
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
2520
|
+
tenant_id = 'tenant_id_example' # String |
|
|
2521
|
+
url_id = 'url_id_example' # String |
|
|
2522
|
+
|
|
2523
|
+
begin
|
|
2524
|
+
|
|
2525
|
+
result = api_instance.get_v2_page_reacts(tenant_id, url_id)
|
|
2526
|
+
p result
|
|
2527
|
+
rescue FastCommentsClient::ApiError => e
|
|
2528
|
+
puts "Error when calling PublicApi->get_v2_page_reacts: #{e}"
|
|
2529
|
+
end
|
|
2530
|
+
```
|
|
2531
|
+
|
|
2532
|
+
#### Using the get_v2_page_reacts_with_http_info variant
|
|
2533
|
+
|
|
2534
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2535
|
+
|
|
2536
|
+
> <Array(<GetV2PageReacts>, Integer, Hash)> get_v2_page_reacts_with_http_info(tenant_id, url_id)
|
|
2537
|
+
|
|
2538
|
+
```ruby
|
|
2539
|
+
begin
|
|
2540
|
+
|
|
2541
|
+
data, status_code, headers = api_instance.get_v2_page_reacts_with_http_info(tenant_id, url_id)
|
|
2542
|
+
p status_code # => 2xx
|
|
2543
|
+
p headers # => { ... }
|
|
2544
|
+
p data # => <GetV2PageReacts>
|
|
2545
|
+
rescue FastCommentsClient::ApiError => e
|
|
2546
|
+
puts "Error when calling PublicApi->get_v2_page_reacts_with_http_info: #{e}"
|
|
2547
|
+
end
|
|
2548
|
+
```
|
|
2549
|
+
|
|
2550
|
+
### Parameters
|
|
2551
|
+
|
|
2552
|
+
| Name | Type | Description | Notes |
|
|
2553
|
+
| ---- | ---- | ----------- | ----- |
|
|
2554
|
+
| **tenant_id** | **String** | | |
|
|
2555
|
+
| **url_id** | **String** | | |
|
|
1431
2556
|
|
|
1432
2557
|
### Return type
|
|
1433
2558
|
|
|
1434
|
-
[**
|
|
2559
|
+
[**GetV2PageReacts**](GetV2PageReacts.md)
|
|
1435
2560
|
|
|
1436
2561
|
### Authorization
|
|
1437
2562
|
|
|
@@ -1445,7 +2570,7 @@ No authorization required
|
|
|
1445
2570
|
|
|
1446
2571
|
## lock_comment
|
|
1447
2572
|
|
|
1448
|
-
> <
|
|
2573
|
+
> <APIEmptyResponse> lock_comment(tenant_id, comment_id, broadcast_id, opts)
|
|
1449
2574
|
|
|
1450
2575
|
|
|
1451
2576
|
|
|
@@ -1476,7 +2601,7 @@ end
|
|
|
1476
2601
|
|
|
1477
2602
|
This returns an Array which contains the response data, status code and headers.
|
|
1478
2603
|
|
|
1479
|
-
> <Array(<
|
|
2604
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
1480
2605
|
|
|
1481
2606
|
```ruby
|
|
1482
2607
|
begin
|
|
@@ -1484,7 +2609,7 @@ begin
|
|
|
1484
2609
|
data, status_code, headers = api_instance.lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
1485
2610
|
p status_code # => 2xx
|
|
1486
2611
|
p headers # => { ... }
|
|
1487
|
-
p data # => <
|
|
2612
|
+
p data # => <APIEmptyResponse>
|
|
1488
2613
|
rescue FastCommentsClient::ApiError => e
|
|
1489
2614
|
puts "Error when calling PublicApi->lock_comment_with_http_info: #{e}"
|
|
1490
2615
|
end
|
|
@@ -1501,7 +2626,66 @@ end
|
|
|
1501
2626
|
|
|
1502
2627
|
### Return type
|
|
1503
2628
|
|
|
1504
|
-
[**
|
|
2629
|
+
[**APIEmptyResponse**](APIEmptyResponse.md)
|
|
2630
|
+
|
|
2631
|
+
### Authorization
|
|
2632
|
+
|
|
2633
|
+
No authorization required
|
|
2634
|
+
|
|
2635
|
+
### HTTP request headers
|
|
2636
|
+
|
|
2637
|
+
- **Content-Type**: Not defined
|
|
2638
|
+
- **Accept**: application/json
|
|
2639
|
+
|
|
2640
|
+
|
|
2641
|
+
## logout_public
|
|
2642
|
+
|
|
2643
|
+
> <APIEmptyResponse> logout_public
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
|
|
2647
|
+
### Examples
|
|
2648
|
+
|
|
2649
|
+
```ruby
|
|
2650
|
+
require 'time'
|
|
2651
|
+
require 'fastcomments-client'
|
|
2652
|
+
|
|
2653
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
2654
|
+
|
|
2655
|
+
begin
|
|
2656
|
+
|
|
2657
|
+
result = api_instance.logout_public
|
|
2658
|
+
p result
|
|
2659
|
+
rescue FastCommentsClient::ApiError => e
|
|
2660
|
+
puts "Error when calling PublicApi->logout_public: #{e}"
|
|
2661
|
+
end
|
|
2662
|
+
```
|
|
2663
|
+
|
|
2664
|
+
#### Using the logout_public_with_http_info variant
|
|
2665
|
+
|
|
2666
|
+
This returns an Array which contains the response data, status code and headers.
|
|
2667
|
+
|
|
2668
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> logout_public_with_http_info
|
|
2669
|
+
|
|
2670
|
+
```ruby
|
|
2671
|
+
begin
|
|
2672
|
+
|
|
2673
|
+
data, status_code, headers = api_instance.logout_public_with_http_info
|
|
2674
|
+
p status_code # => 2xx
|
|
2675
|
+
p headers # => { ... }
|
|
2676
|
+
p data # => <APIEmptyResponse>
|
|
2677
|
+
rescue FastCommentsClient::ApiError => e
|
|
2678
|
+
puts "Error when calling PublicApi->logout_public_with_http_info: #{e}"
|
|
2679
|
+
end
|
|
2680
|
+
```
|
|
2681
|
+
|
|
2682
|
+
### Parameters
|
|
2683
|
+
|
|
2684
|
+
This endpoint does not need any parameter.
|
|
2685
|
+
|
|
2686
|
+
### Return type
|
|
2687
|
+
|
|
2688
|
+
[**APIEmptyResponse**](APIEmptyResponse.md)
|
|
1505
2689
|
|
|
1506
2690
|
### Authorization
|
|
1507
2691
|
|
|
@@ -1515,7 +2699,7 @@ No authorization required
|
|
|
1515
2699
|
|
|
1516
2700
|
## pin_comment
|
|
1517
2701
|
|
|
1518
|
-
> <
|
|
2702
|
+
> <ChangeCommentPinStatusResponse> pin_comment(tenant_id, comment_id, broadcast_id, opts)
|
|
1519
2703
|
|
|
1520
2704
|
|
|
1521
2705
|
|
|
@@ -1546,7 +2730,7 @@ end
|
|
|
1546
2730
|
|
|
1547
2731
|
This returns an Array which contains the response data, status code and headers.
|
|
1548
2732
|
|
|
1549
|
-
> <Array(<
|
|
2733
|
+
> <Array(<ChangeCommentPinStatusResponse>, Integer, Hash)> pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
1550
2734
|
|
|
1551
2735
|
```ruby
|
|
1552
2736
|
begin
|
|
@@ -1554,7 +2738,7 @@ begin
|
|
|
1554
2738
|
data, status_code, headers = api_instance.pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
1555
2739
|
p status_code # => 2xx
|
|
1556
2740
|
p headers # => { ... }
|
|
1557
|
-
p data # => <
|
|
2741
|
+
p data # => <ChangeCommentPinStatusResponse>
|
|
1558
2742
|
rescue FastCommentsClient::ApiError => e
|
|
1559
2743
|
puts "Error when calling PublicApi->pin_comment_with_http_info: #{e}"
|
|
1560
2744
|
end
|
|
@@ -1571,7 +2755,7 @@ end
|
|
|
1571
2755
|
|
|
1572
2756
|
### Return type
|
|
1573
2757
|
|
|
1574
|
-
[**
|
|
2758
|
+
[**ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md)
|
|
1575
2759
|
|
|
1576
2760
|
### Authorization
|
|
1577
2761
|
|
|
@@ -1585,7 +2769,7 @@ No authorization required
|
|
|
1585
2769
|
|
|
1586
2770
|
## react_feed_post_public
|
|
1587
2771
|
|
|
1588
|
-
> <
|
|
2772
|
+
> <ReactFeedPostResponse> react_feed_post_public(tenant_id, post_id, react_body_params, opts)
|
|
1589
2773
|
|
|
1590
2774
|
|
|
1591
2775
|
|
|
@@ -1618,7 +2802,7 @@ end
|
|
|
1618
2802
|
|
|
1619
2803
|
This returns an Array which contains the response data, status code and headers.
|
|
1620
2804
|
|
|
1621
|
-
> <Array(<
|
|
2805
|
+
> <Array(<ReactFeedPostResponse>, Integer, Hash)> react_feed_post_public_with_http_info(tenant_id, post_id, react_body_params, opts)
|
|
1622
2806
|
|
|
1623
2807
|
```ruby
|
|
1624
2808
|
begin
|
|
@@ -1626,7 +2810,7 @@ begin
|
|
|
1626
2810
|
data, status_code, headers = api_instance.react_feed_post_public_with_http_info(tenant_id, post_id, react_body_params, opts)
|
|
1627
2811
|
p status_code # => 2xx
|
|
1628
2812
|
p headers # => { ... }
|
|
1629
|
-
p data # => <
|
|
2813
|
+
p data # => <ReactFeedPostResponse>
|
|
1630
2814
|
rescue FastCommentsClient::ApiError => e
|
|
1631
2815
|
puts "Error when calling PublicApi->react_feed_post_public_with_http_info: #{e}"
|
|
1632
2816
|
end
|
|
@@ -1645,7 +2829,7 @@ end
|
|
|
1645
2829
|
|
|
1646
2830
|
### Return type
|
|
1647
2831
|
|
|
1648
|
-
[**
|
|
2832
|
+
[**ReactFeedPostResponse**](ReactFeedPostResponse.md)
|
|
1649
2833
|
|
|
1650
2834
|
### Authorization
|
|
1651
2835
|
|
|
@@ -1659,7 +2843,7 @@ No authorization required
|
|
|
1659
2843
|
|
|
1660
2844
|
## reset_user_notification_count
|
|
1661
2845
|
|
|
1662
|
-
> <
|
|
2846
|
+
> <ResetUserNotificationsResponse> reset_user_notification_count(tenant_id, opts)
|
|
1663
2847
|
|
|
1664
2848
|
|
|
1665
2849
|
|
|
@@ -1688,7 +2872,7 @@ end
|
|
|
1688
2872
|
|
|
1689
2873
|
This returns an Array which contains the response data, status code and headers.
|
|
1690
2874
|
|
|
1691
|
-
> <Array(<
|
|
2875
|
+
> <Array(<ResetUserNotificationsResponse>, Integer, Hash)> reset_user_notification_count_with_http_info(tenant_id, opts)
|
|
1692
2876
|
|
|
1693
2877
|
```ruby
|
|
1694
2878
|
begin
|
|
@@ -1696,7 +2880,7 @@ begin
|
|
|
1696
2880
|
data, status_code, headers = api_instance.reset_user_notification_count_with_http_info(tenant_id, opts)
|
|
1697
2881
|
p status_code # => 2xx
|
|
1698
2882
|
p headers # => { ... }
|
|
1699
|
-
p data # => <
|
|
2883
|
+
p data # => <ResetUserNotificationsResponse>
|
|
1700
2884
|
rescue FastCommentsClient::ApiError => e
|
|
1701
2885
|
puts "Error when calling PublicApi->reset_user_notification_count_with_http_info: #{e}"
|
|
1702
2886
|
end
|
|
@@ -1711,7 +2895,7 @@ end
|
|
|
1711
2895
|
|
|
1712
2896
|
### Return type
|
|
1713
2897
|
|
|
1714
|
-
[**
|
|
2898
|
+
[**ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md)
|
|
1715
2899
|
|
|
1716
2900
|
### Authorization
|
|
1717
2901
|
|
|
@@ -1725,7 +2909,7 @@ No authorization required
|
|
|
1725
2909
|
|
|
1726
2910
|
## reset_user_notifications
|
|
1727
2911
|
|
|
1728
|
-
> <
|
|
2912
|
+
> <ResetUserNotificationsResponse> reset_user_notifications(tenant_id, opts)
|
|
1729
2913
|
|
|
1730
2914
|
|
|
1731
2915
|
|
|
@@ -1759,7 +2943,7 @@ end
|
|
|
1759
2943
|
|
|
1760
2944
|
This returns an Array which contains the response data, status code and headers.
|
|
1761
2945
|
|
|
1762
|
-
> <Array(<
|
|
2946
|
+
> <Array(<ResetUserNotificationsResponse>, Integer, Hash)> reset_user_notifications_with_http_info(tenant_id, opts)
|
|
1763
2947
|
|
|
1764
2948
|
```ruby
|
|
1765
2949
|
begin
|
|
@@ -1767,7 +2951,7 @@ begin
|
|
|
1767
2951
|
data, status_code, headers = api_instance.reset_user_notifications_with_http_info(tenant_id, opts)
|
|
1768
2952
|
p status_code # => 2xx
|
|
1769
2953
|
p headers # => { ... }
|
|
1770
|
-
p data # => <
|
|
2954
|
+
p data # => <ResetUserNotificationsResponse>
|
|
1771
2955
|
rescue FastCommentsClient::ApiError => e
|
|
1772
2956
|
puts "Error when calling PublicApi->reset_user_notifications_with_http_info: #{e}"
|
|
1773
2957
|
end
|
|
@@ -1787,7 +2971,7 @@ end
|
|
|
1787
2971
|
|
|
1788
2972
|
### Return type
|
|
1789
2973
|
|
|
1790
|
-
[**
|
|
2974
|
+
[**ResetUserNotificationsResponse**](ResetUserNotificationsResponse.md)
|
|
1791
2975
|
|
|
1792
2976
|
### Authorization
|
|
1793
2977
|
|
|
@@ -1801,7 +2985,7 @@ No authorization required
|
|
|
1801
2985
|
|
|
1802
2986
|
## search_users
|
|
1803
2987
|
|
|
1804
|
-
> <
|
|
2988
|
+
> <SearchUsersResult> search_users(tenant_id, url_id, opts)
|
|
1805
2989
|
|
|
1806
2990
|
|
|
1807
2991
|
|
|
@@ -1834,7 +3018,7 @@ end
|
|
|
1834
3018
|
|
|
1835
3019
|
This returns an Array which contains the response data, status code and headers.
|
|
1836
3020
|
|
|
1837
|
-
> <Array(<
|
|
3021
|
+
> <Array(<SearchUsersResult>, Integer, Hash)> search_users_with_http_info(tenant_id, url_id, opts)
|
|
1838
3022
|
|
|
1839
3023
|
```ruby
|
|
1840
3024
|
begin
|
|
@@ -1842,7 +3026,7 @@ begin
|
|
|
1842
3026
|
data, status_code, headers = api_instance.search_users_with_http_info(tenant_id, url_id, opts)
|
|
1843
3027
|
p status_code # => 2xx
|
|
1844
3028
|
p headers # => { ... }
|
|
1845
|
-
p data # => <
|
|
3029
|
+
p data # => <SearchUsersResult>
|
|
1846
3030
|
rescue FastCommentsClient::ApiError => e
|
|
1847
3031
|
puts "Error when calling PublicApi->search_users_with_http_info: #{e}"
|
|
1848
3032
|
end
|
|
@@ -1861,7 +3045,7 @@ end
|
|
|
1861
3045
|
|
|
1862
3046
|
### Return type
|
|
1863
3047
|
|
|
1864
|
-
[**
|
|
3048
|
+
[**SearchUsersResult**](SearchUsersResult.md)
|
|
1865
3049
|
|
|
1866
3050
|
### Authorization
|
|
1867
3051
|
|
|
@@ -1875,7 +3059,7 @@ No authorization required
|
|
|
1875
3059
|
|
|
1876
3060
|
## set_comment_text
|
|
1877
3061
|
|
|
1878
|
-
> <
|
|
3062
|
+
> <PublicAPISetCommentTextResponse> set_comment_text(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
|
|
1879
3063
|
|
|
1880
3064
|
|
|
1881
3065
|
|
|
@@ -1908,7 +3092,7 @@ end
|
|
|
1908
3092
|
|
|
1909
3093
|
This returns an Array which contains the response data, status code and headers.
|
|
1910
3094
|
|
|
1911
|
-
> <Array(<
|
|
3095
|
+
> <Array(<PublicAPISetCommentTextResponse>, Integer, Hash)> set_comment_text_with_http_info(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
|
|
1912
3096
|
|
|
1913
3097
|
```ruby
|
|
1914
3098
|
begin
|
|
@@ -1916,7 +3100,7 @@ begin
|
|
|
1916
3100
|
data, status_code, headers = api_instance.set_comment_text_with_http_info(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
|
|
1917
3101
|
p status_code # => 2xx
|
|
1918
3102
|
p headers # => { ... }
|
|
1919
|
-
p data # => <
|
|
3103
|
+
p data # => <PublicAPISetCommentTextResponse>
|
|
1920
3104
|
rescue FastCommentsClient::ApiError => e
|
|
1921
3105
|
puts "Error when calling PublicApi->set_comment_text_with_http_info: #{e}"
|
|
1922
3106
|
end
|
|
@@ -1935,7 +3119,7 @@ end
|
|
|
1935
3119
|
|
|
1936
3120
|
### Return type
|
|
1937
3121
|
|
|
1938
|
-
[**
|
|
3122
|
+
[**PublicAPISetCommentTextResponse**](PublicAPISetCommentTextResponse.md)
|
|
1939
3123
|
|
|
1940
3124
|
### Authorization
|
|
1941
3125
|
|
|
@@ -1949,7 +3133,7 @@ No authorization required
|
|
|
1949
3133
|
|
|
1950
3134
|
## un_block_comment_public
|
|
1951
3135
|
|
|
1952
|
-
> <
|
|
3136
|
+
> <UnblockSuccess> un_block_comment_public(tenant_id, comment_id, public_block_from_comment_params, opts)
|
|
1953
3137
|
|
|
1954
3138
|
|
|
1955
3139
|
|
|
@@ -1980,7 +3164,7 @@ end
|
|
|
1980
3164
|
|
|
1981
3165
|
This returns an Array which contains the response data, status code and headers.
|
|
1982
3166
|
|
|
1983
|
-
> <Array(<
|
|
3167
|
+
> <Array(<UnblockSuccess>, Integer, Hash)> un_block_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
|
|
1984
3168
|
|
|
1985
3169
|
```ruby
|
|
1986
3170
|
begin
|
|
@@ -1988,7 +3172,7 @@ begin
|
|
|
1988
3172
|
data, status_code, headers = api_instance.un_block_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
|
|
1989
3173
|
p status_code # => 2xx
|
|
1990
3174
|
p headers # => { ... }
|
|
1991
|
-
p data # => <
|
|
3175
|
+
p data # => <UnblockSuccess>
|
|
1992
3176
|
rescue FastCommentsClient::ApiError => e
|
|
1993
3177
|
puts "Error when calling PublicApi->un_block_comment_public_with_http_info: #{e}"
|
|
1994
3178
|
end
|
|
@@ -2005,7 +3189,7 @@ end
|
|
|
2005
3189
|
|
|
2006
3190
|
### Return type
|
|
2007
3191
|
|
|
2008
|
-
[**
|
|
3192
|
+
[**UnblockSuccess**](UnblockSuccess.md)
|
|
2009
3193
|
|
|
2010
3194
|
### Authorization
|
|
2011
3195
|
|
|
@@ -2019,7 +3203,7 @@ No authorization required
|
|
|
2019
3203
|
|
|
2020
3204
|
## un_lock_comment
|
|
2021
3205
|
|
|
2022
|
-
> <
|
|
3206
|
+
> <APIEmptyResponse> un_lock_comment(tenant_id, comment_id, broadcast_id, opts)
|
|
2023
3207
|
|
|
2024
3208
|
|
|
2025
3209
|
|
|
@@ -2050,7 +3234,7 @@ end
|
|
|
2050
3234
|
|
|
2051
3235
|
This returns an Array which contains the response data, status code and headers.
|
|
2052
3236
|
|
|
2053
|
-
> <Array(<
|
|
3237
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> un_lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
2054
3238
|
|
|
2055
3239
|
```ruby
|
|
2056
3240
|
begin
|
|
@@ -2058,7 +3242,7 @@ begin
|
|
|
2058
3242
|
data, status_code, headers = api_instance.un_lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
2059
3243
|
p status_code # => 2xx
|
|
2060
3244
|
p headers # => { ... }
|
|
2061
|
-
p data # => <
|
|
3245
|
+
p data # => <APIEmptyResponse>
|
|
2062
3246
|
rescue FastCommentsClient::ApiError => e
|
|
2063
3247
|
puts "Error when calling PublicApi->un_lock_comment_with_http_info: #{e}"
|
|
2064
3248
|
end
|
|
@@ -2075,7 +3259,7 @@ end
|
|
|
2075
3259
|
|
|
2076
3260
|
### Return type
|
|
2077
3261
|
|
|
2078
|
-
[**
|
|
3262
|
+
[**APIEmptyResponse**](APIEmptyResponse.md)
|
|
2079
3263
|
|
|
2080
3264
|
### Authorization
|
|
2081
3265
|
|
|
@@ -2089,7 +3273,7 @@ No authorization required
|
|
|
2089
3273
|
|
|
2090
3274
|
## un_pin_comment
|
|
2091
3275
|
|
|
2092
|
-
> <
|
|
3276
|
+
> <ChangeCommentPinStatusResponse> un_pin_comment(tenant_id, comment_id, broadcast_id, opts)
|
|
2093
3277
|
|
|
2094
3278
|
|
|
2095
3279
|
|
|
@@ -2120,7 +3304,7 @@ end
|
|
|
2120
3304
|
|
|
2121
3305
|
This returns an Array which contains the response data, status code and headers.
|
|
2122
3306
|
|
|
2123
|
-
> <Array(<
|
|
3307
|
+
> <Array(<ChangeCommentPinStatusResponse>, Integer, Hash)> un_pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
2124
3308
|
|
|
2125
3309
|
```ruby
|
|
2126
3310
|
begin
|
|
@@ -2128,7 +3312,7 @@ begin
|
|
|
2128
3312
|
data, status_code, headers = api_instance.un_pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
2129
3313
|
p status_code # => 2xx
|
|
2130
3314
|
p headers # => { ... }
|
|
2131
|
-
p data # => <
|
|
3315
|
+
p data # => <ChangeCommentPinStatusResponse>
|
|
2132
3316
|
rescue FastCommentsClient::ApiError => e
|
|
2133
3317
|
puts "Error when calling PublicApi->un_pin_comment_with_http_info: #{e}"
|
|
2134
3318
|
end
|
|
@@ -2145,7 +3329,7 @@ end
|
|
|
2145
3329
|
|
|
2146
3330
|
### Return type
|
|
2147
3331
|
|
|
2148
|
-
[**
|
|
3332
|
+
[**ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md)
|
|
2149
3333
|
|
|
2150
3334
|
### Authorization
|
|
2151
3335
|
|
|
@@ -2159,7 +3343,7 @@ No authorization required
|
|
|
2159
3343
|
|
|
2160
3344
|
## update_feed_post_public
|
|
2161
3345
|
|
|
2162
|
-
> <
|
|
3346
|
+
> <CreateFeedPostResponse> update_feed_post_public(tenant_id, post_id, update_feed_post_params, opts)
|
|
2163
3347
|
|
|
2164
3348
|
|
|
2165
3349
|
|
|
@@ -2191,7 +3375,7 @@ end
|
|
|
2191
3375
|
|
|
2192
3376
|
This returns an Array which contains the response data, status code and headers.
|
|
2193
3377
|
|
|
2194
|
-
> <Array(<
|
|
3378
|
+
> <Array(<CreateFeedPostResponse>, Integer, Hash)> update_feed_post_public_with_http_info(tenant_id, post_id, update_feed_post_params, opts)
|
|
2195
3379
|
|
|
2196
3380
|
```ruby
|
|
2197
3381
|
begin
|
|
@@ -2199,7 +3383,7 @@ begin
|
|
|
2199
3383
|
data, status_code, headers = api_instance.update_feed_post_public_with_http_info(tenant_id, post_id, update_feed_post_params, opts)
|
|
2200
3384
|
p status_code # => 2xx
|
|
2201
3385
|
p headers # => { ... }
|
|
2202
|
-
p data # => <
|
|
3386
|
+
p data # => <CreateFeedPostResponse>
|
|
2203
3387
|
rescue FastCommentsClient::ApiError => e
|
|
2204
3388
|
puts "Error when calling PublicApi->update_feed_post_public_with_http_info: #{e}"
|
|
2205
3389
|
end
|
|
@@ -2217,7 +3401,7 @@ end
|
|
|
2217
3401
|
|
|
2218
3402
|
### Return type
|
|
2219
3403
|
|
|
2220
|
-
[**
|
|
3404
|
+
[**CreateFeedPostResponse**](CreateFeedPostResponse.md)
|
|
2221
3405
|
|
|
2222
3406
|
### Authorization
|
|
2223
3407
|
|
|
@@ -2231,7 +3415,7 @@ No authorization required
|
|
|
2231
3415
|
|
|
2232
3416
|
## update_user_notification_comment_subscription_status
|
|
2233
3417
|
|
|
2234
|
-
> <
|
|
3418
|
+
> <UpdateUserNotificationCommentSubscriptionStatusResponse> update_user_notification_comment_subscription_status(tenant_id, notification_id, opted_in_or_out, comment_id, opts)
|
|
2235
3419
|
|
|
2236
3420
|
|
|
2237
3421
|
|
|
@@ -2265,7 +3449,7 @@ end
|
|
|
2265
3449
|
|
|
2266
3450
|
This returns an Array which contains the response data, status code and headers.
|
|
2267
3451
|
|
|
2268
|
-
> <Array(<
|
|
3452
|
+
> <Array(<UpdateUserNotificationCommentSubscriptionStatusResponse>, Integer, Hash)> update_user_notification_comment_subscription_status_with_http_info(tenant_id, notification_id, opted_in_or_out, comment_id, opts)
|
|
2269
3453
|
|
|
2270
3454
|
```ruby
|
|
2271
3455
|
begin
|
|
@@ -2273,7 +3457,7 @@ begin
|
|
|
2273
3457
|
data, status_code, headers = api_instance.update_user_notification_comment_subscription_status_with_http_info(tenant_id, notification_id, opted_in_or_out, comment_id, opts)
|
|
2274
3458
|
p status_code # => 2xx
|
|
2275
3459
|
p headers # => { ... }
|
|
2276
|
-
p data # => <
|
|
3460
|
+
p data # => <UpdateUserNotificationCommentSubscriptionStatusResponse>
|
|
2277
3461
|
rescue FastCommentsClient::ApiError => e
|
|
2278
3462
|
puts "Error when calling PublicApi->update_user_notification_comment_subscription_status_with_http_info: #{e}"
|
|
2279
3463
|
end
|
|
@@ -2291,7 +3475,7 @@ end
|
|
|
2291
3475
|
|
|
2292
3476
|
### Return type
|
|
2293
3477
|
|
|
2294
|
-
[**
|
|
3478
|
+
[**UpdateUserNotificationCommentSubscriptionStatusResponse**](UpdateUserNotificationCommentSubscriptionStatusResponse.md)
|
|
2295
3479
|
|
|
2296
3480
|
### Authorization
|
|
2297
3481
|
|
|
@@ -2305,7 +3489,7 @@ No authorization required
|
|
|
2305
3489
|
|
|
2306
3490
|
## update_user_notification_page_subscription_status
|
|
2307
3491
|
|
|
2308
|
-
> <
|
|
3492
|
+
> <UpdateUserNotificationPageSubscriptionStatusResponse> update_user_notification_page_subscription_status(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts)
|
|
2309
3493
|
|
|
2310
3494
|
|
|
2311
3495
|
|
|
@@ -2340,7 +3524,7 @@ end
|
|
|
2340
3524
|
|
|
2341
3525
|
This returns an Array which contains the response data, status code and headers.
|
|
2342
3526
|
|
|
2343
|
-
> <Array(<
|
|
3527
|
+
> <Array(<UpdateUserNotificationPageSubscriptionStatusResponse>, Integer, Hash)> update_user_notification_page_subscription_status_with_http_info(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts)
|
|
2344
3528
|
|
|
2345
3529
|
```ruby
|
|
2346
3530
|
begin
|
|
@@ -2348,7 +3532,7 @@ begin
|
|
|
2348
3532
|
data, status_code, headers = api_instance.update_user_notification_page_subscription_status_with_http_info(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts)
|
|
2349
3533
|
p status_code # => 2xx
|
|
2350
3534
|
p headers # => { ... }
|
|
2351
|
-
p data # => <
|
|
3535
|
+
p data # => <UpdateUserNotificationPageSubscriptionStatusResponse>
|
|
2352
3536
|
rescue FastCommentsClient::ApiError => e
|
|
2353
3537
|
puts "Error when calling PublicApi->update_user_notification_page_subscription_status_with_http_info: #{e}"
|
|
2354
3538
|
end
|
|
@@ -2367,7 +3551,7 @@ end
|
|
|
2367
3551
|
|
|
2368
3552
|
### Return type
|
|
2369
3553
|
|
|
2370
|
-
[**
|
|
3554
|
+
[**UpdateUserNotificationPageSubscriptionStatusResponse**](UpdateUserNotificationPageSubscriptionStatusResponse.md)
|
|
2371
3555
|
|
|
2372
3556
|
### Authorization
|
|
2373
3557
|
|
|
@@ -2381,7 +3565,7 @@ No authorization required
|
|
|
2381
3565
|
|
|
2382
3566
|
## update_user_notification_status
|
|
2383
3567
|
|
|
2384
|
-
> <
|
|
3568
|
+
> <UpdateUserNotificationStatusResponse> update_user_notification_status(tenant_id, notification_id, new_status, opts)
|
|
2385
3569
|
|
|
2386
3570
|
|
|
2387
3571
|
|
|
@@ -2412,7 +3596,7 @@ end
|
|
|
2412
3596
|
|
|
2413
3597
|
This returns an Array which contains the response data, status code and headers.
|
|
2414
3598
|
|
|
2415
|
-
> <Array(<
|
|
3599
|
+
> <Array(<UpdateUserNotificationStatusResponse>, Integer, Hash)> update_user_notification_status_with_http_info(tenant_id, notification_id, new_status, opts)
|
|
2416
3600
|
|
|
2417
3601
|
```ruby
|
|
2418
3602
|
begin
|
|
@@ -2420,7 +3604,7 @@ begin
|
|
|
2420
3604
|
data, status_code, headers = api_instance.update_user_notification_status_with_http_info(tenant_id, notification_id, new_status, opts)
|
|
2421
3605
|
p status_code # => 2xx
|
|
2422
3606
|
p headers # => { ... }
|
|
2423
|
-
p data # => <
|
|
3607
|
+
p data # => <UpdateUserNotificationStatusResponse>
|
|
2424
3608
|
rescue FastCommentsClient::ApiError => e
|
|
2425
3609
|
puts "Error when calling PublicApi->update_user_notification_status_with_http_info: #{e}"
|
|
2426
3610
|
end
|
|
@@ -2437,7 +3621,7 @@ end
|
|
|
2437
3621
|
|
|
2438
3622
|
### Return type
|
|
2439
3623
|
|
|
2440
|
-
[**
|
|
3624
|
+
[**UpdateUserNotificationStatusResponse**](UpdateUserNotificationStatusResponse.md)
|
|
2441
3625
|
|
|
2442
3626
|
### Authorization
|
|
2443
3627
|
|
|
@@ -2523,7 +3707,7 @@ No authorization required
|
|
|
2523
3707
|
|
|
2524
3708
|
## vote_comment
|
|
2525
3709
|
|
|
2526
|
-
> <
|
|
3710
|
+
> <VoteResponse> vote_comment(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
|
|
2527
3711
|
|
|
2528
3712
|
|
|
2529
3713
|
|
|
@@ -2557,7 +3741,7 @@ end
|
|
|
2557
3741
|
|
|
2558
3742
|
This returns an Array which contains the response data, status code and headers.
|
|
2559
3743
|
|
|
2560
|
-
> <Array(<
|
|
3744
|
+
> <Array(<VoteResponse>, Integer, Hash)> vote_comment_with_http_info(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
|
|
2561
3745
|
|
|
2562
3746
|
```ruby
|
|
2563
3747
|
begin
|
|
@@ -2565,7 +3749,7 @@ begin
|
|
|
2565
3749
|
data, status_code, headers = api_instance.vote_comment_with_http_info(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
|
|
2566
3750
|
p status_code # => 2xx
|
|
2567
3751
|
p headers # => { ... }
|
|
2568
|
-
p data # => <
|
|
3752
|
+
p data # => <VoteResponse>
|
|
2569
3753
|
rescue FastCommentsClient::ApiError => e
|
|
2570
3754
|
puts "Error when calling PublicApi->vote_comment_with_http_info: #{e}"
|
|
2571
3755
|
end
|
|
@@ -2585,7 +3769,7 @@ end
|
|
|
2585
3769
|
|
|
2586
3770
|
### Return type
|
|
2587
3771
|
|
|
2588
|
-
[**
|
|
3772
|
+
[**VoteResponse**](VoteResponse.md)
|
|
2589
3773
|
|
|
2590
3774
|
### Authorization
|
|
2591
3775
|
|