fastcomments 1.2.0 → 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +27 -3
- data/client/README.md +188 -98
- 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 +3 -3
- data/client/docs/APICommentBase.md +3 -3
- data/client/docs/APICommentBaseMeta.md +20 -0
- 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/APITicket.md +34 -0
- data/client/docs/APITicketDetail.md +42 -0
- data/client/docs/APITicketFile.md +36 -0
- data/client/docs/APIUserSubscription.md +2 -0
- 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/ChangeTicketStateBody.md +18 -0
- data/client/docs/ChangeTicketStateResponse.md +20 -0
- data/client/docs/CommentData.md +6 -2
- data/client/docs/CommentLogData.md +2 -0
- data/client/docs/CommentsByIdsParams.md +18 -0
- data/client/docs/CreateAPIUserSubscriptionData.md +2 -0
- data/client/docs/CreateCommentParams.md +5 -1
- data/client/docs/CreateTenantPackageBody.md +6 -4
- data/client/docs/CreateTicketBody.md +18 -0
- data/client/docs/CreateTicketResponse.md +20 -0
- data/client/docs/CreateV1PageReact.md +20 -0
- data/client/docs/CustomConfigParameters.md +31 -1
- data/client/docs/DefaultApi.md +771 -383
- 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 +5 -1
- data/client/docs/FCommentMeta.md +2 -0
- 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/GetTicketResponse.md +22 -0
- data/client/docs/GetTicketsResponse.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 +36 -0
- data/client/docs/HeaderState.md +3 -1
- data/client/docs/ImportedAgentApprovalNotificationFrequency.md +15 -0
- data/client/docs/LiveEvent.md +2 -0
- data/client/docs/MentionAutoCompleteMode.md +15 -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/Moderator.md +3 -1
- 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 +1517 -331
- 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/ReplaceTenantPackageBody.md +2 -0
- data/client/docs/{SaveComment200Response.md → SaveCommentsBulkResponse.md} +3 -3
- data/client/docs/SearchUsersResult.md +22 -0
- data/client/docs/SearchUsersSectionedResponse.md +20 -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/TOSConfig.md +22 -0
- data/client/docs/TenantBadge.md +58 -0
- data/client/docs/TenantPackage.md +19 -1
- data/client/docs/UpdatableCommentParams.md +1 -1
- data/client/docs/UpdateAPIUserSubscriptionData.md +18 -0
- data/client/docs/UpdateSubscriptionAPIResponse.md +24 -0
- data/client/docs/UpdateTenantPackageBody.md +2 -0
- 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 +19 -1
- data/client/docs/UserBadge.md +3 -1
- data/client/docs/UserBadgeProgress.md +3 -1
- data/client/docs/UserSearchSection.md +15 -0
- data/client/docs/UserSearchSectionResult.md +20 -0
- data/client/docs/UserSessionInfo.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 +678 -289
- data/client/lib/fastcomments-client/api/moderation_api.rb +2828 -0
- data/client/lib/fastcomments-client/api/public_api.rb +1492 -299
- 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 +92 -19
- data/client/lib/fastcomments-client/models/api_comment_base.rb +92 -19
- data/client/lib/fastcomments-client/models/api_comment_base_meta.rb +229 -0
- 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 +447 -0
- data/client/lib/fastcomments-client/models/api_ticket_detail.rb +505 -0
- data/client/lib/fastcomments-client/models/api_ticket_file.rb +454 -0
- data/client/lib/fastcomments-client/models/api_user_subscription.rb +85 -3
- 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 +237 -0
- data/client/lib/fastcomments-client/models/change_ticket_state_response.rb +285 -0
- 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 +97 -6
- 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 +85 -3
- data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +75 -2
- data/client/lib/fastcomments-client/models/create_comment_params.rb +95 -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 +97 -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 +237 -0
- data/client/lib/fastcomments-client/models/create_ticket_response.rb +285 -0
- 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 +220 -6
- 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 +97 -6
- data/client/lib/fastcomments-client/models/f_comment_meta.rb +85 -3
- 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 +313 -0
- data/client/lib/fastcomments-client/models/get_tickets_response.rb +287 -0
- 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 +406 -0
- data/client/lib/fastcomments-client/models/header_state.rb +107 -6
- 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 +41 -0
- 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 +89 -7
- 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 +85 -3
- 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_users_result.rb +104 -0
- data/client/lib/fastcomments-client/models/search_users_sectioned_response.rb +287 -0
- 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 +177 -6
- data/client/lib/fastcomments-client/models/tos_config.rb +241 -0
- 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 +76 -3
- data/client/lib/fastcomments-client/models/update_api_page_data.rb +75 -2
- data/client/lib/fastcomments-client/models/{delete_domain_config200_response.rb → update_api_user_subscription_data.rb} +84 -14
- 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 +264 -0
- data/client/lib/fastcomments-client/models/update_tenant_body.rb +75 -2
- data/client/lib/fastcomments-client/models/update_tenant_package_body.rb +85 -3
- 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 +160 -6
- data/client/lib/fastcomments-client/models/user_badge.rb +89 -6
- data/client/lib/fastcomments-client/models/user_badge_progress.rb +88 -6
- 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 +41 -0
- data/client/lib/fastcomments-client/models/user_search_section_result.rb +287 -0
- data/client/lib/fastcomments-client/models/user_session_info.rb +85 -3
- 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/{checked_comments_for_blocked200_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 +120 -95
- data/client/spec/api/default_api_spec.rb +163 -97
- data/client/spec/api/moderation_api_spec.rb +559 -0
- data/client/spec/api/public_api_spec.rb +254 -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 +42 -0
- 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 +108 -0
- data/client/spec/models/api_ticket_file_spec.rb +90 -0
- data/client/spec/models/api_ticket_spec.rb +84 -0
- data/client/spec/models/api_user_subscription_spec.rb +8 -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 +36 -0
- data/client/spec/models/change_ticket_state_response_spec.rb +42 -0
- 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 +14 -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 +8 -2
- data/client/spec/models/create_apisso_user_data_spec.rb +2 -2
- data/client/spec/models/create_comment_params_spec.rb +14 -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 +10 -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 +36 -0
- data/client/spec/models/create_ticket_response_spec.rb +42 -0
- 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 +92 -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 +8 -2
- data/client/spec/models/f_comment_spec.rb +14 -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_tenant200_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_tenants200_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 +48 -0
- data/client/spec/models/get_tickets_response_spec.rb +42 -0
- 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 +90 -0
- data/client/spec/models/header_state_spec.rb +8 -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 +30 -0
- 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 +8 -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 +8 -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 +42 -0
- 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 +56 -2
- data/client/spec/models/tos_config_spec.rb +48 -0
- 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 +36 -0
- 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 +54 -0
- data/client/spec/models/update_tenant_body_spec.rb +2 -2
- data/client/spec/models/update_tenant_package_body_spec.rb +8 -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 +8 -2
- data/client/spec/models/user_badge_spec.rb +8 -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 +42 -0
- data/client/spec/models/user_search_section_spec.rb +30 -0
- data/client/spec/models/user_session_info_spec.rb +8 -2
- data/client/spec/models/user_spec.rb +56 -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 +359 -282
- 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/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/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/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 -34
- 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/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_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_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_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/search_users200_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/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_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_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,147 @@ No authorization required
|
|
|
323
340
|
- **Accept**: application/json
|
|
324
341
|
|
|
325
342
|
|
|
343
|
+
## create_v1_page_react
|
|
344
|
+
|
|
345
|
+
> <CreateV1PageReact> create_v1_page_react(tenant_id, url_id, opts)
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
### Examples
|
|
350
|
+
|
|
351
|
+
```ruby
|
|
352
|
+
require 'time'
|
|
353
|
+
require 'fastcomments-client'
|
|
354
|
+
|
|
355
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
356
|
+
tenant_id = 'tenant_id_example' # String |
|
|
357
|
+
url_id = 'url_id_example' # String |
|
|
358
|
+
opts = {
|
|
359
|
+
title: 'title_example' # String |
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
begin
|
|
363
|
+
|
|
364
|
+
result = api_instance.create_v1_page_react(tenant_id, url_id, opts)
|
|
365
|
+
p result
|
|
366
|
+
rescue FastCommentsClient::ApiError => e
|
|
367
|
+
puts "Error when calling PublicApi->create_v1_page_react: #{e}"
|
|
368
|
+
end
|
|
369
|
+
```
|
|
370
|
+
|
|
371
|
+
#### Using the create_v1_page_react_with_http_info variant
|
|
372
|
+
|
|
373
|
+
This returns an Array which contains the response data, status code and headers.
|
|
374
|
+
|
|
375
|
+
> <Array(<CreateV1PageReact>, Integer, Hash)> create_v1_page_react_with_http_info(tenant_id, url_id, opts)
|
|
376
|
+
|
|
377
|
+
```ruby
|
|
378
|
+
begin
|
|
379
|
+
|
|
380
|
+
data, status_code, headers = api_instance.create_v1_page_react_with_http_info(tenant_id, url_id, opts)
|
|
381
|
+
p status_code # => 2xx
|
|
382
|
+
p headers # => { ... }
|
|
383
|
+
p data # => <CreateV1PageReact>
|
|
384
|
+
rescue FastCommentsClient::ApiError => e
|
|
385
|
+
puts "Error when calling PublicApi->create_v1_page_react_with_http_info: #{e}"
|
|
386
|
+
end
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
### Parameters
|
|
390
|
+
|
|
391
|
+
| Name | Type | Description | Notes |
|
|
392
|
+
| ---- | ---- | ----------- | ----- |
|
|
393
|
+
| **tenant_id** | **String** | | |
|
|
394
|
+
| **url_id** | **String** | | |
|
|
395
|
+
| **title** | **String** | | [optional] |
|
|
396
|
+
|
|
397
|
+
### Return type
|
|
398
|
+
|
|
399
|
+
[**CreateV1PageReact**](CreateV1PageReact.md)
|
|
400
|
+
|
|
401
|
+
### Authorization
|
|
402
|
+
|
|
403
|
+
No authorization required
|
|
404
|
+
|
|
405
|
+
### HTTP request headers
|
|
406
|
+
|
|
407
|
+
- **Content-Type**: Not defined
|
|
408
|
+
- **Accept**: application/json
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
## create_v2_page_react
|
|
412
|
+
|
|
413
|
+
> <CreateV1PageReact> create_v2_page_react(tenant_id, url_id, id, opts)
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
### Examples
|
|
418
|
+
|
|
419
|
+
```ruby
|
|
420
|
+
require 'time'
|
|
421
|
+
require 'fastcomments-client'
|
|
422
|
+
|
|
423
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
424
|
+
tenant_id = 'tenant_id_example' # String |
|
|
425
|
+
url_id = 'url_id_example' # String |
|
|
426
|
+
id = 'id_example' # String |
|
|
427
|
+
opts = {
|
|
428
|
+
title: 'title_example' # String |
|
|
429
|
+
}
|
|
430
|
+
|
|
431
|
+
begin
|
|
432
|
+
|
|
433
|
+
result = api_instance.create_v2_page_react(tenant_id, url_id, id, opts)
|
|
434
|
+
p result
|
|
435
|
+
rescue FastCommentsClient::ApiError => e
|
|
436
|
+
puts "Error when calling PublicApi->create_v2_page_react: #{e}"
|
|
437
|
+
end
|
|
438
|
+
```
|
|
439
|
+
|
|
440
|
+
#### Using the create_v2_page_react_with_http_info variant
|
|
441
|
+
|
|
442
|
+
This returns an Array which contains the response data, status code and headers.
|
|
443
|
+
|
|
444
|
+
> <Array(<CreateV1PageReact>, Integer, Hash)> create_v2_page_react_with_http_info(tenant_id, url_id, id, opts)
|
|
445
|
+
|
|
446
|
+
```ruby
|
|
447
|
+
begin
|
|
448
|
+
|
|
449
|
+
data, status_code, headers = api_instance.create_v2_page_react_with_http_info(tenant_id, url_id, id, opts)
|
|
450
|
+
p status_code # => 2xx
|
|
451
|
+
p headers # => { ... }
|
|
452
|
+
p data # => <CreateV1PageReact>
|
|
453
|
+
rescue FastCommentsClient::ApiError => e
|
|
454
|
+
puts "Error when calling PublicApi->create_v2_page_react_with_http_info: #{e}"
|
|
455
|
+
end
|
|
456
|
+
```
|
|
457
|
+
|
|
458
|
+
### Parameters
|
|
459
|
+
|
|
460
|
+
| Name | Type | Description | Notes |
|
|
461
|
+
| ---- | ---- | ----------- | ----- |
|
|
462
|
+
| **tenant_id** | **String** | | |
|
|
463
|
+
| **url_id** | **String** | | |
|
|
464
|
+
| **id** | **String** | | |
|
|
465
|
+
| **title** | **String** | | [optional] |
|
|
466
|
+
|
|
467
|
+
### Return type
|
|
468
|
+
|
|
469
|
+
[**CreateV1PageReact**](CreateV1PageReact.md)
|
|
470
|
+
|
|
471
|
+
### Authorization
|
|
472
|
+
|
|
473
|
+
No authorization required
|
|
474
|
+
|
|
475
|
+
### HTTP request headers
|
|
476
|
+
|
|
477
|
+
- **Content-Type**: Not defined
|
|
478
|
+
- **Accept**: application/json
|
|
479
|
+
|
|
480
|
+
|
|
326
481
|
## delete_comment_public
|
|
327
482
|
|
|
328
|
-
> <
|
|
483
|
+
> <PublicAPIDeleteCommentResponse> delete_comment_public(tenant_id, comment_id, broadcast_id, opts)
|
|
329
484
|
|
|
330
485
|
|
|
331
486
|
|
|
@@ -357,7 +512,7 @@ end
|
|
|
357
512
|
|
|
358
513
|
This returns an Array which contains the response data, status code and headers.
|
|
359
514
|
|
|
360
|
-
> <Array(<
|
|
515
|
+
> <Array(<PublicAPIDeleteCommentResponse>, Integer, Hash)> delete_comment_public_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
361
516
|
|
|
362
517
|
```ruby
|
|
363
518
|
begin
|
|
@@ -365,7 +520,7 @@ begin
|
|
|
365
520
|
data, status_code, headers = api_instance.delete_comment_public_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
366
521
|
p status_code # => 2xx
|
|
367
522
|
p headers # => { ... }
|
|
368
|
-
p data # => <
|
|
523
|
+
p data # => <PublicAPIDeleteCommentResponse>
|
|
369
524
|
rescue FastCommentsClient::ApiError => e
|
|
370
525
|
puts "Error when calling PublicApi->delete_comment_public_with_http_info: #{e}"
|
|
371
526
|
end
|
|
@@ -383,7 +538,7 @@ end
|
|
|
383
538
|
|
|
384
539
|
### Return type
|
|
385
540
|
|
|
386
|
-
[**
|
|
541
|
+
[**PublicAPIDeleteCommentResponse**](PublicAPIDeleteCommentResponse.md)
|
|
387
542
|
|
|
388
543
|
### Authorization
|
|
389
544
|
|
|
@@ -397,7 +552,7 @@ No authorization required
|
|
|
397
552
|
|
|
398
553
|
## delete_comment_vote
|
|
399
554
|
|
|
400
|
-
> <
|
|
555
|
+
> <VoteDeleteResponse> delete_comment_vote(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
|
|
401
556
|
|
|
402
557
|
|
|
403
558
|
|
|
@@ -431,7 +586,7 @@ end
|
|
|
431
586
|
|
|
432
587
|
This returns an Array which contains the response data, status code and headers.
|
|
433
588
|
|
|
434
|
-
> <Array(<
|
|
589
|
+
> <Array(<VoteDeleteResponse>, Integer, Hash)> delete_comment_vote_with_http_info(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
|
|
435
590
|
|
|
436
591
|
```ruby
|
|
437
592
|
begin
|
|
@@ -439,7 +594,7 @@ begin
|
|
|
439
594
|
data, status_code, headers = api_instance.delete_comment_vote_with_http_info(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
|
|
440
595
|
p status_code # => 2xx
|
|
441
596
|
p headers # => { ... }
|
|
442
|
-
p data # => <
|
|
597
|
+
p data # => <VoteDeleteResponse>
|
|
443
598
|
rescue FastCommentsClient::ApiError => e
|
|
444
599
|
puts "Error when calling PublicApi->delete_comment_vote_with_http_info: #{e}"
|
|
445
600
|
end
|
|
@@ -459,7 +614,7 @@ end
|
|
|
459
614
|
|
|
460
615
|
### Return type
|
|
461
616
|
|
|
462
|
-
[**
|
|
617
|
+
[**VoteDeleteResponse**](VoteDeleteResponse.md)
|
|
463
618
|
|
|
464
619
|
### Authorization
|
|
465
620
|
|
|
@@ -473,7 +628,7 @@ No authorization required
|
|
|
473
628
|
|
|
474
629
|
## delete_feed_post_public
|
|
475
630
|
|
|
476
|
-
> <
|
|
631
|
+
> <DeleteFeedPostPublicResponse> delete_feed_post_public(tenant_id, post_id, opts)
|
|
477
632
|
|
|
478
633
|
|
|
479
634
|
|
|
@@ -504,7 +659,7 @@ end
|
|
|
504
659
|
|
|
505
660
|
This returns an Array which contains the response data, status code and headers.
|
|
506
661
|
|
|
507
|
-
> <Array(<
|
|
662
|
+
> <Array(<DeleteFeedPostPublicResponse>, Integer, Hash)> delete_feed_post_public_with_http_info(tenant_id, post_id, opts)
|
|
508
663
|
|
|
509
664
|
```ruby
|
|
510
665
|
begin
|
|
@@ -512,7 +667,7 @@ begin
|
|
|
512
667
|
data, status_code, headers = api_instance.delete_feed_post_public_with_http_info(tenant_id, post_id, opts)
|
|
513
668
|
p status_code # => 2xx
|
|
514
669
|
p headers # => { ... }
|
|
515
|
-
p data # => <
|
|
670
|
+
p data # => <DeleteFeedPostPublicResponse>
|
|
516
671
|
rescue FastCommentsClient::ApiError => e
|
|
517
672
|
puts "Error when calling PublicApi->delete_feed_post_public_with_http_info: #{e}"
|
|
518
673
|
end
|
|
@@ -529,7 +684,137 @@ end
|
|
|
529
684
|
|
|
530
685
|
### Return type
|
|
531
686
|
|
|
532
|
-
[**
|
|
687
|
+
[**DeleteFeedPostPublicResponse**](DeleteFeedPostPublicResponse.md)
|
|
688
|
+
|
|
689
|
+
### Authorization
|
|
690
|
+
|
|
691
|
+
No authorization required
|
|
692
|
+
|
|
693
|
+
### HTTP request headers
|
|
694
|
+
|
|
695
|
+
- **Content-Type**: Not defined
|
|
696
|
+
- **Accept**: application/json
|
|
697
|
+
|
|
698
|
+
|
|
699
|
+
## delete_v1_page_react
|
|
700
|
+
|
|
701
|
+
> <CreateV1PageReact> delete_v1_page_react(tenant_id, url_id)
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
### Examples
|
|
706
|
+
|
|
707
|
+
```ruby
|
|
708
|
+
require 'time'
|
|
709
|
+
require 'fastcomments-client'
|
|
710
|
+
|
|
711
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
712
|
+
tenant_id = 'tenant_id_example' # String |
|
|
713
|
+
url_id = 'url_id_example' # String |
|
|
714
|
+
|
|
715
|
+
begin
|
|
716
|
+
|
|
717
|
+
result = api_instance.delete_v1_page_react(tenant_id, url_id)
|
|
718
|
+
p result
|
|
719
|
+
rescue FastCommentsClient::ApiError => e
|
|
720
|
+
puts "Error when calling PublicApi->delete_v1_page_react: #{e}"
|
|
721
|
+
end
|
|
722
|
+
```
|
|
723
|
+
|
|
724
|
+
#### Using the delete_v1_page_react_with_http_info variant
|
|
725
|
+
|
|
726
|
+
This returns an Array which contains the response data, status code and headers.
|
|
727
|
+
|
|
728
|
+
> <Array(<CreateV1PageReact>, Integer, Hash)> delete_v1_page_react_with_http_info(tenant_id, url_id)
|
|
729
|
+
|
|
730
|
+
```ruby
|
|
731
|
+
begin
|
|
732
|
+
|
|
733
|
+
data, status_code, headers = api_instance.delete_v1_page_react_with_http_info(tenant_id, url_id)
|
|
734
|
+
p status_code # => 2xx
|
|
735
|
+
p headers # => { ... }
|
|
736
|
+
p data # => <CreateV1PageReact>
|
|
737
|
+
rescue FastCommentsClient::ApiError => e
|
|
738
|
+
puts "Error when calling PublicApi->delete_v1_page_react_with_http_info: #{e}"
|
|
739
|
+
end
|
|
740
|
+
```
|
|
741
|
+
|
|
742
|
+
### Parameters
|
|
743
|
+
|
|
744
|
+
| Name | Type | Description | Notes |
|
|
745
|
+
| ---- | ---- | ----------- | ----- |
|
|
746
|
+
| **tenant_id** | **String** | | |
|
|
747
|
+
| **url_id** | **String** | | |
|
|
748
|
+
|
|
749
|
+
### Return type
|
|
750
|
+
|
|
751
|
+
[**CreateV1PageReact**](CreateV1PageReact.md)
|
|
752
|
+
|
|
753
|
+
### Authorization
|
|
754
|
+
|
|
755
|
+
No authorization required
|
|
756
|
+
|
|
757
|
+
### HTTP request headers
|
|
758
|
+
|
|
759
|
+
- **Content-Type**: Not defined
|
|
760
|
+
- **Accept**: application/json
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
## delete_v2_page_react
|
|
764
|
+
|
|
765
|
+
> <CreateV1PageReact> delete_v2_page_react(tenant_id, url_id, id)
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
### Examples
|
|
770
|
+
|
|
771
|
+
```ruby
|
|
772
|
+
require 'time'
|
|
773
|
+
require 'fastcomments-client'
|
|
774
|
+
|
|
775
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
776
|
+
tenant_id = 'tenant_id_example' # String |
|
|
777
|
+
url_id = 'url_id_example' # String |
|
|
778
|
+
id = 'id_example' # String |
|
|
779
|
+
|
|
780
|
+
begin
|
|
781
|
+
|
|
782
|
+
result = api_instance.delete_v2_page_react(tenant_id, url_id, id)
|
|
783
|
+
p result
|
|
784
|
+
rescue FastCommentsClient::ApiError => e
|
|
785
|
+
puts "Error when calling PublicApi->delete_v2_page_react: #{e}"
|
|
786
|
+
end
|
|
787
|
+
```
|
|
788
|
+
|
|
789
|
+
#### Using the delete_v2_page_react_with_http_info variant
|
|
790
|
+
|
|
791
|
+
This returns an Array which contains the response data, status code and headers.
|
|
792
|
+
|
|
793
|
+
> <Array(<CreateV1PageReact>, Integer, Hash)> delete_v2_page_react_with_http_info(tenant_id, url_id, id)
|
|
794
|
+
|
|
795
|
+
```ruby
|
|
796
|
+
begin
|
|
797
|
+
|
|
798
|
+
data, status_code, headers = api_instance.delete_v2_page_react_with_http_info(tenant_id, url_id, id)
|
|
799
|
+
p status_code # => 2xx
|
|
800
|
+
p headers # => { ... }
|
|
801
|
+
p data # => <CreateV1PageReact>
|
|
802
|
+
rescue FastCommentsClient::ApiError => e
|
|
803
|
+
puts "Error when calling PublicApi->delete_v2_page_react_with_http_info: #{e}"
|
|
804
|
+
end
|
|
805
|
+
```
|
|
806
|
+
|
|
807
|
+
### Parameters
|
|
808
|
+
|
|
809
|
+
| Name | Type | Description | Notes |
|
|
810
|
+
| ---- | ---- | ----------- | ----- |
|
|
811
|
+
| **tenant_id** | **String** | | |
|
|
812
|
+
| **url_id** | **String** | | |
|
|
813
|
+
| **id** | **String** | | |
|
|
814
|
+
|
|
815
|
+
### Return type
|
|
816
|
+
|
|
817
|
+
[**CreateV1PageReact**](CreateV1PageReact.md)
|
|
533
818
|
|
|
534
819
|
### Authorization
|
|
535
820
|
|
|
@@ -543,7 +828,7 @@ No authorization required
|
|
|
543
828
|
|
|
544
829
|
## flag_comment_public
|
|
545
830
|
|
|
546
|
-
> <
|
|
831
|
+
> <APIEmptyResponse> flag_comment_public(tenant_id, comment_id, is_flagged, opts)
|
|
547
832
|
|
|
548
833
|
|
|
549
834
|
|
|
@@ -574,7 +859,7 @@ end
|
|
|
574
859
|
|
|
575
860
|
This returns an Array which contains the response data, status code and headers.
|
|
576
861
|
|
|
577
|
-
> <Array(<
|
|
862
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> flag_comment_public_with_http_info(tenant_id, comment_id, is_flagged, opts)
|
|
578
863
|
|
|
579
864
|
```ruby
|
|
580
865
|
begin
|
|
@@ -582,7 +867,7 @@ begin
|
|
|
582
867
|
data, status_code, headers = api_instance.flag_comment_public_with_http_info(tenant_id, comment_id, is_flagged, opts)
|
|
583
868
|
p status_code # => 2xx
|
|
584
869
|
p headers # => { ... }
|
|
585
|
-
p data # => <
|
|
870
|
+
p data # => <APIEmptyResponse>
|
|
586
871
|
rescue FastCommentsClient::ApiError => e
|
|
587
872
|
puts "Error when calling PublicApi->flag_comment_public_with_http_info: #{e}"
|
|
588
873
|
end
|
|
@@ -599,7 +884,7 @@ end
|
|
|
599
884
|
|
|
600
885
|
### Return type
|
|
601
886
|
|
|
602
|
-
[**
|
|
887
|
+
[**APIEmptyResponse**](APIEmptyResponse.md)
|
|
603
888
|
|
|
604
889
|
### Authorization
|
|
605
890
|
|
|
@@ -613,7 +898,7 @@ No authorization required
|
|
|
613
898
|
|
|
614
899
|
## get_comment_text
|
|
615
900
|
|
|
616
|
-
> <
|
|
901
|
+
> <PublicAPIGetCommentTextResponse> get_comment_text(tenant_id, comment_id, opts)
|
|
617
902
|
|
|
618
903
|
|
|
619
904
|
|
|
@@ -644,7 +929,7 @@ end
|
|
|
644
929
|
|
|
645
930
|
This returns an Array which contains the response data, status code and headers.
|
|
646
931
|
|
|
647
|
-
> <Array(<
|
|
932
|
+
> <Array(<PublicAPIGetCommentTextResponse>, Integer, Hash)> get_comment_text_with_http_info(tenant_id, comment_id, opts)
|
|
648
933
|
|
|
649
934
|
```ruby
|
|
650
935
|
begin
|
|
@@ -652,7 +937,7 @@ begin
|
|
|
652
937
|
data, status_code, headers = api_instance.get_comment_text_with_http_info(tenant_id, comment_id, opts)
|
|
653
938
|
p status_code # => 2xx
|
|
654
939
|
p headers # => { ... }
|
|
655
|
-
p data # => <
|
|
940
|
+
p data # => <PublicAPIGetCommentTextResponse>
|
|
656
941
|
rescue FastCommentsClient::ApiError => e
|
|
657
942
|
puts "Error when calling PublicApi->get_comment_text_with_http_info: #{e}"
|
|
658
943
|
end
|
|
@@ -669,7 +954,7 @@ end
|
|
|
669
954
|
|
|
670
955
|
### Return type
|
|
671
956
|
|
|
672
|
-
[**
|
|
957
|
+
[**PublicAPIGetCommentTextResponse**](PublicAPIGetCommentTextResponse.md)
|
|
673
958
|
|
|
674
959
|
### Authorization
|
|
675
960
|
|
|
@@ -683,7 +968,7 @@ No authorization required
|
|
|
683
968
|
|
|
684
969
|
## get_comment_vote_user_names
|
|
685
970
|
|
|
686
|
-
> <
|
|
971
|
+
> <GetCommentVoteUserNamesSuccessResponse> get_comment_vote_user_names(tenant_id, comment_id, dir, opts)
|
|
687
972
|
|
|
688
973
|
|
|
689
974
|
|
|
@@ -714,7 +999,7 @@ end
|
|
|
714
999
|
|
|
715
1000
|
This returns an Array which contains the response data, status code and headers.
|
|
716
1001
|
|
|
717
|
-
> <Array(<
|
|
1002
|
+
> <Array(<GetCommentVoteUserNamesSuccessResponse>, Integer, Hash)> get_comment_vote_user_names_with_http_info(tenant_id, comment_id, dir, opts)
|
|
718
1003
|
|
|
719
1004
|
```ruby
|
|
720
1005
|
begin
|
|
@@ -722,7 +1007,7 @@ begin
|
|
|
722
1007
|
data, status_code, headers = api_instance.get_comment_vote_user_names_with_http_info(tenant_id, comment_id, dir, opts)
|
|
723
1008
|
p status_code # => 2xx
|
|
724
1009
|
p headers # => { ... }
|
|
725
|
-
p data # => <
|
|
1010
|
+
p data # => <GetCommentVoteUserNamesSuccessResponse>
|
|
726
1011
|
rescue FastCommentsClient::ApiError => e
|
|
727
1012
|
puts "Error when calling PublicApi->get_comment_vote_user_names_with_http_info: #{e}"
|
|
728
1013
|
end
|
|
@@ -739,7 +1024,993 @@ end
|
|
|
739
1024
|
|
|
740
1025
|
### Return type
|
|
741
1026
|
|
|
742
|
-
[**
|
|
1027
|
+
[**GetCommentVoteUserNamesSuccessResponse**](GetCommentVoteUserNamesSuccessResponse.md)
|
|
1028
|
+
|
|
1029
|
+
### Authorization
|
|
1030
|
+
|
|
1031
|
+
No authorization required
|
|
1032
|
+
|
|
1033
|
+
### HTTP request headers
|
|
1034
|
+
|
|
1035
|
+
- **Content-Type**: Not defined
|
|
1036
|
+
- **Accept**: application/json
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
## get_comments_for_user
|
|
1040
|
+
|
|
1041
|
+
> <GetCommentsForUserResponse> get_comments_for_user(opts)
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
|
|
1045
|
+
### Examples
|
|
1046
|
+
|
|
1047
|
+
```ruby
|
|
1048
|
+
require 'time'
|
|
1049
|
+
require 'fastcomments-client'
|
|
1050
|
+
|
|
1051
|
+
api_instance = FastCommentsClient::PublicApi.new
|
|
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)
|
|
743
2014
|
|
|
744
2015
|
### Authorization
|
|
745
2016
|
|
|
@@ -751,13 +2022,11 @@ No authorization required
|
|
|
751
2022
|
- **Accept**: application/json
|
|
752
2023
|
|
|
753
2024
|
|
|
754
|
-
##
|
|
755
|
-
|
|
756
|
-
> <GetCommentsPublic200Response> get_comments_public(tenant_id, url_id, opts)
|
|
2025
|
+
## get_user_notification_count
|
|
757
2026
|
|
|
2027
|
+
> <GetUserNotificationCountResponse> get_user_notification_count(tenant_id, opts)
|
|
758
2028
|
|
|
759
2029
|
|
|
760
|
-
req tenantId urlId
|
|
761
2030
|
|
|
762
2031
|
### Examples
|
|
763
2032
|
|
|
@@ -767,60 +2036,34 @@ require 'fastcomments-client'
|
|
|
767
2036
|
|
|
768
2037
|
api_instance = FastCommentsClient::PublicApi.new
|
|
769
2038
|
tenant_id = 'tenant_id_example' # String |
|
|
770
|
-
url_id = 'url_id_example' # String |
|
|
771
2039
|
opts = {
|
|
772
|
-
|
|
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 |
|
|
2040
|
+
sso: 'sso_example' # String |
|
|
798
2041
|
}
|
|
799
2042
|
|
|
800
2043
|
begin
|
|
801
2044
|
|
|
802
|
-
result = api_instance.
|
|
2045
|
+
result = api_instance.get_user_notification_count(tenant_id, opts)
|
|
803
2046
|
p result
|
|
804
2047
|
rescue FastCommentsClient::ApiError => e
|
|
805
|
-
puts "Error when calling PublicApi->
|
|
2048
|
+
puts "Error when calling PublicApi->get_user_notification_count: #{e}"
|
|
806
2049
|
end
|
|
807
2050
|
```
|
|
808
2051
|
|
|
809
|
-
#### Using the
|
|
2052
|
+
#### Using the get_user_notification_count_with_http_info variant
|
|
810
2053
|
|
|
811
2054
|
This returns an Array which contains the response data, status code and headers.
|
|
812
2055
|
|
|
813
|
-
> <Array(<
|
|
2056
|
+
> <Array(<GetUserNotificationCountResponse>, Integer, Hash)> get_user_notification_count_with_http_info(tenant_id, opts)
|
|
814
2057
|
|
|
815
2058
|
```ruby
|
|
816
2059
|
begin
|
|
817
2060
|
|
|
818
|
-
data, status_code, headers = api_instance.
|
|
2061
|
+
data, status_code, headers = api_instance.get_user_notification_count_with_http_info(tenant_id, opts)
|
|
819
2062
|
p status_code # => 2xx
|
|
820
2063
|
p headers # => { ... }
|
|
821
|
-
p data # => <
|
|
2064
|
+
p data # => <GetUserNotificationCountResponse>
|
|
822
2065
|
rescue FastCommentsClient::ApiError => e
|
|
823
|
-
puts "Error when calling PublicApi->
|
|
2066
|
+
puts "Error when calling PublicApi->get_user_notification_count_with_http_info: #{e}"
|
|
824
2067
|
end
|
|
825
2068
|
```
|
|
826
2069
|
|
|
@@ -829,37 +2072,11 @@ end
|
|
|
829
2072
|
| Name | Type | Description | Notes |
|
|
830
2073
|
| ---- | ---- | ----------- | ----- |
|
|
831
2074
|
| **tenant_id** | **String** | | |
|
|
832
|
-
| **url_id** | **String** | | |
|
|
833
|
-
| **page** | **Integer** | | [optional] |
|
|
834
|
-
| **direction** | [**SortDirections**](.md) | | [optional] |
|
|
835
2075
|
| **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] |
|
|
859
2076
|
|
|
860
2077
|
### Return type
|
|
861
2078
|
|
|
862
|
-
[**
|
|
2079
|
+
[**GetUserNotificationCountResponse**](GetUserNotificationCountResponse.md)
|
|
863
2080
|
|
|
864
2081
|
### Authorization
|
|
865
2082
|
|
|
@@ -871,13 +2088,11 @@ No authorization required
|
|
|
871
2088
|
- **Accept**: application/json
|
|
872
2089
|
|
|
873
2090
|
|
|
874
|
-
##
|
|
875
|
-
|
|
876
|
-
> <GetEventLog200Response> get_event_log(tenant_id, url_id, user_id_ws, start_time, end_time)
|
|
2091
|
+
## get_user_notifications
|
|
877
2092
|
|
|
2093
|
+
> <GetMyNotificationsResponse> get_user_notifications(tenant_id, opts)
|
|
878
2094
|
|
|
879
2095
|
|
|
880
|
-
req tenantId urlId userIdWS
|
|
881
2096
|
|
|
882
2097
|
### Examples
|
|
883
2098
|
|
|
@@ -887,35 +2102,44 @@ require 'fastcomments-client'
|
|
|
887
2102
|
|
|
888
2103
|
api_instance = FastCommentsClient::PublicApi.new
|
|
889
2104
|
tenant_id = 'tenant_id_example' # String |
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
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
|
+
}
|
|
894
2118
|
|
|
895
2119
|
begin
|
|
896
2120
|
|
|
897
|
-
result = api_instance.
|
|
2121
|
+
result = api_instance.get_user_notifications(tenant_id, opts)
|
|
898
2122
|
p result
|
|
899
2123
|
rescue FastCommentsClient::ApiError => e
|
|
900
|
-
puts "Error when calling PublicApi->
|
|
2124
|
+
puts "Error when calling PublicApi->get_user_notifications: #{e}"
|
|
901
2125
|
end
|
|
902
2126
|
```
|
|
903
2127
|
|
|
904
|
-
#### Using the
|
|
2128
|
+
#### Using the get_user_notifications_with_http_info variant
|
|
905
2129
|
|
|
906
2130
|
This returns an Array which contains the response data, status code and headers.
|
|
907
2131
|
|
|
908
|
-
> <Array(<
|
|
2132
|
+
> <Array(<GetMyNotificationsResponse>, Integer, Hash)> get_user_notifications_with_http_info(tenant_id, opts)
|
|
909
2133
|
|
|
910
2134
|
```ruby
|
|
911
2135
|
begin
|
|
912
2136
|
|
|
913
|
-
data, status_code, headers = api_instance.
|
|
2137
|
+
data, status_code, headers = api_instance.get_user_notifications_with_http_info(tenant_id, opts)
|
|
914
2138
|
p status_code # => 2xx
|
|
915
2139
|
p headers # => { ... }
|
|
916
|
-
p data # => <
|
|
2140
|
+
p data # => <GetMyNotificationsResponse>
|
|
917
2141
|
rescue FastCommentsClient::ApiError => e
|
|
918
|
-
puts "Error when calling PublicApi->
|
|
2142
|
+
puts "Error when calling PublicApi->get_user_notifications_with_http_info: #{e}"
|
|
919
2143
|
end
|
|
920
2144
|
```
|
|
921
2145
|
|
|
@@ -924,14 +2148,21 @@ end
|
|
|
924
2148
|
| Name | Type | Description | Notes |
|
|
925
2149
|
| ---- | ---- | ----------- | ----- |
|
|
926
2150
|
| **tenant_id** | **String** | | |
|
|
927
|
-
| **url_id** | **String** |
|
|
928
|
-
| **
|
|
929
|
-
| **
|
|
930
|
-
| **
|
|
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] |
|
|
931
2162
|
|
|
932
2163
|
### Return type
|
|
933
2164
|
|
|
934
|
-
[**
|
|
2165
|
+
[**GetMyNotificationsResponse**](GetMyNotificationsResponse.md)
|
|
935
2166
|
|
|
936
2167
|
### Authorization
|
|
937
2168
|
|
|
@@ -943,13 +2174,11 @@ No authorization required
|
|
|
943
2174
|
- **Accept**: application/json
|
|
944
2175
|
|
|
945
2176
|
|
|
946
|
-
##
|
|
947
|
-
|
|
948
|
-
> <GetFeedPostsPublic200Response> get_feed_posts_public(tenant_id, opts)
|
|
2177
|
+
## get_user_presence_statuses
|
|
949
2178
|
|
|
2179
|
+
> <GetUserPresenceStatusesResponse> get_user_presence_statuses(tenant_id, url_id_ws, user_ids)
|
|
950
2180
|
|
|
951
2181
|
|
|
952
|
-
req tenantId afterId
|
|
953
2182
|
|
|
954
2183
|
### Examples
|
|
955
2184
|
|
|
@@ -959,39 +2188,33 @@ require 'fastcomments-client'
|
|
|
959
2188
|
|
|
960
2189
|
api_instance = FastCommentsClient::PublicApi.new
|
|
961
2190
|
tenant_id = 'tenant_id_example' # String |
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
limit: 56, # Integer |
|
|
965
|
-
tags: ['inner_example'], # Array<String> |
|
|
966
|
-
sso: 'sso_example', # String |
|
|
967
|
-
is_crawler: true, # Boolean |
|
|
968
|
-
include_user_info: true # Boolean |
|
|
969
|
-
}
|
|
2191
|
+
url_id_ws = 'url_id_ws_example' # String |
|
|
2192
|
+
user_ids = 'user_ids_example' # String |
|
|
970
2193
|
|
|
971
2194
|
begin
|
|
972
2195
|
|
|
973
|
-
result = api_instance.
|
|
2196
|
+
result = api_instance.get_user_presence_statuses(tenant_id, url_id_ws, user_ids)
|
|
974
2197
|
p result
|
|
975
2198
|
rescue FastCommentsClient::ApiError => e
|
|
976
|
-
puts "Error when calling PublicApi->
|
|
2199
|
+
puts "Error when calling PublicApi->get_user_presence_statuses: #{e}"
|
|
977
2200
|
end
|
|
978
2201
|
```
|
|
979
2202
|
|
|
980
|
-
#### Using the
|
|
2203
|
+
#### Using the get_user_presence_statuses_with_http_info variant
|
|
981
2204
|
|
|
982
2205
|
This returns an Array which contains the response data, status code and headers.
|
|
983
2206
|
|
|
984
|
-
> <Array(<
|
|
2207
|
+
> <Array(<GetUserPresenceStatusesResponse>, Integer, Hash)> get_user_presence_statuses_with_http_info(tenant_id, url_id_ws, user_ids)
|
|
985
2208
|
|
|
986
2209
|
```ruby
|
|
987
2210
|
begin
|
|
988
2211
|
|
|
989
|
-
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)
|
|
990
2213
|
p status_code # => 2xx
|
|
991
2214
|
p headers # => { ... }
|
|
992
|
-
p data # => <
|
|
2215
|
+
p data # => <GetUserPresenceStatusesResponse>
|
|
993
2216
|
rescue FastCommentsClient::ApiError => e
|
|
994
|
-
puts "Error when calling PublicApi->
|
|
2217
|
+
puts "Error when calling PublicApi->get_user_presence_statuses_with_http_info: #{e}"
|
|
995
2218
|
end
|
|
996
2219
|
```
|
|
997
2220
|
|
|
@@ -1000,16 +2223,12 @@ end
|
|
|
1000
2223
|
| Name | Type | Description | Notes |
|
|
1001
2224
|
| ---- | ---- | ----------- | ----- |
|
|
1002
2225
|
| **tenant_id** | **String** | | |
|
|
1003
|
-
| **
|
|
1004
|
-
| **
|
|
1005
|
-
| **tags** | [**Array<String>**](String.md) | | [optional] |
|
|
1006
|
-
| **sso** | **String** | | [optional] |
|
|
1007
|
-
| **is_crawler** | **Boolean** | | [optional] |
|
|
1008
|
-
| **include_user_info** | **Boolean** | | [optional] |
|
|
2226
|
+
| **url_id_ws** | **String** | | |
|
|
2227
|
+
| **user_ids** | **String** | | |
|
|
1009
2228
|
|
|
1010
2229
|
### Return type
|
|
1011
2230
|
|
|
1012
|
-
[**
|
|
2231
|
+
[**GetUserPresenceStatusesResponse**](GetUserPresenceStatusesResponse.md)
|
|
1013
2232
|
|
|
1014
2233
|
### Authorization
|
|
1015
2234
|
|
|
@@ -1021,9 +2240,9 @@ No authorization required
|
|
|
1021
2240
|
- **Accept**: application/json
|
|
1022
2241
|
|
|
1023
2242
|
|
|
1024
|
-
##
|
|
2243
|
+
## get_user_reacts_public
|
|
1025
2244
|
|
|
1026
|
-
> <
|
|
2245
|
+
> <UserReactsResponse> get_user_reacts_public(tenant_id, opts)
|
|
1027
2246
|
|
|
1028
2247
|
|
|
1029
2248
|
|
|
@@ -1035,35 +2254,35 @@ require 'fastcomments-client'
|
|
|
1035
2254
|
|
|
1036
2255
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1037
2256
|
tenant_id = 'tenant_id_example' # String |
|
|
1038
|
-
post_ids = ['inner_example'] # Array<String> |
|
|
1039
2257
|
opts = {
|
|
2258
|
+
post_ids: ['inner_example'], # Array<String> |
|
|
1040
2259
|
sso: 'sso_example' # String |
|
|
1041
2260
|
}
|
|
1042
2261
|
|
|
1043
2262
|
begin
|
|
1044
2263
|
|
|
1045
|
-
result = api_instance.
|
|
2264
|
+
result = api_instance.get_user_reacts_public(tenant_id, opts)
|
|
1046
2265
|
p result
|
|
1047
2266
|
rescue FastCommentsClient::ApiError => e
|
|
1048
|
-
puts "Error when calling PublicApi->
|
|
2267
|
+
puts "Error when calling PublicApi->get_user_reacts_public: #{e}"
|
|
1049
2268
|
end
|
|
1050
2269
|
```
|
|
1051
2270
|
|
|
1052
|
-
#### Using the
|
|
2271
|
+
#### Using the get_user_reacts_public_with_http_info variant
|
|
1053
2272
|
|
|
1054
2273
|
This returns an Array which contains the response data, status code and headers.
|
|
1055
2274
|
|
|
1056
|
-
> <Array(<
|
|
2275
|
+
> <Array(<UserReactsResponse>, Integer, Hash)> get_user_reacts_public_with_http_info(tenant_id, opts)
|
|
1057
2276
|
|
|
1058
2277
|
```ruby
|
|
1059
2278
|
begin
|
|
1060
2279
|
|
|
1061
|
-
data, status_code, headers = api_instance.
|
|
2280
|
+
data, status_code, headers = api_instance.get_user_reacts_public_with_http_info(tenant_id, opts)
|
|
1062
2281
|
p status_code # => 2xx
|
|
1063
2282
|
p headers # => { ... }
|
|
1064
|
-
p data # => <
|
|
2283
|
+
p data # => <UserReactsResponse>
|
|
1065
2284
|
rescue FastCommentsClient::ApiError => e
|
|
1066
|
-
puts "Error when calling PublicApi->
|
|
2285
|
+
puts "Error when calling PublicApi->get_user_reacts_public_with_http_info: #{e}"
|
|
1067
2286
|
end
|
|
1068
2287
|
```
|
|
1069
2288
|
|
|
@@ -1072,12 +2291,12 @@ end
|
|
|
1072
2291
|
| Name | Type | Description | Notes |
|
|
1073
2292
|
| ---- | ---- | ----------- | ----- |
|
|
1074
2293
|
| **tenant_id** | **String** | | |
|
|
1075
|
-
| **post_ids** | [**Array<String>**](String.md) | |
|
|
2294
|
+
| **post_ids** | [**Array<String>**](String.md) | | [optional] |
|
|
1076
2295
|
| **sso** | **String** | | [optional] |
|
|
1077
2296
|
|
|
1078
2297
|
### Return type
|
|
1079
2298
|
|
|
1080
|
-
[**
|
|
2299
|
+
[**UserReactsResponse**](UserReactsResponse.md)
|
|
1081
2300
|
|
|
1082
2301
|
### Authorization
|
|
1083
2302
|
|
|
@@ -1089,13 +2308,13 @@ No authorization required
|
|
|
1089
2308
|
- **Accept**: application/json
|
|
1090
2309
|
|
|
1091
2310
|
|
|
1092
|
-
##
|
|
2311
|
+
## get_users_info
|
|
1093
2312
|
|
|
1094
|
-
> <
|
|
2313
|
+
> <PageUsersInfoResponse> get_users_info(tenant_id, ids)
|
|
1095
2314
|
|
|
1096
2315
|
|
|
1097
2316
|
|
|
1098
|
-
|
|
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).
|
|
1099
2318
|
|
|
1100
2319
|
### Examples
|
|
1101
2320
|
|
|
@@ -1105,35 +2324,32 @@ require 'fastcomments-client'
|
|
|
1105
2324
|
|
|
1106
2325
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1107
2326
|
tenant_id = 'tenant_id_example' # String |
|
|
1108
|
-
|
|
1109
|
-
user_id_ws = 'user_id_ws_example' # String |
|
|
1110
|
-
start_time = 789 # Integer |
|
|
1111
|
-
end_time = 789 # Integer |
|
|
2327
|
+
ids = 'ids_example' # String | Comma-delimited userIds.
|
|
1112
2328
|
|
|
1113
2329
|
begin
|
|
1114
2330
|
|
|
1115
|
-
result = api_instance.
|
|
2331
|
+
result = api_instance.get_users_info(tenant_id, ids)
|
|
1116
2332
|
p result
|
|
1117
2333
|
rescue FastCommentsClient::ApiError => e
|
|
1118
|
-
puts "Error when calling PublicApi->
|
|
2334
|
+
puts "Error when calling PublicApi->get_users_info: #{e}"
|
|
1119
2335
|
end
|
|
1120
2336
|
```
|
|
1121
2337
|
|
|
1122
|
-
#### Using the
|
|
2338
|
+
#### Using the get_users_info_with_http_info variant
|
|
1123
2339
|
|
|
1124
2340
|
This returns an Array which contains the response data, status code and headers.
|
|
1125
2341
|
|
|
1126
|
-
> <Array(<
|
|
2342
|
+
> <Array(<PageUsersInfoResponse>, Integer, Hash)> get_users_info_with_http_info(tenant_id, ids)
|
|
1127
2343
|
|
|
1128
2344
|
```ruby
|
|
1129
2345
|
begin
|
|
1130
2346
|
|
|
1131
|
-
data, status_code, headers = api_instance.
|
|
2347
|
+
data, status_code, headers = api_instance.get_users_info_with_http_info(tenant_id, ids)
|
|
1132
2348
|
p status_code # => 2xx
|
|
1133
2349
|
p headers # => { ... }
|
|
1134
|
-
p data # => <
|
|
2350
|
+
p data # => <PageUsersInfoResponse>
|
|
1135
2351
|
rescue FastCommentsClient::ApiError => e
|
|
1136
|
-
puts "Error when calling PublicApi->
|
|
2352
|
+
puts "Error when calling PublicApi->get_users_info_with_http_info: #{e}"
|
|
1137
2353
|
end
|
|
1138
2354
|
```
|
|
1139
2355
|
|
|
@@ -1142,14 +2358,11 @@ end
|
|
|
1142
2358
|
| Name | Type | Description | Notes |
|
|
1143
2359
|
| ---- | ---- | ----------- | ----- |
|
|
1144
2360
|
| **tenant_id** | **String** | | |
|
|
1145
|
-
| **
|
|
1146
|
-
| **user_id_ws** | **String** | | |
|
|
1147
|
-
| **start_time** | **Integer** | | |
|
|
1148
|
-
| **end_time** | **Integer** | | |
|
|
2361
|
+
| **ids** | **String** | Comma-delimited userIds. | |
|
|
1149
2362
|
|
|
1150
2363
|
### Return type
|
|
1151
2364
|
|
|
1152
|
-
[**
|
|
2365
|
+
[**PageUsersInfoResponse**](PageUsersInfoResponse.md)
|
|
1153
2366
|
|
|
1154
2367
|
### Authorization
|
|
1155
2368
|
|
|
@@ -1161,9 +2374,9 @@ No authorization required
|
|
|
1161
2374
|
- **Accept**: application/json
|
|
1162
2375
|
|
|
1163
2376
|
|
|
1164
|
-
##
|
|
2377
|
+
## get_v1_page_likes
|
|
1165
2378
|
|
|
1166
|
-
> <
|
|
2379
|
+
> <GetV1PageLikes> get_v1_page_likes(tenant_id, url_id)
|
|
1167
2380
|
|
|
1168
2381
|
|
|
1169
2382
|
|
|
@@ -1175,34 +2388,32 @@ require 'fastcomments-client'
|
|
|
1175
2388
|
|
|
1176
2389
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1177
2390
|
tenant_id = 'tenant_id_example' # String |
|
|
1178
|
-
|
|
1179
|
-
sso: 'sso_example' # String |
|
|
1180
|
-
}
|
|
2391
|
+
url_id = 'url_id_example' # String |
|
|
1181
2392
|
|
|
1182
2393
|
begin
|
|
1183
2394
|
|
|
1184
|
-
result = api_instance.
|
|
2395
|
+
result = api_instance.get_v1_page_likes(tenant_id, url_id)
|
|
1185
2396
|
p result
|
|
1186
2397
|
rescue FastCommentsClient::ApiError => e
|
|
1187
|
-
puts "Error when calling PublicApi->
|
|
2398
|
+
puts "Error when calling PublicApi->get_v1_page_likes: #{e}"
|
|
1188
2399
|
end
|
|
1189
2400
|
```
|
|
1190
2401
|
|
|
1191
|
-
#### Using the
|
|
2402
|
+
#### Using the get_v1_page_likes_with_http_info variant
|
|
1192
2403
|
|
|
1193
2404
|
This returns an Array which contains the response data, status code and headers.
|
|
1194
2405
|
|
|
1195
|
-
> <Array(<
|
|
2406
|
+
> <Array(<GetV1PageLikes>, Integer, Hash)> get_v1_page_likes_with_http_info(tenant_id, url_id)
|
|
1196
2407
|
|
|
1197
2408
|
```ruby
|
|
1198
2409
|
begin
|
|
1199
2410
|
|
|
1200
|
-
data, status_code, headers = api_instance.
|
|
2411
|
+
data, status_code, headers = api_instance.get_v1_page_likes_with_http_info(tenant_id, url_id)
|
|
1201
2412
|
p status_code # => 2xx
|
|
1202
2413
|
p headers # => { ... }
|
|
1203
|
-
p data # => <
|
|
2414
|
+
p data # => <GetV1PageLikes>
|
|
1204
2415
|
rescue FastCommentsClient::ApiError => e
|
|
1205
|
-
puts "Error when calling PublicApi->
|
|
2416
|
+
puts "Error when calling PublicApi->get_v1_page_likes_with_http_info: #{e}"
|
|
1206
2417
|
end
|
|
1207
2418
|
```
|
|
1208
2419
|
|
|
@@ -1211,11 +2422,11 @@ end
|
|
|
1211
2422
|
| Name | Type | Description | Notes |
|
|
1212
2423
|
| ---- | ---- | ----------- | ----- |
|
|
1213
2424
|
| **tenant_id** | **String** | | |
|
|
1214
|
-
| **
|
|
2425
|
+
| **url_id** | **String** | | |
|
|
1215
2426
|
|
|
1216
2427
|
### Return type
|
|
1217
2428
|
|
|
1218
|
-
[**
|
|
2429
|
+
[**GetV1PageLikes**](GetV1PageLikes.md)
|
|
1219
2430
|
|
|
1220
2431
|
### Authorization
|
|
1221
2432
|
|
|
@@ -1227,9 +2438,9 @@ No authorization required
|
|
|
1227
2438
|
- **Accept**: application/json
|
|
1228
2439
|
|
|
1229
2440
|
|
|
1230
|
-
##
|
|
2441
|
+
## get_v2_page_react_users
|
|
1231
2442
|
|
|
1232
|
-
> <
|
|
2443
|
+
> <GetV2PageReactUsersResponse> get_v2_page_react_users(tenant_id, url_id, id)
|
|
1233
2444
|
|
|
1234
2445
|
|
|
1235
2446
|
|
|
@@ -1241,42 +2452,33 @@ require 'fastcomments-client'
|
|
|
1241
2452
|
|
|
1242
2453
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1243
2454
|
tenant_id = 'tenant_id_example' # String |
|
|
1244
|
-
|
|
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 |
|
|
1253
|
-
sso: 'sso_example' # String |
|
|
1254
|
-
}
|
|
2455
|
+
url_id = 'url_id_example' # String |
|
|
2456
|
+
id = 'id_example' # String |
|
|
1255
2457
|
|
|
1256
2458
|
begin
|
|
1257
2459
|
|
|
1258
|
-
result = api_instance.
|
|
2460
|
+
result = api_instance.get_v2_page_react_users(tenant_id, url_id, id)
|
|
1259
2461
|
p result
|
|
1260
2462
|
rescue FastCommentsClient::ApiError => e
|
|
1261
|
-
puts "Error when calling PublicApi->
|
|
2463
|
+
puts "Error when calling PublicApi->get_v2_page_react_users: #{e}"
|
|
1262
2464
|
end
|
|
1263
2465
|
```
|
|
1264
2466
|
|
|
1265
|
-
#### Using the
|
|
2467
|
+
#### Using the get_v2_page_react_users_with_http_info variant
|
|
1266
2468
|
|
|
1267
2469
|
This returns an Array which contains the response data, status code and headers.
|
|
1268
2470
|
|
|
1269
|
-
> <Array(<
|
|
2471
|
+
> <Array(<GetV2PageReactUsersResponse>, Integer, Hash)> get_v2_page_react_users_with_http_info(tenant_id, url_id, id)
|
|
1270
2472
|
|
|
1271
2473
|
```ruby
|
|
1272
2474
|
begin
|
|
1273
2475
|
|
|
1274
|
-
data, status_code, headers = api_instance.
|
|
2476
|
+
data, status_code, headers = api_instance.get_v2_page_react_users_with_http_info(tenant_id, url_id, id)
|
|
1275
2477
|
p status_code # => 2xx
|
|
1276
2478
|
p headers # => { ... }
|
|
1277
|
-
p data # => <
|
|
2479
|
+
p data # => <GetV2PageReactUsersResponse>
|
|
1278
2480
|
rescue FastCommentsClient::ApiError => e
|
|
1279
|
-
puts "Error when calling PublicApi->
|
|
2481
|
+
puts "Error when calling PublicApi->get_v2_page_react_users_with_http_info: #{e}"
|
|
1280
2482
|
end
|
|
1281
2483
|
```
|
|
1282
2484
|
|
|
@@ -1285,19 +2487,12 @@ end
|
|
|
1285
2487
|
| Name | Type | Description | Notes |
|
|
1286
2488
|
| ---- | ---- | ----------- | ----- |
|
|
1287
2489
|
| **tenant_id** | **String** | | |
|
|
1288
|
-
| **
|
|
1289
|
-
| **
|
|
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] |
|
|
1296
|
-
| **sso** | **String** | | [optional] |
|
|
2490
|
+
| **url_id** | **String** | | |
|
|
2491
|
+
| **id** | **String** | | |
|
|
1297
2492
|
|
|
1298
2493
|
### Return type
|
|
1299
2494
|
|
|
1300
|
-
[**
|
|
2495
|
+
[**GetV2PageReactUsersResponse**](GetV2PageReactUsersResponse.md)
|
|
1301
2496
|
|
|
1302
2497
|
### Authorization
|
|
1303
2498
|
|
|
@@ -1309,9 +2504,9 @@ No authorization required
|
|
|
1309
2504
|
- **Accept**: application/json
|
|
1310
2505
|
|
|
1311
2506
|
|
|
1312
|
-
##
|
|
2507
|
+
## get_v2_page_reacts
|
|
1313
2508
|
|
|
1314
|
-
> <
|
|
2509
|
+
> <GetV2PageReacts> get_v2_page_reacts(tenant_id, url_id)
|
|
1315
2510
|
|
|
1316
2511
|
|
|
1317
2512
|
|
|
@@ -1323,33 +2518,32 @@ require 'fastcomments-client'
|
|
|
1323
2518
|
|
|
1324
2519
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1325
2520
|
tenant_id = 'tenant_id_example' # String |
|
|
1326
|
-
|
|
1327
|
-
user_ids = 'user_ids_example' # String |
|
|
2521
|
+
url_id = 'url_id_example' # String |
|
|
1328
2522
|
|
|
1329
2523
|
begin
|
|
1330
2524
|
|
|
1331
|
-
result = api_instance.
|
|
2525
|
+
result = api_instance.get_v2_page_reacts(tenant_id, url_id)
|
|
1332
2526
|
p result
|
|
1333
2527
|
rescue FastCommentsClient::ApiError => e
|
|
1334
|
-
puts "Error when calling PublicApi->
|
|
2528
|
+
puts "Error when calling PublicApi->get_v2_page_reacts: #{e}"
|
|
1335
2529
|
end
|
|
1336
2530
|
```
|
|
1337
2531
|
|
|
1338
|
-
#### Using the
|
|
2532
|
+
#### Using the get_v2_page_reacts_with_http_info variant
|
|
1339
2533
|
|
|
1340
2534
|
This returns an Array which contains the response data, status code and headers.
|
|
1341
2535
|
|
|
1342
|
-
> <Array(<
|
|
2536
|
+
> <Array(<GetV2PageReacts>, Integer, Hash)> get_v2_page_reacts_with_http_info(tenant_id, url_id)
|
|
1343
2537
|
|
|
1344
2538
|
```ruby
|
|
1345
2539
|
begin
|
|
1346
2540
|
|
|
1347
|
-
data, status_code, headers = api_instance.
|
|
2541
|
+
data, status_code, headers = api_instance.get_v2_page_reacts_with_http_info(tenant_id, url_id)
|
|
1348
2542
|
p status_code # => 2xx
|
|
1349
2543
|
p headers # => { ... }
|
|
1350
|
-
p data # => <
|
|
2544
|
+
p data # => <GetV2PageReacts>
|
|
1351
2545
|
rescue FastCommentsClient::ApiError => e
|
|
1352
|
-
puts "Error when calling PublicApi->
|
|
2546
|
+
puts "Error when calling PublicApi->get_v2_page_reacts_with_http_info: #{e}"
|
|
1353
2547
|
end
|
|
1354
2548
|
```
|
|
1355
2549
|
|
|
@@ -1358,12 +2552,11 @@ end
|
|
|
1358
2552
|
| Name | Type | Description | Notes |
|
|
1359
2553
|
| ---- | ---- | ----------- | ----- |
|
|
1360
2554
|
| **tenant_id** | **String** | | |
|
|
1361
|
-
| **
|
|
1362
|
-
| **user_ids** | **String** | | |
|
|
2555
|
+
| **url_id** | **String** | | |
|
|
1363
2556
|
|
|
1364
2557
|
### Return type
|
|
1365
2558
|
|
|
1366
|
-
[**
|
|
2559
|
+
[**GetV2PageReacts**](GetV2PageReacts.md)
|
|
1367
2560
|
|
|
1368
2561
|
### Authorization
|
|
1369
2562
|
|
|
@@ -1375,9 +2568,9 @@ No authorization required
|
|
|
1375
2568
|
- **Accept**: application/json
|
|
1376
2569
|
|
|
1377
2570
|
|
|
1378
|
-
##
|
|
2571
|
+
## lock_comment
|
|
1379
2572
|
|
|
1380
|
-
> <
|
|
2573
|
+
> <APIEmptyResponse> lock_comment(tenant_id, comment_id, broadcast_id, opts)
|
|
1381
2574
|
|
|
1382
2575
|
|
|
1383
2576
|
|
|
@@ -1389,35 +2582,36 @@ require 'fastcomments-client'
|
|
|
1389
2582
|
|
|
1390
2583
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1391
2584
|
tenant_id = 'tenant_id_example' # String |
|
|
2585
|
+
comment_id = 'comment_id_example' # String |
|
|
2586
|
+
broadcast_id = 'broadcast_id_example' # String |
|
|
1392
2587
|
opts = {
|
|
1393
|
-
post_ids: ['inner_example'], # Array<String> |
|
|
1394
2588
|
sso: 'sso_example' # String |
|
|
1395
2589
|
}
|
|
1396
2590
|
|
|
1397
2591
|
begin
|
|
1398
2592
|
|
|
1399
|
-
result = api_instance.
|
|
2593
|
+
result = api_instance.lock_comment(tenant_id, comment_id, broadcast_id, opts)
|
|
1400
2594
|
p result
|
|
1401
2595
|
rescue FastCommentsClient::ApiError => e
|
|
1402
|
-
puts "Error when calling PublicApi->
|
|
2596
|
+
puts "Error when calling PublicApi->lock_comment: #{e}"
|
|
1403
2597
|
end
|
|
1404
2598
|
```
|
|
1405
2599
|
|
|
1406
|
-
#### Using the
|
|
2600
|
+
#### Using the lock_comment_with_http_info variant
|
|
1407
2601
|
|
|
1408
2602
|
This returns an Array which contains the response data, status code and headers.
|
|
1409
2603
|
|
|
1410
|
-
> <Array(<
|
|
2604
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
1411
2605
|
|
|
1412
2606
|
```ruby
|
|
1413
2607
|
begin
|
|
1414
2608
|
|
|
1415
|
-
data, status_code, headers = api_instance.
|
|
2609
|
+
data, status_code, headers = api_instance.lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
1416
2610
|
p status_code # => 2xx
|
|
1417
2611
|
p headers # => { ... }
|
|
1418
|
-
p data # => <
|
|
2612
|
+
p data # => <APIEmptyResponse>
|
|
1419
2613
|
rescue FastCommentsClient::ApiError => e
|
|
1420
|
-
puts "Error when calling PublicApi->
|
|
2614
|
+
puts "Error when calling PublicApi->lock_comment_with_http_info: #{e}"
|
|
1421
2615
|
end
|
|
1422
2616
|
```
|
|
1423
2617
|
|
|
@@ -1426,12 +2620,13 @@ end
|
|
|
1426
2620
|
| Name | Type | Description | Notes |
|
|
1427
2621
|
| ---- | ---- | ----------- | ----- |
|
|
1428
2622
|
| **tenant_id** | **String** | | |
|
|
1429
|
-
| **
|
|
2623
|
+
| **comment_id** | **String** | | |
|
|
2624
|
+
| **broadcast_id** | **String** | | |
|
|
1430
2625
|
| **sso** | **String** | | [optional] |
|
|
1431
2626
|
|
|
1432
2627
|
### Return type
|
|
1433
2628
|
|
|
1434
|
-
[**
|
|
2629
|
+
[**APIEmptyResponse**](APIEmptyResponse.md)
|
|
1435
2630
|
|
|
1436
2631
|
### Authorization
|
|
1437
2632
|
|
|
@@ -1443,9 +2638,9 @@ No authorization required
|
|
|
1443
2638
|
- **Accept**: application/json
|
|
1444
2639
|
|
|
1445
2640
|
|
|
1446
|
-
##
|
|
2641
|
+
## logout_public
|
|
1447
2642
|
|
|
1448
|
-
> <
|
|
2643
|
+
> <APIEmptyResponse> logout_public
|
|
1449
2644
|
|
|
1450
2645
|
|
|
1451
2646
|
|
|
@@ -1456,52 +2651,41 @@ require 'time'
|
|
|
1456
2651
|
require 'fastcomments-client'
|
|
1457
2652
|
|
|
1458
2653
|
api_instance = FastCommentsClient::PublicApi.new
|
|
1459
|
-
tenant_id = 'tenant_id_example' # String |
|
|
1460
|
-
comment_id = 'comment_id_example' # String |
|
|
1461
|
-
broadcast_id = 'broadcast_id_example' # String |
|
|
1462
|
-
opts = {
|
|
1463
|
-
sso: 'sso_example' # String |
|
|
1464
|
-
}
|
|
1465
2654
|
|
|
1466
2655
|
begin
|
|
1467
2656
|
|
|
1468
|
-
result = api_instance.
|
|
2657
|
+
result = api_instance.logout_public
|
|
1469
2658
|
p result
|
|
1470
2659
|
rescue FastCommentsClient::ApiError => e
|
|
1471
|
-
puts "Error when calling PublicApi->
|
|
2660
|
+
puts "Error when calling PublicApi->logout_public: #{e}"
|
|
1472
2661
|
end
|
|
1473
2662
|
```
|
|
1474
2663
|
|
|
1475
|
-
#### Using the
|
|
2664
|
+
#### Using the logout_public_with_http_info variant
|
|
1476
2665
|
|
|
1477
2666
|
This returns an Array which contains the response data, status code and headers.
|
|
1478
2667
|
|
|
1479
|
-
> <Array(<
|
|
2668
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> logout_public_with_http_info
|
|
1480
2669
|
|
|
1481
2670
|
```ruby
|
|
1482
2671
|
begin
|
|
1483
2672
|
|
|
1484
|
-
data, status_code, headers = api_instance.
|
|
2673
|
+
data, status_code, headers = api_instance.logout_public_with_http_info
|
|
1485
2674
|
p status_code # => 2xx
|
|
1486
2675
|
p headers # => { ... }
|
|
1487
|
-
p data # => <
|
|
2676
|
+
p data # => <APIEmptyResponse>
|
|
1488
2677
|
rescue FastCommentsClient::ApiError => e
|
|
1489
|
-
puts "Error when calling PublicApi->
|
|
2678
|
+
puts "Error when calling PublicApi->logout_public_with_http_info: #{e}"
|
|
1490
2679
|
end
|
|
1491
2680
|
```
|
|
1492
2681
|
|
|
1493
2682
|
### Parameters
|
|
1494
2683
|
|
|
1495
|
-
|
|
1496
|
-
| ---- | ---- | ----------- | ----- |
|
|
1497
|
-
| **tenant_id** | **String** | | |
|
|
1498
|
-
| **comment_id** | **String** | | |
|
|
1499
|
-
| **broadcast_id** | **String** | | |
|
|
1500
|
-
| **sso** | **String** | | [optional] |
|
|
2684
|
+
This endpoint does not need any parameter.
|
|
1501
2685
|
|
|
1502
2686
|
### Return type
|
|
1503
2687
|
|
|
1504
|
-
[**
|
|
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
|
|
|
@@ -1817,7 +3001,8 @@ url_id = 'url_id_example' # String |
|
|
|
1817
3001
|
opts = {
|
|
1818
3002
|
username_starts_with: 'username_starts_with_example', # String |
|
|
1819
3003
|
mention_group_ids: ['inner_example'], # Array<String> |
|
|
1820
|
-
sso: 'sso_example' # String |
|
|
3004
|
+
sso: 'sso_example', # String |
|
|
3005
|
+
search_section: 'fast' # String |
|
|
1821
3006
|
}
|
|
1822
3007
|
|
|
1823
3008
|
begin
|
|
@@ -1833,7 +3018,7 @@ end
|
|
|
1833
3018
|
|
|
1834
3019
|
This returns an Array which contains the response data, status code and headers.
|
|
1835
3020
|
|
|
1836
|
-
> <Array(<
|
|
3021
|
+
> <Array(<SearchUsersResult>, Integer, Hash)> search_users_with_http_info(tenant_id, url_id, opts)
|
|
1837
3022
|
|
|
1838
3023
|
```ruby
|
|
1839
3024
|
begin
|
|
@@ -1841,7 +3026,7 @@ begin
|
|
|
1841
3026
|
data, status_code, headers = api_instance.search_users_with_http_info(tenant_id, url_id, opts)
|
|
1842
3027
|
p status_code # => 2xx
|
|
1843
3028
|
p headers # => { ... }
|
|
1844
|
-
p data # => <
|
|
3029
|
+
p data # => <SearchUsersResult>
|
|
1845
3030
|
rescue FastCommentsClient::ApiError => e
|
|
1846
3031
|
puts "Error when calling PublicApi->search_users_with_http_info: #{e}"
|
|
1847
3032
|
end
|
|
@@ -1856,10 +3041,11 @@ end
|
|
|
1856
3041
|
| **username_starts_with** | **String** | | [optional] |
|
|
1857
3042
|
| **mention_group_ids** | [**Array<String>**](String.md) | | [optional] |
|
|
1858
3043
|
| **sso** | **String** | | [optional] |
|
|
3044
|
+
| **search_section** | **String** | | [optional] |
|
|
1859
3045
|
|
|
1860
3046
|
### Return type
|
|
1861
3047
|
|
|
1862
|
-
[**
|
|
3048
|
+
[**SearchUsersResult**](SearchUsersResult.md)
|
|
1863
3049
|
|
|
1864
3050
|
### Authorization
|
|
1865
3051
|
|
|
@@ -1873,7 +3059,7 @@ No authorization required
|
|
|
1873
3059
|
|
|
1874
3060
|
## set_comment_text
|
|
1875
3061
|
|
|
1876
|
-
> <
|
|
3062
|
+
> <PublicAPISetCommentTextResponse> set_comment_text(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
|
|
1877
3063
|
|
|
1878
3064
|
|
|
1879
3065
|
|
|
@@ -1906,7 +3092,7 @@ end
|
|
|
1906
3092
|
|
|
1907
3093
|
This returns an Array which contains the response data, status code and headers.
|
|
1908
3094
|
|
|
1909
|
-
> <Array(<
|
|
3095
|
+
> <Array(<PublicAPISetCommentTextResponse>, Integer, Hash)> set_comment_text_with_http_info(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
|
|
1910
3096
|
|
|
1911
3097
|
```ruby
|
|
1912
3098
|
begin
|
|
@@ -1914,7 +3100,7 @@ begin
|
|
|
1914
3100
|
data, status_code, headers = api_instance.set_comment_text_with_http_info(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
|
|
1915
3101
|
p status_code # => 2xx
|
|
1916
3102
|
p headers # => { ... }
|
|
1917
|
-
p data # => <
|
|
3103
|
+
p data # => <PublicAPISetCommentTextResponse>
|
|
1918
3104
|
rescue FastCommentsClient::ApiError => e
|
|
1919
3105
|
puts "Error when calling PublicApi->set_comment_text_with_http_info: #{e}"
|
|
1920
3106
|
end
|
|
@@ -1933,7 +3119,7 @@ end
|
|
|
1933
3119
|
|
|
1934
3120
|
### Return type
|
|
1935
3121
|
|
|
1936
|
-
[**
|
|
3122
|
+
[**PublicAPISetCommentTextResponse**](PublicAPISetCommentTextResponse.md)
|
|
1937
3123
|
|
|
1938
3124
|
### Authorization
|
|
1939
3125
|
|
|
@@ -1947,7 +3133,7 @@ No authorization required
|
|
|
1947
3133
|
|
|
1948
3134
|
## un_block_comment_public
|
|
1949
3135
|
|
|
1950
|
-
> <
|
|
3136
|
+
> <UnblockSuccess> un_block_comment_public(tenant_id, comment_id, public_block_from_comment_params, opts)
|
|
1951
3137
|
|
|
1952
3138
|
|
|
1953
3139
|
|
|
@@ -1978,7 +3164,7 @@ end
|
|
|
1978
3164
|
|
|
1979
3165
|
This returns an Array which contains the response data, status code and headers.
|
|
1980
3166
|
|
|
1981
|
-
> <Array(<
|
|
3167
|
+
> <Array(<UnblockSuccess>, Integer, Hash)> un_block_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
|
|
1982
3168
|
|
|
1983
3169
|
```ruby
|
|
1984
3170
|
begin
|
|
@@ -1986,7 +3172,7 @@ begin
|
|
|
1986
3172
|
data, status_code, headers = api_instance.un_block_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
|
|
1987
3173
|
p status_code # => 2xx
|
|
1988
3174
|
p headers # => { ... }
|
|
1989
|
-
p data # => <
|
|
3175
|
+
p data # => <UnblockSuccess>
|
|
1990
3176
|
rescue FastCommentsClient::ApiError => e
|
|
1991
3177
|
puts "Error when calling PublicApi->un_block_comment_public_with_http_info: #{e}"
|
|
1992
3178
|
end
|
|
@@ -2003,7 +3189,7 @@ end
|
|
|
2003
3189
|
|
|
2004
3190
|
### Return type
|
|
2005
3191
|
|
|
2006
|
-
[**
|
|
3192
|
+
[**UnblockSuccess**](UnblockSuccess.md)
|
|
2007
3193
|
|
|
2008
3194
|
### Authorization
|
|
2009
3195
|
|
|
@@ -2017,7 +3203,7 @@ No authorization required
|
|
|
2017
3203
|
|
|
2018
3204
|
## un_lock_comment
|
|
2019
3205
|
|
|
2020
|
-
> <
|
|
3206
|
+
> <APIEmptyResponse> un_lock_comment(tenant_id, comment_id, broadcast_id, opts)
|
|
2021
3207
|
|
|
2022
3208
|
|
|
2023
3209
|
|
|
@@ -2048,7 +3234,7 @@ end
|
|
|
2048
3234
|
|
|
2049
3235
|
This returns an Array which contains the response data, status code and headers.
|
|
2050
3236
|
|
|
2051
|
-
> <Array(<
|
|
3237
|
+
> <Array(<APIEmptyResponse>, Integer, Hash)> un_lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
2052
3238
|
|
|
2053
3239
|
```ruby
|
|
2054
3240
|
begin
|
|
@@ -2056,7 +3242,7 @@ begin
|
|
|
2056
3242
|
data, status_code, headers = api_instance.un_lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
2057
3243
|
p status_code # => 2xx
|
|
2058
3244
|
p headers # => { ... }
|
|
2059
|
-
p data # => <
|
|
3245
|
+
p data # => <APIEmptyResponse>
|
|
2060
3246
|
rescue FastCommentsClient::ApiError => e
|
|
2061
3247
|
puts "Error when calling PublicApi->un_lock_comment_with_http_info: #{e}"
|
|
2062
3248
|
end
|
|
@@ -2073,7 +3259,7 @@ end
|
|
|
2073
3259
|
|
|
2074
3260
|
### Return type
|
|
2075
3261
|
|
|
2076
|
-
[**
|
|
3262
|
+
[**APIEmptyResponse**](APIEmptyResponse.md)
|
|
2077
3263
|
|
|
2078
3264
|
### Authorization
|
|
2079
3265
|
|
|
@@ -2087,7 +3273,7 @@ No authorization required
|
|
|
2087
3273
|
|
|
2088
3274
|
## un_pin_comment
|
|
2089
3275
|
|
|
2090
|
-
> <
|
|
3276
|
+
> <ChangeCommentPinStatusResponse> un_pin_comment(tenant_id, comment_id, broadcast_id, opts)
|
|
2091
3277
|
|
|
2092
3278
|
|
|
2093
3279
|
|
|
@@ -2118,7 +3304,7 @@ end
|
|
|
2118
3304
|
|
|
2119
3305
|
This returns an Array which contains the response data, status code and headers.
|
|
2120
3306
|
|
|
2121
|
-
> <Array(<
|
|
3307
|
+
> <Array(<ChangeCommentPinStatusResponse>, Integer, Hash)> un_pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
2122
3308
|
|
|
2123
3309
|
```ruby
|
|
2124
3310
|
begin
|
|
@@ -2126,7 +3312,7 @@ begin
|
|
|
2126
3312
|
data, status_code, headers = api_instance.un_pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
|
|
2127
3313
|
p status_code # => 2xx
|
|
2128
3314
|
p headers # => { ... }
|
|
2129
|
-
p data # => <
|
|
3315
|
+
p data # => <ChangeCommentPinStatusResponse>
|
|
2130
3316
|
rescue FastCommentsClient::ApiError => e
|
|
2131
3317
|
puts "Error when calling PublicApi->un_pin_comment_with_http_info: #{e}"
|
|
2132
3318
|
end
|
|
@@ -2143,7 +3329,7 @@ end
|
|
|
2143
3329
|
|
|
2144
3330
|
### Return type
|
|
2145
3331
|
|
|
2146
|
-
[**
|
|
3332
|
+
[**ChangeCommentPinStatusResponse**](ChangeCommentPinStatusResponse.md)
|
|
2147
3333
|
|
|
2148
3334
|
### Authorization
|
|
2149
3335
|
|
|
@@ -2157,7 +3343,7 @@ No authorization required
|
|
|
2157
3343
|
|
|
2158
3344
|
## update_feed_post_public
|
|
2159
3345
|
|
|
2160
|
-
> <
|
|
3346
|
+
> <CreateFeedPostResponse> update_feed_post_public(tenant_id, post_id, update_feed_post_params, opts)
|
|
2161
3347
|
|
|
2162
3348
|
|
|
2163
3349
|
|
|
@@ -2189,7 +3375,7 @@ end
|
|
|
2189
3375
|
|
|
2190
3376
|
This returns an Array which contains the response data, status code and headers.
|
|
2191
3377
|
|
|
2192
|
-
> <Array(<
|
|
3378
|
+
> <Array(<CreateFeedPostResponse>, Integer, Hash)> update_feed_post_public_with_http_info(tenant_id, post_id, update_feed_post_params, opts)
|
|
2193
3379
|
|
|
2194
3380
|
```ruby
|
|
2195
3381
|
begin
|
|
@@ -2197,7 +3383,7 @@ begin
|
|
|
2197
3383
|
data, status_code, headers = api_instance.update_feed_post_public_with_http_info(tenant_id, post_id, update_feed_post_params, opts)
|
|
2198
3384
|
p status_code # => 2xx
|
|
2199
3385
|
p headers # => { ... }
|
|
2200
|
-
p data # => <
|
|
3386
|
+
p data # => <CreateFeedPostResponse>
|
|
2201
3387
|
rescue FastCommentsClient::ApiError => e
|
|
2202
3388
|
puts "Error when calling PublicApi->update_feed_post_public_with_http_info: #{e}"
|
|
2203
3389
|
end
|
|
@@ -2215,7 +3401,7 @@ end
|
|
|
2215
3401
|
|
|
2216
3402
|
### Return type
|
|
2217
3403
|
|
|
2218
|
-
[**
|
|
3404
|
+
[**CreateFeedPostResponse**](CreateFeedPostResponse.md)
|
|
2219
3405
|
|
|
2220
3406
|
### Authorization
|
|
2221
3407
|
|
|
@@ -2229,7 +3415,7 @@ No authorization required
|
|
|
2229
3415
|
|
|
2230
3416
|
## update_user_notification_comment_subscription_status
|
|
2231
3417
|
|
|
2232
|
-
> <
|
|
3418
|
+
> <UpdateUserNotificationCommentSubscriptionStatusResponse> update_user_notification_comment_subscription_status(tenant_id, notification_id, opted_in_or_out, comment_id, opts)
|
|
2233
3419
|
|
|
2234
3420
|
|
|
2235
3421
|
|
|
@@ -2263,7 +3449,7 @@ end
|
|
|
2263
3449
|
|
|
2264
3450
|
This returns an Array which contains the response data, status code and headers.
|
|
2265
3451
|
|
|
2266
|
-
> <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)
|
|
2267
3453
|
|
|
2268
3454
|
```ruby
|
|
2269
3455
|
begin
|
|
@@ -2271,7 +3457,7 @@ begin
|
|
|
2271
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)
|
|
2272
3458
|
p status_code # => 2xx
|
|
2273
3459
|
p headers # => { ... }
|
|
2274
|
-
p data # => <
|
|
3460
|
+
p data # => <UpdateUserNotificationCommentSubscriptionStatusResponse>
|
|
2275
3461
|
rescue FastCommentsClient::ApiError => e
|
|
2276
3462
|
puts "Error when calling PublicApi->update_user_notification_comment_subscription_status_with_http_info: #{e}"
|
|
2277
3463
|
end
|
|
@@ -2289,7 +3475,7 @@ end
|
|
|
2289
3475
|
|
|
2290
3476
|
### Return type
|
|
2291
3477
|
|
|
2292
|
-
[**
|
|
3478
|
+
[**UpdateUserNotificationCommentSubscriptionStatusResponse**](UpdateUserNotificationCommentSubscriptionStatusResponse.md)
|
|
2293
3479
|
|
|
2294
3480
|
### Authorization
|
|
2295
3481
|
|
|
@@ -2303,7 +3489,7 @@ No authorization required
|
|
|
2303
3489
|
|
|
2304
3490
|
## update_user_notification_page_subscription_status
|
|
2305
3491
|
|
|
2306
|
-
> <
|
|
3492
|
+
> <UpdateUserNotificationPageSubscriptionStatusResponse> update_user_notification_page_subscription_status(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts)
|
|
2307
3493
|
|
|
2308
3494
|
|
|
2309
3495
|
|
|
@@ -2338,7 +3524,7 @@ end
|
|
|
2338
3524
|
|
|
2339
3525
|
This returns an Array which contains the response data, status code and headers.
|
|
2340
3526
|
|
|
2341
|
-
> <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)
|
|
2342
3528
|
|
|
2343
3529
|
```ruby
|
|
2344
3530
|
begin
|
|
@@ -2346,7 +3532,7 @@ begin
|
|
|
2346
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)
|
|
2347
3533
|
p status_code # => 2xx
|
|
2348
3534
|
p headers # => { ... }
|
|
2349
|
-
p data # => <
|
|
3535
|
+
p data # => <UpdateUserNotificationPageSubscriptionStatusResponse>
|
|
2350
3536
|
rescue FastCommentsClient::ApiError => e
|
|
2351
3537
|
puts "Error when calling PublicApi->update_user_notification_page_subscription_status_with_http_info: #{e}"
|
|
2352
3538
|
end
|
|
@@ -2365,7 +3551,7 @@ end
|
|
|
2365
3551
|
|
|
2366
3552
|
### Return type
|
|
2367
3553
|
|
|
2368
|
-
[**
|
|
3554
|
+
[**UpdateUserNotificationPageSubscriptionStatusResponse**](UpdateUserNotificationPageSubscriptionStatusResponse.md)
|
|
2369
3555
|
|
|
2370
3556
|
### Authorization
|
|
2371
3557
|
|
|
@@ -2379,7 +3565,7 @@ No authorization required
|
|
|
2379
3565
|
|
|
2380
3566
|
## update_user_notification_status
|
|
2381
3567
|
|
|
2382
|
-
> <
|
|
3568
|
+
> <UpdateUserNotificationStatusResponse> update_user_notification_status(tenant_id, notification_id, new_status, opts)
|
|
2383
3569
|
|
|
2384
3570
|
|
|
2385
3571
|
|
|
@@ -2410,7 +3596,7 @@ end
|
|
|
2410
3596
|
|
|
2411
3597
|
This returns an Array which contains the response data, status code and headers.
|
|
2412
3598
|
|
|
2413
|
-
> <Array(<
|
|
3599
|
+
> <Array(<UpdateUserNotificationStatusResponse>, Integer, Hash)> update_user_notification_status_with_http_info(tenant_id, notification_id, new_status, opts)
|
|
2414
3600
|
|
|
2415
3601
|
```ruby
|
|
2416
3602
|
begin
|
|
@@ -2418,7 +3604,7 @@ begin
|
|
|
2418
3604
|
data, status_code, headers = api_instance.update_user_notification_status_with_http_info(tenant_id, notification_id, new_status, opts)
|
|
2419
3605
|
p status_code # => 2xx
|
|
2420
3606
|
p headers # => { ... }
|
|
2421
|
-
p data # => <
|
|
3607
|
+
p data # => <UpdateUserNotificationStatusResponse>
|
|
2422
3608
|
rescue FastCommentsClient::ApiError => e
|
|
2423
3609
|
puts "Error when calling PublicApi->update_user_notification_status_with_http_info: #{e}"
|
|
2424
3610
|
end
|
|
@@ -2435,7 +3621,7 @@ end
|
|
|
2435
3621
|
|
|
2436
3622
|
### Return type
|
|
2437
3623
|
|
|
2438
|
-
[**
|
|
3624
|
+
[**UpdateUserNotificationStatusResponse**](UpdateUserNotificationStatusResponse.md)
|
|
2439
3625
|
|
|
2440
3626
|
### Authorization
|
|
2441
3627
|
|
|
@@ -2521,7 +3707,7 @@ No authorization required
|
|
|
2521
3707
|
|
|
2522
3708
|
## vote_comment
|
|
2523
3709
|
|
|
2524
|
-
> <
|
|
3710
|
+
> <VoteResponse> vote_comment(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
|
|
2525
3711
|
|
|
2526
3712
|
|
|
2527
3713
|
|
|
@@ -2555,7 +3741,7 @@ end
|
|
|
2555
3741
|
|
|
2556
3742
|
This returns an Array which contains the response data, status code and headers.
|
|
2557
3743
|
|
|
2558
|
-
> <Array(<
|
|
3744
|
+
> <Array(<VoteResponse>, Integer, Hash)> vote_comment_with_http_info(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
|
|
2559
3745
|
|
|
2560
3746
|
```ruby
|
|
2561
3747
|
begin
|
|
@@ -2563,7 +3749,7 @@ begin
|
|
|
2563
3749
|
data, status_code, headers = api_instance.vote_comment_with_http_info(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
|
|
2564
3750
|
p status_code # => 2xx
|
|
2565
3751
|
p headers # => { ... }
|
|
2566
|
-
p data # => <
|
|
3752
|
+
p data # => <VoteResponse>
|
|
2567
3753
|
rescue FastCommentsClient::ApiError => e
|
|
2568
3754
|
puts "Error when calling PublicApi->vote_comment_with_http_info: #{e}"
|
|
2569
3755
|
end
|
|
@@ -2583,7 +3769,7 @@ end
|
|
|
2583
3769
|
|
|
2584
3770
|
### Return type
|
|
2585
3771
|
|
|
2586
|
-
[**
|
|
3772
|
+
[**VoteResponse**](VoteResponse.md)
|
|
2587
3773
|
|
|
2588
3774
|
### Authorization
|
|
2589
3775
|
|