fastcomments 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (693) hide show
  1. checksums.yaml +7 -0
  2. data/LICENSE +21 -0
  3. data/README.md +210 -0
  4. data/client/Gemfile +9 -0
  5. data/client/README.md +407 -0
  6. data/client/Rakefile +10 -0
  7. data/client/docs/APIAuditLog.md +40 -0
  8. data/client/docs/APIComment.md +122 -0
  9. data/client/docs/APICommentBase.md +122 -0
  10. data/client/docs/APICreateUserBadgeResponse.md +20 -0
  11. data/client/docs/APIEmptyResponse.md +18 -0
  12. data/client/docs/APIEmptySuccessResponse.md +18 -0
  13. data/client/docs/APIError.md +32 -0
  14. data/client/docs/APIGetCommentResponse.md +20 -0
  15. data/client/docs/APIGetCommentsResponse.md +20 -0
  16. data/client/docs/APIGetUserBadgeProgressListResponse.md +20 -0
  17. data/client/docs/APIGetUserBadgeProgressResponse.md +20 -0
  18. data/client/docs/APIGetUserBadgeResponse.md +20 -0
  19. data/client/docs/APIGetUserBadgesResponse.md +20 -0
  20. data/client/docs/APIPage.md +34 -0
  21. data/client/docs/APISSOUser.md +56 -0
  22. data/client/docs/APIStatus.md +15 -0
  23. data/client/docs/APIUserSubscription.md +30 -0
  24. data/client/docs/AddDomainConfig200Response.md +24 -0
  25. data/client/docs/AddDomainConfig200ResponseAnyOf.md +20 -0
  26. data/client/docs/AddDomainConfigParams.md +30 -0
  27. data/client/docs/AddPageAPIResponse.md +24 -0
  28. data/client/docs/AddSSOUserAPIResponse.md +24 -0
  29. data/client/docs/AggregateQuestionResults200Response.md +34 -0
  30. data/client/docs/AggregateQuestionResultsResponse.md +20 -0
  31. data/client/docs/AggregateTimeBucket.md +15 -0
  32. data/client/docs/AggregationItem.md +18 -0
  33. data/client/docs/AggregationOpType.md +15 -0
  34. data/client/docs/AggregationOperation.md +24 -0
  35. data/client/docs/AggregationRequest.md +26 -0
  36. data/client/docs/AggregationRequestSort.md +20 -0
  37. data/client/docs/AggregationResponse.md +22 -0
  38. data/client/docs/AggregationResponseStats.md +20 -0
  39. data/client/docs/AggregationValue.md +26 -0
  40. data/client/docs/BlockFromCommentParams.md +18 -0
  41. data/client/docs/BlockFromCommentPublic200Response.md +34 -0
  42. data/client/docs/BlockSuccess.md +20 -0
  43. data/client/docs/BulkAggregateQuestionItem.md +28 -0
  44. data/client/docs/BulkAggregateQuestionResults200Response.md +34 -0
  45. data/client/docs/BulkAggregateQuestionResultsRequest.md +18 -0
  46. data/client/docs/BulkAggregateQuestionResultsResponse.md +20 -0
  47. data/client/docs/ChangeCommentPinStatusResponse.md +20 -0
  48. data/client/docs/CheckBlockedCommentsResponse.md +20 -0
  49. data/client/docs/CheckedCommentsForBlocked200Response.md +34 -0
  50. data/client/docs/CombineCommentsWithQuestionResults200Response.md +34 -0
  51. data/client/docs/CombineQuestionResultsWithCommentsResponse.md +20 -0
  52. data/client/docs/CommentData.md +64 -0
  53. data/client/docs/CommentHTMLRenderingMode.md +15 -0
  54. data/client/docs/CommentLogData.md +102 -0
  55. data/client/docs/CommentLogEntry.md +22 -0
  56. data/client/docs/CommentLogType.md +15 -0
  57. data/client/docs/CommentQuestionResultsRenderingType.md +15 -0
  58. data/client/docs/CommentQuestionsRequired.md +15 -0
  59. data/client/docs/CommentTextUpdateRequest.md +22 -0
  60. data/client/docs/CommentThreadDeletionMode.md +15 -0
  61. data/client/docs/CommentUserBadgeInfo.md +34 -0
  62. data/client/docs/CommentUserHashTagInfo.md +24 -0
  63. data/client/docs/CommentUserMentionInfo.md +26 -0
  64. data/client/docs/CommenterNameFormats.md +15 -0
  65. data/client/docs/CreateAPIPageData.md +28 -0
  66. data/client/docs/CreateAPISSOUserData.md +56 -0
  67. data/client/docs/CreateAPIUserSubscriptionData.md +26 -0
  68. data/client/docs/CreateCommentParams.md +84 -0
  69. data/client/docs/CreateCommentPublic200Response.md +40 -0
  70. data/client/docs/CreateFeedPost200Response.md +34 -0
  71. data/client/docs/CreateFeedPostParams.md +32 -0
  72. data/client/docs/CreateFeedPostPublic200Response.md +34 -0
  73. data/client/docs/CreateFeedPostResponse.md +20 -0
  74. data/client/docs/CreateFeedPostsResponse.md +20 -0
  75. data/client/docs/CreateSubscriptionAPIResponse.md +24 -0
  76. data/client/docs/CreateUserBadge200Response.md +34 -0
  77. data/client/docs/CreateUserBadgeParams.md +22 -0
  78. data/client/docs/CustomConfigParameters.md +160 -0
  79. data/client/docs/DefaultApi.md +3601 -0
  80. data/client/docs/DeleteComment200Response.md +34 -0
  81. data/client/docs/DeleteCommentAction.md +15 -0
  82. data/client/docs/DeleteCommentPublic200Response.md +36 -0
  83. data/client/docs/DeleteCommentResult.md +20 -0
  84. data/client/docs/DeleteCommentVote200Response.md +34 -0
  85. data/client/docs/DeleteDomainConfig200Response.md +18 -0
  86. data/client/docs/DeleteFeedPostPublic200Response.md +32 -0
  87. data/client/docs/DeleteFeedPostPublic200ResponseAnyOf.md +18 -0
  88. data/client/docs/DeletePageAPIResponse.md +22 -0
  89. data/client/docs/DeleteSSOUserAPIResponse.md +24 -0
  90. data/client/docs/DeleteSubscriptionAPIResponse.md +22 -0
  91. data/client/docs/DeletedCommentResultComment.md +24 -0
  92. data/client/docs/EventLogEntry.md +28 -0
  93. data/client/docs/FComment.md +158 -0
  94. data/client/docs/FCommentMeta.md +20 -0
  95. data/client/docs/FeedPost.md +48 -0
  96. data/client/docs/FeedPostLink.md +24 -0
  97. data/client/docs/FeedPostMediaItem.md +22 -0
  98. data/client/docs/FeedPostMediaItemAsset.md +22 -0
  99. data/client/docs/FeedPostStats.md +20 -0
  100. data/client/docs/FeedPostsStatsResponse.md +20 -0
  101. data/client/docs/FindCommentsByRangeItem.md +20 -0
  102. data/client/docs/FindCommentsByRangeResponse.md +20 -0
  103. data/client/docs/FlagComment200Response.md +36 -0
  104. data/client/docs/FlagCommentPublic200Response.md +32 -0
  105. data/client/docs/FlagCommentResponse.md +26 -0
  106. data/client/docs/GetAuditLogs200Response.md +34 -0
  107. data/client/docs/GetAuditLogsResponse.md +20 -0
  108. data/client/docs/GetComment200Response.md +34 -0
  109. data/client/docs/GetCommentText200Response.md +36 -0
  110. data/client/docs/GetCommentVoteUserNames200Response.md +36 -0
  111. data/client/docs/GetCommentVoteUserNamesSuccessResponse.md +22 -0
  112. data/client/docs/GetComments200Response.md +34 -0
  113. data/client/docs/GetCommentsPublic200Response.md +78 -0
  114. data/client/docs/GetCommentsResponsePublicComment.md +64 -0
  115. data/client/docs/GetCommentsResponseWithPresencePublicComment.md +70 -0
  116. data/client/docs/GetDomainConfig200Response.md +24 -0
  117. data/client/docs/GetDomainConfigs200Response.md +24 -0
  118. data/client/docs/GetDomainConfigs200ResponseAnyOf.md +20 -0
  119. data/client/docs/GetDomainConfigs200ResponseAnyOf1.md +22 -0
  120. data/client/docs/GetEventLog200Response.md +34 -0
  121. data/client/docs/GetEventLogResponse.md +20 -0
  122. data/client/docs/GetFeedPosts200Response.md +34 -0
  123. data/client/docs/GetFeedPostsPublic200Response.md +44 -0
  124. data/client/docs/GetFeedPostsResponse.md +20 -0
  125. data/client/docs/GetFeedPostsStats200Response.md +34 -0
  126. data/client/docs/GetMyNotificationsResponse.md +26 -0
  127. data/client/docs/GetPageByURLIdAPIResponse.md +24 -0
  128. data/client/docs/GetPagesAPIResponse.md +24 -0
  129. data/client/docs/GetPublicFeedPostsResponse.md +22 -0
  130. data/client/docs/GetSSOUserByEmailAPIResponse.md +24 -0
  131. data/client/docs/GetSSOUserByIdAPIResponse.md +24 -0
  132. data/client/docs/GetSSOUsers200Response.md +20 -0
  133. data/client/docs/GetSubscriptionsAPIResponse.md +24 -0
  134. data/client/docs/GetUserBadge200Response.md +34 -0
  135. data/client/docs/GetUserBadgeProgressById200Response.md +34 -0
  136. data/client/docs/GetUserBadgeProgressList200Response.md +34 -0
  137. data/client/docs/GetUserBadges200Response.md +34 -0
  138. data/client/docs/GetUserNotificationCount200Response.md +34 -0
  139. data/client/docs/GetUserNotificationCountResponse.md +20 -0
  140. data/client/docs/GetUserNotifications200Response.md +40 -0
  141. data/client/docs/GetUserPresenceStatuses200Response.md +34 -0
  142. data/client/docs/GetUserPresenceStatusesResponse.md +20 -0
  143. data/client/docs/GetUserReactsPublic200Response.md +34 -0
  144. data/client/docs/GifRating.md +15 -0
  145. data/client/docs/HeaderState.md +26 -0
  146. data/client/docs/IgnoredResponse.md +20 -0
  147. data/client/docs/ImageContentProfanityLevel.md +15 -0
  148. data/client/docs/LiveEvent.md +48 -0
  149. data/client/docs/LiveEventExtraInfo.md +18 -0
  150. data/client/docs/LiveEventType.md +15 -0
  151. data/client/docs/LockComment200Response.md +32 -0
  152. data/client/docs/MediaAsset.md +22 -0
  153. data/client/docs/MetaItem.md +20 -0
  154. data/client/docs/NotificationAndCount.md +20 -0
  155. data/client/docs/NotificationObjectType.md +15 -0
  156. data/client/docs/NotificationType.md +15 -0
  157. data/client/docs/PatchDomainConfigParams.md +30 -0
  158. data/client/docs/PatchPageAPIResponse.md +24 -0
  159. data/client/docs/PatchSSOUserAPIResponse.md +24 -0
  160. data/client/docs/PinComment200Response.md +34 -0
  161. data/client/docs/PubSubComment.md +102 -0
  162. data/client/docs/PubSubCommentBase.md +96 -0
  163. data/client/docs/PubSubVote.md +34 -0
  164. data/client/docs/PublicAPIDeleteCommentResponse.md +22 -0
  165. data/client/docs/PublicAPIGetCommentTextResponse.md +22 -0
  166. data/client/docs/PublicAPISetCommentTextResponse.md +20 -0
  167. data/client/docs/PublicApi.md +2596 -0
  168. data/client/docs/PublicBlockFromCommentParams.md +18 -0
  169. data/client/docs/PublicComment.md +92 -0
  170. data/client/docs/PublicCommentBase.md +72 -0
  171. data/client/docs/PublicFeedPostsResponse.md +30 -0
  172. data/client/docs/PutSSOUserAPIResponse.md +24 -0
  173. data/client/docs/QueryPredicate.md +22 -0
  174. data/client/docs/QueryPredicateValue.md +15 -0
  175. data/client/docs/QuestionDatum.md +20 -0
  176. data/client/docs/QuestionRenderingType.md +15 -0
  177. data/client/docs/QuestionResult.md +38 -0
  178. data/client/docs/QuestionResultAggregationOverall.md +28 -0
  179. data/client/docs/QuestionSubQuestionVisibility.md +15 -0
  180. data/client/docs/QuestionWhenSave.md +15 -0
  181. data/client/docs/ReactBodyParams.md +18 -0
  182. data/client/docs/ReactFeedPostPublic200Response.md +36 -0
  183. data/client/docs/ReactFeedPostResponse.md +22 -0
  184. data/client/docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md +20 -0
  185. data/client/docs/RecordStringStringOrNumberValue.md +15 -0
  186. data/client/docs/RenderableUserNotification.md +58 -0
  187. data/client/docs/RepeatCommentCheckIgnoredReason.md +15 -0
  188. data/client/docs/RepeatCommentHandlingAction.md +15 -0
  189. data/client/docs/ResetUserNotifications200Response.md +32 -0
  190. data/client/docs/ResetUserNotificationsResponse.md +20 -0
  191. data/client/docs/SORTDIR.md +15 -0
  192. data/client/docs/SSOSecurityLevel.md +15 -0
  193. data/client/docs/SaveComment200Response.md +38 -0
  194. data/client/docs/SaveCommentResponse.md +24 -0
  195. data/client/docs/SaveCommentResponseOptimized.md +24 -0
  196. data/client/docs/SaveCommentsResponseWithPresence.md +26 -0
  197. data/client/docs/SearchUsers200Response.md +34 -0
  198. data/client/docs/SearchUsersResponse.md +20 -0
  199. data/client/docs/SetCommentText200Response.md +34 -0
  200. data/client/docs/SetCommentTextResult.md +20 -0
  201. data/client/docs/SizePreset.md +15 -0
  202. data/client/docs/SortDirections.md +15 -0
  203. data/client/docs/SpamRule.md +20 -0
  204. data/client/docs/UnBlockCommentPublic200Response.md +34 -0
  205. data/client/docs/UnBlockFromCommentParams.md +18 -0
  206. data/client/docs/UnblockSuccess.md +20 -0
  207. data/client/docs/UpdatableCommentParams.md +94 -0
  208. data/client/docs/UpdateAPIPageData.md +26 -0
  209. data/client/docs/UpdateAPISSOUserData.md +56 -0
  210. data/client/docs/UpdateDomainConfigParams.md +30 -0
  211. data/client/docs/UpdateFeedPostParams.md +28 -0
  212. data/client/docs/UpdateUserBadge200Response.md +32 -0
  213. data/client/docs/UpdateUserBadgeParams.md +18 -0
  214. data/client/docs/UpdateUserNotificationStatus200Response.md +38 -0
  215. data/client/docs/UploadImageResponse.md +26 -0
  216. data/client/docs/UserBadge.md +52 -0
  217. data/client/docs/UserBadgeProgress.md +32 -0
  218. data/client/docs/UserNotification.md +64 -0
  219. data/client/docs/UserNotificationWriteResponse.md +22 -0
  220. data/client/docs/UserPresenceData.md +22 -0
  221. data/client/docs/UserReactsResponse.md +20 -0
  222. data/client/docs/UserSearchResult.md +26 -0
  223. data/client/docs/UserSessionInfo.md +42 -0
  224. data/client/docs/VoteBodyParams.md +24 -0
  225. data/client/docs/VoteComment200Response.md +40 -0
  226. data/client/docs/VoteDeleteResponse.md +20 -0
  227. data/client/docs/VoteResponse.md +26 -0
  228. data/client/docs/VoteResponseStatus.md +15 -0
  229. data/client/docs/VoteResponseUser.md +18 -0
  230. data/client/docs/VoteStyle.md +15 -0
  231. data/client/fastcomments-client.gemspec +39 -0
  232. data/client/git_push.sh +57 -0
  233. data/client/lib/fastcomments-client/api/default_api.rb +3463 -0
  234. data/client/lib/fastcomments-client/api/public_api.rb +2858 -0
  235. data/client/lib/fastcomments-client/api_client.rb +393 -0
  236. data/client/lib/fastcomments-client/api_error.rb +58 -0
  237. data/client/lib/fastcomments-client/configuration.rb +312 -0
  238. data/client/lib/fastcomments-client/models/add_domain_config200_response.rb +104 -0
  239. data/client/lib/fastcomments-client/models/add_domain_config200_response_any_of.rb +235 -0
  240. data/client/lib/fastcomments-client/models/add_domain_config_params.rb +294 -0
  241. data/client/lib/fastcomments-client/models/add_page_api_response.rb +264 -0
  242. data/client/lib/fastcomments-client/models/add_sso_user_api_response.rb +264 -0
  243. data/client/lib/fastcomments-client/models/aggregate_question_results200_response.rb +104 -0
  244. data/client/lib/fastcomments-client/models/aggregate_question_results_response.rb +285 -0
  245. data/client/lib/fastcomments-client/models/aggregate_time_bucket.rb +41 -0
  246. data/client/lib/fastcomments-client/models/aggregation_item.rb +223 -0
  247. data/client/lib/fastcomments-client/models/aggregation_op_type.rb +45 -0
  248. data/client/lib/fastcomments-client/models/aggregation_operation.rb +306 -0
  249. data/client/lib/fastcomments-client/models/aggregation_request.rb +297 -0
  250. data/client/lib/fastcomments-client/models/aggregation_request_sort.rb +287 -0
  251. data/client/lib/fastcomments-client/models/aggregation_response.rb +297 -0
  252. data/client/lib/fastcomments-client/models/aggregation_response_stats.rb +263 -0
  253. data/client/lib/fastcomments-client/models/aggregation_value.rb +262 -0
  254. data/client/lib/fastcomments-client/models/api_audit_log.rb +412 -0
  255. data/client/lib/fastcomments-client/models/api_comment.rb +888 -0
  256. data/client/lib/fastcomments-client/models/api_comment_base.rb +881 -0
  257. data/client/lib/fastcomments-client/models/api_create_user_badge_response.rb +285 -0
  258. data/client/lib/fastcomments-client/models/api_empty_response.rb +259 -0
  259. data/client/lib/fastcomments-client/models/api_empty_success_response.rb +259 -0
  260. data/client/lib/fastcomments-client/models/api_error.rb +356 -0
  261. data/client/lib/fastcomments-client/models/api_get_comment_response.rb +285 -0
  262. data/client/lib/fastcomments-client/models/api_get_comments_response.rb +287 -0
  263. data/client/lib/fastcomments-client/models/api_get_user_badge_progress_list_response.rb +287 -0
  264. data/client/lib/fastcomments-client/models/api_get_user_badge_progress_response.rb +285 -0
  265. data/client/lib/fastcomments-client/models/api_get_user_badge_response.rb +285 -0
  266. data/client/lib/fastcomments-client/models/api_get_user_badges_response.rb +287 -0
  267. data/client/lib/fastcomments-client/models/api_page.rb +396 -0
  268. data/client/lib/fastcomments-client/models/api_status.rb +40 -0
  269. data/client/lib/fastcomments-client/models/api_user_subscription.rb +325 -0
  270. data/client/lib/fastcomments-client/models/apisso_user.rb +597 -0
  271. data/client/lib/fastcomments-client/models/block_from_comment_params.rb +222 -0
  272. data/client/lib/fastcomments-client/models/block_from_comment_public200_response.rb +104 -0
  273. data/client/lib/fastcomments-client/models/block_success.rb +288 -0
  274. data/client/lib/fastcomments-client/models/bulk_aggregate_question_item.rb +306 -0
  275. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results200_response.rb +104 -0
  276. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_request.rb +239 -0
  277. data/client/lib/fastcomments-client/models/bulk_aggregate_question_results_response.rb +288 -0
  278. data/client/lib/fastcomments-client/models/change_comment_pin_status_response.rb +288 -0
  279. data/client/lib/fastcomments-client/models/check_blocked_comments_response.rb +288 -0
  280. data/client/lib/fastcomments-client/models/checked_comments_for_blocked200_response.rb +104 -0
  281. data/client/lib/fastcomments-client/models/combine_comments_with_question_results200_response.rb +104 -0
  282. data/client/lib/fastcomments-client/models/combine_question_results_with_comments_response.rb +285 -0
  283. data/client/lib/fastcomments-client/models/comment_data.rb +511 -0
  284. data/client/lib/fastcomments-client/models/comment_html_rendering_mode.rb +40 -0
  285. data/client/lib/fastcomments-client/models/comment_log_data.rb +642 -0
  286. data/client/lib/fastcomments-client/models/comment_log_entry.rb +294 -0
  287. data/client/lib/fastcomments-client/models/comment_log_type.rb +93 -0
  288. data/client/lib/fastcomments-client/models/comment_question_results_rendering_type.rb +41 -0
  289. data/client/lib/fastcomments-client/models/comment_questions_required.rb +40 -0
  290. data/client/lib/fastcomments-client/models/comment_text_update_request.rb +259 -0
  291. data/client/lib/fastcomments-client/models/comment_thread_deletion_mode.rb +42 -0
  292. data/client/lib/fastcomments-client/models/comment_user_badge_info.rb +349 -0
  293. data/client/lib/fastcomments-client/models/comment_user_hash_tag_info.rb +284 -0
  294. data/client/lib/fastcomments-client/models/comment_user_mention_info.rb +324 -0
  295. data/client/lib/fastcomments-client/models/commenter_name_formats.rb +43 -0
  296. data/client/lib/fastcomments-client/models/create_api_page_data.rb +318 -0
  297. data/client/lib/fastcomments-client/models/create_api_user_subscription_data.rb +273 -0
  298. data/client/lib/fastcomments-client/models/create_apisso_user_data.rb +444 -0
  299. data/client/lib/fastcomments-client/models/create_comment_params.rb +619 -0
  300. data/client/lib/fastcomments-client/models/create_comment_public200_response.rb +104 -0
  301. data/client/lib/fastcomments-client/models/create_feed_post200_response.rb +104 -0
  302. data/client/lib/fastcomments-client/models/create_feed_post_params.rb +292 -0
  303. data/client/lib/fastcomments-client/models/create_feed_post_public200_response.rb +104 -0
  304. data/client/lib/fastcomments-client/models/create_feed_post_response.rb +285 -0
  305. data/client/lib/fastcomments-client/models/create_feed_posts_response.rb +285 -0
  306. data/client/lib/fastcomments-client/models/create_subscription_api_response.rb +264 -0
  307. data/client/lib/fastcomments-client/models/create_user_badge200_response.rb +104 -0
  308. data/client/lib/fastcomments-client/models/create_user_badge_params.rb +272 -0
  309. data/client/lib/fastcomments-client/models/custom_config_parameters.rb +906 -0
  310. data/client/lib/fastcomments-client/models/delete_comment200_response.rb +104 -0
  311. data/client/lib/fastcomments-client/models/delete_comment_action.rb +41 -0
  312. data/client/lib/fastcomments-client/models/delete_comment_public200_response.rb +104 -0
  313. data/client/lib/fastcomments-client/models/delete_comment_result.rb +285 -0
  314. data/client/lib/fastcomments-client/models/delete_comment_vote200_response.rb +104 -0
  315. data/client/lib/fastcomments-client/models/delete_domain_config200_response.rb +223 -0
  316. data/client/lib/fastcomments-client/models/delete_feed_post_public200_response.rb +104 -0
  317. data/client/lib/fastcomments-client/models/delete_feed_post_public200_response_any_of.rb +259 -0
  318. data/client/lib/fastcomments-client/models/delete_page_api_response.rb +255 -0
  319. data/client/lib/fastcomments-client/models/delete_sso_user_api_response.rb +264 -0
  320. data/client/lib/fastcomments-client/models/delete_subscription_api_response.rb +255 -0
  321. data/client/lib/fastcomments-client/models/deleted_comment_result_comment.rb +282 -0
  322. data/client/lib/fastcomments-client/models/event_log_entry.rb +367 -0
  323. data/client/lib/fastcomments-client/models/f_comment.rb +1054 -0
  324. data/client/lib/fastcomments-client/models/f_comment_meta.rb +229 -0
  325. data/client/lib/fastcomments-client/models/feed_post.rb +420 -0
  326. data/client/lib/fastcomments-client/models/feed_post_link.rb +247 -0
  327. data/client/lib/fastcomments-client/models/feed_post_media_item.rb +257 -0
  328. data/client/lib/fastcomments-client/models/feed_post_media_item_asset.rb +289 -0
  329. data/client/lib/fastcomments-client/models/feed_post_stats.rb +231 -0
  330. data/client/lib/fastcomments-client/models/feed_posts_stats_response.rb +287 -0
  331. data/client/lib/fastcomments-client/models/find_comments_by_range_item.rb +249 -0
  332. data/client/lib/fastcomments-client/models/find_comments_by_range_response.rb +265 -0
  333. data/client/lib/fastcomments-client/models/flag_comment200_response.rb +104 -0
  334. data/client/lib/fastcomments-client/models/flag_comment_public200_response.rb +104 -0
  335. data/client/lib/fastcomments-client/models/flag_comment_response.rb +295 -0
  336. data/client/lib/fastcomments-client/models/get_audit_logs200_response.rb +104 -0
  337. data/client/lib/fastcomments-client/models/get_audit_logs_response.rb +287 -0
  338. data/client/lib/fastcomments-client/models/get_comment200_response.rb +104 -0
  339. data/client/lib/fastcomments-client/models/get_comment_text200_response.rb +104 -0
  340. data/client/lib/fastcomments-client/models/get_comment_vote_user_names200_response.rb +104 -0
  341. data/client/lib/fastcomments-client/models/get_comment_vote_user_names_success_response.rb +313 -0
  342. data/client/lib/fastcomments-client/models/get_comments200_response.rb +104 -0
  343. data/client/lib/fastcomments-client/models/get_comments_public200_response.rb +104 -0
  344. data/client/lib/fastcomments-client/models/get_comments_response_public_comment.rb +487 -0
  345. data/client/lib/fastcomments-client/models/get_comments_response_with_presence_public_comment.rb +522 -0
  346. data/client/lib/fastcomments-client/models/get_domain_config200_response.rb +104 -0
  347. data/client/lib/fastcomments-client/models/get_domain_configs200_response.rb +104 -0
  348. data/client/lib/fastcomments-client/models/get_domain_configs200_response_any_of.rb +235 -0
  349. data/client/lib/fastcomments-client/models/get_domain_configs200_response_any_of1.rb +275 -0
  350. data/client/lib/fastcomments-client/models/get_event_log200_response.rb +104 -0
  351. data/client/lib/fastcomments-client/models/get_event_log_response.rb +287 -0
  352. data/client/lib/fastcomments-client/models/get_feed_posts200_response.rb +104 -0
  353. data/client/lib/fastcomments-client/models/get_feed_posts_public200_response.rb +104 -0
  354. data/client/lib/fastcomments-client/models/get_feed_posts_response.rb +287 -0
  355. data/client/lib/fastcomments-client/models/get_feed_posts_stats200_response.rb +104 -0
  356. data/client/lib/fastcomments-client/models/get_my_notifications_response.rb +351 -0
  357. data/client/lib/fastcomments-client/models/get_page_by_urlid_api_response.rb +264 -0
  358. data/client/lib/fastcomments-client/models/get_pages_api_response.rb +266 -0
  359. data/client/lib/fastcomments-client/models/get_public_feed_posts_response.rb +297 -0
  360. data/client/lib/fastcomments-client/models/get_sso_user_by_email_api_response.rb +264 -0
  361. data/client/lib/fastcomments-client/models/get_sso_user_by_id_api_response.rb +264 -0
  362. data/client/lib/fastcomments-client/models/get_sso_users200_response.rb +265 -0
  363. data/client/lib/fastcomments-client/models/get_subscriptions_api_response.rb +266 -0
  364. data/client/lib/fastcomments-client/models/get_user_badge200_response.rb +104 -0
  365. data/client/lib/fastcomments-client/models/get_user_badge_progress_by_id200_response.rb +104 -0
  366. data/client/lib/fastcomments-client/models/get_user_badge_progress_list200_response.rb +104 -0
  367. data/client/lib/fastcomments-client/models/get_user_badges200_response.rb +104 -0
  368. data/client/lib/fastcomments-client/models/get_user_notification_count200_response.rb +104 -0
  369. data/client/lib/fastcomments-client/models/get_user_notification_count_response.rb +285 -0
  370. data/client/lib/fastcomments-client/models/get_user_notifications200_response.rb +104 -0
  371. data/client/lib/fastcomments-client/models/get_user_presence_statuses200_response.rb +104 -0
  372. data/client/lib/fastcomments-client/models/get_user_presence_statuses_response.rb +288 -0
  373. data/client/lib/fastcomments-client/models/get_user_reacts_public200_response.rb +104 -0
  374. data/client/lib/fastcomments-client/models/gif_rating.rb +42 -0
  375. data/client/lib/fastcomments-client/models/header_state.rb +365 -0
  376. data/client/lib/fastcomments-client/models/ignored_response.rb +287 -0
  377. data/client/lib/fastcomments-client/models/image_content_profanity_level.rb +42 -0
  378. data/client/lib/fastcomments-client/models/live_event.rb +402 -0
  379. data/client/lib/fastcomments-client/models/live_event_extra_info.rb +223 -0
  380. data/client/lib/fastcomments-client/models/live_event_type.rb +55 -0
  381. data/client/lib/fastcomments-client/models/lock_comment200_response.rb +104 -0
  382. data/client/lib/fastcomments-client/models/media_asset.rb +289 -0
  383. data/client/lib/fastcomments-client/models/meta_item.rb +265 -0
  384. data/client/lib/fastcomments-client/models/notification_and_count.rb +285 -0
  385. data/client/lib/fastcomments-client/models/notification_object_type.rb +41 -0
  386. data/client/lib/fastcomments-client/models/notification_type.rb +51 -0
  387. data/client/lib/fastcomments-client/models/patch_domain_config_params.rb +277 -0
  388. data/client/lib/fastcomments-client/models/patch_page_api_response.rb +264 -0
  389. data/client/lib/fastcomments-client/models/patch_sso_user_api_response.rb +264 -0
  390. data/client/lib/fastcomments-client/models/pin_comment200_response.rb +104 -0
  391. data/client/lib/fastcomments-client/models/pub_sub_comment.rb +803 -0
  392. data/client/lib/fastcomments-client/models/pub_sub_comment_base.rb +752 -0
  393. data/client/lib/fastcomments-client/models/pub_sub_vote.rb +415 -0
  394. data/client/lib/fastcomments-client/models/public_api_delete_comment_response.rb +294 -0
  395. data/client/lib/fastcomments-client/models/public_api_get_comment_text_response.rb +311 -0
  396. data/client/lib/fastcomments-client/models/public_api_set_comment_text_response.rb +285 -0
  397. data/client/lib/fastcomments-client/models/public_block_from_comment_params.rb +226 -0
  398. data/client/lib/fastcomments-client/models/public_comment.rb +654 -0
  399. data/client/lib/fastcomments-client/models/public_comment_base.rb +552 -0
  400. data/client/lib/fastcomments-client/models/public_feed_posts_response.rb +343 -0
  401. data/client/lib/fastcomments-client/models/put_sso_user_api_response.rb +265 -0
  402. data/client/lib/fastcomments-client/models/query_predicate.rb +313 -0
  403. data/client/lib/fastcomments-client/models/query_predicate_value.rb +105 -0
  404. data/client/lib/fastcomments-client/models/question_datum.rb +266 -0
  405. data/client/lib/fastcomments-client/models/question_rendering_type.rb +40 -0
  406. data/client/lib/fastcomments-client/models/question_result.rb +467 -0
  407. data/client/lib/fastcomments-client/models/question_result_aggregation_overall.rb +307 -0
  408. data/client/lib/fastcomments-client/models/question_sub_question_visibility.rb +40 -0
  409. data/client/lib/fastcomments-client/models/question_when_save.rb +40 -0
  410. data/client/lib/fastcomments-client/models/react_body_params.rb +220 -0
  411. data/client/lib/fastcomments-client/models/react_feed_post_public200_response.rb +104 -0
  412. data/client/lib/fastcomments-client/models/react_feed_post_response.rb +311 -0
  413. data/client/lib/fastcomments-client/models/record_string_before_string_or_null_after_string_or_null_value.rb +263 -0
  414. data/client/lib/fastcomments-client/models/record_string_string_or_number_value.rb +104 -0
  415. data/client/lib/fastcomments-client/models/renderable_user_notification.rb +603 -0
  416. data/client/lib/fastcomments-client/models/repeat_comment_check_ignored_reason.rb +45 -0
  417. data/client/lib/fastcomments-client/models/repeat_comment_handling_action.rb +41 -0
  418. data/client/lib/fastcomments-client/models/reset_user_notifications200_response.rb +104 -0
  419. data/client/lib/fastcomments-client/models/reset_user_notifications_response.rb +280 -0
  420. data/client/lib/fastcomments-client/models/save_comment200_response.rb +104 -0
  421. data/client/lib/fastcomments-client/models/save_comment_response.rb +309 -0
  422. data/client/lib/fastcomments-client/models/save_comment_response_optimized.rb +309 -0
  423. data/client/lib/fastcomments-client/models/save_comments_response_with_presence.rb +325 -0
  424. data/client/lib/fastcomments-client/models/search_users200_response.rb +104 -0
  425. data/client/lib/fastcomments-client/models/search_users_response.rb +287 -0
  426. data/client/lib/fastcomments-client/models/set_comment_text200_response.rb +104 -0
  427. data/client/lib/fastcomments-client/models/set_comment_text_result.rb +263 -0
  428. data/client/lib/fastcomments-client/models/size_preset.rb +40 -0
  429. data/client/lib/fastcomments-client/models/sort_directions.rb +41 -0
  430. data/client/lib/fastcomments-client/models/sortdir.rb +40 -0
  431. data/client/lib/fastcomments-client/models/spam_rule.rb +260 -0
  432. data/client/lib/fastcomments-client/models/sso_security_level.rb +40 -0
  433. data/client/lib/fastcomments-client/models/un_block_comment_public200_response.rb +104 -0
  434. data/client/lib/fastcomments-client/models/un_block_from_comment_params.rb +222 -0
  435. data/client/lib/fastcomments-client/models/unblock_success.rb +288 -0
  436. data/client/lib/fastcomments-client/models/updatable_comment_params.rb +587 -0
  437. data/client/lib/fastcomments-client/models/update_api_page_data.rb +258 -0
  438. data/client/lib/fastcomments-client/models/update_apisso_user_data.rb +393 -0
  439. data/client/lib/fastcomments-client/models/update_domain_config_params.rb +294 -0
  440. data/client/lib/fastcomments-client/models/update_feed_post_params.rb +274 -0
  441. data/client/lib/fastcomments-client/models/update_user_badge200_response.rb +104 -0
  442. data/client/lib/fastcomments-client/models/update_user_badge_params.rb +220 -0
  443. data/client/lib/fastcomments-client/models/update_user_notification_status200_response.rb +105 -0
  444. data/client/lib/fastcomments-client/models/upload_image_response.rb +297 -0
  445. data/client/lib/fastcomments-client/models/user_badge.rb +582 -0
  446. data/client/lib/fastcomments-client/models/user_badge_progress.rb +388 -0
  447. data/client/lib/fastcomments-client/models/user_notification.rb +667 -0
  448. data/client/lib/fastcomments-client/models/user_notification_write_response.rb +311 -0
  449. data/client/lib/fastcomments-client/models/user_presence_data.rb +238 -0
  450. data/client/lib/fastcomments-client/models/user_reacts_response.rb +287 -0
  451. data/client/lib/fastcomments-client/models/user_search_result.rb +332 -0
  452. data/client/lib/fastcomments-client/models/user_session_info.rb +335 -0
  453. data/client/lib/fastcomments-client/models/vote_body_params.rb +297 -0
  454. data/client/lib/fastcomments-client/models/vote_comment200_response.rb +104 -0
  455. data/client/lib/fastcomments-client/models/vote_delete_response.rb +268 -0
  456. data/client/lib/fastcomments-client/models/vote_response.rb +273 -0
  457. data/client/lib/fastcomments-client/models/vote_response_status.rb +104 -0
  458. data/client/lib/fastcomments-client/models/vote_response_user.rb +221 -0
  459. data/client/lib/fastcomments-client/models/vote_style.rb +40 -0
  460. data/client/lib/fastcomments-client/version.rb +15 -0
  461. data/client/lib/fastcomments-client.rb +263 -0
  462. data/client/spec/api/default_api_spec.rb +633 -0
  463. data/client/spec/api/public_api_spec.rb +545 -0
  464. data/client/spec/models/add_domain_config200_response_any_of_spec.rb +42 -0
  465. data/client/spec/models/add_domain_config200_response_spec.rb +21 -0
  466. data/client/spec/models/add_domain_config_params_spec.rb +72 -0
  467. data/client/spec/models/add_page_api_response_spec.rb +54 -0
  468. data/client/spec/models/add_sso_user_api_response_spec.rb +54 -0
  469. data/client/spec/models/aggregate_question_results200_response_spec.rb +21 -0
  470. data/client/spec/models/aggregate_question_results_response_spec.rb +42 -0
  471. data/client/spec/models/aggregate_time_bucket_spec.rb +30 -0
  472. data/client/spec/models/aggregation_item_spec.rb +36 -0
  473. data/client/spec/models/aggregation_op_type_spec.rb +30 -0
  474. data/client/spec/models/aggregation_operation_spec.rb +54 -0
  475. data/client/spec/models/aggregation_request_sort_spec.rb +46 -0
  476. data/client/spec/models/aggregation_request_spec.rb +60 -0
  477. data/client/spec/models/aggregation_response_spec.rb +48 -0
  478. data/client/spec/models/aggregation_response_stats_spec.rb +42 -0
  479. data/client/spec/models/aggregation_value_spec.rb +60 -0
  480. data/client/spec/models/api_audit_log_spec.rb +110 -0
  481. data/client/spec/models/api_comment_base_spec.rb +348 -0
  482. data/client/spec/models/api_comment_spec.rb +348 -0
  483. data/client/spec/models/api_create_user_badge_response_spec.rb +42 -0
  484. data/client/spec/models/api_empty_response_spec.rb +36 -0
  485. data/client/spec/models/api_empty_success_response_spec.rb +36 -0
  486. data/client/spec/models/api_error_spec.rb +78 -0
  487. data/client/spec/models/api_get_comment_response_spec.rb +42 -0
  488. data/client/spec/models/api_get_comments_response_spec.rb +42 -0
  489. data/client/spec/models/api_get_user_badge_progress_list_response_spec.rb +42 -0
  490. data/client/spec/models/api_get_user_badge_progress_response_spec.rb +42 -0
  491. data/client/spec/models/api_get_user_badge_response_spec.rb +42 -0
  492. data/client/spec/models/api_get_user_badges_response_spec.rb +42 -0
  493. data/client/spec/models/api_page_spec.rb +84 -0
  494. data/client/spec/models/api_status_spec.rb +30 -0
  495. data/client/spec/models/api_user_subscription_spec.rb +72 -0
  496. data/client/spec/models/apisso_user_spec.rb +150 -0
  497. data/client/spec/models/block_from_comment_params_spec.rb +36 -0
  498. data/client/spec/models/block_from_comment_public200_response_spec.rb +21 -0
  499. data/client/spec/models/block_success_spec.rb +42 -0
  500. data/client/spec/models/bulk_aggregate_question_item_spec.rb +66 -0
  501. data/client/spec/models/bulk_aggregate_question_results200_response_spec.rb +21 -0
  502. data/client/spec/models/bulk_aggregate_question_results_request_spec.rb +36 -0
  503. data/client/spec/models/bulk_aggregate_question_results_response_spec.rb +42 -0
  504. data/client/spec/models/change_comment_pin_status_response_spec.rb +42 -0
  505. data/client/spec/models/check_blocked_comments_response_spec.rb +42 -0
  506. data/client/spec/models/checked_comments_for_blocked200_response_spec.rb +21 -0
  507. data/client/spec/models/combine_comments_with_question_results200_response_spec.rb +21 -0
  508. data/client/spec/models/combine_question_results_with_comments_response_spec.rb +42 -0
  509. data/client/spec/models/comment_data_spec.rb +174 -0
  510. data/client/spec/models/comment_html_rendering_mode_spec.rb +30 -0
  511. data/client/spec/models/comment_log_data_spec.rb +292 -0
  512. data/client/spec/models/comment_log_entry_spec.rb +48 -0
  513. data/client/spec/models/comment_log_type_spec.rb +30 -0
  514. data/client/spec/models/comment_question_results_rendering_type_spec.rb +30 -0
  515. data/client/spec/models/comment_questions_required_spec.rb +30 -0
  516. data/client/spec/models/comment_text_update_request_spec.rb +48 -0
  517. data/client/spec/models/comment_thread_deletion_mode_spec.rb +30 -0
  518. data/client/spec/models/comment_user_badge_info_spec.rb +84 -0
  519. data/client/spec/models/comment_user_hash_tag_info_spec.rb +54 -0
  520. data/client/spec/models/comment_user_mention_info_spec.rb +64 -0
  521. data/client/spec/models/commenter_name_formats_spec.rb +30 -0
  522. data/client/spec/models/create_api_page_data_spec.rb +66 -0
  523. data/client/spec/models/create_api_user_subscription_data_spec.rb +60 -0
  524. data/client/spec/models/create_apisso_user_data_spec.rb +150 -0
  525. data/client/spec/models/create_comment_params_spec.rb +234 -0
  526. data/client/spec/models/create_comment_public200_response_spec.rb +21 -0
  527. data/client/spec/models/create_feed_post200_response_spec.rb +21 -0
  528. data/client/spec/models/create_feed_post_params_spec.rb +78 -0
  529. data/client/spec/models/create_feed_post_public200_response_spec.rb +21 -0
  530. data/client/spec/models/create_feed_post_response_spec.rb +42 -0
  531. data/client/spec/models/create_feed_posts_response_spec.rb +42 -0
  532. data/client/spec/models/create_subscription_api_response_spec.rb +54 -0
  533. data/client/spec/models/create_user_badge200_response_spec.rb +21 -0
  534. data/client/spec/models/create_user_badge_params_spec.rb +48 -0
  535. data/client/spec/models/custom_config_parameters_spec.rb +462 -0
  536. data/client/spec/models/delete_comment200_response_spec.rb +21 -0
  537. data/client/spec/models/delete_comment_action_spec.rb +30 -0
  538. data/client/spec/models/delete_comment_public200_response_spec.rb +21 -0
  539. data/client/spec/models/delete_comment_result_spec.rb +42 -0
  540. data/client/spec/models/delete_comment_vote200_response_spec.rb +21 -0
  541. data/client/spec/models/delete_domain_config200_response_spec.rb +36 -0
  542. data/client/spec/models/delete_feed_post_public200_response_any_of_spec.rb +36 -0
  543. data/client/spec/models/delete_feed_post_public200_response_spec.rb +21 -0
  544. data/client/spec/models/delete_page_api_response_spec.rb +48 -0
  545. data/client/spec/models/delete_sso_user_api_response_spec.rb +54 -0
  546. data/client/spec/models/delete_subscription_api_response_spec.rb +48 -0
  547. data/client/spec/models/deleted_comment_result_comment_spec.rb +54 -0
  548. data/client/spec/models/event_log_entry_spec.rb +66 -0
  549. data/client/spec/models/f_comment_meta_spec.rb +42 -0
  550. data/client/spec/models/f_comment_spec.rb +456 -0
  551. data/client/spec/models/feed_post_link_spec.rb +54 -0
  552. data/client/spec/models/feed_post_media_item_asset_spec.rb +48 -0
  553. data/client/spec/models/feed_post_media_item_spec.rb +48 -0
  554. data/client/spec/models/feed_post_spec.rb +126 -0
  555. data/client/spec/models/feed_post_stats_spec.rb +42 -0
  556. data/client/spec/models/feed_posts_stats_response_spec.rb +42 -0
  557. data/client/spec/models/find_comments_by_range_item_spec.rb +42 -0
  558. data/client/spec/models/find_comments_by_range_response_spec.rb +42 -0
  559. data/client/spec/models/flag_comment200_response_spec.rb +21 -0
  560. data/client/spec/models/flag_comment_public200_response_spec.rb +21 -0
  561. data/client/spec/models/flag_comment_response_spec.rb +60 -0
  562. data/client/spec/models/get_audit_logs200_response_spec.rb +21 -0
  563. data/client/spec/models/get_audit_logs_response_spec.rb +42 -0
  564. data/client/spec/models/get_comment200_response_spec.rb +21 -0
  565. data/client/spec/models/get_comment_text200_response_spec.rb +21 -0
  566. data/client/spec/models/get_comment_vote_user_names200_response_spec.rb +21 -0
  567. data/client/spec/models/get_comment_vote_user_names_success_response_spec.rb +48 -0
  568. data/client/spec/models/get_comments200_response_spec.rb +21 -0
  569. data/client/spec/models/get_comments_public200_response_spec.rb +21 -0
  570. data/client/spec/models/get_comments_response_public_comment_spec.rb +174 -0
  571. data/client/spec/models/get_comments_response_with_presence_public_comment_spec.rb +192 -0
  572. data/client/spec/models/get_domain_config200_response_spec.rb +21 -0
  573. data/client/spec/models/get_domain_configs200_response_any_of1_spec.rb +48 -0
  574. data/client/spec/models/get_domain_configs200_response_any_of_spec.rb +42 -0
  575. data/client/spec/models/get_domain_configs200_response_spec.rb +21 -0
  576. data/client/spec/models/get_event_log200_response_spec.rb +21 -0
  577. data/client/spec/models/get_event_log_response_spec.rb +42 -0
  578. data/client/spec/models/get_feed_posts200_response_spec.rb +21 -0
  579. data/client/spec/models/get_feed_posts_public200_response_spec.rb +21 -0
  580. data/client/spec/models/get_feed_posts_response_spec.rb +42 -0
  581. data/client/spec/models/get_feed_posts_stats200_response_spec.rb +21 -0
  582. data/client/spec/models/get_my_notifications_response_spec.rb +60 -0
  583. data/client/spec/models/get_page_by_urlid_api_response_spec.rb +54 -0
  584. data/client/spec/models/get_pages_api_response_spec.rb +54 -0
  585. data/client/spec/models/get_public_feed_posts_response_spec.rb +48 -0
  586. data/client/spec/models/get_sso_user_by_email_api_response_spec.rb +54 -0
  587. data/client/spec/models/get_sso_user_by_id_api_response_spec.rb +54 -0
  588. data/client/spec/models/get_sso_users200_response_spec.rb +42 -0
  589. data/client/spec/models/get_subscriptions_api_response_spec.rb +54 -0
  590. data/client/spec/models/get_user_badge200_response_spec.rb +21 -0
  591. data/client/spec/models/get_user_badge_progress_by_id200_response_spec.rb +21 -0
  592. data/client/spec/models/get_user_badge_progress_list200_response_spec.rb +21 -0
  593. data/client/spec/models/get_user_badges200_response_spec.rb +21 -0
  594. data/client/spec/models/get_user_notification_count200_response_spec.rb +21 -0
  595. data/client/spec/models/get_user_notification_count_response_spec.rb +42 -0
  596. data/client/spec/models/get_user_notifications200_response_spec.rb +21 -0
  597. data/client/spec/models/get_user_presence_statuses200_response_spec.rb +21 -0
  598. data/client/spec/models/get_user_presence_statuses_response_spec.rb +42 -0
  599. data/client/spec/models/get_user_reacts_public200_response_spec.rb +21 -0
  600. data/client/spec/models/gif_rating_spec.rb +30 -0
  601. data/client/spec/models/header_state_spec.rb +60 -0
  602. data/client/spec/models/ignored_response_spec.rb +46 -0
  603. data/client/spec/models/image_content_profanity_level_spec.rb +30 -0
  604. data/client/spec/models/live_event_extra_info_spec.rb +36 -0
  605. data/client/spec/models/live_event_spec.rb +126 -0
  606. data/client/spec/models/live_event_type_spec.rb +30 -0
  607. data/client/spec/models/lock_comment200_response_spec.rb +21 -0
  608. data/client/spec/models/media_asset_spec.rb +48 -0
  609. data/client/spec/models/meta_item_spec.rb +42 -0
  610. data/client/spec/models/notification_and_count_spec.rb +42 -0
  611. data/client/spec/models/notification_object_type_spec.rb +30 -0
  612. data/client/spec/models/notification_type_spec.rb +30 -0
  613. data/client/spec/models/patch_domain_config_params_spec.rb +72 -0
  614. data/client/spec/models/patch_page_api_response_spec.rb +54 -0
  615. data/client/spec/models/patch_sso_user_api_response_spec.rb +54 -0
  616. data/client/spec/models/pin_comment200_response_spec.rb +21 -0
  617. data/client/spec/models/pub_sub_comment_base_spec.rb +270 -0
  618. data/client/spec/models/pub_sub_comment_spec.rb +288 -0
  619. data/client/spec/models/pub_sub_vote_spec.rb +84 -0
  620. data/client/spec/models/public_api_delete_comment_response_spec.rb +48 -0
  621. data/client/spec/models/public_api_get_comment_text_response_spec.rb +48 -0
  622. data/client/spec/models/public_api_set_comment_text_response_spec.rb +42 -0
  623. data/client/spec/models/public_block_from_comment_params_spec.rb +36 -0
  624. data/client/spec/models/public_comment_base_spec.rb +198 -0
  625. data/client/spec/models/public_comment_spec.rb +258 -0
  626. data/client/spec/models/public_feed_posts_response_spec.rb +72 -0
  627. data/client/spec/models/put_sso_user_api_response_spec.rb +54 -0
  628. data/client/spec/models/query_predicate_spec.rb +52 -0
  629. data/client/spec/models/query_predicate_value_spec.rb +21 -0
  630. data/client/spec/models/question_datum_spec.rb +42 -0
  631. data/client/spec/models/question_rendering_type_spec.rb +30 -0
  632. data/client/spec/models/question_result_aggregation_overall_spec.rb +66 -0
  633. data/client/spec/models/question_result_spec.rb +96 -0
  634. data/client/spec/models/question_sub_question_visibility_spec.rb +30 -0
  635. data/client/spec/models/question_when_save_spec.rb +30 -0
  636. data/client/spec/models/react_body_params_spec.rb +36 -0
  637. data/client/spec/models/react_feed_post_public200_response_spec.rb +21 -0
  638. data/client/spec/models/react_feed_post_response_spec.rb +48 -0
  639. data/client/spec/models/record_string_before_string_or_null_after_string_or_null_value_spec.rb +42 -0
  640. data/client/spec/models/record_string_string_or_number_value_spec.rb +21 -0
  641. data/client/spec/models/renderable_user_notification_spec.rb +156 -0
  642. data/client/spec/models/repeat_comment_check_ignored_reason_spec.rb +30 -0
  643. data/client/spec/models/repeat_comment_handling_action_spec.rb +30 -0
  644. data/client/spec/models/reset_user_notifications200_response_spec.rb +21 -0
  645. data/client/spec/models/reset_user_notifications_response_spec.rb +46 -0
  646. data/client/spec/models/save_comment200_response_spec.rb +21 -0
  647. data/client/spec/models/save_comment_response_optimized_spec.rb +54 -0
  648. data/client/spec/models/save_comment_response_spec.rb +54 -0
  649. data/client/spec/models/save_comments_response_with_presence_spec.rb +60 -0
  650. data/client/spec/models/search_users200_response_spec.rb +21 -0
  651. data/client/spec/models/search_users_response_spec.rb +42 -0
  652. data/client/spec/models/set_comment_text200_response_spec.rb +21 -0
  653. data/client/spec/models/set_comment_text_result_spec.rb +42 -0
  654. data/client/spec/models/size_preset_spec.rb +30 -0
  655. data/client/spec/models/sort_directions_spec.rb +30 -0
  656. data/client/spec/models/sortdir_spec.rb +30 -0
  657. data/client/spec/models/spam_rule_spec.rb +46 -0
  658. data/client/spec/models/sso_security_level_spec.rb +30 -0
  659. data/client/spec/models/un_block_comment_public200_response_spec.rb +21 -0
  660. data/client/spec/models/un_block_from_comment_params_spec.rb +36 -0
  661. data/client/spec/models/unblock_success_spec.rb +42 -0
  662. data/client/spec/models/updatable_comment_params_spec.rb +264 -0
  663. data/client/spec/models/update_api_page_data_spec.rb +60 -0
  664. data/client/spec/models/update_apisso_user_data_spec.rb +150 -0
  665. data/client/spec/models/update_domain_config_params_spec.rb +72 -0
  666. data/client/spec/models/update_feed_post_params_spec.rb +66 -0
  667. data/client/spec/models/update_user_badge200_response_spec.rb +21 -0
  668. data/client/spec/models/update_user_badge_params_spec.rb +36 -0
  669. data/client/spec/models/update_user_notification_status200_response_spec.rb +21 -0
  670. data/client/spec/models/upload_image_response_spec.rb +60 -0
  671. data/client/spec/models/user_badge_progress_spec.rb +78 -0
  672. data/client/spec/models/user_badge_spec.rb +138 -0
  673. data/client/spec/models/user_notification_spec.rb +174 -0
  674. data/client/spec/models/user_notification_write_response_spec.rb +48 -0
  675. data/client/spec/models/user_presence_data_spec.rb +48 -0
  676. data/client/spec/models/user_reacts_response_spec.rb +42 -0
  677. data/client/spec/models/user_search_result_spec.rb +64 -0
  678. data/client/spec/models/user_session_info_spec.rb +108 -0
  679. data/client/spec/models/vote_body_params_spec.rb +58 -0
  680. data/client/spec/models/vote_comment200_response_spec.rb +21 -0
  681. data/client/spec/models/vote_delete_response_spec.rb +42 -0
  682. data/client/spec/models/vote_response_spec.rb +60 -0
  683. data/client/spec/models/vote_response_status_spec.rb +21 -0
  684. data/client/spec/models/vote_response_user_spec.rb +36 -0
  685. data/client/spec/models/vote_style_spec.rb +30 -0
  686. data/client/spec/spec_helper.rb +111 -0
  687. data/lib/fastcomments/sso/fastcomments_sso.rb +81 -0
  688. data/lib/fastcomments/sso/helpers.rb +26 -0
  689. data/lib/fastcomments/sso/secure_sso_payload.rb +23 -0
  690. data/lib/fastcomments/sso/secure_sso_user_data.rb +31 -0
  691. data/lib/fastcomments/sso/simple_sso_user_data.rb +23 -0
  692. data/lib/fastcomments.rb +9 -0
  693. metadata +787 -0
@@ -0,0 +1,2596 @@
1
+ # FastCommentsClient::PublicApi
2
+
3
+ All URIs are relative to *https://fastcomments.com*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**block_from_comment_public**](PublicApi.md#block_from_comment_public) | **POST** /block-from-comment/{commentId} | |
8
+ | [**checked_comments_for_blocked**](PublicApi.md#checked_comments_for_blocked) | **GET** /check-blocked-comments | |
9
+ | [**create_comment_public**](PublicApi.md#create_comment_public) | **POST** /comments/{tenantId} | |
10
+ | [**create_feed_post_public**](PublicApi.md#create_feed_post_public) | **POST** /feed-posts/{tenantId} | |
11
+ | [**delete_comment_public**](PublicApi.md#delete_comment_public) | **DELETE** /comments/{tenantId}/{commentId} | |
12
+ | [**delete_comment_vote**](PublicApi.md#delete_comment_vote) | **DELETE** /comments/{tenantId}/{commentId}/vote/{voteId} | |
13
+ | [**delete_feed_post_public**](PublicApi.md#delete_feed_post_public) | **DELETE** /feed-posts/{tenantId}/{postId} | |
14
+ | [**flag_comment_public**](PublicApi.md#flag_comment_public) | **POST** /flag-comment/{commentId} | |
15
+ | [**get_comment_text**](PublicApi.md#get_comment_text) | **GET** /comments/{tenantId}/{commentId}/text | |
16
+ | [**get_comment_vote_user_names**](PublicApi.md#get_comment_vote_user_names) | **GET** /comments/{tenantId}/{commentId}/votes | |
17
+ | [**get_comments_public**](PublicApi.md#get_comments_public) | **GET** /comments/{tenantId} | |
18
+ | [**get_event_log**](PublicApi.md#get_event_log) | **GET** /event-log/{tenantId} | |
19
+ | [**get_feed_posts_public**](PublicApi.md#get_feed_posts_public) | **GET** /feed-posts/{tenantId} | |
20
+ | [**get_feed_posts_stats**](PublicApi.md#get_feed_posts_stats) | **GET** /feed-posts/{tenantId}/stats | |
21
+ | [**get_global_event_log**](PublicApi.md#get_global_event_log) | **GET** /event-log/global/{tenantId} | |
22
+ | [**get_user_notification_count**](PublicApi.md#get_user_notification_count) | **GET** /user-notifications/get-count | |
23
+ | [**get_user_notifications**](PublicApi.md#get_user_notifications) | **GET** /user-notifications | |
24
+ | [**get_user_presence_statuses**](PublicApi.md#get_user_presence_statuses) | **GET** /user-presence-status | |
25
+ | [**get_user_reacts_public**](PublicApi.md#get_user_reacts_public) | **GET** /feed-posts/{tenantId}/user-reacts | |
26
+ | [**lock_comment**](PublicApi.md#lock_comment) | **POST** /comments/{tenantId}/{commentId}/lock | |
27
+ | [**pin_comment**](PublicApi.md#pin_comment) | **POST** /comments/{tenantId}/{commentId}/pin | |
28
+ | [**react_feed_post_public**](PublicApi.md#react_feed_post_public) | **POST** /feed-posts/{tenantId}/react/{postId} | |
29
+ | [**reset_user_notification_count**](PublicApi.md#reset_user_notification_count) | **POST** /user-notifications/reset-count | |
30
+ | [**reset_user_notifications**](PublicApi.md#reset_user_notifications) | **POST** /user-notifications/reset | |
31
+ | [**search_users**](PublicApi.md#search_users) | **GET** /user-search/{tenantId} | |
32
+ | [**set_comment_text**](PublicApi.md#set_comment_text) | **POST** /comments/{tenantId}/{commentId}/update-text | |
33
+ | [**un_block_comment_public**](PublicApi.md#un_block_comment_public) | **DELETE** /block-from-comment/{commentId} | |
34
+ | [**un_lock_comment**](PublicApi.md#un_lock_comment) | **POST** /comments/{tenantId}/{commentId}/unlock | |
35
+ | [**un_pin_comment**](PublicApi.md#un_pin_comment) | **POST** /comments/{tenantId}/{commentId}/unpin | |
36
+ | [**update_feed_post_public**](PublicApi.md#update_feed_post_public) | **PUT** /feed-posts/{tenantId}/{postId} | |
37
+ | [**update_user_notification_comment_subscription_status**](PublicApi.md#update_user_notification_comment_subscription_status) | **POST** /user-notifications/{notificationId}/mark-opted/{optedInOrOut} | |
38
+ | [**update_user_notification_page_subscription_status**](PublicApi.md#update_user_notification_page_subscription_status) | **POST** /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | |
39
+ | [**update_user_notification_status**](PublicApi.md#update_user_notification_status) | **POST** /user-notifications/{notificationId}/mark/{newStatus} | |
40
+ | [**upload_image**](PublicApi.md#upload_image) | **POST** /upload-image/{tenantId} | |
41
+ | [**vote_comment**](PublicApi.md#vote_comment) | **POST** /comments/{tenantId}/{commentId}/vote | |
42
+
43
+
44
+ ## block_from_comment_public
45
+
46
+ > <BlockFromCommentPublic200Response> block_from_comment_public(tenant_id, comment_id, public_block_from_comment_params, opts)
47
+
48
+
49
+
50
+ ### Examples
51
+
52
+ ```ruby
53
+ require 'time'
54
+ require 'fastcomments-client'
55
+
56
+ api_instance = FastCommentsClient::PublicApi.new
57
+ tenant_id = 'tenant_id_example' # String |
58
+ comment_id = 'comment_id_example' # String |
59
+ public_block_from_comment_params = FastCommentsClient::PublicBlockFromCommentParams.new({comment_ids: ['comment_ids_example']}) # PublicBlockFromCommentParams |
60
+ opts = {
61
+ sso: 'sso_example' # String |
62
+ }
63
+
64
+ begin
65
+
66
+ result = api_instance.block_from_comment_public(tenant_id, comment_id, public_block_from_comment_params, opts)
67
+ p result
68
+ rescue FastCommentsClient::ApiError => e
69
+ puts "Error when calling PublicApi->block_from_comment_public: #{e}"
70
+ end
71
+ ```
72
+
73
+ #### Using the block_from_comment_public_with_http_info variant
74
+
75
+ This returns an Array which contains the response data, status code and headers.
76
+
77
+ > <Array(<BlockFromCommentPublic200Response>, Integer, Hash)> block_from_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
78
+
79
+ ```ruby
80
+ begin
81
+
82
+ data, status_code, headers = api_instance.block_from_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
83
+ p status_code # => 2xx
84
+ p headers # => { ... }
85
+ p data # => <BlockFromCommentPublic200Response>
86
+ rescue FastCommentsClient::ApiError => e
87
+ puts "Error when calling PublicApi->block_from_comment_public_with_http_info: #{e}"
88
+ end
89
+ ```
90
+
91
+ ### Parameters
92
+
93
+ | Name | Type | Description | Notes |
94
+ | ---- | ---- | ----------- | ----- |
95
+ | **tenant_id** | **String** | | |
96
+ | **comment_id** | **String** | | |
97
+ | **public_block_from_comment_params** | [**PublicBlockFromCommentParams**](PublicBlockFromCommentParams.md) | | |
98
+ | **sso** | **String** | | [optional] |
99
+
100
+ ### Return type
101
+
102
+ [**BlockFromCommentPublic200Response**](BlockFromCommentPublic200Response.md)
103
+
104
+ ### Authorization
105
+
106
+ No authorization required
107
+
108
+ ### HTTP request headers
109
+
110
+ - **Content-Type**: application/json
111
+ - **Accept**: application/json
112
+
113
+
114
+ ## checked_comments_for_blocked
115
+
116
+ > <CheckedCommentsForBlocked200Response> checked_comments_for_blocked(tenant_id, comment_ids, opts)
117
+
118
+
119
+
120
+ ### Examples
121
+
122
+ ```ruby
123
+ require 'time'
124
+ require 'fastcomments-client'
125
+
126
+ api_instance = FastCommentsClient::PublicApi.new
127
+ tenant_id = 'tenant_id_example' # String |
128
+ comment_ids = 'comment_ids_example' # String | A comma separated list of comment ids.
129
+ opts = {
130
+ sso: 'sso_example' # String |
131
+ }
132
+
133
+ begin
134
+
135
+ result = api_instance.checked_comments_for_blocked(tenant_id, comment_ids, opts)
136
+ p result
137
+ rescue FastCommentsClient::ApiError => e
138
+ puts "Error when calling PublicApi->checked_comments_for_blocked: #{e}"
139
+ end
140
+ ```
141
+
142
+ #### Using the checked_comments_for_blocked_with_http_info variant
143
+
144
+ This returns an Array which contains the response data, status code and headers.
145
+
146
+ > <Array(<CheckedCommentsForBlocked200Response>, Integer, Hash)> checked_comments_for_blocked_with_http_info(tenant_id, comment_ids, opts)
147
+
148
+ ```ruby
149
+ begin
150
+
151
+ data, status_code, headers = api_instance.checked_comments_for_blocked_with_http_info(tenant_id, comment_ids, opts)
152
+ p status_code # => 2xx
153
+ p headers # => { ... }
154
+ p data # => <CheckedCommentsForBlocked200Response>
155
+ rescue FastCommentsClient::ApiError => e
156
+ puts "Error when calling PublicApi->checked_comments_for_blocked_with_http_info: #{e}"
157
+ end
158
+ ```
159
+
160
+ ### Parameters
161
+
162
+ | Name | Type | Description | Notes |
163
+ | ---- | ---- | ----------- | ----- |
164
+ | **tenant_id** | **String** | | |
165
+ | **comment_ids** | **String** | A comma separated list of comment ids. | |
166
+ | **sso** | **String** | | [optional] |
167
+
168
+ ### Return type
169
+
170
+ [**CheckedCommentsForBlocked200Response**](CheckedCommentsForBlocked200Response.md)
171
+
172
+ ### Authorization
173
+
174
+ No authorization required
175
+
176
+ ### HTTP request headers
177
+
178
+ - **Content-Type**: Not defined
179
+ - **Accept**: application/json
180
+
181
+
182
+ ## create_comment_public
183
+
184
+ > <CreateCommentPublic200Response> create_comment_public(tenant_id, url_id, broadcast_id, comment_data, opts)
185
+
186
+
187
+
188
+ ### Examples
189
+
190
+ ```ruby
191
+ require 'time'
192
+ require 'fastcomments-client'
193
+
194
+ api_instance = FastCommentsClient::PublicApi.new
195
+ tenant_id = 'tenant_id_example' # String |
196
+ url_id = 'url_id_example' # String |
197
+ broadcast_id = 'broadcast_id_example' # String |
198
+ comment_data = FastCommentsClient::CommentData.new({commenter_name: 'commenter_name_example', comment: 'comment_example', url: 'url_example', url_id: 'url_id_example'}) # CommentData |
199
+ opts = {
200
+ session_id: 'session_id_example', # String |
201
+ sso: 'sso_example' # String |
202
+ }
203
+
204
+ begin
205
+
206
+ result = api_instance.create_comment_public(tenant_id, url_id, broadcast_id, comment_data, opts)
207
+ p result
208
+ rescue FastCommentsClient::ApiError => e
209
+ puts "Error when calling PublicApi->create_comment_public: #{e}"
210
+ end
211
+ ```
212
+
213
+ #### Using the create_comment_public_with_http_info variant
214
+
215
+ This returns an Array which contains the response data, status code and headers.
216
+
217
+ > <Array(<CreateCommentPublic200Response>, Integer, Hash)> create_comment_public_with_http_info(tenant_id, url_id, broadcast_id, comment_data, opts)
218
+
219
+ ```ruby
220
+ begin
221
+
222
+ data, status_code, headers = api_instance.create_comment_public_with_http_info(tenant_id, url_id, broadcast_id, comment_data, opts)
223
+ p status_code # => 2xx
224
+ p headers # => { ... }
225
+ p data # => <CreateCommentPublic200Response>
226
+ rescue FastCommentsClient::ApiError => e
227
+ puts "Error when calling PublicApi->create_comment_public_with_http_info: #{e}"
228
+ end
229
+ ```
230
+
231
+ ### Parameters
232
+
233
+ | Name | Type | Description | Notes |
234
+ | ---- | ---- | ----------- | ----- |
235
+ | **tenant_id** | **String** | | |
236
+ | **url_id** | **String** | | |
237
+ | **broadcast_id** | **String** | | |
238
+ | **comment_data** | [**CommentData**](CommentData.md) | | |
239
+ | **session_id** | **String** | | [optional] |
240
+ | **sso** | **String** | | [optional] |
241
+
242
+ ### Return type
243
+
244
+ [**CreateCommentPublic200Response**](CreateCommentPublic200Response.md)
245
+
246
+ ### Authorization
247
+
248
+ No authorization required
249
+
250
+ ### HTTP request headers
251
+
252
+ - **Content-Type**: application/json
253
+ - **Accept**: application/json
254
+
255
+
256
+ ## create_feed_post_public
257
+
258
+ > <CreateFeedPostPublic200Response> create_feed_post_public(tenant_id, create_feed_post_params, opts)
259
+
260
+
261
+
262
+ ### Examples
263
+
264
+ ```ruby
265
+ require 'time'
266
+ require 'fastcomments-client'
267
+
268
+ api_instance = FastCommentsClient::PublicApi.new
269
+ tenant_id = 'tenant_id_example' # String |
270
+ create_feed_post_params = FastCommentsClient::CreateFeedPostParams.new # CreateFeedPostParams |
271
+ opts = {
272
+ broadcast_id: 'broadcast_id_example', # String |
273
+ sso: 'sso_example' # String |
274
+ }
275
+
276
+ begin
277
+
278
+ result = api_instance.create_feed_post_public(tenant_id, create_feed_post_params, opts)
279
+ p result
280
+ rescue FastCommentsClient::ApiError => e
281
+ puts "Error when calling PublicApi->create_feed_post_public: #{e}"
282
+ end
283
+ ```
284
+
285
+ #### Using the create_feed_post_public_with_http_info variant
286
+
287
+ This returns an Array which contains the response data, status code and headers.
288
+
289
+ > <Array(<CreateFeedPostPublic200Response>, Integer, Hash)> create_feed_post_public_with_http_info(tenant_id, create_feed_post_params, opts)
290
+
291
+ ```ruby
292
+ begin
293
+
294
+ data, status_code, headers = api_instance.create_feed_post_public_with_http_info(tenant_id, create_feed_post_params, opts)
295
+ p status_code # => 2xx
296
+ p headers # => { ... }
297
+ p data # => <CreateFeedPostPublic200Response>
298
+ rescue FastCommentsClient::ApiError => e
299
+ puts "Error when calling PublicApi->create_feed_post_public_with_http_info: #{e}"
300
+ end
301
+ ```
302
+
303
+ ### Parameters
304
+
305
+ | Name | Type | Description | Notes |
306
+ | ---- | ---- | ----------- | ----- |
307
+ | **tenant_id** | **String** | | |
308
+ | **create_feed_post_params** | [**CreateFeedPostParams**](CreateFeedPostParams.md) | | |
309
+ | **broadcast_id** | **String** | | [optional] |
310
+ | **sso** | **String** | | [optional] |
311
+
312
+ ### Return type
313
+
314
+ [**CreateFeedPostPublic200Response**](CreateFeedPostPublic200Response.md)
315
+
316
+ ### Authorization
317
+
318
+ No authorization required
319
+
320
+ ### HTTP request headers
321
+
322
+ - **Content-Type**: application/json
323
+ - **Accept**: application/json
324
+
325
+
326
+ ## delete_comment_public
327
+
328
+ > <DeleteCommentPublic200Response> delete_comment_public(tenant_id, comment_id, broadcast_id, opts)
329
+
330
+
331
+
332
+ ### Examples
333
+
334
+ ```ruby
335
+ require 'time'
336
+ require 'fastcomments-client'
337
+
338
+ api_instance = FastCommentsClient::PublicApi.new
339
+ tenant_id = 'tenant_id_example' # String |
340
+ comment_id = 'comment_id_example' # String |
341
+ broadcast_id = 'broadcast_id_example' # String |
342
+ opts = {
343
+ edit_key: 'edit_key_example', # String |
344
+ sso: 'sso_example' # String |
345
+ }
346
+
347
+ begin
348
+
349
+ result = api_instance.delete_comment_public(tenant_id, comment_id, broadcast_id, opts)
350
+ p result
351
+ rescue FastCommentsClient::ApiError => e
352
+ puts "Error when calling PublicApi->delete_comment_public: #{e}"
353
+ end
354
+ ```
355
+
356
+ #### Using the delete_comment_public_with_http_info variant
357
+
358
+ This returns an Array which contains the response data, status code and headers.
359
+
360
+ > <Array(<DeleteCommentPublic200Response>, Integer, Hash)> delete_comment_public_with_http_info(tenant_id, comment_id, broadcast_id, opts)
361
+
362
+ ```ruby
363
+ begin
364
+
365
+ data, status_code, headers = api_instance.delete_comment_public_with_http_info(tenant_id, comment_id, broadcast_id, opts)
366
+ p status_code # => 2xx
367
+ p headers # => { ... }
368
+ p data # => <DeleteCommentPublic200Response>
369
+ rescue FastCommentsClient::ApiError => e
370
+ puts "Error when calling PublicApi->delete_comment_public_with_http_info: #{e}"
371
+ end
372
+ ```
373
+
374
+ ### Parameters
375
+
376
+ | Name | Type | Description | Notes |
377
+ | ---- | ---- | ----------- | ----- |
378
+ | **tenant_id** | **String** | | |
379
+ | **comment_id** | **String** | | |
380
+ | **broadcast_id** | **String** | | |
381
+ | **edit_key** | **String** | | [optional] |
382
+ | **sso** | **String** | | [optional] |
383
+
384
+ ### Return type
385
+
386
+ [**DeleteCommentPublic200Response**](DeleteCommentPublic200Response.md)
387
+
388
+ ### Authorization
389
+
390
+ No authorization required
391
+
392
+ ### HTTP request headers
393
+
394
+ - **Content-Type**: Not defined
395
+ - **Accept**: application/json
396
+
397
+
398
+ ## delete_comment_vote
399
+
400
+ > <DeleteCommentVote200Response> delete_comment_vote(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
401
+
402
+
403
+
404
+ ### Examples
405
+
406
+ ```ruby
407
+ require 'time'
408
+ require 'fastcomments-client'
409
+
410
+ api_instance = FastCommentsClient::PublicApi.new
411
+ tenant_id = 'tenant_id_example' # String |
412
+ comment_id = 'comment_id_example' # String |
413
+ vote_id = 'vote_id_example' # String |
414
+ url_id = 'url_id_example' # String |
415
+ broadcast_id = 'broadcast_id_example' # String |
416
+ opts = {
417
+ edit_key: 'edit_key_example', # String |
418
+ sso: 'sso_example' # String |
419
+ }
420
+
421
+ begin
422
+
423
+ result = api_instance.delete_comment_vote(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
424
+ p result
425
+ rescue FastCommentsClient::ApiError => e
426
+ puts "Error when calling PublicApi->delete_comment_vote: #{e}"
427
+ end
428
+ ```
429
+
430
+ #### Using the delete_comment_vote_with_http_info variant
431
+
432
+ This returns an Array which contains the response data, status code and headers.
433
+
434
+ > <Array(<DeleteCommentVote200Response>, Integer, Hash)> delete_comment_vote_with_http_info(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
435
+
436
+ ```ruby
437
+ begin
438
+
439
+ data, status_code, headers = api_instance.delete_comment_vote_with_http_info(tenant_id, comment_id, vote_id, url_id, broadcast_id, opts)
440
+ p status_code # => 2xx
441
+ p headers # => { ... }
442
+ p data # => <DeleteCommentVote200Response>
443
+ rescue FastCommentsClient::ApiError => e
444
+ puts "Error when calling PublicApi->delete_comment_vote_with_http_info: #{e}"
445
+ end
446
+ ```
447
+
448
+ ### Parameters
449
+
450
+ | Name | Type | Description | Notes |
451
+ | ---- | ---- | ----------- | ----- |
452
+ | **tenant_id** | **String** | | |
453
+ | **comment_id** | **String** | | |
454
+ | **vote_id** | **String** | | |
455
+ | **url_id** | **String** | | |
456
+ | **broadcast_id** | **String** | | |
457
+ | **edit_key** | **String** | | [optional] |
458
+ | **sso** | **String** | | [optional] |
459
+
460
+ ### Return type
461
+
462
+ [**DeleteCommentVote200Response**](DeleteCommentVote200Response.md)
463
+
464
+ ### Authorization
465
+
466
+ No authorization required
467
+
468
+ ### HTTP request headers
469
+
470
+ - **Content-Type**: Not defined
471
+ - **Accept**: application/json
472
+
473
+
474
+ ## delete_feed_post_public
475
+
476
+ > <DeleteFeedPostPublic200Response> delete_feed_post_public(tenant_id, post_id, opts)
477
+
478
+
479
+
480
+ ### Examples
481
+
482
+ ```ruby
483
+ require 'time'
484
+ require 'fastcomments-client'
485
+
486
+ api_instance = FastCommentsClient::PublicApi.new
487
+ tenant_id = 'tenant_id_example' # String |
488
+ post_id = 'post_id_example' # String |
489
+ opts = {
490
+ broadcast_id: 'broadcast_id_example', # String |
491
+ sso: 'sso_example' # String |
492
+ }
493
+
494
+ begin
495
+
496
+ result = api_instance.delete_feed_post_public(tenant_id, post_id, opts)
497
+ p result
498
+ rescue FastCommentsClient::ApiError => e
499
+ puts "Error when calling PublicApi->delete_feed_post_public: #{e}"
500
+ end
501
+ ```
502
+
503
+ #### Using the delete_feed_post_public_with_http_info variant
504
+
505
+ This returns an Array which contains the response data, status code and headers.
506
+
507
+ > <Array(<DeleteFeedPostPublic200Response>, Integer, Hash)> delete_feed_post_public_with_http_info(tenant_id, post_id, opts)
508
+
509
+ ```ruby
510
+ begin
511
+
512
+ data, status_code, headers = api_instance.delete_feed_post_public_with_http_info(tenant_id, post_id, opts)
513
+ p status_code # => 2xx
514
+ p headers # => { ... }
515
+ p data # => <DeleteFeedPostPublic200Response>
516
+ rescue FastCommentsClient::ApiError => e
517
+ puts "Error when calling PublicApi->delete_feed_post_public_with_http_info: #{e}"
518
+ end
519
+ ```
520
+
521
+ ### Parameters
522
+
523
+ | Name | Type | Description | Notes |
524
+ | ---- | ---- | ----------- | ----- |
525
+ | **tenant_id** | **String** | | |
526
+ | **post_id** | **String** | | |
527
+ | **broadcast_id** | **String** | | [optional] |
528
+ | **sso** | **String** | | [optional] |
529
+
530
+ ### Return type
531
+
532
+ [**DeleteFeedPostPublic200Response**](DeleteFeedPostPublic200Response.md)
533
+
534
+ ### Authorization
535
+
536
+ No authorization required
537
+
538
+ ### HTTP request headers
539
+
540
+ - **Content-Type**: Not defined
541
+ - **Accept**: application/json
542
+
543
+
544
+ ## flag_comment_public
545
+
546
+ > <FlagCommentPublic200Response> flag_comment_public(tenant_id, comment_id, is_flagged, opts)
547
+
548
+
549
+
550
+ ### Examples
551
+
552
+ ```ruby
553
+ require 'time'
554
+ require 'fastcomments-client'
555
+
556
+ api_instance = FastCommentsClient::PublicApi.new
557
+ tenant_id = 'tenant_id_example' # String |
558
+ comment_id = 'comment_id_example' # String |
559
+ is_flagged = true # Boolean |
560
+ opts = {
561
+ sso: 'sso_example' # String |
562
+ }
563
+
564
+ begin
565
+
566
+ result = api_instance.flag_comment_public(tenant_id, comment_id, is_flagged, opts)
567
+ p result
568
+ rescue FastCommentsClient::ApiError => e
569
+ puts "Error when calling PublicApi->flag_comment_public: #{e}"
570
+ end
571
+ ```
572
+
573
+ #### Using the flag_comment_public_with_http_info variant
574
+
575
+ This returns an Array which contains the response data, status code and headers.
576
+
577
+ > <Array(<FlagCommentPublic200Response>, Integer, Hash)> flag_comment_public_with_http_info(tenant_id, comment_id, is_flagged, opts)
578
+
579
+ ```ruby
580
+ begin
581
+
582
+ data, status_code, headers = api_instance.flag_comment_public_with_http_info(tenant_id, comment_id, is_flagged, opts)
583
+ p status_code # => 2xx
584
+ p headers # => { ... }
585
+ p data # => <FlagCommentPublic200Response>
586
+ rescue FastCommentsClient::ApiError => e
587
+ puts "Error when calling PublicApi->flag_comment_public_with_http_info: #{e}"
588
+ end
589
+ ```
590
+
591
+ ### Parameters
592
+
593
+ | Name | Type | Description | Notes |
594
+ | ---- | ---- | ----------- | ----- |
595
+ | **tenant_id** | **String** | | |
596
+ | **comment_id** | **String** | | |
597
+ | **is_flagged** | **Boolean** | | |
598
+ | **sso** | **String** | | [optional] |
599
+
600
+ ### Return type
601
+
602
+ [**FlagCommentPublic200Response**](FlagCommentPublic200Response.md)
603
+
604
+ ### Authorization
605
+
606
+ No authorization required
607
+
608
+ ### HTTP request headers
609
+
610
+ - **Content-Type**: Not defined
611
+ - **Accept**: application/json
612
+
613
+
614
+ ## get_comment_text
615
+
616
+ > <GetCommentText200Response> get_comment_text(tenant_id, comment_id, opts)
617
+
618
+
619
+
620
+ ### Examples
621
+
622
+ ```ruby
623
+ require 'time'
624
+ require 'fastcomments-client'
625
+
626
+ api_instance = FastCommentsClient::PublicApi.new
627
+ tenant_id = 'tenant_id_example' # String |
628
+ comment_id = 'comment_id_example' # String |
629
+ opts = {
630
+ edit_key: 'edit_key_example', # String |
631
+ sso: 'sso_example' # String |
632
+ }
633
+
634
+ begin
635
+
636
+ result = api_instance.get_comment_text(tenant_id, comment_id, opts)
637
+ p result
638
+ rescue FastCommentsClient::ApiError => e
639
+ puts "Error when calling PublicApi->get_comment_text: #{e}"
640
+ end
641
+ ```
642
+
643
+ #### Using the get_comment_text_with_http_info variant
644
+
645
+ This returns an Array which contains the response data, status code and headers.
646
+
647
+ > <Array(<GetCommentText200Response>, Integer, Hash)> get_comment_text_with_http_info(tenant_id, comment_id, opts)
648
+
649
+ ```ruby
650
+ begin
651
+
652
+ data, status_code, headers = api_instance.get_comment_text_with_http_info(tenant_id, comment_id, opts)
653
+ p status_code # => 2xx
654
+ p headers # => { ... }
655
+ p data # => <GetCommentText200Response>
656
+ rescue FastCommentsClient::ApiError => e
657
+ puts "Error when calling PublicApi->get_comment_text_with_http_info: #{e}"
658
+ end
659
+ ```
660
+
661
+ ### Parameters
662
+
663
+ | Name | Type | Description | Notes |
664
+ | ---- | ---- | ----------- | ----- |
665
+ | **tenant_id** | **String** | | |
666
+ | **comment_id** | **String** | | |
667
+ | **edit_key** | **String** | | [optional] |
668
+ | **sso** | **String** | | [optional] |
669
+
670
+ ### Return type
671
+
672
+ [**GetCommentText200Response**](GetCommentText200Response.md)
673
+
674
+ ### Authorization
675
+
676
+ No authorization required
677
+
678
+ ### HTTP request headers
679
+
680
+ - **Content-Type**: Not defined
681
+ - **Accept**: application/json
682
+
683
+
684
+ ## get_comment_vote_user_names
685
+
686
+ > <GetCommentVoteUserNames200Response> get_comment_vote_user_names(tenant_id, comment_id, dir, opts)
687
+
688
+
689
+
690
+ ### Examples
691
+
692
+ ```ruby
693
+ require 'time'
694
+ require 'fastcomments-client'
695
+
696
+ api_instance = FastCommentsClient::PublicApi.new
697
+ tenant_id = 'tenant_id_example' # String |
698
+ comment_id = 'comment_id_example' # String |
699
+ dir = 56 # Integer |
700
+ opts = {
701
+ sso: 'sso_example' # String |
702
+ }
703
+
704
+ begin
705
+
706
+ result = api_instance.get_comment_vote_user_names(tenant_id, comment_id, dir, opts)
707
+ p result
708
+ rescue FastCommentsClient::ApiError => e
709
+ puts "Error when calling PublicApi->get_comment_vote_user_names: #{e}"
710
+ end
711
+ ```
712
+
713
+ #### Using the get_comment_vote_user_names_with_http_info variant
714
+
715
+ This returns an Array which contains the response data, status code and headers.
716
+
717
+ > <Array(<GetCommentVoteUserNames200Response>, Integer, Hash)> get_comment_vote_user_names_with_http_info(tenant_id, comment_id, dir, opts)
718
+
719
+ ```ruby
720
+ begin
721
+
722
+ data, status_code, headers = api_instance.get_comment_vote_user_names_with_http_info(tenant_id, comment_id, dir, opts)
723
+ p status_code # => 2xx
724
+ p headers # => { ... }
725
+ p data # => <GetCommentVoteUserNames200Response>
726
+ rescue FastCommentsClient::ApiError => e
727
+ puts "Error when calling PublicApi->get_comment_vote_user_names_with_http_info: #{e}"
728
+ end
729
+ ```
730
+
731
+ ### Parameters
732
+
733
+ | Name | Type | Description | Notes |
734
+ | ---- | ---- | ----------- | ----- |
735
+ | **tenant_id** | **String** | | |
736
+ | **comment_id** | **String** | | |
737
+ | **dir** | **Integer** | | |
738
+ | **sso** | **String** | | [optional] |
739
+
740
+ ### Return type
741
+
742
+ [**GetCommentVoteUserNames200Response**](GetCommentVoteUserNames200Response.md)
743
+
744
+ ### Authorization
745
+
746
+ No authorization required
747
+
748
+ ### HTTP request headers
749
+
750
+ - **Content-Type**: Not defined
751
+ - **Accept**: application/json
752
+
753
+
754
+ ## get_comments_public
755
+
756
+ > <GetCommentsPublic200Response> get_comments_public(tenant_id, url_id, opts)
757
+
758
+
759
+
760
+ req tenantId urlId
761
+
762
+ ### Examples
763
+
764
+ ```ruby
765
+ require 'time'
766
+ require 'fastcomments-client'
767
+
768
+ api_instance = FastCommentsClient::PublicApi.new
769
+ tenant_id = 'tenant_id_example' # String |
770
+ url_id = 'url_id_example' # String |
771
+ opts = {
772
+ page: 56, # Integer |
773
+ direction: FastCommentsClient::SortDirections::OF, # SortDirections |
774
+ sso: 'sso_example', # String |
775
+ skip: 56, # Integer |
776
+ skip_children: 56, # Integer |
777
+ limit: 56, # Integer |
778
+ limit_children: 56, # Integer |
779
+ count_children: true, # Boolean |
780
+ fetch_page_for_comment_id: 'fetch_page_for_comment_id_example', # String |
781
+ include_config: true, # Boolean |
782
+ count_all: true, # Boolean |
783
+ includei10n: true, # Boolean |
784
+ locale: 'locale_example', # String |
785
+ modules: 'modules_example', # String |
786
+ is_crawler: true, # Boolean |
787
+ include_notification_count: true, # Boolean |
788
+ as_tree: true, # Boolean |
789
+ max_tree_depth: 56, # Integer |
790
+ use_full_translation_ids: true, # Boolean |
791
+ parent_id: 'parent_id_example', # String |
792
+ search_text: 'search_text_example', # String |
793
+ hash_tags: ['inner_example'], # Array<String> |
794
+ user_id: 'user_id_example', # String |
795
+ custom_config_str: 'custom_config_str_example', # String |
796
+ after_comment_id: 'after_comment_id_example', # String |
797
+ before_comment_id: 'before_comment_id_example' # String |
798
+ }
799
+
800
+ begin
801
+
802
+ result = api_instance.get_comments_public(tenant_id, url_id, opts)
803
+ p result
804
+ rescue FastCommentsClient::ApiError => e
805
+ puts "Error when calling PublicApi->get_comments_public: #{e}"
806
+ end
807
+ ```
808
+
809
+ #### Using the get_comments_public_with_http_info variant
810
+
811
+ This returns an Array which contains the response data, status code and headers.
812
+
813
+ > <Array(<GetCommentsPublic200Response>, Integer, Hash)> get_comments_public_with_http_info(tenant_id, url_id, opts)
814
+
815
+ ```ruby
816
+ begin
817
+
818
+ data, status_code, headers = api_instance.get_comments_public_with_http_info(tenant_id, url_id, opts)
819
+ p status_code # => 2xx
820
+ p headers # => { ... }
821
+ p data # => <GetCommentsPublic200Response>
822
+ rescue FastCommentsClient::ApiError => e
823
+ puts "Error when calling PublicApi->get_comments_public_with_http_info: #{e}"
824
+ end
825
+ ```
826
+
827
+ ### Parameters
828
+
829
+ | Name | Type | Description | Notes |
830
+ | ---- | ---- | ----------- | ----- |
831
+ | **tenant_id** | **String** | | |
832
+ | **url_id** | **String** | | |
833
+ | **page** | **Integer** | | [optional] |
834
+ | **direction** | [**SortDirections**](.md) | | [optional] |
835
+ | **sso** | **String** | | [optional] |
836
+ | **skip** | **Integer** | | [optional] |
837
+ | **skip_children** | **Integer** | | [optional] |
838
+ | **limit** | **Integer** | | [optional] |
839
+ | **limit_children** | **Integer** | | [optional] |
840
+ | **count_children** | **Boolean** | | [optional] |
841
+ | **fetch_page_for_comment_id** | **String** | | [optional] |
842
+ | **include_config** | **Boolean** | | [optional] |
843
+ | **count_all** | **Boolean** | | [optional] |
844
+ | **includei10n** | **Boolean** | | [optional] |
845
+ | **locale** | **String** | | [optional] |
846
+ | **modules** | **String** | | [optional] |
847
+ | **is_crawler** | **Boolean** | | [optional] |
848
+ | **include_notification_count** | **Boolean** | | [optional] |
849
+ | **as_tree** | **Boolean** | | [optional] |
850
+ | **max_tree_depth** | **Integer** | | [optional] |
851
+ | **use_full_translation_ids** | **Boolean** | | [optional] |
852
+ | **parent_id** | **String** | | [optional] |
853
+ | **search_text** | **String** | | [optional] |
854
+ | **hash_tags** | [**Array&lt;String&gt;**](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
+
860
+ ### Return type
861
+
862
+ [**GetCommentsPublic200Response**](GetCommentsPublic200Response.md)
863
+
864
+ ### Authorization
865
+
866
+ No authorization required
867
+
868
+ ### HTTP request headers
869
+
870
+ - **Content-Type**: Not defined
871
+ - **Accept**: application/json
872
+
873
+
874
+ ## get_event_log
875
+
876
+ > <GetEventLog200Response> get_event_log(tenant_id, url_id, user_id_ws, start_time, end_time)
877
+
878
+
879
+
880
+ req tenantId urlId userIdWS
881
+
882
+ ### Examples
883
+
884
+ ```ruby
885
+ require 'time'
886
+ require 'fastcomments-client'
887
+
888
+ api_instance = FastCommentsClient::PublicApi.new
889
+ tenant_id = 'tenant_id_example' # String |
890
+ url_id = 'url_id_example' # String |
891
+ user_id_ws = 'user_id_ws_example' # String |
892
+ start_time = 789 # Integer |
893
+ end_time = 789 # Integer |
894
+
895
+ begin
896
+
897
+ result = api_instance.get_event_log(tenant_id, url_id, user_id_ws, start_time, end_time)
898
+ p result
899
+ rescue FastCommentsClient::ApiError => e
900
+ puts "Error when calling PublicApi->get_event_log: #{e}"
901
+ end
902
+ ```
903
+
904
+ #### Using the get_event_log_with_http_info variant
905
+
906
+ This returns an Array which contains the response data, status code and headers.
907
+
908
+ > <Array(<GetEventLog200Response>, Integer, Hash)> get_event_log_with_http_info(tenant_id, url_id, user_id_ws, start_time, end_time)
909
+
910
+ ```ruby
911
+ begin
912
+
913
+ data, status_code, headers = api_instance.get_event_log_with_http_info(tenant_id, url_id, user_id_ws, start_time, end_time)
914
+ p status_code # => 2xx
915
+ p headers # => { ... }
916
+ p data # => <GetEventLog200Response>
917
+ rescue FastCommentsClient::ApiError => e
918
+ puts "Error when calling PublicApi->get_event_log_with_http_info: #{e}"
919
+ end
920
+ ```
921
+
922
+ ### Parameters
923
+
924
+ | Name | Type | Description | Notes |
925
+ | ---- | ---- | ----------- | ----- |
926
+ | **tenant_id** | **String** | | |
927
+ | **url_id** | **String** | | |
928
+ | **user_id_ws** | **String** | | |
929
+ | **start_time** | **Integer** | | |
930
+ | **end_time** | **Integer** | | |
931
+
932
+ ### Return type
933
+
934
+ [**GetEventLog200Response**](GetEventLog200Response.md)
935
+
936
+ ### Authorization
937
+
938
+ No authorization required
939
+
940
+ ### HTTP request headers
941
+
942
+ - **Content-Type**: Not defined
943
+ - **Accept**: application/json
944
+
945
+
946
+ ## get_feed_posts_public
947
+
948
+ > <GetFeedPostsPublic200Response> get_feed_posts_public(tenant_id, opts)
949
+
950
+
951
+
952
+ req tenantId afterId
953
+
954
+ ### Examples
955
+
956
+ ```ruby
957
+ require 'time'
958
+ require 'fastcomments-client'
959
+
960
+ api_instance = FastCommentsClient::PublicApi.new
961
+ tenant_id = 'tenant_id_example' # String |
962
+ opts = {
963
+ after_id: 'after_id_example', # String |
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
+ }
970
+
971
+ begin
972
+
973
+ result = api_instance.get_feed_posts_public(tenant_id, opts)
974
+ p result
975
+ rescue FastCommentsClient::ApiError => e
976
+ puts "Error when calling PublicApi->get_feed_posts_public: #{e}"
977
+ end
978
+ ```
979
+
980
+ #### Using the get_feed_posts_public_with_http_info variant
981
+
982
+ This returns an Array which contains the response data, status code and headers.
983
+
984
+ > <Array(<GetFeedPostsPublic200Response>, Integer, Hash)> get_feed_posts_public_with_http_info(tenant_id, opts)
985
+
986
+ ```ruby
987
+ begin
988
+
989
+ data, status_code, headers = api_instance.get_feed_posts_public_with_http_info(tenant_id, opts)
990
+ p status_code # => 2xx
991
+ p headers # => { ... }
992
+ p data # => <GetFeedPostsPublic200Response>
993
+ rescue FastCommentsClient::ApiError => e
994
+ puts "Error when calling PublicApi->get_feed_posts_public_with_http_info: #{e}"
995
+ end
996
+ ```
997
+
998
+ ### Parameters
999
+
1000
+ | Name | Type | Description | Notes |
1001
+ | ---- | ---- | ----------- | ----- |
1002
+ | **tenant_id** | **String** | | |
1003
+ | **after_id** | **String** | | [optional] |
1004
+ | **limit** | **Integer** | | [optional] |
1005
+ | **tags** | [**Array&lt;String&gt;**](String.md) | | [optional] |
1006
+ | **sso** | **String** | | [optional] |
1007
+ | **is_crawler** | **Boolean** | | [optional] |
1008
+ | **include_user_info** | **Boolean** | | [optional] |
1009
+
1010
+ ### Return type
1011
+
1012
+ [**GetFeedPostsPublic200Response**](GetFeedPostsPublic200Response.md)
1013
+
1014
+ ### Authorization
1015
+
1016
+ No authorization required
1017
+
1018
+ ### HTTP request headers
1019
+
1020
+ - **Content-Type**: Not defined
1021
+ - **Accept**: application/json
1022
+
1023
+
1024
+ ## get_feed_posts_stats
1025
+
1026
+ > <GetFeedPostsStats200Response> get_feed_posts_stats(tenant_id, post_ids, opts)
1027
+
1028
+
1029
+
1030
+ ### Examples
1031
+
1032
+ ```ruby
1033
+ require 'time'
1034
+ require 'fastcomments-client'
1035
+
1036
+ api_instance = FastCommentsClient::PublicApi.new
1037
+ tenant_id = 'tenant_id_example' # String |
1038
+ post_ids = ['inner_example'] # Array<String> |
1039
+ opts = {
1040
+ sso: 'sso_example' # String |
1041
+ }
1042
+
1043
+ begin
1044
+
1045
+ result = api_instance.get_feed_posts_stats(tenant_id, post_ids, opts)
1046
+ p result
1047
+ rescue FastCommentsClient::ApiError => e
1048
+ puts "Error when calling PublicApi->get_feed_posts_stats: #{e}"
1049
+ end
1050
+ ```
1051
+
1052
+ #### Using the get_feed_posts_stats_with_http_info variant
1053
+
1054
+ This returns an Array which contains the response data, status code and headers.
1055
+
1056
+ > <Array(<GetFeedPostsStats200Response>, Integer, Hash)> get_feed_posts_stats_with_http_info(tenant_id, post_ids, opts)
1057
+
1058
+ ```ruby
1059
+ begin
1060
+
1061
+ data, status_code, headers = api_instance.get_feed_posts_stats_with_http_info(tenant_id, post_ids, opts)
1062
+ p status_code # => 2xx
1063
+ p headers # => { ... }
1064
+ p data # => <GetFeedPostsStats200Response>
1065
+ rescue FastCommentsClient::ApiError => e
1066
+ puts "Error when calling PublicApi->get_feed_posts_stats_with_http_info: #{e}"
1067
+ end
1068
+ ```
1069
+
1070
+ ### Parameters
1071
+
1072
+ | Name | Type | Description | Notes |
1073
+ | ---- | ---- | ----------- | ----- |
1074
+ | **tenant_id** | **String** | | |
1075
+ | **post_ids** | [**Array&lt;String&gt;**](String.md) | | |
1076
+ | **sso** | **String** | | [optional] |
1077
+
1078
+ ### Return type
1079
+
1080
+ [**GetFeedPostsStats200Response**](GetFeedPostsStats200Response.md)
1081
+
1082
+ ### Authorization
1083
+
1084
+ No authorization required
1085
+
1086
+ ### HTTP request headers
1087
+
1088
+ - **Content-Type**: Not defined
1089
+ - **Accept**: application/json
1090
+
1091
+
1092
+ ## get_global_event_log
1093
+
1094
+ > <GetEventLog200Response> get_global_event_log(tenant_id, url_id, user_id_ws, start_time, end_time)
1095
+
1096
+
1097
+
1098
+ req tenantId urlId userIdWS
1099
+
1100
+ ### Examples
1101
+
1102
+ ```ruby
1103
+ require 'time'
1104
+ require 'fastcomments-client'
1105
+
1106
+ api_instance = FastCommentsClient::PublicApi.new
1107
+ tenant_id = 'tenant_id_example' # String |
1108
+ url_id = 'url_id_example' # String |
1109
+ user_id_ws = 'user_id_ws_example' # String |
1110
+ start_time = 789 # Integer |
1111
+ end_time = 789 # Integer |
1112
+
1113
+ begin
1114
+
1115
+ result = api_instance.get_global_event_log(tenant_id, url_id, user_id_ws, start_time, end_time)
1116
+ p result
1117
+ rescue FastCommentsClient::ApiError => e
1118
+ puts "Error when calling PublicApi->get_global_event_log: #{e}"
1119
+ end
1120
+ ```
1121
+
1122
+ #### Using the get_global_event_log_with_http_info variant
1123
+
1124
+ This returns an Array which contains the response data, status code and headers.
1125
+
1126
+ > <Array(<GetEventLog200Response>, Integer, Hash)> get_global_event_log_with_http_info(tenant_id, url_id, user_id_ws, start_time, end_time)
1127
+
1128
+ ```ruby
1129
+ begin
1130
+
1131
+ data, status_code, headers = api_instance.get_global_event_log_with_http_info(tenant_id, url_id, user_id_ws, start_time, end_time)
1132
+ p status_code # => 2xx
1133
+ p headers # => { ... }
1134
+ p data # => <GetEventLog200Response>
1135
+ rescue FastCommentsClient::ApiError => e
1136
+ puts "Error when calling PublicApi->get_global_event_log_with_http_info: #{e}"
1137
+ end
1138
+ ```
1139
+
1140
+ ### Parameters
1141
+
1142
+ | Name | Type | Description | Notes |
1143
+ | ---- | ---- | ----------- | ----- |
1144
+ | **tenant_id** | **String** | | |
1145
+ | **url_id** | **String** | | |
1146
+ | **user_id_ws** | **String** | | |
1147
+ | **start_time** | **Integer** | | |
1148
+ | **end_time** | **Integer** | | |
1149
+
1150
+ ### Return type
1151
+
1152
+ [**GetEventLog200Response**](GetEventLog200Response.md)
1153
+
1154
+ ### Authorization
1155
+
1156
+ No authorization required
1157
+
1158
+ ### HTTP request headers
1159
+
1160
+ - **Content-Type**: Not defined
1161
+ - **Accept**: application/json
1162
+
1163
+
1164
+ ## get_user_notification_count
1165
+
1166
+ > <GetUserNotificationCount200Response> get_user_notification_count(tenant_id, opts)
1167
+
1168
+
1169
+
1170
+ ### Examples
1171
+
1172
+ ```ruby
1173
+ require 'time'
1174
+ require 'fastcomments-client'
1175
+
1176
+ api_instance = FastCommentsClient::PublicApi.new
1177
+ tenant_id = 'tenant_id_example' # String |
1178
+ opts = {
1179
+ sso: 'sso_example' # String |
1180
+ }
1181
+
1182
+ begin
1183
+
1184
+ result = api_instance.get_user_notification_count(tenant_id, opts)
1185
+ p result
1186
+ rescue FastCommentsClient::ApiError => e
1187
+ puts "Error when calling PublicApi->get_user_notification_count: #{e}"
1188
+ end
1189
+ ```
1190
+
1191
+ #### Using the get_user_notification_count_with_http_info variant
1192
+
1193
+ This returns an Array which contains the response data, status code and headers.
1194
+
1195
+ > <Array(<GetUserNotificationCount200Response>, Integer, Hash)> get_user_notification_count_with_http_info(tenant_id, opts)
1196
+
1197
+ ```ruby
1198
+ begin
1199
+
1200
+ data, status_code, headers = api_instance.get_user_notification_count_with_http_info(tenant_id, opts)
1201
+ p status_code # => 2xx
1202
+ p headers # => { ... }
1203
+ p data # => <GetUserNotificationCount200Response>
1204
+ rescue FastCommentsClient::ApiError => e
1205
+ puts "Error when calling PublicApi->get_user_notification_count_with_http_info: #{e}"
1206
+ end
1207
+ ```
1208
+
1209
+ ### Parameters
1210
+
1211
+ | Name | Type | Description | Notes |
1212
+ | ---- | ---- | ----------- | ----- |
1213
+ | **tenant_id** | **String** | | |
1214
+ | **sso** | **String** | | [optional] |
1215
+
1216
+ ### Return type
1217
+
1218
+ [**GetUserNotificationCount200Response**](GetUserNotificationCount200Response.md)
1219
+
1220
+ ### Authorization
1221
+
1222
+ No authorization required
1223
+
1224
+ ### HTTP request headers
1225
+
1226
+ - **Content-Type**: Not defined
1227
+ - **Accept**: application/json
1228
+
1229
+
1230
+ ## get_user_notifications
1231
+
1232
+ > <GetUserNotifications200Response> get_user_notifications(tenant_id, opts)
1233
+
1234
+
1235
+
1236
+ ### Examples
1237
+
1238
+ ```ruby
1239
+ require 'time'
1240
+ require 'fastcomments-client'
1241
+
1242
+ api_instance = FastCommentsClient::PublicApi.new
1243
+ tenant_id = 'tenant_id_example' # String |
1244
+ opts = {
1245
+ page_size: 56, # Integer |
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
+ }
1255
+
1256
+ begin
1257
+
1258
+ result = api_instance.get_user_notifications(tenant_id, opts)
1259
+ p result
1260
+ rescue FastCommentsClient::ApiError => e
1261
+ puts "Error when calling PublicApi->get_user_notifications: #{e}"
1262
+ end
1263
+ ```
1264
+
1265
+ #### Using the get_user_notifications_with_http_info variant
1266
+
1267
+ This returns an Array which contains the response data, status code and headers.
1268
+
1269
+ > <Array(<GetUserNotifications200Response>, Integer, Hash)> get_user_notifications_with_http_info(tenant_id, opts)
1270
+
1271
+ ```ruby
1272
+ begin
1273
+
1274
+ data, status_code, headers = api_instance.get_user_notifications_with_http_info(tenant_id, opts)
1275
+ p status_code # => 2xx
1276
+ p headers # => { ... }
1277
+ p data # => <GetUserNotifications200Response>
1278
+ rescue FastCommentsClient::ApiError => e
1279
+ puts "Error when calling PublicApi->get_user_notifications_with_http_info: #{e}"
1280
+ end
1281
+ ```
1282
+
1283
+ ### Parameters
1284
+
1285
+ | Name | Type | Description | Notes |
1286
+ | ---- | ---- | ----------- | ----- |
1287
+ | **tenant_id** | **String** | | |
1288
+ | **page_size** | **Integer** | | [optional] |
1289
+ | **after_id** | **String** | | [optional] |
1290
+ | **include_context** | **Boolean** | | [optional] |
1291
+ | **after_created_at** | **Integer** | | [optional] |
1292
+ | **unread_only** | **Boolean** | | [optional] |
1293
+ | **dm_only** | **Boolean** | | [optional] |
1294
+ | **no_dm** | **Boolean** | | [optional] |
1295
+ | **include_translations** | **Boolean** | | [optional] |
1296
+ | **sso** | **String** | | [optional] |
1297
+
1298
+ ### Return type
1299
+
1300
+ [**GetUserNotifications200Response**](GetUserNotifications200Response.md)
1301
+
1302
+ ### Authorization
1303
+
1304
+ No authorization required
1305
+
1306
+ ### HTTP request headers
1307
+
1308
+ - **Content-Type**: Not defined
1309
+ - **Accept**: application/json
1310
+
1311
+
1312
+ ## get_user_presence_statuses
1313
+
1314
+ > <GetUserPresenceStatuses200Response> get_user_presence_statuses(tenant_id, url_id_ws, user_ids)
1315
+
1316
+
1317
+
1318
+ ### Examples
1319
+
1320
+ ```ruby
1321
+ require 'time'
1322
+ require 'fastcomments-client'
1323
+
1324
+ api_instance = FastCommentsClient::PublicApi.new
1325
+ tenant_id = 'tenant_id_example' # String |
1326
+ url_id_ws = 'url_id_ws_example' # String |
1327
+ user_ids = 'user_ids_example' # String |
1328
+
1329
+ begin
1330
+
1331
+ result = api_instance.get_user_presence_statuses(tenant_id, url_id_ws, user_ids)
1332
+ p result
1333
+ rescue FastCommentsClient::ApiError => e
1334
+ puts "Error when calling PublicApi->get_user_presence_statuses: #{e}"
1335
+ end
1336
+ ```
1337
+
1338
+ #### Using the get_user_presence_statuses_with_http_info variant
1339
+
1340
+ This returns an Array which contains the response data, status code and headers.
1341
+
1342
+ > <Array(<GetUserPresenceStatuses200Response>, Integer, Hash)> get_user_presence_statuses_with_http_info(tenant_id, url_id_ws, user_ids)
1343
+
1344
+ ```ruby
1345
+ begin
1346
+
1347
+ data, status_code, headers = api_instance.get_user_presence_statuses_with_http_info(tenant_id, url_id_ws, user_ids)
1348
+ p status_code # => 2xx
1349
+ p headers # => { ... }
1350
+ p data # => <GetUserPresenceStatuses200Response>
1351
+ rescue FastCommentsClient::ApiError => e
1352
+ puts "Error when calling PublicApi->get_user_presence_statuses_with_http_info: #{e}"
1353
+ end
1354
+ ```
1355
+
1356
+ ### Parameters
1357
+
1358
+ | Name | Type | Description | Notes |
1359
+ | ---- | ---- | ----------- | ----- |
1360
+ | **tenant_id** | **String** | | |
1361
+ | **url_id_ws** | **String** | | |
1362
+ | **user_ids** | **String** | | |
1363
+
1364
+ ### Return type
1365
+
1366
+ [**GetUserPresenceStatuses200Response**](GetUserPresenceStatuses200Response.md)
1367
+
1368
+ ### Authorization
1369
+
1370
+ No authorization required
1371
+
1372
+ ### HTTP request headers
1373
+
1374
+ - **Content-Type**: Not defined
1375
+ - **Accept**: application/json
1376
+
1377
+
1378
+ ## get_user_reacts_public
1379
+
1380
+ > <GetUserReactsPublic200Response> get_user_reacts_public(tenant_id, opts)
1381
+
1382
+
1383
+
1384
+ ### Examples
1385
+
1386
+ ```ruby
1387
+ require 'time'
1388
+ require 'fastcomments-client'
1389
+
1390
+ api_instance = FastCommentsClient::PublicApi.new
1391
+ tenant_id = 'tenant_id_example' # String |
1392
+ opts = {
1393
+ post_ids: ['inner_example'], # Array<String> |
1394
+ sso: 'sso_example' # String |
1395
+ }
1396
+
1397
+ begin
1398
+
1399
+ result = api_instance.get_user_reacts_public(tenant_id, opts)
1400
+ p result
1401
+ rescue FastCommentsClient::ApiError => e
1402
+ puts "Error when calling PublicApi->get_user_reacts_public: #{e}"
1403
+ end
1404
+ ```
1405
+
1406
+ #### Using the get_user_reacts_public_with_http_info variant
1407
+
1408
+ This returns an Array which contains the response data, status code and headers.
1409
+
1410
+ > <Array(<GetUserReactsPublic200Response>, Integer, Hash)> get_user_reacts_public_with_http_info(tenant_id, opts)
1411
+
1412
+ ```ruby
1413
+ begin
1414
+
1415
+ data, status_code, headers = api_instance.get_user_reacts_public_with_http_info(tenant_id, opts)
1416
+ p status_code # => 2xx
1417
+ p headers # => { ... }
1418
+ p data # => <GetUserReactsPublic200Response>
1419
+ rescue FastCommentsClient::ApiError => e
1420
+ puts "Error when calling PublicApi->get_user_reacts_public_with_http_info: #{e}"
1421
+ end
1422
+ ```
1423
+
1424
+ ### Parameters
1425
+
1426
+ | Name | Type | Description | Notes |
1427
+ | ---- | ---- | ----------- | ----- |
1428
+ | **tenant_id** | **String** | | |
1429
+ | **post_ids** | [**Array&lt;String&gt;**](String.md) | | [optional] |
1430
+ | **sso** | **String** | | [optional] |
1431
+
1432
+ ### Return type
1433
+
1434
+ [**GetUserReactsPublic200Response**](GetUserReactsPublic200Response.md)
1435
+
1436
+ ### Authorization
1437
+
1438
+ No authorization required
1439
+
1440
+ ### HTTP request headers
1441
+
1442
+ - **Content-Type**: Not defined
1443
+ - **Accept**: application/json
1444
+
1445
+
1446
+ ## lock_comment
1447
+
1448
+ > <LockComment200Response> lock_comment(tenant_id, comment_id, broadcast_id, opts)
1449
+
1450
+
1451
+
1452
+ ### Examples
1453
+
1454
+ ```ruby
1455
+ require 'time'
1456
+ require 'fastcomments-client'
1457
+
1458
+ 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
+
1466
+ begin
1467
+
1468
+ result = api_instance.lock_comment(tenant_id, comment_id, broadcast_id, opts)
1469
+ p result
1470
+ rescue FastCommentsClient::ApiError => e
1471
+ puts "Error when calling PublicApi->lock_comment: #{e}"
1472
+ end
1473
+ ```
1474
+
1475
+ #### Using the lock_comment_with_http_info variant
1476
+
1477
+ This returns an Array which contains the response data, status code and headers.
1478
+
1479
+ > <Array(<LockComment200Response>, Integer, Hash)> lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
1480
+
1481
+ ```ruby
1482
+ begin
1483
+
1484
+ data, status_code, headers = api_instance.lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
1485
+ p status_code # => 2xx
1486
+ p headers # => { ... }
1487
+ p data # => <LockComment200Response>
1488
+ rescue FastCommentsClient::ApiError => e
1489
+ puts "Error when calling PublicApi->lock_comment_with_http_info: #{e}"
1490
+ end
1491
+ ```
1492
+
1493
+ ### Parameters
1494
+
1495
+ | Name | Type | Description | Notes |
1496
+ | ---- | ---- | ----------- | ----- |
1497
+ | **tenant_id** | **String** | | |
1498
+ | **comment_id** | **String** | | |
1499
+ | **broadcast_id** | **String** | | |
1500
+ | **sso** | **String** | | [optional] |
1501
+
1502
+ ### Return type
1503
+
1504
+ [**LockComment200Response**](LockComment200Response.md)
1505
+
1506
+ ### Authorization
1507
+
1508
+ No authorization required
1509
+
1510
+ ### HTTP request headers
1511
+
1512
+ - **Content-Type**: Not defined
1513
+ - **Accept**: application/json
1514
+
1515
+
1516
+ ## pin_comment
1517
+
1518
+ > <PinComment200Response> pin_comment(tenant_id, comment_id, broadcast_id, opts)
1519
+
1520
+
1521
+
1522
+ ### Examples
1523
+
1524
+ ```ruby
1525
+ require 'time'
1526
+ require 'fastcomments-client'
1527
+
1528
+ api_instance = FastCommentsClient::PublicApi.new
1529
+ tenant_id = 'tenant_id_example' # String |
1530
+ comment_id = 'comment_id_example' # String |
1531
+ broadcast_id = 'broadcast_id_example' # String |
1532
+ opts = {
1533
+ sso: 'sso_example' # String |
1534
+ }
1535
+
1536
+ begin
1537
+
1538
+ result = api_instance.pin_comment(tenant_id, comment_id, broadcast_id, opts)
1539
+ p result
1540
+ rescue FastCommentsClient::ApiError => e
1541
+ puts "Error when calling PublicApi->pin_comment: #{e}"
1542
+ end
1543
+ ```
1544
+
1545
+ #### Using the pin_comment_with_http_info variant
1546
+
1547
+ This returns an Array which contains the response data, status code and headers.
1548
+
1549
+ > <Array(<PinComment200Response>, Integer, Hash)> pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
1550
+
1551
+ ```ruby
1552
+ begin
1553
+
1554
+ data, status_code, headers = api_instance.pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
1555
+ p status_code # => 2xx
1556
+ p headers # => { ... }
1557
+ p data # => <PinComment200Response>
1558
+ rescue FastCommentsClient::ApiError => e
1559
+ puts "Error when calling PublicApi->pin_comment_with_http_info: #{e}"
1560
+ end
1561
+ ```
1562
+
1563
+ ### Parameters
1564
+
1565
+ | Name | Type | Description | Notes |
1566
+ | ---- | ---- | ----------- | ----- |
1567
+ | **tenant_id** | **String** | | |
1568
+ | **comment_id** | **String** | | |
1569
+ | **broadcast_id** | **String** | | |
1570
+ | **sso** | **String** | | [optional] |
1571
+
1572
+ ### Return type
1573
+
1574
+ [**PinComment200Response**](PinComment200Response.md)
1575
+
1576
+ ### Authorization
1577
+
1578
+ No authorization required
1579
+
1580
+ ### HTTP request headers
1581
+
1582
+ - **Content-Type**: Not defined
1583
+ - **Accept**: application/json
1584
+
1585
+
1586
+ ## react_feed_post_public
1587
+
1588
+ > <ReactFeedPostPublic200Response> react_feed_post_public(tenant_id, post_id, react_body_params, opts)
1589
+
1590
+
1591
+
1592
+ ### Examples
1593
+
1594
+ ```ruby
1595
+ require 'time'
1596
+ require 'fastcomments-client'
1597
+
1598
+ api_instance = FastCommentsClient::PublicApi.new
1599
+ tenant_id = 'tenant_id_example' # String |
1600
+ post_id = 'post_id_example' # String |
1601
+ react_body_params = FastCommentsClient::ReactBodyParams.new # ReactBodyParams |
1602
+ opts = {
1603
+ is_undo: true, # Boolean |
1604
+ broadcast_id: 'broadcast_id_example', # String |
1605
+ sso: 'sso_example' # String |
1606
+ }
1607
+
1608
+ begin
1609
+
1610
+ result = api_instance.react_feed_post_public(tenant_id, post_id, react_body_params, opts)
1611
+ p result
1612
+ rescue FastCommentsClient::ApiError => e
1613
+ puts "Error when calling PublicApi->react_feed_post_public: #{e}"
1614
+ end
1615
+ ```
1616
+
1617
+ #### Using the react_feed_post_public_with_http_info variant
1618
+
1619
+ This returns an Array which contains the response data, status code and headers.
1620
+
1621
+ > <Array(<ReactFeedPostPublic200Response>, Integer, Hash)> react_feed_post_public_with_http_info(tenant_id, post_id, react_body_params, opts)
1622
+
1623
+ ```ruby
1624
+ begin
1625
+
1626
+ data, status_code, headers = api_instance.react_feed_post_public_with_http_info(tenant_id, post_id, react_body_params, opts)
1627
+ p status_code # => 2xx
1628
+ p headers # => { ... }
1629
+ p data # => <ReactFeedPostPublic200Response>
1630
+ rescue FastCommentsClient::ApiError => e
1631
+ puts "Error when calling PublicApi->react_feed_post_public_with_http_info: #{e}"
1632
+ end
1633
+ ```
1634
+
1635
+ ### Parameters
1636
+
1637
+ | Name | Type | Description | Notes |
1638
+ | ---- | ---- | ----------- | ----- |
1639
+ | **tenant_id** | **String** | | |
1640
+ | **post_id** | **String** | | |
1641
+ | **react_body_params** | [**ReactBodyParams**](ReactBodyParams.md) | | |
1642
+ | **is_undo** | **Boolean** | | [optional] |
1643
+ | **broadcast_id** | **String** | | [optional] |
1644
+ | **sso** | **String** | | [optional] |
1645
+
1646
+ ### Return type
1647
+
1648
+ [**ReactFeedPostPublic200Response**](ReactFeedPostPublic200Response.md)
1649
+
1650
+ ### Authorization
1651
+
1652
+ No authorization required
1653
+
1654
+ ### HTTP request headers
1655
+
1656
+ - **Content-Type**: application/json
1657
+ - **Accept**: application/json
1658
+
1659
+
1660
+ ## reset_user_notification_count
1661
+
1662
+ > <ResetUserNotifications200Response> reset_user_notification_count(tenant_id, opts)
1663
+
1664
+
1665
+
1666
+ ### Examples
1667
+
1668
+ ```ruby
1669
+ require 'time'
1670
+ require 'fastcomments-client'
1671
+
1672
+ api_instance = FastCommentsClient::PublicApi.new
1673
+ tenant_id = 'tenant_id_example' # String |
1674
+ opts = {
1675
+ sso: 'sso_example' # String |
1676
+ }
1677
+
1678
+ begin
1679
+
1680
+ result = api_instance.reset_user_notification_count(tenant_id, opts)
1681
+ p result
1682
+ rescue FastCommentsClient::ApiError => e
1683
+ puts "Error when calling PublicApi->reset_user_notification_count: #{e}"
1684
+ end
1685
+ ```
1686
+
1687
+ #### Using the reset_user_notification_count_with_http_info variant
1688
+
1689
+ This returns an Array which contains the response data, status code and headers.
1690
+
1691
+ > <Array(<ResetUserNotifications200Response>, Integer, Hash)> reset_user_notification_count_with_http_info(tenant_id, opts)
1692
+
1693
+ ```ruby
1694
+ begin
1695
+
1696
+ data, status_code, headers = api_instance.reset_user_notification_count_with_http_info(tenant_id, opts)
1697
+ p status_code # => 2xx
1698
+ p headers # => { ... }
1699
+ p data # => <ResetUserNotifications200Response>
1700
+ rescue FastCommentsClient::ApiError => e
1701
+ puts "Error when calling PublicApi->reset_user_notification_count_with_http_info: #{e}"
1702
+ end
1703
+ ```
1704
+
1705
+ ### Parameters
1706
+
1707
+ | Name | Type | Description | Notes |
1708
+ | ---- | ---- | ----------- | ----- |
1709
+ | **tenant_id** | **String** | | |
1710
+ | **sso** | **String** | | [optional] |
1711
+
1712
+ ### Return type
1713
+
1714
+ [**ResetUserNotifications200Response**](ResetUserNotifications200Response.md)
1715
+
1716
+ ### Authorization
1717
+
1718
+ No authorization required
1719
+
1720
+ ### HTTP request headers
1721
+
1722
+ - **Content-Type**: Not defined
1723
+ - **Accept**: application/json
1724
+
1725
+
1726
+ ## reset_user_notifications
1727
+
1728
+ > <ResetUserNotifications200Response> reset_user_notifications(tenant_id, opts)
1729
+
1730
+
1731
+
1732
+ ### Examples
1733
+
1734
+ ```ruby
1735
+ require 'time'
1736
+ require 'fastcomments-client'
1737
+
1738
+ api_instance = FastCommentsClient::PublicApi.new
1739
+ tenant_id = 'tenant_id_example' # String |
1740
+ opts = {
1741
+ after_id: 'after_id_example', # String |
1742
+ after_created_at: 789, # Integer |
1743
+ unread_only: true, # Boolean |
1744
+ dm_only: true, # Boolean |
1745
+ no_dm: true, # Boolean |
1746
+ sso: 'sso_example' # String |
1747
+ }
1748
+
1749
+ begin
1750
+
1751
+ result = api_instance.reset_user_notifications(tenant_id, opts)
1752
+ p result
1753
+ rescue FastCommentsClient::ApiError => e
1754
+ puts "Error when calling PublicApi->reset_user_notifications: #{e}"
1755
+ end
1756
+ ```
1757
+
1758
+ #### Using the reset_user_notifications_with_http_info variant
1759
+
1760
+ This returns an Array which contains the response data, status code and headers.
1761
+
1762
+ > <Array(<ResetUserNotifications200Response>, Integer, Hash)> reset_user_notifications_with_http_info(tenant_id, opts)
1763
+
1764
+ ```ruby
1765
+ begin
1766
+
1767
+ data, status_code, headers = api_instance.reset_user_notifications_with_http_info(tenant_id, opts)
1768
+ p status_code # => 2xx
1769
+ p headers # => { ... }
1770
+ p data # => <ResetUserNotifications200Response>
1771
+ rescue FastCommentsClient::ApiError => e
1772
+ puts "Error when calling PublicApi->reset_user_notifications_with_http_info: #{e}"
1773
+ end
1774
+ ```
1775
+
1776
+ ### Parameters
1777
+
1778
+ | Name | Type | Description | Notes |
1779
+ | ---- | ---- | ----------- | ----- |
1780
+ | **tenant_id** | **String** | | |
1781
+ | **after_id** | **String** | | [optional] |
1782
+ | **after_created_at** | **Integer** | | [optional] |
1783
+ | **unread_only** | **Boolean** | | [optional] |
1784
+ | **dm_only** | **Boolean** | | [optional] |
1785
+ | **no_dm** | **Boolean** | | [optional] |
1786
+ | **sso** | **String** | | [optional] |
1787
+
1788
+ ### Return type
1789
+
1790
+ [**ResetUserNotifications200Response**](ResetUserNotifications200Response.md)
1791
+
1792
+ ### Authorization
1793
+
1794
+ No authorization required
1795
+
1796
+ ### HTTP request headers
1797
+
1798
+ - **Content-Type**: Not defined
1799
+ - **Accept**: application/json
1800
+
1801
+
1802
+ ## search_users
1803
+
1804
+ > <SearchUsers200Response> search_users(tenant_id, url_id, username_starts_with, opts)
1805
+
1806
+
1807
+
1808
+ ### Examples
1809
+
1810
+ ```ruby
1811
+ require 'time'
1812
+ require 'fastcomments-client'
1813
+
1814
+ api_instance = FastCommentsClient::PublicApi.new
1815
+ tenant_id = 'tenant_id_example' # String |
1816
+ url_id = 'url_id_example' # String |
1817
+ username_starts_with = 'username_starts_with_example' # String |
1818
+ opts = {
1819
+ mention_group_ids: ['inner_example'], # Array<String> |
1820
+ sso: 'sso_example' # String |
1821
+ }
1822
+
1823
+ begin
1824
+
1825
+ result = api_instance.search_users(tenant_id, url_id, username_starts_with, opts)
1826
+ p result
1827
+ rescue FastCommentsClient::ApiError => e
1828
+ puts "Error when calling PublicApi->search_users: #{e}"
1829
+ end
1830
+ ```
1831
+
1832
+ #### Using the search_users_with_http_info variant
1833
+
1834
+ This returns an Array which contains the response data, status code and headers.
1835
+
1836
+ > <Array(<SearchUsers200Response>, Integer, Hash)> search_users_with_http_info(tenant_id, url_id, username_starts_with, opts)
1837
+
1838
+ ```ruby
1839
+ begin
1840
+
1841
+ data, status_code, headers = api_instance.search_users_with_http_info(tenant_id, url_id, username_starts_with, opts)
1842
+ p status_code # => 2xx
1843
+ p headers # => { ... }
1844
+ p data # => <SearchUsers200Response>
1845
+ rescue FastCommentsClient::ApiError => e
1846
+ puts "Error when calling PublicApi->search_users_with_http_info: #{e}"
1847
+ end
1848
+ ```
1849
+
1850
+ ### Parameters
1851
+
1852
+ | Name | Type | Description | Notes |
1853
+ | ---- | ---- | ----------- | ----- |
1854
+ | **tenant_id** | **String** | | |
1855
+ | **url_id** | **String** | | |
1856
+ | **username_starts_with** | **String** | | |
1857
+ | **mention_group_ids** | [**Array&lt;String&gt;**](String.md) | | [optional] |
1858
+ | **sso** | **String** | | [optional] |
1859
+
1860
+ ### Return type
1861
+
1862
+ [**SearchUsers200Response**](SearchUsers200Response.md)
1863
+
1864
+ ### Authorization
1865
+
1866
+ No authorization required
1867
+
1868
+ ### HTTP request headers
1869
+
1870
+ - **Content-Type**: Not defined
1871
+ - **Accept**: application/json
1872
+
1873
+
1874
+ ## set_comment_text
1875
+
1876
+ > <SetCommentText200Response> set_comment_text(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
1877
+
1878
+
1879
+
1880
+ ### Examples
1881
+
1882
+ ```ruby
1883
+ require 'time'
1884
+ require 'fastcomments-client'
1885
+
1886
+ api_instance = FastCommentsClient::PublicApi.new
1887
+ tenant_id = 'tenant_id_example' # String |
1888
+ comment_id = 'comment_id_example' # String |
1889
+ broadcast_id = 'broadcast_id_example' # String |
1890
+ comment_text_update_request = FastCommentsClient::CommentTextUpdateRequest.new({comment: 'comment_example'}) # CommentTextUpdateRequest |
1891
+ opts = {
1892
+ edit_key: 'edit_key_example', # String |
1893
+ sso: 'sso_example' # String |
1894
+ }
1895
+
1896
+ begin
1897
+
1898
+ result = api_instance.set_comment_text(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
1899
+ p result
1900
+ rescue FastCommentsClient::ApiError => e
1901
+ puts "Error when calling PublicApi->set_comment_text: #{e}"
1902
+ end
1903
+ ```
1904
+
1905
+ #### Using the set_comment_text_with_http_info variant
1906
+
1907
+ This returns an Array which contains the response data, status code and headers.
1908
+
1909
+ > <Array(<SetCommentText200Response>, Integer, Hash)> set_comment_text_with_http_info(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
1910
+
1911
+ ```ruby
1912
+ begin
1913
+
1914
+ data, status_code, headers = api_instance.set_comment_text_with_http_info(tenant_id, comment_id, broadcast_id, comment_text_update_request, opts)
1915
+ p status_code # => 2xx
1916
+ p headers # => { ... }
1917
+ p data # => <SetCommentText200Response>
1918
+ rescue FastCommentsClient::ApiError => e
1919
+ puts "Error when calling PublicApi->set_comment_text_with_http_info: #{e}"
1920
+ end
1921
+ ```
1922
+
1923
+ ### Parameters
1924
+
1925
+ | Name | Type | Description | Notes |
1926
+ | ---- | ---- | ----------- | ----- |
1927
+ | **tenant_id** | **String** | | |
1928
+ | **comment_id** | **String** | | |
1929
+ | **broadcast_id** | **String** | | |
1930
+ | **comment_text_update_request** | [**CommentTextUpdateRequest**](CommentTextUpdateRequest.md) | | |
1931
+ | **edit_key** | **String** | | [optional] |
1932
+ | **sso** | **String** | | [optional] |
1933
+
1934
+ ### Return type
1935
+
1936
+ [**SetCommentText200Response**](SetCommentText200Response.md)
1937
+
1938
+ ### Authorization
1939
+
1940
+ No authorization required
1941
+
1942
+ ### HTTP request headers
1943
+
1944
+ - **Content-Type**: application/json
1945
+ - **Accept**: application/json
1946
+
1947
+
1948
+ ## un_block_comment_public
1949
+
1950
+ > <UnBlockCommentPublic200Response> un_block_comment_public(tenant_id, comment_id, public_block_from_comment_params, opts)
1951
+
1952
+
1953
+
1954
+ ### Examples
1955
+
1956
+ ```ruby
1957
+ require 'time'
1958
+ require 'fastcomments-client'
1959
+
1960
+ api_instance = FastCommentsClient::PublicApi.new
1961
+ tenant_id = 'tenant_id_example' # String |
1962
+ comment_id = 'comment_id_example' # String |
1963
+ public_block_from_comment_params = FastCommentsClient::PublicBlockFromCommentParams.new({comment_ids: ['comment_ids_example']}) # PublicBlockFromCommentParams |
1964
+ opts = {
1965
+ sso: 'sso_example' # String |
1966
+ }
1967
+
1968
+ begin
1969
+
1970
+ result = api_instance.un_block_comment_public(tenant_id, comment_id, public_block_from_comment_params, opts)
1971
+ p result
1972
+ rescue FastCommentsClient::ApiError => e
1973
+ puts "Error when calling PublicApi->un_block_comment_public: #{e}"
1974
+ end
1975
+ ```
1976
+
1977
+ #### Using the un_block_comment_public_with_http_info variant
1978
+
1979
+ This returns an Array which contains the response data, status code and headers.
1980
+
1981
+ > <Array(<UnBlockCommentPublic200Response>, Integer, Hash)> un_block_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
1982
+
1983
+ ```ruby
1984
+ begin
1985
+
1986
+ data, status_code, headers = api_instance.un_block_comment_public_with_http_info(tenant_id, comment_id, public_block_from_comment_params, opts)
1987
+ p status_code # => 2xx
1988
+ p headers # => { ... }
1989
+ p data # => <UnBlockCommentPublic200Response>
1990
+ rescue FastCommentsClient::ApiError => e
1991
+ puts "Error when calling PublicApi->un_block_comment_public_with_http_info: #{e}"
1992
+ end
1993
+ ```
1994
+
1995
+ ### Parameters
1996
+
1997
+ | Name | Type | Description | Notes |
1998
+ | ---- | ---- | ----------- | ----- |
1999
+ | **tenant_id** | **String** | | |
2000
+ | **comment_id** | **String** | | |
2001
+ | **public_block_from_comment_params** | [**PublicBlockFromCommentParams**](PublicBlockFromCommentParams.md) | | |
2002
+ | **sso** | **String** | | [optional] |
2003
+
2004
+ ### Return type
2005
+
2006
+ [**UnBlockCommentPublic200Response**](UnBlockCommentPublic200Response.md)
2007
+
2008
+ ### Authorization
2009
+
2010
+ No authorization required
2011
+
2012
+ ### HTTP request headers
2013
+
2014
+ - **Content-Type**: application/json
2015
+ - **Accept**: application/json
2016
+
2017
+
2018
+ ## un_lock_comment
2019
+
2020
+ > <LockComment200Response> un_lock_comment(tenant_id, comment_id, broadcast_id, opts)
2021
+
2022
+
2023
+
2024
+ ### Examples
2025
+
2026
+ ```ruby
2027
+ require 'time'
2028
+ require 'fastcomments-client'
2029
+
2030
+ api_instance = FastCommentsClient::PublicApi.new
2031
+ tenant_id = 'tenant_id_example' # String |
2032
+ comment_id = 'comment_id_example' # String |
2033
+ broadcast_id = 'broadcast_id_example' # String |
2034
+ opts = {
2035
+ sso: 'sso_example' # String |
2036
+ }
2037
+
2038
+ begin
2039
+
2040
+ result = api_instance.un_lock_comment(tenant_id, comment_id, broadcast_id, opts)
2041
+ p result
2042
+ rescue FastCommentsClient::ApiError => e
2043
+ puts "Error when calling PublicApi->un_lock_comment: #{e}"
2044
+ end
2045
+ ```
2046
+
2047
+ #### Using the un_lock_comment_with_http_info variant
2048
+
2049
+ This returns an Array which contains the response data, status code and headers.
2050
+
2051
+ > <Array(<LockComment200Response>, Integer, Hash)> un_lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
2052
+
2053
+ ```ruby
2054
+ begin
2055
+
2056
+ data, status_code, headers = api_instance.un_lock_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
2057
+ p status_code # => 2xx
2058
+ p headers # => { ... }
2059
+ p data # => <LockComment200Response>
2060
+ rescue FastCommentsClient::ApiError => e
2061
+ puts "Error when calling PublicApi->un_lock_comment_with_http_info: #{e}"
2062
+ end
2063
+ ```
2064
+
2065
+ ### Parameters
2066
+
2067
+ | Name | Type | Description | Notes |
2068
+ | ---- | ---- | ----------- | ----- |
2069
+ | **tenant_id** | **String** | | |
2070
+ | **comment_id** | **String** | | |
2071
+ | **broadcast_id** | **String** | | |
2072
+ | **sso** | **String** | | [optional] |
2073
+
2074
+ ### Return type
2075
+
2076
+ [**LockComment200Response**](LockComment200Response.md)
2077
+
2078
+ ### Authorization
2079
+
2080
+ No authorization required
2081
+
2082
+ ### HTTP request headers
2083
+
2084
+ - **Content-Type**: Not defined
2085
+ - **Accept**: application/json
2086
+
2087
+
2088
+ ## un_pin_comment
2089
+
2090
+ > <PinComment200Response> un_pin_comment(tenant_id, comment_id, broadcast_id, opts)
2091
+
2092
+
2093
+
2094
+ ### Examples
2095
+
2096
+ ```ruby
2097
+ require 'time'
2098
+ require 'fastcomments-client'
2099
+
2100
+ api_instance = FastCommentsClient::PublicApi.new
2101
+ tenant_id = 'tenant_id_example' # String |
2102
+ comment_id = 'comment_id_example' # String |
2103
+ broadcast_id = 'broadcast_id_example' # String |
2104
+ opts = {
2105
+ sso: 'sso_example' # String |
2106
+ }
2107
+
2108
+ begin
2109
+
2110
+ result = api_instance.un_pin_comment(tenant_id, comment_id, broadcast_id, opts)
2111
+ p result
2112
+ rescue FastCommentsClient::ApiError => e
2113
+ puts "Error when calling PublicApi->un_pin_comment: #{e}"
2114
+ end
2115
+ ```
2116
+
2117
+ #### Using the un_pin_comment_with_http_info variant
2118
+
2119
+ This returns an Array which contains the response data, status code and headers.
2120
+
2121
+ > <Array(<PinComment200Response>, Integer, Hash)> un_pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
2122
+
2123
+ ```ruby
2124
+ begin
2125
+
2126
+ data, status_code, headers = api_instance.un_pin_comment_with_http_info(tenant_id, comment_id, broadcast_id, opts)
2127
+ p status_code # => 2xx
2128
+ p headers # => { ... }
2129
+ p data # => <PinComment200Response>
2130
+ rescue FastCommentsClient::ApiError => e
2131
+ puts "Error when calling PublicApi->un_pin_comment_with_http_info: #{e}"
2132
+ end
2133
+ ```
2134
+
2135
+ ### Parameters
2136
+
2137
+ | Name | Type | Description | Notes |
2138
+ | ---- | ---- | ----------- | ----- |
2139
+ | **tenant_id** | **String** | | |
2140
+ | **comment_id** | **String** | | |
2141
+ | **broadcast_id** | **String** | | |
2142
+ | **sso** | **String** | | [optional] |
2143
+
2144
+ ### Return type
2145
+
2146
+ [**PinComment200Response**](PinComment200Response.md)
2147
+
2148
+ ### Authorization
2149
+
2150
+ No authorization required
2151
+
2152
+ ### HTTP request headers
2153
+
2154
+ - **Content-Type**: Not defined
2155
+ - **Accept**: application/json
2156
+
2157
+
2158
+ ## update_feed_post_public
2159
+
2160
+ > <CreateFeedPostPublic200Response> update_feed_post_public(tenant_id, post_id, update_feed_post_params, opts)
2161
+
2162
+
2163
+
2164
+ ### Examples
2165
+
2166
+ ```ruby
2167
+ require 'time'
2168
+ require 'fastcomments-client'
2169
+
2170
+ api_instance = FastCommentsClient::PublicApi.new
2171
+ tenant_id = 'tenant_id_example' # String |
2172
+ post_id = 'post_id_example' # String |
2173
+ update_feed_post_params = FastCommentsClient::UpdateFeedPostParams.new # UpdateFeedPostParams |
2174
+ opts = {
2175
+ broadcast_id: 'broadcast_id_example', # String |
2176
+ sso: 'sso_example' # String |
2177
+ }
2178
+
2179
+ begin
2180
+
2181
+ result = api_instance.update_feed_post_public(tenant_id, post_id, update_feed_post_params, opts)
2182
+ p result
2183
+ rescue FastCommentsClient::ApiError => e
2184
+ puts "Error when calling PublicApi->update_feed_post_public: #{e}"
2185
+ end
2186
+ ```
2187
+
2188
+ #### Using the update_feed_post_public_with_http_info variant
2189
+
2190
+ This returns an Array which contains the response data, status code and headers.
2191
+
2192
+ > <Array(<CreateFeedPostPublic200Response>, Integer, Hash)> update_feed_post_public_with_http_info(tenant_id, post_id, update_feed_post_params, opts)
2193
+
2194
+ ```ruby
2195
+ begin
2196
+
2197
+ data, status_code, headers = api_instance.update_feed_post_public_with_http_info(tenant_id, post_id, update_feed_post_params, opts)
2198
+ p status_code # => 2xx
2199
+ p headers # => { ... }
2200
+ p data # => <CreateFeedPostPublic200Response>
2201
+ rescue FastCommentsClient::ApiError => e
2202
+ puts "Error when calling PublicApi->update_feed_post_public_with_http_info: #{e}"
2203
+ end
2204
+ ```
2205
+
2206
+ ### Parameters
2207
+
2208
+ | Name | Type | Description | Notes |
2209
+ | ---- | ---- | ----------- | ----- |
2210
+ | **tenant_id** | **String** | | |
2211
+ | **post_id** | **String** | | |
2212
+ | **update_feed_post_params** | [**UpdateFeedPostParams**](UpdateFeedPostParams.md) | | |
2213
+ | **broadcast_id** | **String** | | [optional] |
2214
+ | **sso** | **String** | | [optional] |
2215
+
2216
+ ### Return type
2217
+
2218
+ [**CreateFeedPostPublic200Response**](CreateFeedPostPublic200Response.md)
2219
+
2220
+ ### Authorization
2221
+
2222
+ No authorization required
2223
+
2224
+ ### HTTP request headers
2225
+
2226
+ - **Content-Type**: application/json
2227
+ - **Accept**: application/json
2228
+
2229
+
2230
+ ## update_user_notification_comment_subscription_status
2231
+
2232
+ > <UpdateUserNotificationStatus200Response> update_user_notification_comment_subscription_status(tenant_id, notification_id, opted_in_or_out, comment_id, opts)
2233
+
2234
+
2235
+
2236
+ Enable or disable notifications for a specific comment.
2237
+
2238
+ ### Examples
2239
+
2240
+ ```ruby
2241
+ require 'time'
2242
+ require 'fastcomments-client'
2243
+
2244
+ api_instance = FastCommentsClient::PublicApi.new
2245
+ tenant_id = 'tenant_id_example' # String |
2246
+ notification_id = 'notification_id_example' # String |
2247
+ opted_in_or_out = 'in' # String |
2248
+ comment_id = 'comment_id_example' # String |
2249
+ opts = {
2250
+ sso: 'sso_example' # String |
2251
+ }
2252
+
2253
+ begin
2254
+
2255
+ result = api_instance.update_user_notification_comment_subscription_status(tenant_id, notification_id, opted_in_or_out, comment_id, opts)
2256
+ p result
2257
+ rescue FastCommentsClient::ApiError => e
2258
+ puts "Error when calling PublicApi->update_user_notification_comment_subscription_status: #{e}"
2259
+ end
2260
+ ```
2261
+
2262
+ #### Using the update_user_notification_comment_subscription_status_with_http_info variant
2263
+
2264
+ This returns an Array which contains the response data, status code and headers.
2265
+
2266
+ > <Array(<UpdateUserNotificationStatus200Response>, Integer, Hash)> update_user_notification_comment_subscription_status_with_http_info(tenant_id, notification_id, opted_in_or_out, comment_id, opts)
2267
+
2268
+ ```ruby
2269
+ begin
2270
+
2271
+ 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
+ p status_code # => 2xx
2273
+ p headers # => { ... }
2274
+ p data # => <UpdateUserNotificationStatus200Response>
2275
+ rescue FastCommentsClient::ApiError => e
2276
+ puts "Error when calling PublicApi->update_user_notification_comment_subscription_status_with_http_info: #{e}"
2277
+ end
2278
+ ```
2279
+
2280
+ ### Parameters
2281
+
2282
+ | Name | Type | Description | Notes |
2283
+ | ---- | ---- | ----------- | ----- |
2284
+ | **tenant_id** | **String** | | |
2285
+ | **notification_id** | **String** | | |
2286
+ | **opted_in_or_out** | **String** | | |
2287
+ | **comment_id** | **String** | | |
2288
+ | **sso** | **String** | | [optional] |
2289
+
2290
+ ### Return type
2291
+
2292
+ [**UpdateUserNotificationStatus200Response**](UpdateUserNotificationStatus200Response.md)
2293
+
2294
+ ### Authorization
2295
+
2296
+ No authorization required
2297
+
2298
+ ### HTTP request headers
2299
+
2300
+ - **Content-Type**: Not defined
2301
+ - **Accept**: application/json
2302
+
2303
+
2304
+ ## update_user_notification_page_subscription_status
2305
+
2306
+ > <UpdateUserNotificationStatus200Response> update_user_notification_page_subscription_status(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts)
2307
+
2308
+
2309
+
2310
+ Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
2311
+
2312
+ ### Examples
2313
+
2314
+ ```ruby
2315
+ require 'time'
2316
+ require 'fastcomments-client'
2317
+
2318
+ api_instance = FastCommentsClient::PublicApi.new
2319
+ tenant_id = 'tenant_id_example' # String |
2320
+ url_id = 'url_id_example' # String |
2321
+ url = 'url_example' # String |
2322
+ page_title = 'page_title_example' # String |
2323
+ subscribed_or_unsubscribed = 'subscribe' # String |
2324
+ opts = {
2325
+ sso: 'sso_example' # String |
2326
+ }
2327
+
2328
+ begin
2329
+
2330
+ result = api_instance.update_user_notification_page_subscription_status(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts)
2331
+ p result
2332
+ rescue FastCommentsClient::ApiError => e
2333
+ puts "Error when calling PublicApi->update_user_notification_page_subscription_status: #{e}"
2334
+ end
2335
+ ```
2336
+
2337
+ #### Using the update_user_notification_page_subscription_status_with_http_info variant
2338
+
2339
+ This returns an Array which contains the response data, status code and headers.
2340
+
2341
+ > <Array(<UpdateUserNotificationStatus200Response>, Integer, Hash)> update_user_notification_page_subscription_status_with_http_info(tenant_id, url_id, url, page_title, subscribed_or_unsubscribed, opts)
2342
+
2343
+ ```ruby
2344
+ begin
2345
+
2346
+ 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
+ p status_code # => 2xx
2348
+ p headers # => { ... }
2349
+ p data # => <UpdateUserNotificationStatus200Response>
2350
+ rescue FastCommentsClient::ApiError => e
2351
+ puts "Error when calling PublicApi->update_user_notification_page_subscription_status_with_http_info: #{e}"
2352
+ end
2353
+ ```
2354
+
2355
+ ### Parameters
2356
+
2357
+ | Name | Type | Description | Notes |
2358
+ | ---- | ---- | ----------- | ----- |
2359
+ | **tenant_id** | **String** | | |
2360
+ | **url_id** | **String** | | |
2361
+ | **url** | **String** | | |
2362
+ | **page_title** | **String** | | |
2363
+ | **subscribed_or_unsubscribed** | **String** | | |
2364
+ | **sso** | **String** | | [optional] |
2365
+
2366
+ ### Return type
2367
+
2368
+ [**UpdateUserNotificationStatus200Response**](UpdateUserNotificationStatus200Response.md)
2369
+
2370
+ ### Authorization
2371
+
2372
+ No authorization required
2373
+
2374
+ ### HTTP request headers
2375
+
2376
+ - **Content-Type**: Not defined
2377
+ - **Accept**: application/json
2378
+
2379
+
2380
+ ## update_user_notification_status
2381
+
2382
+ > <UpdateUserNotificationStatus200Response> update_user_notification_status(tenant_id, notification_id, new_status, opts)
2383
+
2384
+
2385
+
2386
+ ### Examples
2387
+
2388
+ ```ruby
2389
+ require 'time'
2390
+ require 'fastcomments-client'
2391
+
2392
+ api_instance = FastCommentsClient::PublicApi.new
2393
+ tenant_id = 'tenant_id_example' # String |
2394
+ notification_id = 'notification_id_example' # String |
2395
+ new_status = 'read' # String |
2396
+ opts = {
2397
+ sso: 'sso_example' # String |
2398
+ }
2399
+
2400
+ begin
2401
+
2402
+ result = api_instance.update_user_notification_status(tenant_id, notification_id, new_status, opts)
2403
+ p result
2404
+ rescue FastCommentsClient::ApiError => e
2405
+ puts "Error when calling PublicApi->update_user_notification_status: #{e}"
2406
+ end
2407
+ ```
2408
+
2409
+ #### Using the update_user_notification_status_with_http_info variant
2410
+
2411
+ This returns an Array which contains the response data, status code and headers.
2412
+
2413
+ > <Array(<UpdateUserNotificationStatus200Response>, Integer, Hash)> update_user_notification_status_with_http_info(tenant_id, notification_id, new_status, opts)
2414
+
2415
+ ```ruby
2416
+ begin
2417
+
2418
+ data, status_code, headers = api_instance.update_user_notification_status_with_http_info(tenant_id, notification_id, new_status, opts)
2419
+ p status_code # => 2xx
2420
+ p headers # => { ... }
2421
+ p data # => <UpdateUserNotificationStatus200Response>
2422
+ rescue FastCommentsClient::ApiError => e
2423
+ puts "Error when calling PublicApi->update_user_notification_status_with_http_info: #{e}"
2424
+ end
2425
+ ```
2426
+
2427
+ ### Parameters
2428
+
2429
+ | Name | Type | Description | Notes |
2430
+ | ---- | ---- | ----------- | ----- |
2431
+ | **tenant_id** | **String** | | |
2432
+ | **notification_id** | **String** | | |
2433
+ | **new_status** | **String** | | |
2434
+ | **sso** | **String** | | [optional] |
2435
+
2436
+ ### Return type
2437
+
2438
+ [**UpdateUserNotificationStatus200Response**](UpdateUserNotificationStatus200Response.md)
2439
+
2440
+ ### Authorization
2441
+
2442
+ No authorization required
2443
+
2444
+ ### HTTP request headers
2445
+
2446
+ - **Content-Type**: Not defined
2447
+ - **Accept**: application/json
2448
+
2449
+
2450
+ ## upload_image
2451
+
2452
+ > <UploadImageResponse> upload_image(tenant_id, file, opts)
2453
+
2454
+
2455
+
2456
+ Upload and resize an image
2457
+
2458
+ ### Examples
2459
+
2460
+ ```ruby
2461
+ require 'time'
2462
+ require 'fastcomments-client'
2463
+
2464
+ api_instance = FastCommentsClient::PublicApi.new
2465
+ tenant_id = 'tenant_id_example' # String |
2466
+ file = File.new('/path/to/some/file') # File |
2467
+ opts = {
2468
+ size_preset: FastCommentsClient::SizePreset::DEFAULT, # SizePreset | Size preset: \"Default\" (1000x1000px) or \"CrossPlatform\" (creates sizes for popular devices)
2469
+ url_id: 'url_id_example' # String | Page id that upload is happening from, to configure
2470
+ }
2471
+
2472
+ begin
2473
+
2474
+ result = api_instance.upload_image(tenant_id, file, opts)
2475
+ p result
2476
+ rescue FastCommentsClient::ApiError => e
2477
+ puts "Error when calling PublicApi->upload_image: #{e}"
2478
+ end
2479
+ ```
2480
+
2481
+ #### Using the upload_image_with_http_info variant
2482
+
2483
+ This returns an Array which contains the response data, status code and headers.
2484
+
2485
+ > <Array(<UploadImageResponse>, Integer, Hash)> upload_image_with_http_info(tenant_id, file, opts)
2486
+
2487
+ ```ruby
2488
+ begin
2489
+
2490
+ data, status_code, headers = api_instance.upload_image_with_http_info(tenant_id, file, opts)
2491
+ p status_code # => 2xx
2492
+ p headers # => { ... }
2493
+ p data # => <UploadImageResponse>
2494
+ rescue FastCommentsClient::ApiError => e
2495
+ puts "Error when calling PublicApi->upload_image_with_http_info: #{e}"
2496
+ end
2497
+ ```
2498
+
2499
+ ### Parameters
2500
+
2501
+ | Name | Type | Description | Notes |
2502
+ | ---- | ---- | ----------- | ----- |
2503
+ | **tenant_id** | **String** | | |
2504
+ | **file** | **File** | | |
2505
+ | **size_preset** | [**SizePreset**](.md) | Size preset: \&quot;Default\&quot; (1000x1000px) or \&quot;CrossPlatform\&quot; (creates sizes for popular devices) | [optional] |
2506
+ | **url_id** | **String** | Page id that upload is happening from, to configure | [optional] |
2507
+
2508
+ ### Return type
2509
+
2510
+ [**UploadImageResponse**](UploadImageResponse.md)
2511
+
2512
+ ### Authorization
2513
+
2514
+ No authorization required
2515
+
2516
+ ### HTTP request headers
2517
+
2518
+ - **Content-Type**: multipart/form-data
2519
+ - **Accept**: application/json
2520
+
2521
+
2522
+ ## vote_comment
2523
+
2524
+ > <VoteComment200Response> vote_comment(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
2525
+
2526
+
2527
+
2528
+ ### Examples
2529
+
2530
+ ```ruby
2531
+ require 'time'
2532
+ require 'fastcomments-client'
2533
+
2534
+ api_instance = FastCommentsClient::PublicApi.new
2535
+ tenant_id = 'tenant_id_example' # String |
2536
+ comment_id = 'comment_id_example' # String |
2537
+ url_id = 'url_id_example' # String |
2538
+ broadcast_id = 'broadcast_id_example' # String |
2539
+ vote_body_params = FastCommentsClient::VoteBodyParams.new({commenter_email: 'commenter_email_example', commenter_name: 'commenter_name_example', vote_dir: 'up', url: 'url_example'}) # VoteBodyParams |
2540
+ opts = {
2541
+ session_id: 'session_id_example', # String |
2542
+ sso: 'sso_example' # String |
2543
+ }
2544
+
2545
+ begin
2546
+
2547
+ result = api_instance.vote_comment(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
2548
+ p result
2549
+ rescue FastCommentsClient::ApiError => e
2550
+ puts "Error when calling PublicApi->vote_comment: #{e}"
2551
+ end
2552
+ ```
2553
+
2554
+ #### Using the vote_comment_with_http_info variant
2555
+
2556
+ This returns an Array which contains the response data, status code and headers.
2557
+
2558
+ > <Array(<VoteComment200Response>, Integer, Hash)> vote_comment_with_http_info(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
2559
+
2560
+ ```ruby
2561
+ begin
2562
+
2563
+ data, status_code, headers = api_instance.vote_comment_with_http_info(tenant_id, comment_id, url_id, broadcast_id, vote_body_params, opts)
2564
+ p status_code # => 2xx
2565
+ p headers # => { ... }
2566
+ p data # => <VoteComment200Response>
2567
+ rescue FastCommentsClient::ApiError => e
2568
+ puts "Error when calling PublicApi->vote_comment_with_http_info: #{e}"
2569
+ end
2570
+ ```
2571
+
2572
+ ### Parameters
2573
+
2574
+ | Name | Type | Description | Notes |
2575
+ | ---- | ---- | ----------- | ----- |
2576
+ | **tenant_id** | **String** | | |
2577
+ | **comment_id** | **String** | | |
2578
+ | **url_id** | **String** | | |
2579
+ | **broadcast_id** | **String** | | |
2580
+ | **vote_body_params** | [**VoteBodyParams**](VoteBodyParams.md) | | |
2581
+ | **session_id** | **String** | | [optional] |
2582
+ | **sso** | **String** | | [optional] |
2583
+
2584
+ ### Return type
2585
+
2586
+ [**VoteComment200Response**](VoteComment200Response.md)
2587
+
2588
+ ### Authorization
2589
+
2590
+ No authorization required
2591
+
2592
+ ### HTTP request headers
2593
+
2594
+ - **Content-Type**: application/json
2595
+ - **Accept**: application/json
2596
+