diff --git a/README.md b/README.md
index 431c77ab..d3bea8d1 100644
--- a/README.md
+++ b/README.md
@@ -25,21 +25,21 @@ Then add the dependencies you need:
com.fastcomments
client
- 3.0.1
+ 3.1.0
com.fastcomments
core
- 3.0.1
+ 3.1.0
com.fastcomments
pubsub
- 3.0.1
+ 3.1.0
```
@@ -58,13 +58,13 @@ repositories {
dependencies {
// API Client
- implementation "com.fastcomments:client:3.0.1"
+ implementation "com.fastcomments:client:3.1.0"
// Core Library (includes SSO)
- implementation "com.fastcomments:core:3.0.1"
+ implementation "com.fastcomments:core:3.1.0"
// PubSub Library (for live events)
- implementation "com.fastcomments:pubsub:3.0.1"
+ implementation "com.fastcomments:pubsub:3.1.0"
}
```
diff --git a/client/.openapi-generator/FILES b/client/.openapi-generator/FILES
index 947bc5b4..0b97f8a7 100644
--- a/client/.openapi-generator/FILES
+++ b/client/.openapi-generator/FILES
@@ -10,6 +10,8 @@ docs/APIBanUserChangeLog.md
docs/APIBanUserChangedValues.md
docs/APIBannedUser.md
docs/APIBannedUserWithMultiMatchInfo.md
+docs/APIBatchJob.md
+docs/APIBatchJobPageMigrationResultsInner.md
docs/APIComment.md
docs/APICommentBase.md
docs/APICommentBaseMeta.md
@@ -86,10 +88,22 @@ docs/CommentHTMLRenderingMode.md
docs/CommentLogData.md
docs/CommentLogEntry.md
docs/CommentLogType.md
+docs/CommentPoll.md
+docs/CommentPollInput.md
+docs/CommentPollOption.md
+docs/CommentPollOptionInput.md
+docs/CommentPollPatch.md
+docs/CommentPollPatchOptionsInner.md
+docs/CommentPollPutInput.md
docs/CommentQuestionResultsRenderingType.md
docs/CommentQuestionsRequired.md
docs/CommentTextUpdateRequest.md
docs/CommentThreadDeletionMode.md
+docs/CommentTranslation.md
+docs/CommentTranslationMode.md
+docs/CommentTranslationPublic.md
+docs/CommentTranslationsRequest.md
+docs/CommentTranslationsResponse.md
docs/CommentUserBadgeInfo.md
docs/CommentUserHashTagInfo.md
docs/CommentUserMentionInfo.md
@@ -98,6 +112,8 @@ docs/CommentsByIdsParams.md
docs/CreateAPIPageData.md
docs/CreateAPISSOUserData.md
docs/CreateAPIUserSubscriptionData.md
+docs/CreateAgentTenantBody.md
+docs/CreateAgentTenantResponse.md
docs/CreateCommentParams.md
docs/CreateEmailTemplateBody.md
docs/CreateEmailTemplateResponse.md
@@ -108,6 +124,8 @@ docs/CreateHashTagBody.md
docs/CreateHashTagResponse.md
docs/CreateModeratorBody.md
docs/CreateModeratorResponse.md
+docs/CreatePollVoteBody.md
+docs/CreatePollVoteResponse.md
docs/CreateQuestionConfigBody.md
docs/CreateQuestionConfigResponse.md
docs/CreateQuestionResultBody.md
@@ -123,6 +141,8 @@ docs/CreateTicketBody.md
docs/CreateTicketResponse.md
docs/CreateUserBadgeParams.md
docs/CreateV1PageReact.md
+docs/CreateWebhookParams.md
+docs/CreateWebhookResponse.md
docs/CustomConfigParameters.md
docs/CustomEmailTemplate.md
docs/DefaultApi.md
@@ -132,6 +152,7 @@ docs/DeleteDomainConfigResponse.md
docs/DeleteFeedPostPublicResponse.md
docs/DeleteHashTagRequestBody.md
docs/DeletePageAPIResponse.md
+docs/DeletePollVoteResponse.md
docs/DeleteSSOUserAPIResponse.md
docs/DeleteSubscriptionAPIResponse.md
docs/DeletedCommentResultComment.md
@@ -153,6 +174,8 @@ docs/FlagCommentResponse.md
docs/GetAuditLogsResponse.md
docs/GetBannedUsersCountResponse.md
docs/GetBannedUsersFromCommentResponse.md
+docs/GetBatchJobAPIResponse.md
+docs/GetBatchJobsAPIResponse.md
docs/GetCachedNotificationCountResponse.md
docs/GetCommentBanStatusResponse.md
docs/GetCommentTextResponse.md
@@ -173,15 +196,21 @@ docs/GetFeedPostsResponse.md
docs/GetGifsSearchResponse.md
docs/GetGifsTrendingResponse.md
docs/GetHashTagsResponse.md
+docs/GetMeResponse.md
docs/GetModeratorResponse.md
docs/GetModeratorsResponse.md
docs/GetMyNotificationsResponse.md
docs/GetNotificationCountResponse.md
docs/GetNotificationsResponse.md
docs/GetPageByURLIdAPIResponse.md
+docs/GetPageLikesAPIResponse.md
+docs/GetPageReactsAPIResponse.md
docs/GetPagesAPIResponse.md
docs/GetPendingWebhookEventCountResponse.md
docs/GetPendingWebhookEventsResponse.md
+docs/GetPollResponse.md
+docs/GetPollVoteResponse.md
+docs/GetPollVotesResponse.md
docs/GetPublicFeedPostsResponse.md
docs/GetPublicPagesResponse.md
docs/GetQuestionConfigResponse.md
@@ -215,6 +244,8 @@ docs/GetV2PageReactUsersResponse.md
docs/GetV2PageReacts.md
docs/GetVotesForUserResponse.md
docs/GetVotesResponse.md
+docs/GetWebhookSamplePayloadsResponse.md
+docs/GetWebhooksResponse.md
docs/GifGetLargeResponse.md
docs/GifRating.md
docs/GifSearchInternalError.md
@@ -229,9 +260,11 @@ docs/ImportedSiteType.md
docs/LiveEvent.md
docs/LiveEventExtraInfo.md
docs/LiveEventType.md
+docs/MeAuthType.md
docs/MediaAsset.md
docs/MentionAutoCompleteMode.md
docs/MetaItem.md
+docs/MigrateAPIPagesData.md
docs/ModerationAPIChildCommentsResponse.md
docs/ModerationAPIComment.md
docs/ModerationAPICommentLog.md
@@ -255,7 +288,17 @@ docs/ModerationUserSearchResponse.md
docs/Moderator.md
docs/NotificationAndCount.md
docs/NotificationObjectType.md
+docs/NotificationSkipReason.md
docs/NotificationType.md
+docs/OAuthScope.md
+docs/PageCustomReactUser.md
+docs/PageMigration.md
+docs/PageMigrationFailure.md
+docs/PageMigrationSuccess.md
+docs/PageMigrationType.md
+docs/PageMigrationUndoCounts.md
+docs/PageReactIncludeUserInfo.md
+docs/PageReactUser.md
docs/PageUserEntry.md
docs/PageUsersInfoResponse.md
docs/PageUsersOfflineResponse.md
@@ -266,6 +309,10 @@ docs/PatchDomainConfigResponse.md
docs/PatchPageAPIResponse.md
docs/PatchSSOUserAPIResponse.md
docs/PendingCommentToSyncOutbound.md
+docs/PickCommentPollOptionsOrTotalVotesOrClosesAt.md
+docs/PollCreationMode.md
+docs/PollPrivacy.md
+docs/PollVotingMode.md
docs/PostRemoveCommentApiResponse.md
docs/PreBanSummary.md
docs/PubSubComment.md
@@ -280,11 +327,15 @@ docs/PublicComment.md
docs/PublicCommentBase.md
docs/PublicFeedPostsResponse.md
docs/PublicPage.md
+docs/PublicPollVote.md
docs/PublicVote.md
+docs/PublicWebhook.md
docs/PutDomainConfigResponse.md
docs/PutSSOUserAPIResponse.md
docs/QueryPredicate.md
docs/QueryPredicateValue.md
+docs/QuestionCondition.md
+docs/QuestionConditionOperator.md
docs/QuestionConfig.md
docs/QuestionConfigCustomOptionsInner.md
docs/QuestionDatum.md
@@ -293,9 +344,11 @@ docs/QuestionResult.md
docs/QuestionResultAggregationOverall.md
docs/QuestionSubQuestionVisibility.md
docs/QuestionWhenSave.md
+docs/QueuePageMigrationJobAPIResponse.md
docs/ReactBodyParams.md
docs/ReactFeedPostResponse.md
docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md
+docs/RecordStringStringOrNumberOrNumberArrayValue.md
docs/RemoveCommentActionResponse.md
docs/RemoveUserBadgeResponse.md
docs/RenderEmailTemplateBody.md
@@ -311,6 +364,7 @@ docs/SSOSecurityLevel.md
docs/SaveCommentResponseOptimized.md
docs/SaveCommentsBulkResponse.md
docs/SaveCommentsResponseWithPresence.md
+docs/SavePollResponse.md
docs/SearchUsersResponse.md
docs/SearchUsersResult.md
docs/SearchUsersSectionedResponse.md
@@ -322,6 +376,7 @@ docs/SetUserTrustFactorResponse.md
docs/SizePreset.md
docs/SortDirections.md
docs/SpamRule.md
+docs/SubQuestionCondition.md
docs/TOSConfig.md
docs/TenantBadge.md
docs/TenantHashTag.md
@@ -368,6 +423,10 @@ docs/VoteDeleteResponse.md
docs/VoteResponse.md
docs/VoteResponseUser.md
docs/VoteStyle.md
+docs/WebhookComment.md
+docs/WebhookEventName.md
+docs/WebhookHTTPMethod.md
+docs/WebhookSource.md
git_push.sh
gradle.properties
gradle/wrapper/gradle-wrapper.jar
@@ -402,6 +461,8 @@ src/main/java/com/fastcomments/model/APIBanUserChangeLog.java
src/main/java/com/fastcomments/model/APIBanUserChangedValues.java
src/main/java/com/fastcomments/model/APIBannedUser.java
src/main/java/com/fastcomments/model/APIBannedUserWithMultiMatchInfo.java
+src/main/java/com/fastcomments/model/APIBatchJob.java
+src/main/java/com/fastcomments/model/APIBatchJobPageMigrationResultsInner.java
src/main/java/com/fastcomments/model/APIComment.java
src/main/java/com/fastcomments/model/APICommentBase.java
src/main/java/com/fastcomments/model/APICommentBaseMeta.java
@@ -479,10 +540,22 @@ src/main/java/com/fastcomments/model/CommentHTMLRenderingMode.java
src/main/java/com/fastcomments/model/CommentLogData.java
src/main/java/com/fastcomments/model/CommentLogEntry.java
src/main/java/com/fastcomments/model/CommentLogType.java
+src/main/java/com/fastcomments/model/CommentPoll.java
+src/main/java/com/fastcomments/model/CommentPollInput.java
+src/main/java/com/fastcomments/model/CommentPollOption.java
+src/main/java/com/fastcomments/model/CommentPollOptionInput.java
+src/main/java/com/fastcomments/model/CommentPollPatch.java
+src/main/java/com/fastcomments/model/CommentPollPatchOptionsInner.java
+src/main/java/com/fastcomments/model/CommentPollPutInput.java
src/main/java/com/fastcomments/model/CommentQuestionResultsRenderingType.java
src/main/java/com/fastcomments/model/CommentQuestionsRequired.java
src/main/java/com/fastcomments/model/CommentTextUpdateRequest.java
src/main/java/com/fastcomments/model/CommentThreadDeletionMode.java
+src/main/java/com/fastcomments/model/CommentTranslation.java
+src/main/java/com/fastcomments/model/CommentTranslationMode.java
+src/main/java/com/fastcomments/model/CommentTranslationPublic.java
+src/main/java/com/fastcomments/model/CommentTranslationsRequest.java
+src/main/java/com/fastcomments/model/CommentTranslationsResponse.java
src/main/java/com/fastcomments/model/CommentUserBadgeInfo.java
src/main/java/com/fastcomments/model/CommentUserHashTagInfo.java
src/main/java/com/fastcomments/model/CommentUserMentionInfo.java
@@ -491,6 +564,8 @@ src/main/java/com/fastcomments/model/CommentsByIdsParams.java
src/main/java/com/fastcomments/model/CreateAPIPageData.java
src/main/java/com/fastcomments/model/CreateAPISSOUserData.java
src/main/java/com/fastcomments/model/CreateAPIUserSubscriptionData.java
+src/main/java/com/fastcomments/model/CreateAgentTenantBody.java
+src/main/java/com/fastcomments/model/CreateAgentTenantResponse.java
src/main/java/com/fastcomments/model/CreateCommentParams.java
src/main/java/com/fastcomments/model/CreateEmailTemplateBody.java
src/main/java/com/fastcomments/model/CreateEmailTemplateResponse.java
@@ -501,6 +576,8 @@ src/main/java/com/fastcomments/model/CreateHashTagBody.java
src/main/java/com/fastcomments/model/CreateHashTagResponse.java
src/main/java/com/fastcomments/model/CreateModeratorBody.java
src/main/java/com/fastcomments/model/CreateModeratorResponse.java
+src/main/java/com/fastcomments/model/CreatePollVoteBody.java
+src/main/java/com/fastcomments/model/CreatePollVoteResponse.java
src/main/java/com/fastcomments/model/CreateQuestionConfigBody.java
src/main/java/com/fastcomments/model/CreateQuestionConfigResponse.java
src/main/java/com/fastcomments/model/CreateQuestionResultBody.java
@@ -516,6 +593,8 @@ src/main/java/com/fastcomments/model/CreateTicketBody.java
src/main/java/com/fastcomments/model/CreateTicketResponse.java
src/main/java/com/fastcomments/model/CreateUserBadgeParams.java
src/main/java/com/fastcomments/model/CreateV1PageReact.java
+src/main/java/com/fastcomments/model/CreateWebhookParams.java
+src/main/java/com/fastcomments/model/CreateWebhookResponse.java
src/main/java/com/fastcomments/model/CustomConfigParameters.java
src/main/java/com/fastcomments/model/CustomEmailTemplate.java
src/main/java/com/fastcomments/model/DeleteCommentAction.java
@@ -524,6 +603,7 @@ src/main/java/com/fastcomments/model/DeleteDomainConfigResponse.java
src/main/java/com/fastcomments/model/DeleteFeedPostPublicResponse.java
src/main/java/com/fastcomments/model/DeleteHashTagRequestBody.java
src/main/java/com/fastcomments/model/DeletePageAPIResponse.java
+src/main/java/com/fastcomments/model/DeletePollVoteResponse.java
src/main/java/com/fastcomments/model/DeleteSSOUserAPIResponse.java
src/main/java/com/fastcomments/model/DeleteSubscriptionAPIResponse.java
src/main/java/com/fastcomments/model/DeletedCommentResultComment.java
@@ -545,6 +625,8 @@ src/main/java/com/fastcomments/model/FlagCommentResponse.java
src/main/java/com/fastcomments/model/GetAuditLogsResponse.java
src/main/java/com/fastcomments/model/GetBannedUsersCountResponse.java
src/main/java/com/fastcomments/model/GetBannedUsersFromCommentResponse.java
+src/main/java/com/fastcomments/model/GetBatchJobAPIResponse.java
+src/main/java/com/fastcomments/model/GetBatchJobsAPIResponse.java
src/main/java/com/fastcomments/model/GetCachedNotificationCountResponse.java
src/main/java/com/fastcomments/model/GetCommentBanStatusResponse.java
src/main/java/com/fastcomments/model/GetCommentTextResponse.java
@@ -565,15 +647,21 @@ src/main/java/com/fastcomments/model/GetFeedPostsResponse.java
src/main/java/com/fastcomments/model/GetGifsSearchResponse.java
src/main/java/com/fastcomments/model/GetGifsTrendingResponse.java
src/main/java/com/fastcomments/model/GetHashTagsResponse.java
+src/main/java/com/fastcomments/model/GetMeResponse.java
src/main/java/com/fastcomments/model/GetModeratorResponse.java
src/main/java/com/fastcomments/model/GetModeratorsResponse.java
src/main/java/com/fastcomments/model/GetMyNotificationsResponse.java
src/main/java/com/fastcomments/model/GetNotificationCountResponse.java
src/main/java/com/fastcomments/model/GetNotificationsResponse.java
src/main/java/com/fastcomments/model/GetPageByURLIdAPIResponse.java
+src/main/java/com/fastcomments/model/GetPageLikesAPIResponse.java
+src/main/java/com/fastcomments/model/GetPageReactsAPIResponse.java
src/main/java/com/fastcomments/model/GetPagesAPIResponse.java
src/main/java/com/fastcomments/model/GetPendingWebhookEventCountResponse.java
src/main/java/com/fastcomments/model/GetPendingWebhookEventsResponse.java
+src/main/java/com/fastcomments/model/GetPollResponse.java
+src/main/java/com/fastcomments/model/GetPollVoteResponse.java
+src/main/java/com/fastcomments/model/GetPollVotesResponse.java
src/main/java/com/fastcomments/model/GetPublicFeedPostsResponse.java
src/main/java/com/fastcomments/model/GetPublicPagesResponse.java
src/main/java/com/fastcomments/model/GetQuestionConfigResponse.java
@@ -607,6 +695,8 @@ src/main/java/com/fastcomments/model/GetV2PageReactUsersResponse.java
src/main/java/com/fastcomments/model/GetV2PageReacts.java
src/main/java/com/fastcomments/model/GetVotesForUserResponse.java
src/main/java/com/fastcomments/model/GetVotesResponse.java
+src/main/java/com/fastcomments/model/GetWebhookSamplePayloadsResponse.java
+src/main/java/com/fastcomments/model/GetWebhooksResponse.java
src/main/java/com/fastcomments/model/GifGetLargeResponse.java
src/main/java/com/fastcomments/model/GifRating.java
src/main/java/com/fastcomments/model/GifSearchInternalError.java
@@ -621,9 +711,11 @@ src/main/java/com/fastcomments/model/ImportedSiteType.java
src/main/java/com/fastcomments/model/LiveEvent.java
src/main/java/com/fastcomments/model/LiveEventExtraInfo.java
src/main/java/com/fastcomments/model/LiveEventType.java
+src/main/java/com/fastcomments/model/MeAuthType.java
src/main/java/com/fastcomments/model/MediaAsset.java
src/main/java/com/fastcomments/model/MentionAutoCompleteMode.java
src/main/java/com/fastcomments/model/MetaItem.java
+src/main/java/com/fastcomments/model/MigrateAPIPagesData.java
src/main/java/com/fastcomments/model/ModerationAPIChildCommentsResponse.java
src/main/java/com/fastcomments/model/ModerationAPIComment.java
src/main/java/com/fastcomments/model/ModerationAPICommentLog.java
@@ -646,7 +738,17 @@ src/main/java/com/fastcomments/model/ModerationUserSearchResponse.java
src/main/java/com/fastcomments/model/Moderator.java
src/main/java/com/fastcomments/model/NotificationAndCount.java
src/main/java/com/fastcomments/model/NotificationObjectType.java
+src/main/java/com/fastcomments/model/NotificationSkipReason.java
src/main/java/com/fastcomments/model/NotificationType.java
+src/main/java/com/fastcomments/model/OAuthScope.java
+src/main/java/com/fastcomments/model/PageCustomReactUser.java
+src/main/java/com/fastcomments/model/PageMigration.java
+src/main/java/com/fastcomments/model/PageMigrationFailure.java
+src/main/java/com/fastcomments/model/PageMigrationSuccess.java
+src/main/java/com/fastcomments/model/PageMigrationType.java
+src/main/java/com/fastcomments/model/PageMigrationUndoCounts.java
+src/main/java/com/fastcomments/model/PageReactIncludeUserInfo.java
+src/main/java/com/fastcomments/model/PageReactUser.java
src/main/java/com/fastcomments/model/PageUserEntry.java
src/main/java/com/fastcomments/model/PageUsersInfoResponse.java
src/main/java/com/fastcomments/model/PageUsersOfflineResponse.java
@@ -657,6 +759,10 @@ src/main/java/com/fastcomments/model/PatchDomainConfigResponse.java
src/main/java/com/fastcomments/model/PatchPageAPIResponse.java
src/main/java/com/fastcomments/model/PatchSSOUserAPIResponse.java
src/main/java/com/fastcomments/model/PendingCommentToSyncOutbound.java
+src/main/java/com/fastcomments/model/PickCommentPollOptionsOrTotalVotesOrClosesAt.java
+src/main/java/com/fastcomments/model/PollCreationMode.java
+src/main/java/com/fastcomments/model/PollPrivacy.java
+src/main/java/com/fastcomments/model/PollVotingMode.java
src/main/java/com/fastcomments/model/PostRemoveCommentApiResponse.java
src/main/java/com/fastcomments/model/PreBanSummary.java
src/main/java/com/fastcomments/model/PubSubComment.java
@@ -670,11 +776,15 @@ src/main/java/com/fastcomments/model/PublicComment.java
src/main/java/com/fastcomments/model/PublicCommentBase.java
src/main/java/com/fastcomments/model/PublicFeedPostsResponse.java
src/main/java/com/fastcomments/model/PublicPage.java
+src/main/java/com/fastcomments/model/PublicPollVote.java
src/main/java/com/fastcomments/model/PublicVote.java
+src/main/java/com/fastcomments/model/PublicWebhook.java
src/main/java/com/fastcomments/model/PutDomainConfigResponse.java
src/main/java/com/fastcomments/model/PutSSOUserAPIResponse.java
src/main/java/com/fastcomments/model/QueryPredicate.java
src/main/java/com/fastcomments/model/QueryPredicateValue.java
+src/main/java/com/fastcomments/model/QuestionCondition.java
+src/main/java/com/fastcomments/model/QuestionConditionOperator.java
src/main/java/com/fastcomments/model/QuestionConfig.java
src/main/java/com/fastcomments/model/QuestionConfigCustomOptionsInner.java
src/main/java/com/fastcomments/model/QuestionDatum.java
@@ -683,9 +793,11 @@ src/main/java/com/fastcomments/model/QuestionResult.java
src/main/java/com/fastcomments/model/QuestionResultAggregationOverall.java
src/main/java/com/fastcomments/model/QuestionSubQuestionVisibility.java
src/main/java/com/fastcomments/model/QuestionWhenSave.java
+src/main/java/com/fastcomments/model/QueuePageMigrationJobAPIResponse.java
src/main/java/com/fastcomments/model/ReactBodyParams.java
src/main/java/com/fastcomments/model/ReactFeedPostResponse.java
src/main/java/com/fastcomments/model/RecordStringBeforeStringOrNullAfterStringOrNullValue.java
+src/main/java/com/fastcomments/model/RecordStringStringOrNumberOrNumberArrayValue.java
src/main/java/com/fastcomments/model/RemoveCommentActionResponse.java
src/main/java/com/fastcomments/model/RemoveUserBadgeResponse.java
src/main/java/com/fastcomments/model/RenderEmailTemplateBody.java
@@ -701,6 +813,7 @@ src/main/java/com/fastcomments/model/SSOSecurityLevel.java
src/main/java/com/fastcomments/model/SaveCommentResponseOptimized.java
src/main/java/com/fastcomments/model/SaveCommentsBulkResponse.java
src/main/java/com/fastcomments/model/SaveCommentsResponseWithPresence.java
+src/main/java/com/fastcomments/model/SavePollResponse.java
src/main/java/com/fastcomments/model/SearchUsersResponse.java
src/main/java/com/fastcomments/model/SearchUsersResult.java
src/main/java/com/fastcomments/model/SearchUsersSectionedResponse.java
@@ -712,6 +825,7 @@ src/main/java/com/fastcomments/model/SetUserTrustFactorResponse.java
src/main/java/com/fastcomments/model/SizePreset.java
src/main/java/com/fastcomments/model/SortDirections.java
src/main/java/com/fastcomments/model/SpamRule.java
+src/main/java/com/fastcomments/model/SubQuestionCondition.java
src/main/java/com/fastcomments/model/TOSConfig.java
src/main/java/com/fastcomments/model/TenantBadge.java
src/main/java/com/fastcomments/model/TenantHashTag.java
@@ -758,6 +872,10 @@ src/main/java/com/fastcomments/model/VoteDeleteResponse.java
src/main/java/com/fastcomments/model/VoteResponse.java
src/main/java/com/fastcomments/model/VoteResponseUser.java
src/main/java/com/fastcomments/model/VoteStyle.java
+src/main/java/com/fastcomments/model/WebhookComment.java
+src/main/java/com/fastcomments/model/WebhookEventName.java
+src/main/java/com/fastcomments/model/WebhookHTTPMethod.java
+src/main/java/com/fastcomments/model/WebhookSource.java
src/test/java/com/fastcomments/api/DefaultApiTest.java
src/test/java/com/fastcomments/api/ModerationApiTest.java
src/test/java/com/fastcomments/api/PublicApiTest.java
@@ -766,6 +884,8 @@ src/test/java/com/fastcomments/model/APIBanUserChangeLogTest.java
src/test/java/com/fastcomments/model/APIBanUserChangedValuesTest.java
src/test/java/com/fastcomments/model/APIBannedUserTest.java
src/test/java/com/fastcomments/model/APIBannedUserWithMultiMatchInfoTest.java
+src/test/java/com/fastcomments/model/APIBatchJobPageMigrationResultsInnerTest.java
+src/test/java/com/fastcomments/model/APIBatchJobTest.java
src/test/java/com/fastcomments/model/APICommentBaseMetaTest.java
src/test/java/com/fastcomments/model/APICommentBaseTest.java
src/test/java/com/fastcomments/model/APICommentCommonBannedUserTest.java
@@ -842,10 +962,22 @@ src/test/java/com/fastcomments/model/CommentHTMLRenderingModeTest.java
src/test/java/com/fastcomments/model/CommentLogDataTest.java
src/test/java/com/fastcomments/model/CommentLogEntryTest.java
src/test/java/com/fastcomments/model/CommentLogTypeTest.java
+src/test/java/com/fastcomments/model/CommentPollInputTest.java
+src/test/java/com/fastcomments/model/CommentPollOptionInputTest.java
+src/test/java/com/fastcomments/model/CommentPollOptionTest.java
+src/test/java/com/fastcomments/model/CommentPollPatchOptionsInnerTest.java
+src/test/java/com/fastcomments/model/CommentPollPatchTest.java
+src/test/java/com/fastcomments/model/CommentPollPutInputTest.java
+src/test/java/com/fastcomments/model/CommentPollTest.java
src/test/java/com/fastcomments/model/CommentQuestionResultsRenderingTypeTest.java
src/test/java/com/fastcomments/model/CommentQuestionsRequiredTest.java
src/test/java/com/fastcomments/model/CommentTextUpdateRequestTest.java
src/test/java/com/fastcomments/model/CommentThreadDeletionModeTest.java
+src/test/java/com/fastcomments/model/CommentTranslationModeTest.java
+src/test/java/com/fastcomments/model/CommentTranslationPublicTest.java
+src/test/java/com/fastcomments/model/CommentTranslationTest.java
+src/test/java/com/fastcomments/model/CommentTranslationsRequestTest.java
+src/test/java/com/fastcomments/model/CommentTranslationsResponseTest.java
src/test/java/com/fastcomments/model/CommentUserBadgeInfoTest.java
src/test/java/com/fastcomments/model/CommentUserHashTagInfoTest.java
src/test/java/com/fastcomments/model/CommentUserMentionInfoTest.java
@@ -854,6 +986,8 @@ src/test/java/com/fastcomments/model/CommentsByIdsParamsTest.java
src/test/java/com/fastcomments/model/CreateAPIPageDataTest.java
src/test/java/com/fastcomments/model/CreateAPISSOUserDataTest.java
src/test/java/com/fastcomments/model/CreateAPIUserSubscriptionDataTest.java
+src/test/java/com/fastcomments/model/CreateAgentTenantBodyTest.java
+src/test/java/com/fastcomments/model/CreateAgentTenantResponseTest.java
src/test/java/com/fastcomments/model/CreateCommentParamsTest.java
src/test/java/com/fastcomments/model/CreateEmailTemplateBodyTest.java
src/test/java/com/fastcomments/model/CreateEmailTemplateResponseTest.java
@@ -864,6 +998,8 @@ src/test/java/com/fastcomments/model/CreateHashTagBodyTest.java
src/test/java/com/fastcomments/model/CreateHashTagResponseTest.java
src/test/java/com/fastcomments/model/CreateModeratorBodyTest.java
src/test/java/com/fastcomments/model/CreateModeratorResponseTest.java
+src/test/java/com/fastcomments/model/CreatePollVoteBodyTest.java
+src/test/java/com/fastcomments/model/CreatePollVoteResponseTest.java
src/test/java/com/fastcomments/model/CreateQuestionConfigBodyTest.java
src/test/java/com/fastcomments/model/CreateQuestionConfigResponseTest.java
src/test/java/com/fastcomments/model/CreateQuestionResultBodyTest.java
@@ -879,6 +1015,8 @@ src/test/java/com/fastcomments/model/CreateTicketBodyTest.java
src/test/java/com/fastcomments/model/CreateTicketResponseTest.java
src/test/java/com/fastcomments/model/CreateUserBadgeParamsTest.java
src/test/java/com/fastcomments/model/CreateV1PageReactTest.java
+src/test/java/com/fastcomments/model/CreateWebhookParamsTest.java
+src/test/java/com/fastcomments/model/CreateWebhookResponseTest.java
src/test/java/com/fastcomments/model/CustomConfigParametersTest.java
src/test/java/com/fastcomments/model/CustomEmailTemplateTest.java
src/test/java/com/fastcomments/model/DeleteCommentActionTest.java
@@ -887,6 +1025,7 @@ src/test/java/com/fastcomments/model/DeleteDomainConfigResponseTest.java
src/test/java/com/fastcomments/model/DeleteFeedPostPublicResponseTest.java
src/test/java/com/fastcomments/model/DeleteHashTagRequestBodyTest.java
src/test/java/com/fastcomments/model/DeletePageAPIResponseTest.java
+src/test/java/com/fastcomments/model/DeletePollVoteResponseTest.java
src/test/java/com/fastcomments/model/DeleteSSOUserAPIResponseTest.java
src/test/java/com/fastcomments/model/DeleteSubscriptionAPIResponseTest.java
src/test/java/com/fastcomments/model/DeletedCommentResultCommentTest.java
@@ -908,6 +1047,8 @@ src/test/java/com/fastcomments/model/FlagCommentResponseTest.java
src/test/java/com/fastcomments/model/GetAuditLogsResponseTest.java
src/test/java/com/fastcomments/model/GetBannedUsersCountResponseTest.java
src/test/java/com/fastcomments/model/GetBannedUsersFromCommentResponseTest.java
+src/test/java/com/fastcomments/model/GetBatchJobAPIResponseTest.java
+src/test/java/com/fastcomments/model/GetBatchJobsAPIResponseTest.java
src/test/java/com/fastcomments/model/GetCachedNotificationCountResponseTest.java
src/test/java/com/fastcomments/model/GetCommentBanStatusResponseTest.java
src/test/java/com/fastcomments/model/GetCommentTextResponseTest.java
@@ -928,15 +1069,21 @@ src/test/java/com/fastcomments/model/GetFeedPostsResponseTest.java
src/test/java/com/fastcomments/model/GetGifsSearchResponseTest.java
src/test/java/com/fastcomments/model/GetGifsTrendingResponseTest.java
src/test/java/com/fastcomments/model/GetHashTagsResponseTest.java
+src/test/java/com/fastcomments/model/GetMeResponseTest.java
src/test/java/com/fastcomments/model/GetModeratorResponseTest.java
src/test/java/com/fastcomments/model/GetModeratorsResponseTest.java
src/test/java/com/fastcomments/model/GetMyNotificationsResponseTest.java
src/test/java/com/fastcomments/model/GetNotificationCountResponseTest.java
src/test/java/com/fastcomments/model/GetNotificationsResponseTest.java
src/test/java/com/fastcomments/model/GetPageByURLIdAPIResponseTest.java
+src/test/java/com/fastcomments/model/GetPageLikesAPIResponseTest.java
+src/test/java/com/fastcomments/model/GetPageReactsAPIResponseTest.java
src/test/java/com/fastcomments/model/GetPagesAPIResponseTest.java
src/test/java/com/fastcomments/model/GetPendingWebhookEventCountResponseTest.java
src/test/java/com/fastcomments/model/GetPendingWebhookEventsResponseTest.java
+src/test/java/com/fastcomments/model/GetPollResponseTest.java
+src/test/java/com/fastcomments/model/GetPollVoteResponseTest.java
+src/test/java/com/fastcomments/model/GetPollVotesResponseTest.java
src/test/java/com/fastcomments/model/GetPublicFeedPostsResponseTest.java
src/test/java/com/fastcomments/model/GetPublicPagesResponseTest.java
src/test/java/com/fastcomments/model/GetQuestionConfigResponseTest.java
@@ -970,6 +1117,8 @@ src/test/java/com/fastcomments/model/GetV2PageReactUsersResponseTest.java
src/test/java/com/fastcomments/model/GetV2PageReactsTest.java
src/test/java/com/fastcomments/model/GetVotesForUserResponseTest.java
src/test/java/com/fastcomments/model/GetVotesResponseTest.java
+src/test/java/com/fastcomments/model/GetWebhookSamplePayloadsResponseTest.java
+src/test/java/com/fastcomments/model/GetWebhooksResponseTest.java
src/test/java/com/fastcomments/model/GifGetLargeResponseTest.java
src/test/java/com/fastcomments/model/GifRatingTest.java
src/test/java/com/fastcomments/model/GifSearchInternalErrorTest.java
@@ -984,9 +1133,11 @@ src/test/java/com/fastcomments/model/ImportedSiteTypeTest.java
src/test/java/com/fastcomments/model/LiveEventExtraInfoTest.java
src/test/java/com/fastcomments/model/LiveEventTest.java
src/test/java/com/fastcomments/model/LiveEventTypeTest.java
+src/test/java/com/fastcomments/model/MeAuthTypeTest.java
src/test/java/com/fastcomments/model/MediaAssetTest.java
src/test/java/com/fastcomments/model/MentionAutoCompleteModeTest.java
src/test/java/com/fastcomments/model/MetaItemTest.java
+src/test/java/com/fastcomments/model/MigrateAPIPagesDataTest.java
src/test/java/com/fastcomments/model/ModerationAPIChildCommentsResponseTest.java
src/test/java/com/fastcomments/model/ModerationAPICommentLogTest.java
src/test/java/com/fastcomments/model/ModerationAPICommentResponseTest.java
@@ -1009,7 +1160,17 @@ src/test/java/com/fastcomments/model/ModerationUserSearchResponseTest.java
src/test/java/com/fastcomments/model/ModeratorTest.java
src/test/java/com/fastcomments/model/NotificationAndCountTest.java
src/test/java/com/fastcomments/model/NotificationObjectTypeTest.java
+src/test/java/com/fastcomments/model/NotificationSkipReasonTest.java
src/test/java/com/fastcomments/model/NotificationTypeTest.java
+src/test/java/com/fastcomments/model/OAuthScopeTest.java
+src/test/java/com/fastcomments/model/PageCustomReactUserTest.java
+src/test/java/com/fastcomments/model/PageMigrationFailureTest.java
+src/test/java/com/fastcomments/model/PageMigrationSuccessTest.java
+src/test/java/com/fastcomments/model/PageMigrationTest.java
+src/test/java/com/fastcomments/model/PageMigrationTypeTest.java
+src/test/java/com/fastcomments/model/PageMigrationUndoCountsTest.java
+src/test/java/com/fastcomments/model/PageReactIncludeUserInfoTest.java
+src/test/java/com/fastcomments/model/PageReactUserTest.java
src/test/java/com/fastcomments/model/PageUserEntryTest.java
src/test/java/com/fastcomments/model/PageUsersInfoResponseTest.java
src/test/java/com/fastcomments/model/PageUsersOfflineResponseTest.java
@@ -1020,6 +1181,10 @@ src/test/java/com/fastcomments/model/PatchDomainConfigResponseTest.java
src/test/java/com/fastcomments/model/PatchPageAPIResponseTest.java
src/test/java/com/fastcomments/model/PatchSSOUserAPIResponseTest.java
src/test/java/com/fastcomments/model/PendingCommentToSyncOutboundTest.java
+src/test/java/com/fastcomments/model/PickCommentPollOptionsOrTotalVotesOrClosesAtTest.java
+src/test/java/com/fastcomments/model/PollCreationModeTest.java
+src/test/java/com/fastcomments/model/PollPrivacyTest.java
+src/test/java/com/fastcomments/model/PollVotingModeTest.java
src/test/java/com/fastcomments/model/PostRemoveCommentApiResponseTest.java
src/test/java/com/fastcomments/model/PreBanSummaryTest.java
src/test/java/com/fastcomments/model/PubSubCommentBaseTest.java
@@ -1033,11 +1198,15 @@ src/test/java/com/fastcomments/model/PublicCommentBaseTest.java
src/test/java/com/fastcomments/model/PublicCommentTest.java
src/test/java/com/fastcomments/model/PublicFeedPostsResponseTest.java
src/test/java/com/fastcomments/model/PublicPageTest.java
+src/test/java/com/fastcomments/model/PublicPollVoteTest.java
src/test/java/com/fastcomments/model/PublicVoteTest.java
+src/test/java/com/fastcomments/model/PublicWebhookTest.java
src/test/java/com/fastcomments/model/PutDomainConfigResponseTest.java
src/test/java/com/fastcomments/model/PutSSOUserAPIResponseTest.java
src/test/java/com/fastcomments/model/QueryPredicateTest.java
src/test/java/com/fastcomments/model/QueryPredicateValueTest.java
+src/test/java/com/fastcomments/model/QuestionConditionOperatorTest.java
+src/test/java/com/fastcomments/model/QuestionConditionTest.java
src/test/java/com/fastcomments/model/QuestionConfigCustomOptionsInnerTest.java
src/test/java/com/fastcomments/model/QuestionConfigTest.java
src/test/java/com/fastcomments/model/QuestionDatumTest.java
@@ -1046,9 +1215,11 @@ src/test/java/com/fastcomments/model/QuestionResultAggregationOverallTest.java
src/test/java/com/fastcomments/model/QuestionResultTest.java
src/test/java/com/fastcomments/model/QuestionSubQuestionVisibilityTest.java
src/test/java/com/fastcomments/model/QuestionWhenSaveTest.java
+src/test/java/com/fastcomments/model/QueuePageMigrationJobAPIResponseTest.java
src/test/java/com/fastcomments/model/ReactBodyParamsTest.java
src/test/java/com/fastcomments/model/ReactFeedPostResponseTest.java
src/test/java/com/fastcomments/model/RecordStringBeforeStringOrNullAfterStringOrNullValueTest.java
+src/test/java/com/fastcomments/model/RecordStringStringOrNumberOrNumberArrayValueTest.java
src/test/java/com/fastcomments/model/RemoveCommentActionResponseTest.java
src/test/java/com/fastcomments/model/RemoveUserBadgeResponseTest.java
src/test/java/com/fastcomments/model/RenderEmailTemplateBodyTest.java
@@ -1064,6 +1235,7 @@ src/test/java/com/fastcomments/model/SSOSecurityLevelTest.java
src/test/java/com/fastcomments/model/SaveCommentResponseOptimizedTest.java
src/test/java/com/fastcomments/model/SaveCommentsBulkResponseTest.java
src/test/java/com/fastcomments/model/SaveCommentsResponseWithPresenceTest.java
+src/test/java/com/fastcomments/model/SavePollResponseTest.java
src/test/java/com/fastcomments/model/SearchUsersResponseTest.java
src/test/java/com/fastcomments/model/SearchUsersResultTest.java
src/test/java/com/fastcomments/model/SearchUsersSectionedResponseTest.java
@@ -1075,6 +1247,7 @@ src/test/java/com/fastcomments/model/SetUserTrustFactorResponseTest.java
src/test/java/com/fastcomments/model/SizePresetTest.java
src/test/java/com/fastcomments/model/SortDirectionsTest.java
src/test/java/com/fastcomments/model/SpamRuleTest.java
+src/test/java/com/fastcomments/model/SubQuestionConditionTest.java
src/test/java/com/fastcomments/model/TOSConfigTest.java
src/test/java/com/fastcomments/model/TenantBadgeTest.java
src/test/java/com/fastcomments/model/TenantHashTagTest.java
@@ -1121,3 +1294,7 @@ src/test/java/com/fastcomments/model/VoteDeleteResponseTest.java
src/test/java/com/fastcomments/model/VoteResponseTest.java
src/test/java/com/fastcomments/model/VoteResponseUserTest.java
src/test/java/com/fastcomments/model/VoteStyleTest.java
+src/test/java/com/fastcomments/model/WebhookCommentTest.java
+src/test/java/com/fastcomments/model/WebhookEventNameTest.java
+src/test/java/com/fastcomments/model/WebhookHTTPMethodTest.java
+src/test/java/com/fastcomments/model/WebhookSourceTest.java
diff --git a/client/README.md b/client/README.md
index 8480f70a..5bf44026 100644
--- a/client/README.md
+++ b/client/README.md
@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
com.fastcomments
client
- 3.0.0
+ 3.1.0
compile
```
@@ -56,7 +56,7 @@ Add this dependency to your project's build file:
}
dependencies {
- implementation "com.fastcomments:client:3.0.0"
+ implementation "com.fastcomments:client:3.1.0"
}
```
@@ -70,7 +70,7 @@ mvn clean package
Then manually install the following JARs:
-* `target/client-3.0.0.jar`
+* `target/client-3.1.0.jar`
* `target/lib/*.jar`
## Getting Started
@@ -134,9 +134,11 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**bulkAggregateQuestionResults**](docs/DefaultApi.md#bulkAggregateQuestionResults) | **POST** /api/v1/question-results-aggregation/bulk |
*DefaultApi* | [**changeTicketState**](docs/DefaultApi.md#changeTicketState) | **PATCH** /api/v1/tickets/{id}/state |
*DefaultApi* | [**combineCommentsWithQuestionResults**](docs/DefaultApi.md#combineCommentsWithQuestionResults) | **GET** /api/v1/question-results-aggregation/combine/comments |
+*DefaultApi* | [**createAgentTenant**](docs/DefaultApi.md#createAgentTenant) | **POST** /api/v1/agent-tenants |
*DefaultApi* | [**createEmailTemplate**](docs/DefaultApi.md#createEmailTemplate) | **POST** /api/v1/email-templates |
*DefaultApi* | [**createFeedPost**](docs/DefaultApi.md#createFeedPost) | **POST** /api/v1/feed-posts |
*DefaultApi* | [**createModerator**](docs/DefaultApi.md#createModerator) | **POST** /api/v1/moderators |
+*DefaultApi* | [**createPollVote**](docs/DefaultApi.md#createPollVote) | **POST** /api/v1/poll-votes |
*DefaultApi* | [**createQuestionConfig**](docs/DefaultApi.md#createQuestionConfig) | **POST** /api/v1/question-configs |
*DefaultApi* | [**createQuestionResult**](docs/DefaultApi.md#createQuestionResult) | **POST** /api/v1/question-results |
*DefaultApi* | [**createSubscription**](docs/DefaultApi.md#createSubscription) | **POST** /api/v1/subscriptions |
@@ -146,6 +148,7 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**createTicket**](docs/DefaultApi.md#createTicket) | **POST** /api/v1/tickets |
*DefaultApi* | [**createUserBadge**](docs/DefaultApi.md#createUserBadge) | **POST** /api/v1/user-badges |
*DefaultApi* | [**createVote**](docs/DefaultApi.md#createVote) | **POST** /api/v1/votes |
+*DefaultApi* | [**createWebhook**](docs/DefaultApi.md#createWebhook) | **POST** /api/v1/webhooks |
*DefaultApi* | [**deleteComment**](docs/DefaultApi.md#deleteComment) | **DELETE** /api/v1/comments/{id} |
*DefaultApi* | [**deleteDomainConfig**](docs/DefaultApi.md#deleteDomainConfig) | **DELETE** /api/v1/domain-configs/{domain} |
*DefaultApi* | [**deleteEmailTemplate**](docs/DefaultApi.md#deleteEmailTemplate) | **DELETE** /api/v1/email-templates/{id} |
@@ -155,6 +158,8 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**deleteNotificationCount**](docs/DefaultApi.md#deleteNotificationCount) | **DELETE** /api/v1/notification-count/{id} |
*DefaultApi* | [**deletePage**](docs/DefaultApi.md#deletePage) | **DELETE** /api/v1/pages/{id} |
*DefaultApi* | [**deletePendingWebhookEvent**](docs/DefaultApi.md#deletePendingWebhookEvent) | **DELETE** /api/v1/pending-webhook-events/{id} |
+*DefaultApi* | [**deletePoll**](docs/DefaultApi.md#deletePoll) | **DELETE** /api/v1/polls/{commentId} |
+*DefaultApi* | [**deletePollVote**](docs/DefaultApi.md#deletePollVote) | **DELETE** /api/v1/poll-votes/{id} |
*DefaultApi* | [**deleteQuestionConfig**](docs/DefaultApi.md#deleteQuestionConfig) | **DELETE** /api/v1/question-configs/{id} |
*DefaultApi* | [**deleteQuestionResult**](docs/DefaultApi.md#deleteQuestionResult) | **DELETE** /api/v1/question-results/{id} |
*DefaultApi* | [**deleteSSOUser**](docs/DefaultApi.md#deleteSSOUser) | **DELETE** /api/v1/sso-users/{id} |
@@ -164,8 +169,11 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**deleteTenantUser**](docs/DefaultApi.md#deleteTenantUser) | **DELETE** /api/v1/tenant-users/{id} |
*DefaultApi* | [**deleteUserBadge**](docs/DefaultApi.md#deleteUserBadge) | **DELETE** /api/v1/user-badges/{id} |
*DefaultApi* | [**deleteVote**](docs/DefaultApi.md#deleteVote) | **DELETE** /api/v1/votes/{id} |
+*DefaultApi* | [**deleteWebhook**](docs/DefaultApi.md#deleteWebhook) | **DELETE** /api/v1/webhooks/{id} |
*DefaultApi* | [**flagComment**](docs/DefaultApi.md#flagComment) | **POST** /api/v1/comments/{id}/flag |
*DefaultApi* | [**getAuditLogs**](docs/DefaultApi.md#getAuditLogs) | **GET** /api/v1/audit-logs |
+*DefaultApi* | [**getBatchJob**](docs/DefaultApi.md#getBatchJob) | **GET** /api/v1/batch-jobs/{id} |
+*DefaultApi* | [**getBatchJobs**](docs/DefaultApi.md#getBatchJobs) | **GET** /api/v1/batch-jobs |
*DefaultApi* | [**getCachedNotificationCount**](docs/DefaultApi.md#getCachedNotificationCount) | **GET** /api/v1/notification-count/{id} |
*DefaultApi* | [**getComment**](docs/DefaultApi.md#getComment) | **GET** /api/v1/comments/{id} |
*DefaultApi* | [**getComments**](docs/DefaultApi.md#getComments) | **GET** /api/v1/comments |
@@ -177,14 +185,20 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**getEmailTemplates**](docs/DefaultApi.md#getEmailTemplates) | **GET** /api/v1/email-templates |
*DefaultApi* | [**getFeedPosts**](docs/DefaultApi.md#getFeedPosts) | **GET** /api/v1/feed-posts |
*DefaultApi* | [**getHashTags**](docs/DefaultApi.md#getHashTags) | **GET** /api/v1/hash-tags |
+*DefaultApi* | [**getMe**](docs/DefaultApi.md#getMe) | **GET** /api/v1/me |
*DefaultApi* | [**getModerator**](docs/DefaultApi.md#getModerator) | **GET** /api/v1/moderators/{id} |
*DefaultApi* | [**getModerators**](docs/DefaultApi.md#getModerators) | **GET** /api/v1/moderators |
*DefaultApi* | [**getNotificationCount**](docs/DefaultApi.md#getNotificationCount) | **GET** /api/v1/notifications/count |
*DefaultApi* | [**getNotifications**](docs/DefaultApi.md#getNotifications) | **GET** /api/v1/notifications |
*DefaultApi* | [**getPageByURLId**](docs/DefaultApi.md#getPageByURLId) | **GET** /api/v1/pages/by-url-id |
+*DefaultApi* | [**getPageLikes**](docs/DefaultApi.md#getPageLikes) | **GET** /api/v1/pages/likes |
+*DefaultApi* | [**getPageReacts**](docs/DefaultApi.md#getPageReacts) | **GET** /api/v1/pages/reacts |
*DefaultApi* | [**getPages**](docs/DefaultApi.md#getPages) | **GET** /api/v1/pages |
*DefaultApi* | [**getPendingWebhookEventCount**](docs/DefaultApi.md#getPendingWebhookEventCount) | **GET** /api/v1/pending-webhook-events/count |
*DefaultApi* | [**getPendingWebhookEvents**](docs/DefaultApi.md#getPendingWebhookEvents) | **GET** /api/v1/pending-webhook-events |
+*DefaultApi* | [**getPoll**](docs/DefaultApi.md#getPoll) | **GET** /api/v1/polls/{commentId} |
+*DefaultApi* | [**getPollVote**](docs/DefaultApi.md#getPollVote) | **GET** /api/v1/poll-votes/{id} |
+*DefaultApi* | [**getPollVotes**](docs/DefaultApi.md#getPollVotes) | **GET** /api/v1/poll-votes |
*DefaultApi* | [**getQuestionConfig**](docs/DefaultApi.md#getQuestionConfig) | **GET** /api/v1/question-configs/{id} |
*DefaultApi* | [**getQuestionConfigs**](docs/DefaultApi.md#getQuestionConfigs) | **GET** /api/v1/question-configs |
*DefaultApi* | [**getQuestionResult**](docs/DefaultApi.md#getQuestionResult) | **GET** /api/v1/question-results/{id} |
@@ -210,11 +224,16 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**getUserBadges**](docs/DefaultApi.md#getUserBadges) | **GET** /api/v1/user-badges |
*DefaultApi* | [**getVotes**](docs/DefaultApi.md#getVotes) | **GET** /api/v1/votes |
*DefaultApi* | [**getVotesForUser**](docs/DefaultApi.md#getVotesForUser) | **GET** /api/v1/votes/for-user |
+*DefaultApi* | [**getWebhookSamplePayloads**](docs/DefaultApi.md#getWebhookSamplePayloads) | **GET** /api/v1/webhooks/sample-payloads |
+*DefaultApi* | [**getWebhooks**](docs/DefaultApi.md#getWebhooks) | **GET** /api/v1/webhooks |
+*DefaultApi* | [**migratePages**](docs/DefaultApi.md#migratePages) | **POST** /api/v1/pages/migrations |
*DefaultApi* | [**patchDomainConfig**](docs/DefaultApi.md#patchDomainConfig) | **PATCH** /api/v1/domain-configs/{domainToUpdate} |
*DefaultApi* | [**patchHashTag**](docs/DefaultApi.md#patchHashTag) | **PATCH** /api/v1/hash-tags/{tag} |
*DefaultApi* | [**patchPage**](docs/DefaultApi.md#patchPage) | **PATCH** /api/v1/pages/{id} |
+*DefaultApi* | [**patchPoll**](docs/DefaultApi.md#patchPoll) | **PATCH** /api/v1/polls/{commentId} |
*DefaultApi* | [**patchSSOUser**](docs/DefaultApi.md#patchSSOUser) | **PATCH** /api/v1/sso-users/{id} |
*DefaultApi* | [**putDomainConfig**](docs/DefaultApi.md#putDomainConfig) | **PUT** /api/v1/domain-configs/{domainToUpdate} |
+*DefaultApi* | [**putPoll**](docs/DefaultApi.md#putPoll) | **PUT** /api/v1/polls/{commentId} |
*DefaultApi* | [**putSSOUser**](docs/DefaultApi.md#putSSOUser) | **PUT** /api/v1/sso-users/{id} |
*DefaultApi* | [**renderEmailTemplate**](docs/DefaultApi.md#renderEmailTemplate) | **POST** /api/v1/email-templates/render |
*DefaultApi* | [**replaceTenantPackage**](docs/DefaultApi.md#replaceTenantPackage) | **PUT** /api/v1/tenant-packages/{id} |
@@ -225,6 +244,7 @@ Class | Method | HTTP request | Description
*DefaultApi* | [**sendLoginLink**](docs/DefaultApi.md#sendLoginLink) | **POST** /api/v1/tenant-users/{id}/send-login-link |
*DefaultApi* | [**unBlockUserFromComment**](docs/DefaultApi.md#unBlockUserFromComment) | **POST** /api/v1/comments/{id}/un-block |
*DefaultApi* | [**unFlagComment**](docs/DefaultApi.md#unFlagComment) | **POST** /api/v1/comments/{id}/un-flag |
+*DefaultApi* | [**undoPageMigrations**](docs/DefaultApi.md#undoPageMigrations) | **POST** /api/v1/pages/migrations/{undoId}/undo |
*DefaultApi* | [**updateComment**](docs/DefaultApi.md#updateComment) | **PATCH** /api/v1/comments/{id} |
*DefaultApi* | [**updateEmailTemplate**](docs/DefaultApi.md#updateEmailTemplate) | **PATCH** /api/v1/email-templates/{id} |
*DefaultApi* | [**updateFeedPost**](docs/DefaultApi.md#updateFeedPost) | **PATCH** /api/v1/feed-posts/{id} |
@@ -323,6 +343,7 @@ Class | Method | HTTP request | Description
*PublicApi* | [**resetUserNotifications**](docs/PublicApi.md#resetUserNotifications) | **POST** /user-notifications/reset |
*PublicApi* | [**searchUsers**](docs/PublicApi.md#searchUsers) | **GET** /user-search/{tenantId} |
*PublicApi* | [**setCommentText**](docs/PublicApi.md#setCommentText) | **POST** /comments/{tenantId}/{commentId}/update-text |
+*PublicApi* | [**translateComments**](docs/PublicApi.md#translateComments) | **POST** /comments/{tenantId}/translations |
*PublicApi* | [**unBlockCommentPublic**](docs/PublicApi.md#unBlockCommentPublic) | **DELETE** /block-from-comment/{commentId} |
*PublicApi* | [**unLockComment**](docs/PublicApi.md#unLockComment) | **POST** /comments/{tenantId}/{commentId}/unlock |
*PublicApi* | [**unPinComment**](docs/PublicApi.md#unPinComment) | **POST** /comments/{tenantId}/{commentId}/unpin |
@@ -341,6 +362,8 @@ Class | Method | HTTP request | Description
- [APIBanUserChangedValues](docs/APIBanUserChangedValues.md)
- [APIBannedUser](docs/APIBannedUser.md)
- [APIBannedUserWithMultiMatchInfo](docs/APIBannedUserWithMultiMatchInfo.md)
+ - [APIBatchJob](docs/APIBatchJob.md)
+ - [APIBatchJobPageMigrationResultsInner](docs/APIBatchJobPageMigrationResultsInner.md)
- [APIComment](docs/APIComment.md)
- [APICommentBase](docs/APICommentBase.md)
- [APICommentBaseMeta](docs/APICommentBaseMeta.md)
@@ -417,10 +440,22 @@ Class | Method | HTTP request | Description
- [CommentLogData](docs/CommentLogData.md)
- [CommentLogEntry](docs/CommentLogEntry.md)
- [CommentLogType](docs/CommentLogType.md)
+ - [CommentPoll](docs/CommentPoll.md)
+ - [CommentPollInput](docs/CommentPollInput.md)
+ - [CommentPollOption](docs/CommentPollOption.md)
+ - [CommentPollOptionInput](docs/CommentPollOptionInput.md)
+ - [CommentPollPatch](docs/CommentPollPatch.md)
+ - [CommentPollPatchOptionsInner](docs/CommentPollPatchOptionsInner.md)
+ - [CommentPollPutInput](docs/CommentPollPutInput.md)
- [CommentQuestionResultsRenderingType](docs/CommentQuestionResultsRenderingType.md)
- [CommentQuestionsRequired](docs/CommentQuestionsRequired.md)
- [CommentTextUpdateRequest](docs/CommentTextUpdateRequest.md)
- [CommentThreadDeletionMode](docs/CommentThreadDeletionMode.md)
+ - [CommentTranslation](docs/CommentTranslation.md)
+ - [CommentTranslationMode](docs/CommentTranslationMode.md)
+ - [CommentTranslationPublic](docs/CommentTranslationPublic.md)
+ - [CommentTranslationsRequest](docs/CommentTranslationsRequest.md)
+ - [CommentTranslationsResponse](docs/CommentTranslationsResponse.md)
- [CommentUserBadgeInfo](docs/CommentUserBadgeInfo.md)
- [CommentUserHashTagInfo](docs/CommentUserHashTagInfo.md)
- [CommentUserMentionInfo](docs/CommentUserMentionInfo.md)
@@ -429,6 +464,8 @@ Class | Method | HTTP request | Description
- [CreateAPIPageData](docs/CreateAPIPageData.md)
- [CreateAPISSOUserData](docs/CreateAPISSOUserData.md)
- [CreateAPIUserSubscriptionData](docs/CreateAPIUserSubscriptionData.md)
+ - [CreateAgentTenantBody](docs/CreateAgentTenantBody.md)
+ - [CreateAgentTenantResponse](docs/CreateAgentTenantResponse.md)
- [CreateCommentParams](docs/CreateCommentParams.md)
- [CreateEmailTemplateBody](docs/CreateEmailTemplateBody.md)
- [CreateEmailTemplateResponse](docs/CreateEmailTemplateResponse.md)
@@ -439,6 +476,8 @@ Class | Method | HTTP request | Description
- [CreateHashTagResponse](docs/CreateHashTagResponse.md)
- [CreateModeratorBody](docs/CreateModeratorBody.md)
- [CreateModeratorResponse](docs/CreateModeratorResponse.md)
+ - [CreatePollVoteBody](docs/CreatePollVoteBody.md)
+ - [CreatePollVoteResponse](docs/CreatePollVoteResponse.md)
- [CreateQuestionConfigBody](docs/CreateQuestionConfigBody.md)
- [CreateQuestionConfigResponse](docs/CreateQuestionConfigResponse.md)
- [CreateQuestionResultBody](docs/CreateQuestionResultBody.md)
@@ -454,6 +493,8 @@ Class | Method | HTTP request | Description
- [CreateTicketResponse](docs/CreateTicketResponse.md)
- [CreateUserBadgeParams](docs/CreateUserBadgeParams.md)
- [CreateV1PageReact](docs/CreateV1PageReact.md)
+ - [CreateWebhookParams](docs/CreateWebhookParams.md)
+ - [CreateWebhookResponse](docs/CreateWebhookResponse.md)
- [CustomConfigParameters](docs/CustomConfigParameters.md)
- [CustomEmailTemplate](docs/CustomEmailTemplate.md)
- [DeleteCommentAction](docs/DeleteCommentAction.md)
@@ -462,6 +503,7 @@ Class | Method | HTTP request | Description
- [DeleteFeedPostPublicResponse](docs/DeleteFeedPostPublicResponse.md)
- [DeleteHashTagRequestBody](docs/DeleteHashTagRequestBody.md)
- [DeletePageAPIResponse](docs/DeletePageAPIResponse.md)
+ - [DeletePollVoteResponse](docs/DeletePollVoteResponse.md)
- [DeleteSSOUserAPIResponse](docs/DeleteSSOUserAPIResponse.md)
- [DeleteSubscriptionAPIResponse](docs/DeleteSubscriptionAPIResponse.md)
- [DeletedCommentResultComment](docs/DeletedCommentResultComment.md)
@@ -483,6 +525,8 @@ Class | Method | HTTP request | Description
- [GetAuditLogsResponse](docs/GetAuditLogsResponse.md)
- [GetBannedUsersCountResponse](docs/GetBannedUsersCountResponse.md)
- [GetBannedUsersFromCommentResponse](docs/GetBannedUsersFromCommentResponse.md)
+ - [GetBatchJobAPIResponse](docs/GetBatchJobAPIResponse.md)
+ - [GetBatchJobsAPIResponse](docs/GetBatchJobsAPIResponse.md)
- [GetCachedNotificationCountResponse](docs/GetCachedNotificationCountResponse.md)
- [GetCommentBanStatusResponse](docs/GetCommentBanStatusResponse.md)
- [GetCommentTextResponse](docs/GetCommentTextResponse.md)
@@ -503,15 +547,21 @@ Class | Method | HTTP request | Description
- [GetGifsSearchResponse](docs/GetGifsSearchResponse.md)
- [GetGifsTrendingResponse](docs/GetGifsTrendingResponse.md)
- [GetHashTagsResponse](docs/GetHashTagsResponse.md)
+ - [GetMeResponse](docs/GetMeResponse.md)
- [GetModeratorResponse](docs/GetModeratorResponse.md)
- [GetModeratorsResponse](docs/GetModeratorsResponse.md)
- [GetMyNotificationsResponse](docs/GetMyNotificationsResponse.md)
- [GetNotificationCountResponse](docs/GetNotificationCountResponse.md)
- [GetNotificationsResponse](docs/GetNotificationsResponse.md)
- [GetPageByURLIdAPIResponse](docs/GetPageByURLIdAPIResponse.md)
+ - [GetPageLikesAPIResponse](docs/GetPageLikesAPIResponse.md)
+ - [GetPageReactsAPIResponse](docs/GetPageReactsAPIResponse.md)
- [GetPagesAPIResponse](docs/GetPagesAPIResponse.md)
- [GetPendingWebhookEventCountResponse](docs/GetPendingWebhookEventCountResponse.md)
- [GetPendingWebhookEventsResponse](docs/GetPendingWebhookEventsResponse.md)
+ - [GetPollResponse](docs/GetPollResponse.md)
+ - [GetPollVoteResponse](docs/GetPollVoteResponse.md)
+ - [GetPollVotesResponse](docs/GetPollVotesResponse.md)
- [GetPublicFeedPostsResponse](docs/GetPublicFeedPostsResponse.md)
- [GetPublicPagesResponse](docs/GetPublicPagesResponse.md)
- [GetQuestionConfigResponse](docs/GetQuestionConfigResponse.md)
@@ -545,6 +595,8 @@ Class | Method | HTTP request | Description
- [GetV2PageReacts](docs/GetV2PageReacts.md)
- [GetVotesForUserResponse](docs/GetVotesForUserResponse.md)
- [GetVotesResponse](docs/GetVotesResponse.md)
+ - [GetWebhookSamplePayloadsResponse](docs/GetWebhookSamplePayloadsResponse.md)
+ - [GetWebhooksResponse](docs/GetWebhooksResponse.md)
- [GifGetLargeResponse](docs/GifGetLargeResponse.md)
- [GifRating](docs/GifRating.md)
- [GifSearchInternalError](docs/GifSearchInternalError.md)
@@ -559,9 +611,11 @@ Class | Method | HTTP request | Description
- [LiveEvent](docs/LiveEvent.md)
- [LiveEventExtraInfo](docs/LiveEventExtraInfo.md)
- [LiveEventType](docs/LiveEventType.md)
+ - [MeAuthType](docs/MeAuthType.md)
- [MediaAsset](docs/MediaAsset.md)
- [MentionAutoCompleteMode](docs/MentionAutoCompleteMode.md)
- [MetaItem](docs/MetaItem.md)
+ - [MigrateAPIPagesData](docs/MigrateAPIPagesData.md)
- [ModerationAPIChildCommentsResponse](docs/ModerationAPIChildCommentsResponse.md)
- [ModerationAPIComment](docs/ModerationAPIComment.md)
- [ModerationAPICommentLog](docs/ModerationAPICommentLog.md)
@@ -584,7 +638,17 @@ Class | Method | HTTP request | Description
- [Moderator](docs/Moderator.md)
- [NotificationAndCount](docs/NotificationAndCount.md)
- [NotificationObjectType](docs/NotificationObjectType.md)
+ - [NotificationSkipReason](docs/NotificationSkipReason.md)
- [NotificationType](docs/NotificationType.md)
+ - [OAuthScope](docs/OAuthScope.md)
+ - [PageCustomReactUser](docs/PageCustomReactUser.md)
+ - [PageMigration](docs/PageMigration.md)
+ - [PageMigrationFailure](docs/PageMigrationFailure.md)
+ - [PageMigrationSuccess](docs/PageMigrationSuccess.md)
+ - [PageMigrationType](docs/PageMigrationType.md)
+ - [PageMigrationUndoCounts](docs/PageMigrationUndoCounts.md)
+ - [PageReactIncludeUserInfo](docs/PageReactIncludeUserInfo.md)
+ - [PageReactUser](docs/PageReactUser.md)
- [PageUserEntry](docs/PageUserEntry.md)
- [PageUsersInfoResponse](docs/PageUsersInfoResponse.md)
- [PageUsersOfflineResponse](docs/PageUsersOfflineResponse.md)
@@ -595,6 +659,10 @@ Class | Method | HTTP request | Description
- [PatchPageAPIResponse](docs/PatchPageAPIResponse.md)
- [PatchSSOUserAPIResponse](docs/PatchSSOUserAPIResponse.md)
- [PendingCommentToSyncOutbound](docs/PendingCommentToSyncOutbound.md)
+ - [PickCommentPollOptionsOrTotalVotesOrClosesAt](docs/PickCommentPollOptionsOrTotalVotesOrClosesAt.md)
+ - [PollCreationMode](docs/PollCreationMode.md)
+ - [PollPrivacy](docs/PollPrivacy.md)
+ - [PollVotingMode](docs/PollVotingMode.md)
- [PostRemoveCommentApiResponse](docs/PostRemoveCommentApiResponse.md)
- [PreBanSummary](docs/PreBanSummary.md)
- [PubSubComment](docs/PubSubComment.md)
@@ -608,11 +676,15 @@ Class | Method | HTTP request | Description
- [PublicCommentBase](docs/PublicCommentBase.md)
- [PublicFeedPostsResponse](docs/PublicFeedPostsResponse.md)
- [PublicPage](docs/PublicPage.md)
+ - [PublicPollVote](docs/PublicPollVote.md)
- [PublicVote](docs/PublicVote.md)
+ - [PublicWebhook](docs/PublicWebhook.md)
- [PutDomainConfigResponse](docs/PutDomainConfigResponse.md)
- [PutSSOUserAPIResponse](docs/PutSSOUserAPIResponse.md)
- [QueryPredicate](docs/QueryPredicate.md)
- [QueryPredicateValue](docs/QueryPredicateValue.md)
+ - [QuestionCondition](docs/QuestionCondition.md)
+ - [QuestionConditionOperator](docs/QuestionConditionOperator.md)
- [QuestionConfig](docs/QuestionConfig.md)
- [QuestionConfigCustomOptionsInner](docs/QuestionConfigCustomOptionsInner.md)
- [QuestionDatum](docs/QuestionDatum.md)
@@ -621,9 +693,11 @@ Class | Method | HTTP request | Description
- [QuestionResultAggregationOverall](docs/QuestionResultAggregationOverall.md)
- [QuestionSubQuestionVisibility](docs/QuestionSubQuestionVisibility.md)
- [QuestionWhenSave](docs/QuestionWhenSave.md)
+ - [QueuePageMigrationJobAPIResponse](docs/QueuePageMigrationJobAPIResponse.md)
- [ReactBodyParams](docs/ReactBodyParams.md)
- [ReactFeedPostResponse](docs/ReactFeedPostResponse.md)
- [RecordStringBeforeStringOrNullAfterStringOrNullValue](docs/RecordStringBeforeStringOrNullAfterStringOrNullValue.md)
+ - [RecordStringStringOrNumberOrNumberArrayValue](docs/RecordStringStringOrNumberOrNumberArrayValue.md)
- [RemoveCommentActionResponse](docs/RemoveCommentActionResponse.md)
- [RemoveUserBadgeResponse](docs/RemoveUserBadgeResponse.md)
- [RenderEmailTemplateBody](docs/RenderEmailTemplateBody.md)
@@ -639,6 +713,7 @@ Class | Method | HTTP request | Description
- [SaveCommentResponseOptimized](docs/SaveCommentResponseOptimized.md)
- [SaveCommentsBulkResponse](docs/SaveCommentsBulkResponse.md)
- [SaveCommentsResponseWithPresence](docs/SaveCommentsResponseWithPresence.md)
+ - [SavePollResponse](docs/SavePollResponse.md)
- [SearchUsersResponse](docs/SearchUsersResponse.md)
- [SearchUsersResult](docs/SearchUsersResult.md)
- [SearchUsersSectionedResponse](docs/SearchUsersSectionedResponse.md)
@@ -650,6 +725,7 @@ Class | Method | HTTP request | Description
- [SizePreset](docs/SizePreset.md)
- [SortDirections](docs/SortDirections.md)
- [SpamRule](docs/SpamRule.md)
+ - [SubQuestionCondition](docs/SubQuestionCondition.md)
- [TOSConfig](docs/TOSConfig.md)
- [TenantBadge](docs/TenantBadge.md)
- [TenantHashTag](docs/TenantHashTag.md)
@@ -696,6 +772,10 @@ Class | Method | HTTP request | Description
- [VoteResponse](docs/VoteResponse.md)
- [VoteResponseUser](docs/VoteResponseUser.md)
- [VoteStyle](docs/VoteStyle.md)
+ - [WebhookComment](docs/WebhookComment.md)
+ - [WebhookEventName](docs/WebhookEventName.md)
+ - [WebhookHTTPMethod](docs/WebhookHTTPMethod.md)
+ - [WebhookSource](docs/WebhookSource.md)
diff --git a/client/api/openapi.yaml b/client/api/openapi.yaml
index 19a5ed7c..102d1d87 100644
--- a/client/api/openapi.yaml
+++ b/client/api/openapi.yaml
@@ -953,6 +953,13 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: sso
+ required: false
+ schema:
+ type: string
+ style: form
responses:
"200":
content:
@@ -988,6 +995,22 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: sso
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: "When set, returns the users who liked the page (avatars and\
+ \ usernames). Only \"public\" is accepted, which omits private profiles."
+ explode: true
+ in: query
+ name: includeUserInfo
+ required: false
+ schema:
+ $ref: "#/components/schemas/PageReactIncludeUserInfo"
+ style: form
responses:
"200":
content:
@@ -1030,6 +1053,13 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: sso
+ required: false
+ schema:
+ type: string
+ style: form
responses:
"200":
content:
@@ -1073,6 +1103,13 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: sso
+ required: false
+ schema:
+ type: string
+ style: form
responses:
"200":
content:
@@ -1116,6 +1153,13 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: sso
+ required: false
+ schema:
+ type: string
+ style: form
responses:
"200":
content:
@@ -1151,6 +1195,22 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: sso
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: "When set, returns the users for each react id (avatars and usernames).\
+ \ Only \"public\" is accepted, which omits private profiles."
+ explode: true
+ in: query
+ name: includeUserInfo
+ required: false
+ schema:
+ $ref: "#/components/schemas/PageReactIncludeUserInfo"
+ style: form
responses:
"200":
content:
@@ -1200,6 +1260,13 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: sso
+ required: false
+ schema:
+ type: string
+ style: form
responses:
"200":
content:
@@ -4621,6 +4688,21 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: questionId
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: questionValue
+ required: false
+ schema:
+ format: int32
+ type: integer
+ style: form
responses:
"200":
content:
@@ -4677,6 +4759,13 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: locale
+ required: false
+ schema:
+ type: string
+ style: form
requestBody:
content:
application/json:
@@ -4996,6 +5085,66 @@ paths:
- Public
x-accepts:
- application/json
+ /comments/{tenantId}/translations:
+ post:
+ description: |-
+ Translates the given comments into the widget locale. Only available when the matching widget
+ customization rule has Comment Translation set to Automatic or Manual.
+ operationId: TranslateComments
+ parameters:
+ - explode: false
+ in: path
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: simple
+ - explode: true
+ in: query
+ name: urlId
+ required: true
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: sso
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: locale
+ required: false
+ schema:
+ type: string
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CommentTranslationsRequest"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CommentTranslationsResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security: []
+ tags:
+ - Public
+ x-content-type: application/json
+ x-accepts:
+ - application/json
/comments/{tenantId}/{commentId}/pin:
post:
operationId: PinComment
@@ -5768,9 +5917,10 @@ paths:
- api_key: []
x-accepts:
- application/json
- /api/v1/pages/{id}:
- delete:
- operationId: DeletePage
+ /api/v1/pages/likes:
+ get:
+ description: "Like count for a page, optionally with the users who liked it."
+ operationId: GetPageLikes
parameters:
- explode: true
in: query
@@ -5779,26 +5929,38 @@ paths:
schema:
type: string
style: form
- - explode: false
- in: path
- name: id
+ - explode: true
+ in: query
+ name: urlId
required: true
schema:
type: string
- style: simple
+ style: form
+ - description: "\"public\" omits users with private profiles, \"include-private\"\
+ \ includes them."
+ explode: true
+ in: query
+ name: includeUserInfo
+ required: false
+ schema:
+ $ref: "#/components/schemas/PageReactIncludeUserInfo"
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/DeletePageAPIResponse"
+ $ref: "#/components/schemas/GetPageLikesAPIResponse"
description: Ok
security:
- api_key: []
x-accepts:
- application/json
- patch:
- operationId: PatchPage
+ /api/v1/pages/reacts:
+ get:
+ description: "Custom react counts for a page, optionally with the users who\
+ \ reacted."
+ operationId: GetPageReacts
parameters:
- explode: true
in: query
@@ -5807,34 +5969,40 @@ paths:
schema:
type: string
style: form
- - explode: false
- in: path
- name: id
+ - explode: true
+ in: query
+ name: urlId
required: true
schema:
type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/UpdateAPIPageData"
- required: true
+ style: form
+ - description: "\"public\" omits users with private profiles, \"include-private\"\
+ \ includes them."
+ explode: true
+ in: query
+ name: includeUserInfo
+ required: false
+ schema:
+ $ref: "#/components/schemas/PageReactIncludeUserInfo"
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/PatchPageAPIResponse"
+ $ref: "#/components/schemas/GetPageReactsAPIResponse"
description: Ok
security:
- api_key: []
- x-content-type: application/json
x-accepts:
- application/json
- /api/v1/votes:
- get:
- operationId: GetVotes
+ /api/v1/pages/migrations:
+ post:
+ description: |-
+ Queues a batch job that moves comments, pages and related records from one urlId or domain to another.
+ "urlId" migrations only match the exact urlId. "domain" migrations find/replace the value inside every urlId and url.
+ Poll GET /api/v1/batch-jobs/{batchJobId}: once it is done it carries per-migration results and an undoId.
+ operationId: MigratePages
parameters:
- explode: true
in: query
@@ -5843,32 +6011,31 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: urlId
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/MigrateAPIPagesData"
required: true
- schema:
- type: string
- style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/GetVotesResponse"
+ $ref: "#/components/schemas/QueuePageMigrationJobAPIResponse"
description: Ok
- default:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/APIError"
- description: Error
security:
- api_key: []
+ x-content-type: application/json
x-accepts:
- application/json
+ /api/v1/pages/migrations/{undoId}/undo:
post:
- operationId: CreateVote
+ description: |-
+ Queues a batch job that reverses every migration from one migrate-pages job, newest first. Available for 90 days.
+ Records changed since the migration are left alone, so a later edit is never overwritten.
+ Poll GET /api/v1/batch-jobs/{batchJobId} for the restored/skipped counts.
+ operationId: UndoPageMigrations
parameters:
- explode: true
in: query
@@ -5877,57 +6044,27 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: commentId
- required: true
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: direction
+ - explode: false
+ in: path
+ name: undoId
required: true
- schema:
- enum:
- - up
- - down
- type: string
- style: form
- - explode: true
- in: query
- name: userId
- required: false
- schema:
- type: string
- style: form
- - explode: true
- in: query
- name: anonUserId
- required: false
schema:
type: string
- style: form
+ style: simple
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/VoteResponse"
+ $ref: "#/components/schemas/QueuePageMigrationJobAPIResponse"
description: Ok
- default:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/APIError"
- description: Error
security:
- api_key: []
x-accepts:
- application/json
- /api/v1/votes/for-user:
- get:
- operationId: GetVotesForUser
+ /api/v1/pages/{id}:
+ delete:
+ operationId: DeletePage
parameters:
- explode: true
in: query
@@ -5936,47 +6073,64 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: urlId
+ - explode: false
+ in: path
+ name: id
required: true
schema:
type: string
- style: form
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/DeletePageAPIResponse"
+ description: Ok
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ patch:
+ operationId: PatchPage
+ parameters:
- explode: true
in: query
- name: userId
- required: false
+ name: tenantId
+ required: true
schema:
type: string
style: form
- - explode: true
- in: query
- name: anonUserId
- required: false
+ - explode: false
+ in: path
+ name: id
+ required: true
schema:
type: string
- style: form
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/UpdateAPIPageData"
+ required: true
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/GetVotesForUserResponse"
+ $ref: "#/components/schemas/PatchPageAPIResponse"
description: Ok
- default:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/APIError"
- description: Error
security:
- api_key: []
+ x-content-type: application/json
x-accepts:
- application/json
- /api/v1/votes/{id}:
- delete:
- operationId: DeleteVote
+ /api/v1/webhooks:
+ get:
+ description: "Lists the webhooks configured for the tenant, both dashboard-managed\
+ \ rows and API subscriptions."
+ operationId: GetWebhooks
parameters:
- explode: true
in: query
@@ -5985,26 +6139,41 @@ paths:
schema:
type: string
style: form
- - explode: false
- in: path
- name: id
- required: true
+ - explode: true
+ in: query
+ name: event
+ required: false
schema:
- type: string
- style: simple
+ $ref: "#/components/schemas/WebhookEventName"
+ style: form
- explode: true
in: query
- name: editKey
+ name: domain
required: false
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: source
+ required: false
+ schema:
+ $ref: "#/components/schemas/WebhookSource"
+ style: form
+ - explode: true
+ in: query
+ name: skip
+ required: false
+ schema:
+ format: double
+ type: number
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/VoteDeleteResponse"
+ $ref: "#/components/schemas/GetWebhooksResponse"
description: Ok
default:
content:
@@ -6016,9 +6185,12 @@ paths:
- api_key: []
x-accepts:
- application/json
- /api/v1/users/{id}:
- get:
- operationId: GetUser
+ post:
+ description: |-
+ Subscribes a URL to a comment event (REST hook subscribe). Subscribing the same URL to the same
+ event and domain again returns the existing subscription. Deliveries are HMAC signed, see the
+ webhooks guide; the legacy `token` header is never sent to API subscriptions.
+ operationId: CreateWebhook
parameters:
- explode: true
in: query
@@ -6027,19 +6199,18 @@ paths:
schema:
type: string
style: form
- - explode: false
- in: path
- name: id
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CreateWebhookParams"
required: true
- schema:
- type: string
- style: simple
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/GetUserResponse"
+ $ref: "#/components/schemas/CreateWebhookResponse"
description: Ok
default:
content:
@@ -6049,11 +6220,15 @@ paths:
description: Error
security:
- api_key: []
+ x-content-type: application/json
x-accepts:
- application/json
- /api/v1/user-badges/{id}:
- delete:
- operationId: DeleteUserBadge
+ /api/v1/webhooks/sample-payloads:
+ get:
+ description: |-
+ Recent comments in exactly the shape webhook deliveries use, for building integrations (for example Zapier
+ sample data). Every event delivers the same comment object, so `event` only has to be valid.
+ operationId: GetWebhookSamplePayloads
parameters:
- explode: true
in: query
@@ -6062,19 +6237,27 @@ paths:
schema:
type: string
style: form
- - explode: false
- in: path
- name: id
- required: true
+ - explode: true
+ in: query
+ name: event
+ required: false
schema:
- type: string
- style: simple
+ $ref: "#/components/schemas/WebhookEventName"
+ style: form
+ - explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ format: double
+ type: number
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/APIEmptySuccessResponse"
+ $ref: "#/components/schemas/GetWebhookSamplePayloadsResponse"
description: Ok
default:
content:
@@ -6086,8 +6269,12 @@ paths:
- api_key: []
x-accepts:
- application/json
- get:
- operationId: GetUserBadge
+ /api/v1/webhooks/{id}:
+ delete:
+ description: |-
+ Unsubscribes (REST hook unsubscribe). Only subscriptions created through this API can be
+ deleted here; dashboard-managed webhooks are edited in the dashboard.
+ operationId: DeleteWebhook
parameters:
- explode: true
in: query
@@ -6108,7 +6295,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/APIGetUserBadgeResponse"
+ $ref: "#/components/schemas/APIEmptyResponse"
description: Ok
default:
content:
@@ -6120,8 +6307,9 @@ paths:
- api_key: []
x-accepts:
- application/json
- put:
- operationId: UpdateUserBadge
+ /api/v1/votes:
+ get:
+ operationId: GetVotes
parameters:
- explode: true
in: query
@@ -6130,25 +6318,19 @@ paths:
schema:
type: string
style: form
- - explode: false
- in: path
- name: id
+ - explode: true
+ in: query
+ name: urlId
required: true
schema:
type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/UpdateUserBadgeParams"
- required: true
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/APIEmptySuccessResponse"
+ $ref: "#/components/schemas/GetVotesResponse"
description: Ok
default:
content:
@@ -6158,12 +6340,10 @@ paths:
description: Error
security:
- api_key: []
- x-content-type: application/json
x-accepts:
- application/json
- /api/v1/user-badges:
- get:
- operationId: GetUserBadges
+ post:
+ operationId: CreateVote
parameters:
- explode: true
in: query
@@ -6172,6 +6352,23 @@ paths:
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: commentId
+ required: true
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: direction
+ required: true
+ schema:
+ enum:
+ - up
+ - down
+ type: string
+ style: form
- explode: true
in: query
name: userId
@@ -6181,48 +6378,66 @@ paths:
style: form
- explode: true
in: query
- name: badgeId
+ name: anonUserId
required: false
schema:
type: string
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/VoteResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ /api/v1/votes/for-user:
+ get:
+ operationId: GetVotesForUser
+ parameters:
- explode: true
in: query
- name: type
- required: false
+ name: tenantId
+ required: true
schema:
- format: double
- type: number
+ type: string
style: form
- explode: true
in: query
- name: displayedOnComments
- required: false
+ name: urlId
+ required: true
schema:
- type: boolean
+ type: string
style: form
- explode: true
in: query
- name: limit
+ name: userId
required: false
schema:
- format: double
- type: number
+ type: string
style: form
- explode: true
in: query
- name: skip
+ name: anonUserId
required: false
schema:
- format: double
- type: number
+ type: string
style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/APIGetUserBadgesResponse"
+ $ref: "#/components/schemas/GetVotesForUserResponse"
description: Ok
default:
content:
@@ -6234,8 +6449,9 @@ paths:
- api_key: []
x-accepts:
- application/json
- post:
- operationId: CreateUserBadge
+ /api/v1/votes/{id}:
+ delete:
+ operationId: DeleteVote
parameters:
- explode: true
in: query
@@ -6244,18 +6460,26 @@ paths:
schema:
type: string
style: form
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/CreateUserBadgeParams"
+ - explode: false
+ in: path
+ name: id
required: true
+ schema:
+ type: string
+ style: simple
+ - explode: true
+ in: query
+ name: editKey
+ required: false
+ schema:
+ type: string
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/APICreateUserBadgeResponse"
+ $ref: "#/components/schemas/VoteDeleteResponse"
description: Ok
default:
content:
@@ -6265,12 +6489,11 @@ paths:
description: Error
security:
- api_key: []
- x-content-type: application/json
x-accepts:
- application/json
- /api/v1/user-badge-progress/{id}:
+ /api/v1/users/{id}:
get:
- operationId: GetUserBadgeProgressById
+ operationId: GetUser
parameters:
- explode: true
in: query
@@ -6291,7 +6514,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/APIGetUserBadgeProgressResponse"
+ $ref: "#/components/schemas/GetUserResponse"
description: Ok
default:
content:
@@ -6303,9 +6526,9 @@ paths:
- api_key: []
x-accepts:
- application/json
- /api/v1/user-badge-progress:
- get:
- operationId: GetUserBadgeProgressList
+ /api/v1/user-badges/{id}:
+ delete:
+ operationId: DeleteUserBadge
parameters:
- explode: true
in: query
@@ -6314,35 +6537,53 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: userId
- required: false
- schema:
+ - explode: false
+ in: path
+ name: id
+ required: true
+ schema:
type: string
- style: form
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIEmptySuccessResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ get:
+ operationId: GetUserBadge
+ parameters:
- explode: true
in: query
- name: limit
- required: false
+ name: tenantId
+ required: true
schema:
- format: double
- type: number
+ type: string
style: form
- - explode: true
- in: query
- name: skip
- required: false
+ - explode: false
+ in: path
+ name: id
+ required: true
schema:
- format: double
- type: number
- style: form
+ type: string
+ style: simple
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/APIGetUserBadgeProgressListResponse"
+ $ref: "#/components/schemas/APIGetUserBadgeResponse"
description: Ok
default:
content:
@@ -6354,9 +6595,8 @@ paths:
- api_key: []
x-accepts:
- application/json
- /api/v1/user-badge-progress/user/{userId}:
- get:
- operationId: GetUserBadgeProgressByUserId
+ put:
+ operationId: UpdateUserBadge
parameters:
- explode: true
in: query
@@ -6367,17 +6607,23 @@ paths:
style: form
- explode: false
in: path
- name: userId
+ name: id
required: true
schema:
type: string
style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/UpdateUserBadgeParams"
+ required: true
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/APIGetUserBadgeProgressResponse"
+ $ref: "#/components/schemas/APIEmptySuccessResponse"
description: Ok
default:
content:
@@ -6387,11 +6633,12 @@ paths:
description: Error
security:
- api_key: []
+ x-content-type: application/json
x-accepts:
- application/json
- /api/v1/tickets:
+ /api/v1/user-badges:
get:
- operationId: GetTickets
+ operationId: GetUserBadges
parameters:
- explode: true
in: query
@@ -6409,7 +6656,14 @@ paths:
style: form
- explode: true
in: query
- name: state
+ name: badgeId
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: type
required: false
schema:
format: double
@@ -6417,7 +6671,14 @@ paths:
style: form
- explode: true
in: query
- name: skip
+ name: displayedOnComments
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: limit
required: false
schema:
format: double
@@ -6425,7 +6686,7 @@ paths:
style: form
- explode: true
in: query
- name: limit
+ name: skip
required: false
schema:
format: double
@@ -6436,7 +6697,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/GetTicketsResponse"
+ $ref: "#/components/schemas/APIGetUserBadgesResponse"
description: Ok
default:
content:
@@ -6449,7 +6710,7 @@ paths:
x-accepts:
- application/json
post:
- operationId: CreateTicket
+ operationId: CreateUserBadge
parameters:
- explode: true
in: query
@@ -6458,25 +6719,18 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: userId
- required: true
- schema:
- type: string
- style: form
requestBody:
content:
application/json:
schema:
- $ref: "#/components/schemas/CreateTicketBody"
+ $ref: "#/components/schemas/CreateUserBadgeParams"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/CreateTicketResponse"
+ $ref: "#/components/schemas/APICreateUserBadgeResponse"
description: Ok
default:
content:
@@ -6489,9 +6743,9 @@ paths:
x-content-type: application/json
x-accepts:
- application/json
- /api/v1/tickets/{id}:
+ /api/v1/user-badge-progress/{id}:
get:
- operationId: GetTicket
+ operationId: GetUserBadgeProgressById
parameters:
- explode: true
in: query
@@ -6507,19 +6761,12 @@ paths:
schema:
type: string
style: simple
- - explode: true
- in: query
- name: userId
- required: false
- schema:
- type: string
- style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/GetTicketResponse"
+ $ref: "#/components/schemas/APIGetUserBadgeProgressResponse"
description: Ok
default:
content:
@@ -6531,9 +6778,9 @@ paths:
- api_key: []
x-accepts:
- application/json
- /api/v1/tickets/{id}/state:
- patch:
- operationId: ChangeTicketState
+ /api/v1/user-badge-progress:
+ get:
+ operationId: GetUserBadgeProgressList
parameters:
- explode: true
in: query
@@ -6545,29 +6792,32 @@ paths:
- explode: true
in: query
name: userId
- required: true
+ required: false
schema:
type: string
style: form
- - explode: false
- in: path
- name: id
- required: true
+ - explode: true
+ in: query
+ name: limit
+ required: false
schema:
- type: string
- style: simple
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/ChangeTicketStateBody"
- required: true
+ format: double
+ type: number
+ style: form
+ - explode: true
+ in: query
+ name: skip
+ required: false
+ schema:
+ format: double
+ type: number
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/ChangeTicketStateResponse"
+ $ref: "#/components/schemas/APIGetUserBadgeProgressListResponse"
description: Ok
default:
content:
@@ -6577,12 +6827,11 @@ paths:
description: Error
security:
- api_key: []
- x-content-type: application/json
x-accepts:
- application/json
- /api/v1/tenants/{id}:
- delete:
- operationId: DeleteTenant
+ /api/v1/user-badge-progress/user/{userId}:
+ get:
+ operationId: GetUserBadgeProgressByUserId
parameters:
- explode: true
in: query
@@ -6593,24 +6842,17 @@ paths:
style: form
- explode: false
in: path
- name: id
+ name: userId
required: true
schema:
type: string
style: simple
- - explode: true
- in: query
- name: sure
- required: false
- schema:
- type: string
- style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/APIEmptyResponse"
+ $ref: "#/components/schemas/APIGetUserBadgeProgressResponse"
description: Ok
default:
content:
@@ -6622,8 +6864,9 @@ paths:
- api_key: []
x-accepts:
- application/json
+ /api/v1/tickets:
get:
- operationId: GetTenant
+ operationId: GetTickets
parameters:
- explode: true
in: query
@@ -6632,19 +6875,43 @@ paths:
schema:
type: string
style: form
- - explode: false
- in: path
- name: id
- required: true
+ - explode: true
+ in: query
+ name: userId
+ required: false
schema:
type: string
- style: simple
+ style: form
+ - explode: true
+ in: query
+ name: state
+ required: false
+ schema:
+ format: double
+ type: number
+ style: form
+ - explode: true
+ in: query
+ name: skip
+ required: false
+ schema:
+ format: double
+ type: number
+ style: form
+ - explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ format: double
+ type: number
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/GetTenantResponse"
+ $ref: "#/components/schemas/GetTicketsResponse"
description: Ok
default:
content:
@@ -6656,8 +6923,8 @@ paths:
- api_key: []
x-accepts:
- application/json
- patch:
- operationId: UpdateTenant
+ post:
+ operationId: CreateTicket
parameters:
- explode: true
in: query
@@ -6666,25 +6933,25 @@ paths:
schema:
type: string
style: form
- - explode: false
- in: path
- name: id
+ - explode: true
+ in: query
+ name: userId
required: true
schema:
type: string
- style: simple
+ style: form
requestBody:
content:
application/json:
schema:
- $ref: "#/components/schemas/UpdateTenantBody"
+ $ref: "#/components/schemas/CreateTicketBody"
required: true
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/APIEmptyResponse"
+ $ref: "#/components/schemas/CreateTicketResponse"
description: Ok
default:
content:
@@ -6697,9 +6964,9 @@ paths:
x-content-type: application/json
x-accepts:
- application/json
- /api/v1/tenants:
+ /api/v1/tickets/{id}:
get:
- operationId: GetTenants
+ operationId: GetTicket
parameters:
- explode: true
in: query
@@ -6708,27 +6975,26 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: meta
- required: false
+ - explode: false
+ in: path
+ name: id
+ required: true
schema:
type: string
- style: form
+ style: simple
- explode: true
in: query
- name: skip
+ name: userId
required: false
schema:
- format: double
- type: number
+ type: string
style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/GetTenantsResponse"
+ $ref: "#/components/schemas/GetTicketResponse"
description: Ok
default:
content:
@@ -6740,8 +7006,9 @@ paths:
- api_key: []
x-accepts:
- application/json
- post:
- operationId: CreateTenant
+ /api/v1/tickets/{id}/state:
+ patch:
+ operationId: ChangeTicketState
parameters:
- explode: true
in: query
@@ -6750,9 +7017,217 @@ paths:
schema:
type: string
style: form
- requestBody:
- content:
- application/json:
+ - explode: true
+ in: query
+ name: userId
+ required: true
+ schema:
+ type: string
+ style: form
+ - explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ChangeTicketStateBody"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/ChangeTicketStateResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /api/v1/tenants/{id}:
+ delete:
+ operationId: DeleteTenant
+ parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
+ - explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ style: simple
+ - explode: true
+ in: query
+ name: sure
+ required: false
+ schema:
+ type: string
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIEmptyResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ get:
+ operationId: GetTenant
+ parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
+ - explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GetTenantResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ patch:
+ operationId: UpdateTenant
+ parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
+ - explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/UpdateTenantBody"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIEmptyResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /api/v1/tenants:
+ get:
+ operationId: GetTenants
+ parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: meta
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: skip
+ required: false
+ schema:
+ format: double
+ type: number
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GetTenantsResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ post:
+ operationId: CreateTenant
+ parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
+ requestBody:
+ content:
+ application/json:
schema:
$ref: "#/components/schemas/CreateTenantBody"
required: true
@@ -7946,9 +8421,11 @@ paths:
x-content-type: application/json
x-accepts:
- application/json
- /api/v1/pending-webhook-events:
- get:
- operationId: GetPendingWebhookEvents
+ /api/v1/polls/{commentId}:
+ delete:
+ description: "Remove a poll from its comment, along with every vote cast on\
+ \ it. The comment itself is left alone."
+ operationId: DeletePoll
parameters:
- explode: true
in: query
@@ -7957,63 +8434,152 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
+ - explode: false
+ in: path
name: commentId
- required: false
+ required: true
schema:
type: string
- style: form
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIEmptyResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ get:
+ operationId: GetPoll
+ parameters:
- explode: true
in: query
- name: externalId
- required: false
+ name: tenantId
+ required: true
schema:
type: string
style: form
- - explode: true
- in: query
- name: eventType
- required: false
+ - explode: false
+ in: path
+ name: commentId
+ required: true
schema:
type: string
- style: form
- - explode: true
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GetPollResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ patch:
+ description: |-
+ Edit a poll in place, keeping its tallies: change the question, relabel an option, close or reopen it,
+ or change who may see the voters. Options are addressed by id - to add, remove or reorder them, PUT the full list.
+ operationId: PatchPoll
+ parameters:
+ - explode: true
in: query
- name: type
- required: false
+ name: tenantId
+ required: true
schema:
type: string
style: form
- - explode: true
- in: query
- name: domain
- required: false
+ - explode: false
+ in: path
+ name: commentId
+ required: true
schema:
type: string
- style: form
+ style: simple
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CommentPollPatch"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/SavePollResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ put:
+ description: |-
+ Attach a poll to a comment, or set the full state of the poll it already has.
+
+ Options are matched by id: an option sent with the id of an existing option keeps its votes (and takes the
+ new label and position), an option sent without an id is added, and existing options left out of the list
+ are removed along with the votes cast on them.
+
+ Keeping no existing option ids on a poll that has votes deletes all of them, so that needs replaceVotes=true.
+ operationId: PutPoll
+ parameters:
- explode: true
in: query
- name: attemptCountGT
- required: false
+ name: tenantId
+ required: true
schema:
- format: double
- type: number
+ type: string
style: form
+ - explode: false
+ in: path
+ name: commentId
+ required: true
+ schema:
+ type: string
+ style: simple
- explode: true
in: query
- name: skip
+ name: replaceVotes
required: false
schema:
- format: double
- type: number
+ type: boolean
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CommentPollPutInput"
+ required: true
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/GetPendingWebhookEventsResponse"
+ $ref: "#/components/schemas/SavePollResponse"
description: Ok
default:
content:
@@ -8023,11 +8589,19 @@ paths:
description: Error
security:
- api_key: []
+ x-content-type: application/json
x-accepts:
- application/json
- /api/v1/pending-webhook-events/count:
+ /api/v1/poll-votes:
get:
- operationId: GetPendingWebhookEventCount
+ description: |-
+ The individual votes behind one poll's tallies, oldest first.
+
+ A poll belongs to a comment, so votes are always read one poll at a time - commentId is required. That
+ keeps every query on the indexes the collection already has.
+
+ Obeys the poll's privacy: an anonymous poll's votes cannot be read (poll-anonymous), here or by id.
+ operationId: GetPollVotes
parameters:
- explode: true
in: query
@@ -8039,52 +8613,114 @@ paths:
- explode: true
in: query
name: commentId
- required: false
+ required: true
schema:
type: string
style: form
- explode: true
in: query
- name: externalId
+ name: voterId
required: false
schema:
type: string
style: form
- explode: true
in: query
- name: eventType
+ name: optionId
required: false
schema:
type: string
style: form
- explode: true
in: query
- name: type
+ name: skip
required: false
schema:
- type: string
+ format: int32
+ type: integer
style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GetPollVotesResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ post:
+ description: |-
+ Record a vote on a poll, or move an existing one to a different option. A voter has at most one vote per
+ poll, so calling this again for the same voter moves their vote rather than adding one.
+
+ This obeys the site's poll settings: if voting is set to logged-in users only, a vote with just an
+ anonUserId is rejected, and anonymous votes are rate limited per IP per poll.
+ operationId: CreatePollVote
+ parameters:
- explode: true
in: query
- name: domain
- required: false
+ name: tenantId
+ required: true
schema:
type: string
style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CreatePollVoteBody"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CreatePollVoteResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /api/v1/poll-votes/{id}:
+ delete:
+ description: Retract a vote. The option it was cast on gives its tally back.
+ operationId: DeletePollVote
+ parameters:
- explode: true
in: query
- name: attemptCountGT
- required: false
+ name: tenantId
+ required: true
schema:
- format: double
- type: number
+ type: string
style: form
+ - explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ style: simple
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/GetPendingWebhookEventCountResponse"
+ $ref: "#/components/schemas/DeletePollVoteResponse"
description: Ok
default:
content:
@@ -8096,9 +8732,8 @@ paths:
- api_key: []
x-accepts:
- application/json
- /api/v1/pending-webhook-events/{id}:
- delete:
- operationId: DeletePendingWebhookEvent
+ get:
+ operationId: GetPollVote
parameters:
- explode: true
in: query
@@ -8119,7 +8754,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/APIEmptyResponse"
+ $ref: "#/components/schemas/GetPollVoteResponse"
description: Ok
default:
content:
@@ -8131,9 +8766,9 @@ paths:
- api_key: []
x-accepts:
- application/json
- /api/v1/notifications:
+ /api/v1/pending-webhook-events:
get:
- operationId: GetNotifications
+ operationId: GetPendingWebhookEvents
parameters:
- explode: true
in: query
@@ -8144,39 +8779,47 @@ paths:
style: form
- explode: true
in: query
- name: userId
+ name: commentId
required: false
schema:
type: string
style: form
- explode: true
in: query
- name: urlId
+ name: externalId
required: false
schema:
type: string
style: form
- explode: true
in: query
- name: fromCommentId
+ name: eventType
required: false
schema:
type: string
style: form
- explode: true
in: query
- name: viewed
+ name: type
required: false
schema:
- type: boolean
+ type: string
style: form
- explode: true
in: query
- name: type
+ name: domain
required: false
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: attemptCountGT
+ required: false
+ schema:
+ format: double
+ type: number
+ style: form
- explode: true
in: query
name: skip
@@ -8190,7 +8833,7 @@ paths:
content:
application/json:
schema:
- $ref: "#/components/schemas/GetNotificationsResponse"
+ $ref: "#/components/schemas/GetPendingWebhookEventsResponse"
description: Ok
default:
content:
@@ -8202,9 +8845,9 @@ paths:
- api_key: []
x-accepts:
- application/json
- /api/v1/notifications/count:
+ /api/v1/pending-webhook-events/count:
get:
- operationId: GetNotificationCount
+ operationId: GetPendingWebhookEventCount
parameters:
- explode: true
in: query
@@ -8215,45 +8858,53 @@ paths:
style: form
- explode: true
in: query
- name: userId
+ name: commentId
required: false
schema:
type: string
style: form
- explode: true
in: query
- name: urlId
+ name: externalId
required: false
schema:
type: string
style: form
- explode: true
in: query
- name: fromCommentId
+ name: eventType
required: false
schema:
type: string
style: form
- explode: true
in: query
- name: viewed
+ name: type
required: false
schema:
- type: boolean
+ type: string
style: form
- explode: true
in: query
- name: type
+ name: domain
required: false
schema:
type: string
style: form
+ - explode: true
+ in: query
+ name: attemptCountGT
+ required: false
+ schema:
+ format: double
+ type: number
+ style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/GetNotificationCountResponse"
+ $ref: "#/components/schemas/GetPendingWebhookEventCountResponse"
description: Ok
default:
content:
@@ -8265,9 +8916,9 @@ paths:
- api_key: []
x-accepts:
- application/json
- /api/v1/notifications/{id}:
- patch:
- operationId: UpdateNotification
+ /api/v1/pending-webhook-events/{id}:
+ delete:
+ operationId: DeletePendingWebhookEvent
parameters:
- explode: true
in: query
@@ -8283,19 +8934,6 @@ paths:
schema:
type: string
style: simple
- - explode: true
- in: query
- name: userId
- required: false
- schema:
- type: string
- style: form
- requestBody:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/UpdateNotificationBody"
- required: true
responses:
"200":
content:
@@ -8311,12 +8949,11 @@ paths:
description: Error
security:
- api_key: []
- x-content-type: application/json
x-accepts:
- application/json
- /api/v1/notification-count/{id}:
- delete:
- operationId: DeleteNotificationCount
+ /api/v1/notifications:
+ get:
+ operationId: GetNotifications
parameters:
- explode: true
in: query
@@ -8325,13 +8962,196 @@ paths:
schema:
type: string
style: form
- - explode: false
- in: path
- name: id
- required: true
+ - explode: true
+ in: query
+ name: userId
+ required: false
schema:
type: string
- style: simple
+ style: form
+ - explode: true
+ in: query
+ name: urlId
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: fromCommentId
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: viewed
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: type
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: skip
+ required: false
+ schema:
+ format: double
+ type: number
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GetNotificationsResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ /api/v1/notifications/count:
+ get:
+ operationId: GetNotificationCount
+ parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: userId
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: urlId
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: fromCommentId
+ required: false
+ schema:
+ type: string
+ style: form
+ - explode: true
+ in: query
+ name: viewed
+ required: false
+ schema:
+ type: boolean
+ style: form
+ - explode: true
+ in: query
+ name: type
+ required: false
+ schema:
+ type: string
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GetNotificationCountResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ /api/v1/notifications/{id}:
+ patch:
+ operationId: UpdateNotification
+ parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
+ - explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ style: simple
+ - explode: true
+ in: query
+ name: userId
+ required: false
+ schema:
+ type: string
+ style: form
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/UpdateNotificationBody"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIEmptyResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-content-type: application/json
+ x-accepts:
+ - application/json
+ /api/v1/notification-count/{id}:
+ delete:
+ operationId: DeleteNotificationCount
+ parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
+ - explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ style: simple
responses:
"200":
content:
@@ -8612,6 +9432,37 @@ paths:
- api_key: []
x-accepts:
- application/json
+ /api/v1/me:
+ get:
+ description: |-
+ Identifies the credential in use: the tenant it belongs to and, for OAuth tokens, the user who authorized it.
+ Integrations use this to test a connection and label it.
+ operationId: GetMe
+ parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GetMeResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
/api/v1/hash-tags:
get:
operationId: GetHashTags
@@ -10100,9 +10951,11 @@ paths:
x-content-type: application/json
x-accepts:
- application/json
- /api/v1/audit-logs:
+ /api/v1/batch-jobs:
get:
- operationId: GetAuditLogs
+ description: "The tenant's batch jobs (imports, exports, page migrations...),\
+ \ newest first."
+ operationId: GetBatchJobs
parameters:
- explode: true
in: query
@@ -10111,63 +10964,201 @@ paths:
schema:
type: string
style: form
- - explode: true
- in: query
- name: limit
- required: false
- schema:
- format: double
- type: number
- style: form
- - explode: true
- in: query
- name: skip
- required: false
- schema:
- format: double
- type: number
- style: form
- - explode: true
+ - description: "Only jobs of this type, for example migrate-pages."
+ explode: true
in: query
- name: order
+ name: type
required: false
schema:
- $ref: "#/components/schemas/SORT_DIR"
+ type: string
style: form
- - explode: true
+ - description: "Only jobs in this status: requested, running, success or failed."
+ explode: true
in: query
- name: after
+ name: status
required: false
schema:
- format: double
- type: number
+ type: string
style: form
- - explode: true
+ - description: "How many jobs to skip, for paging."
+ explode: true
in: query
- name: before
+ name: skip
required: false
schema:
- format: double
- type: number
+ format: int32
+ type: integer
style: form
responses:
"200":
content:
application/json:
schema:
- $ref: "#/components/schemas/GetAuditLogsResponse"
+ $ref: "#/components/schemas/GetBatchJobsAPIResponse"
description: Ok
- default:
- content:
- application/json:
- schema:
- $ref: "#/components/schemas/APIError"
- description: Error
security:
- api_key: []
x-accepts:
- application/json
- /api/v1/aggregate:
+ /api/v1/batch-jobs/{id}:
+ get:
+ description: "Status, progress and, once done, the result of one batch job."
+ operationId: GetBatchJob
+ parameters:
+ - explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
+ - explode: false
+ in: path
+ name: id
+ required: true
+ schema:
+ type: string
+ style: simple
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GetBatchJobAPIResponse"
+ description: Ok
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ /api/v1/audit-logs:
+ get:
+ operationId: GetAuditLogs
+ parameters:
+ - description: The tenant to read audit logs for.
+ explode: true
+ in: query
+ name: tenantId
+ required: true
+ schema:
+ type: string
+ style: form
+ - description: "How many logs to return. Max 10000, defaults to 1000."
+ explode: true
+ in: query
+ name: limit
+ required: false
+ schema:
+ format: int32
+ type: integer
+ style: form
+ - description: "How many logs to skip, for paging."
+ explode: true
+ in: query
+ name: skip
+ required: false
+ schema:
+ format: int32
+ type: integer
+ style: form
+ - description: Sort direction on the event time. Defaults to DESC (newest first).
+ explode: true
+ in: query
+ name: order
+ required: false
+ schema:
+ $ref: "#/components/schemas/SORT_DIR"
+ style: form
+ - explode: true
+ in: query
+ name: after
+ required: false
+ schema:
+ format: int64
+ type: integer
+ style: form
+ - explode: true
+ in: query
+ name: before
+ required: false
+ schema:
+ format: int64
+ type: integer
+ style: form
+ - description: Only return events performed by this username.
+ explode: true
+ in: query
+ name: username
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Only return events from this IP address.
+ explode: true
+ in: query
+ name: ip
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: "Only return events of this type: c, r, u, d, or login."
+ explode: true
+ in: query
+ name: crudType
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: "Only return events for this resource, e.g. User or Moderator."
+ explode: true
+ in: query
+ name: resourceName
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Only return events whose affected object has this id.
+ explode: true
+ in: query
+ name: targetId
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: "Case-insensitive substring match on the affected object's label,\
+ \ e.g. a username or email."
+ explode: true
+ in: query
+ name: target
+ required: false
+ schema:
+ type: string
+ style: form
+ - description: Also return events from tenants this tenant manages.
+ explode: true
+ in: query
+ name: includeManagedTenants
+ required: false
+ schema:
+ type: boolean
+ style: form
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/GetAuditLogsResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security:
+ - api_key: []
+ x-accepts:
+ - application/json
+ /api/v1/aggregate:
post:
description: |-
Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations.
@@ -10213,6 +11204,40 @@ paths:
x-content-type: application/json
x-accepts:
- application/json
+ /api/v1/agent-tenants:
+ post:
+ description: |-
+ Creates a new trial account for an AI agent without a human signup. No API key is needed to call this.
+
+ The response contains the tenant id, an API key that works immediately against the REST API and the
+ MCP server, and a claim URL. Give the claim URL to the human you are working for: opening it while
+ logged in to FastComments attaches the account to them. Unclaimed accounts, and their keys, are
+ deleted 72 hours after creation. Until claimed, the account has the standard trial limits.
+ operationId: CreateAgentTenant
+ parameters: []
+ requestBody:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CreateAgentTenantBody"
+ required: true
+ responses:
+ "200":
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/CreateAgentTenantResponse"
+ description: Ok
+ default:
+ content:
+ application/json:
+ schema:
+ $ref: "#/components/schemas/APIError"
+ description: Error
+ security: []
+ x-content-type: application/json
+ x-accepts:
+ - application/json
components:
examples: {}
headers: {}
@@ -10352,6 +11377,17 @@ components:
- 2
- 3
type: integer
+ PollCreationMode:
+ enum:
+ - 0
+ - 1
+ - 2
+ type: integer
+ PollVotingMode:
+ enum:
+ - 0
+ - 1
+ type: integer
CommenterNameFormats:
enum:
- 0
@@ -10478,6 +11514,12 @@ components:
format: date-time
type: string
type: object
+ CommentTranslationMode:
+ enum:
+ - "off"
+ - auto
+ - manual
+ type: string
CustomConfigParameters:
additionalProperties: false
example:
@@ -10526,6 +11568,7 @@ components:
disableBlocking: true
disableEmailInputs: true
widgetQuestionWhenToSave: 7
+ pollCreation: ""
allowAnonFlag: true
ticketKBSearchEndpoint: ticketKBSearchEndpoint
widgetSubQuestionVisibility: 1
@@ -10538,16 +11581,19 @@ components:
inputAfterComments: true
allowAnonVotes: true
commentThreadDeleteMode: ""
+ autoGenerateUsername: true
commentCountFormat: commentCountFormat
disableNotificationBell: true
enableFChat: true
voteStyle: 3
+ pollVoting: ""
disableAutoAdminMigration: true
disableProfileComments: true
absoluteAndRelativeDates: true
commenterNameFormat: ""
enableThirdPartyCookieBypass: true
ticketMaxFileSize: 6
+ commentTranslation: ""
locale: locale
showCommentSaveSuccess: true
disableCommenterCommentEdit: true
@@ -10567,6 +11613,7 @@ components:
enabled: true
widgetQuestionShowBreakdown: true
mentionAutoCompleteMode: ""
+ commentsRequireApproval: true
customCSS: customCSS
enableViewCounts: true
headerHTML: headerHTML
@@ -10605,6 +11652,10 @@ components:
type: string
nullable: true
type: array
+ autoGenerateUsername:
+ description: Serve each new visitor a unique generated username as the prefilled
+ defaultUsername.
+ type: boolean
collapseReplies:
type: boolean
commentCountFormat:
@@ -10612,10 +11663,22 @@ components:
type: string
commentHTMLRenderingMode:
$ref: "#/components/schemas/CommentHTMLRenderingMode"
+ commentsRequireApproval:
+ description: "Hold every new or edited comment on this page or domain for\
+ \ moderation, like the tenant-wide setting but scoped."
+ type: boolean
commentThreadDeleteMode:
allOf:
- $ref: "#/components/schemas/CommentThreadDeletionMode"
nullable: true
+ pollCreation:
+ allOf:
+ - $ref: "#/components/schemas/PollCreationMode"
+ nullable: true
+ pollVoting:
+ allOf:
+ - $ref: "#/components/schemas/PollVotingMode"
+ nullable: true
commenterNameFormat:
allOf:
- $ref: "#/components/schemas/CommenterNameFormats"
@@ -10804,6 +11867,10 @@ components:
type: array
tos:
$ref: "#/components/schemas/TOSConfig"
+ commentTranslation:
+ allOf:
+ - $ref: "#/components/schemas/CommentTranslationMode"
+ nullable: true
type: object
APIError:
additionalProperties: false
@@ -10857,6 +11924,7 @@ components:
disableBlocking: true
disableEmailInputs: true
widgetQuestionWhenToSave: 7
+ pollCreation: ""
allowAnonFlag: true
ticketKBSearchEndpoint: ticketKBSearchEndpoint
widgetSubQuestionVisibility: 1
@@ -10869,16 +11937,19 @@ components:
inputAfterComments: true
allowAnonVotes: true
commentThreadDeleteMode: ""
+ autoGenerateUsername: true
commentCountFormat: commentCountFormat
disableNotificationBell: true
enableFChat: true
voteStyle: 3
+ pollVoting: ""
disableAutoAdminMigration: true
disableProfileComments: true
absoluteAndRelativeDates: true
commenterNameFormat: ""
enableThirdPartyCookieBypass: true
ticketMaxFileSize: 6
+ commentTranslation: ""
locale: locale
showCommentSaveSuccess: true
disableCommenterCommentEdit: true
@@ -10898,6 +11969,7 @@ components:
enabled: true
widgetQuestionShowBreakdown: true
mentionAutoCompleteMode: ""
+ commentsRequireApproval: true
customCSS: customCSS
enableViewCounts: true
headerHTML: headerHTML
@@ -10993,6 +12065,8 @@ components:
- 82
- 9
- 10
+ - 11
+ - 12
type: integer
RenderableUserNotification:
example:
@@ -11387,8 +12461,13 @@ components:
example:
translations:
key: translations
+ locale: locale
status: success
properties:
+ locale:
+ description: The locale the translations were resolved for. Clients use
+ it to set text direction.
+ type: string
translations:
additionalProperties:
type: string
@@ -11399,6 +12478,7 @@ components:
status:
$ref: "#/components/schemas/APIStatus"
required:
+ - locale
- status
- translations
type: object
@@ -11583,14 +12663,48 @@ components:
- status
- users
type: object
+ PageReactUser:
+ example:
+ displayName: displayName
+ avatarSrc: avatarSrc
+ userId: userId
+ username: username
+ properties:
+ avatarSrc:
+ type: string
+ displayName:
+ type: string
+ username:
+ type: string
+ userId:
+ type: string
+ required:
+ - userId
+ - username
+ type: object
GetV1PageLikes:
example:
urlIdWS: urlIdWS
didLike: true
likeCount: 6
+ users:
+ - displayName: displayName
+ avatarSrc: avatarSrc
+ userId: userId
+ username: username
+ - displayName: displayName
+ avatarSrc: avatarSrc
+ userId: userId
+ username: username
commentCount: 0
status: success
properties:
+ users:
+ description: Most recent first. Present when includeUserInfo is passed.
+ Capped at 100 reacts.
+ items:
+ $ref: "#/components/schemas/PageReactUser"
+ type: array
urlIdWS:
type: string
didLike:
@@ -11610,6 +12724,13 @@ components:
- status
- urlIdWS
type: object
+ PageReactIncludeUserInfo:
+ description: public omits users with private profile activity; include-private
+ requires an API key.
+ enum:
+ - public
+ - include-private
+ type: string
GetV2PageReactUsersResponse:
example:
userNames:
@@ -11634,6 +12755,29 @@ components:
description: Construct a type with a set of properties K of type T
properties: {}
type: object
+ PageCustomReactUser:
+ example:
+ displayName: displayName
+ avatarSrc: avatarSrc
+ userId: userId
+ username: username
+ reactId: reactId
+ properties:
+ avatarSrc:
+ type: string
+ displayName:
+ type: string
+ username:
+ type: string
+ userId:
+ type: string
+ reactId:
+ type: string
+ required:
+ - reactId
+ - userId
+ - username
+ type: object
GetV2PageReacts:
example:
reactedIds:
@@ -11641,8 +12785,25 @@ components:
- reactedIds
counts:
key: 0.8008281904610115
+ users:
+ - displayName: displayName
+ avatarSrc: avatarSrc
+ userId: userId
+ username: username
+ reactId: reactId
+ - displayName: displayName
+ avatarSrc: avatarSrc
+ userId: userId
+ username: username
+ reactId: reactId
status: success
properties:
+ users:
+ description: "One entry per react, most recent first. Present when includeUserInfo\
+ \ is passed. Capped at 100 reacts."
+ items:
+ $ref: "#/components/schemas/PageCustomReactUser"
+ type: array
reactedIds:
items:
type: string
@@ -14534,6 +15695,7 @@ components:
createdAt: 2000-01-23T04:56:07.000+00:00
data: data
broadcastId: broadcastId
+ domain: domain
tenantId: tenantId
_id: _id
urlId: urlId
@@ -14551,8 +15713,11 @@ components:
type: string
data:
type: string
- required:
- - _id
+ domain:
+ nullable: true
+ type: string
+ required:
+ - _id
- broadcastId
- createdAt
- data
@@ -14565,12 +15730,14 @@ components:
- createdAt: 2000-01-23T04:56:07.000+00:00
data: data
broadcastId: broadcastId
+ domain: domain
tenantId: tenantId
_id: _id
urlId: urlId
- createdAt: 2000-01-23T04:56:07.000+00:00
data: data
broadcastId: broadcastId
+ domain: domain
tenantId: tenantId
_id: _id
urlId: urlId
@@ -14611,6 +15778,7 @@ components:
- deleted-ticket
- page-react
- question-result
+ - poll-update
type: string
TenantId:
type: string
@@ -14761,6 +15929,78 @@ components:
- urlIdRaw
- verificationId
type: object
+ CommentPollOption:
+ additionalProperties: false
+ example:
+ votes: 0
+ id: id
+ label: label
+ properties:
+ id:
+ type: string
+ label:
+ type: string
+ votes:
+ format: int32
+ type: integer
+ required:
+ - id
+ - label
+ - votes
+ type: object
+ PollPrivacy:
+ description: |-
+ Who may see which voter picked which option. Chosen by the poll's author when they build the poll, so it
+ lives on the poll itself rather than in the widget config. Anonymous is the default and is never stored on
+ the poll or sent to the client, so an unset value means Anonymous.
+ enum:
+ - 0
+ - 1
+ - 2
+ type: integer
+ CommentPoll:
+ additionalProperties: false
+ description: A poll attached to a comment. Vote counts are denormalized here;
+ individual votes live in PollVote.
+ example:
+ question: question
+ totalVotes: 6
+ options:
+ - votes: 0
+ id: id
+ label: label
+ - votes: 0
+ id: id
+ label: label
+ privacy: ""
+ closesAt: 2000-01-23T04:56:07.000+00:00
+ requireVoteToSeeResults: true
+ properties:
+ question:
+ type: string
+ options:
+ items:
+ $ref: "#/components/schemas/CommentPollOption"
+ type: array
+ totalVotes:
+ format: int32
+ type: integer
+ closesAt:
+ format: date-time
+ nullable: true
+ type: string
+ privacy:
+ allOf:
+ - $ref: "#/components/schemas/PollPrivacy"
+ nullable: true
+ requireVoteToSeeResults:
+ nullable: true
+ type: boolean
+ required:
+ - options
+ - question
+ - totalVotes
+ type: object
FDomain:
type: string
PubSubCommentBase:
@@ -14848,6 +16088,10 @@ components:
items:
type: string
type: array
+ poll:
+ allOf:
+ - $ref: "#/components/schemas/CommentPoll"
+ nullable: true
flagCount:
format: int32
nullable: true
@@ -14906,6 +16150,25 @@ components:
required:
- date
type: object
+ Pick_CommentPoll.options-or-totalVotes-or-closesAt_:
+ description: "From T, pick a set of properties whose keys are in the union K"
+ properties:
+ options:
+ items:
+ $ref: "#/components/schemas/CommentPollOption"
+ type: array
+ totalVotes:
+ format: int32
+ type: integer
+ closesAt:
+ format: date-time
+ type: string
+ required:
+ - options
+ - totalVotes
+ type: object
+ CommentPollUpdate:
+ $ref: "#/components/schemas/Pick_CommentPoll.options-or-totalVotes-or-closesAt_"
Record_string._before-string-or-null--after-string-or-null__:
additionalProperties:
$ref: "#/components/schemas/Record_string__before_string_or_null__after_string_or_null___value"
@@ -14941,6 +16204,10 @@ components:
$ref: "#/components/schemas/PubSubComment"
feedPost:
$ref: "#/components/schemas/FeedPost"
+ commentId:
+ type: string
+ poll:
+ $ref: "#/components/schemas/Pick_CommentPoll.options-or-totalVotes-or-closesAt_"
extraInfo:
$ref: "#/components/schemas/LiveEvent_extraInfo"
config:
@@ -15125,6 +16392,12 @@ components:
- properties:
isUnread:
type: boolean
+ myPollVotes:
+ description: Ids of the options the current viewer voted for on this comment's
+ poll. Only set when polls are enabled and they have voted.
+ items:
+ type: string
+ type: array
myVoteId:
type: string
isVotedDown:
@@ -15160,6 +16433,9 @@ components:
date: 2000-01-23T04:56:07.000+00:00
editKey: editKey
votesDown: 2
+ myPollVotes:
+ - myPollVotes
+ - myPollVotes
hasChildren: true
commenterName: commenterName
isBlocked: true
@@ -15451,6 +16727,7 @@ components:
disableBlocking: true
disableEmailInputs: true
widgetQuestionWhenToSave: 7
+ pollCreation: ""
allowAnonFlag: true
ticketKBSearchEndpoint: ticketKBSearchEndpoint
widgetSubQuestionVisibility: 1
@@ -15463,16 +16740,19 @@ components:
inputAfterComments: true
allowAnonVotes: true
commentThreadDeleteMode: ""
+ autoGenerateUsername: true
commentCountFormat: commentCountFormat
disableNotificationBell: true
enableFChat: true
voteStyle: 3
+ pollVoting: ""
disableAutoAdminMigration: true
disableProfileComments: true
absoluteAndRelativeDates: true
commenterNameFormat: ""
enableThirdPartyCookieBypass: true
ticketMaxFileSize: 6
+ commentTranslation: ""
locale: locale
showCommentSaveSuccess: true
disableCommenterCommentEdit: true
@@ -15492,6 +16772,7 @@ components:
enabled: true
widgetQuestionShowBreakdown: true
mentionAutoCompleteMode: ""
+ commentsRequireApproval: true
customCSS: customCSS
enableViewCounts: true
headerHTML: headerHTML
@@ -15521,6 +16802,9 @@ components:
- date: 2000-01-23T04:56:07.000+00:00
editKey: editKey
votesDown: 2
+ myPollVotes:
+ - myPollVotes
+ - myPollVotes
hasChildren: true
commenterName: commenterName
isBlocked: true
@@ -15582,6 +16866,9 @@ components:
- date: 2000-01-23T04:56:07.000+00:00
editKey: editKey
votesDown: 2
+ myPollVotes:
+ - myPollVotes
+ - myPollVotes
hasChildren: true
commenterName: commenterName
isBlocked: true
@@ -15688,6 +16975,9 @@ components:
date: 2000-01-23T04:56:07.000+00:00
editKey: editKey
votesDown: 2
+ myPollVotes:
+ - myPollVotes
+ - myPollVotes
hasChildren: true
commenterName: commenterName
isBlocked: true
@@ -15751,12 +17041,43 @@ components:
key: ""
user: ""
status: success
- Record_string.string-or-number_:
+ Record_string.string-or-number-or-number-Array_:
additionalProperties:
- $ref: "#/components/schemas/GifSearchResponse_images_inner_inner"
+ $ref: "#/components/schemas/Record_string_string_or_number_or_number_Array__value"
description: Construct a type with a set of properties K of type T
properties: {}
type: object
+ CommentPollInput:
+ additionalProperties: false
+ example:
+ question: question
+ options:
+ - options
+ - options
+ privacy: 2
+ closesAt: closesAt
+ requireVoteToSeeResults: true
+ properties:
+ question:
+ type: string
+ options:
+ items:
+ type: string
+ type: array
+ closesAt:
+ nullable: true
+ type: string
+ privacy:
+ format: int32
+ nullable: true
+ type: integer
+ requireVoteToSeeResults:
+ nullable: true
+ type: boolean
+ required:
+ - options
+ - question
+ type: object
CommentData:
additionalProperties: false
example:
@@ -15765,6 +17086,14 @@ components:
commenterName: commenterName
rating: 5.962133916683182
commenterLink: commenterLink
+ poll:
+ question: question
+ options:
+ - options
+ - options
+ privacy: 2
+ closesAt: closesAt
+ requireVoteToSeeResults: true
urlId: urlId
hashTags:
- retain: true
@@ -15781,7 +17110,7 @@ components:
botId: botId
productId: 1
questionValues:
- key: GifSearchResponse_images_inner_inner
+ key: Record_string_string_or_number_or_number_Array__value
feedbackIds:
- feedbackIds
- feedbackIds
@@ -15877,10 +17206,12 @@ components:
type: array
questionValues:
additionalProperties:
- $ref: "#/components/schemas/GifSearchResponse_images_inner_inner"
+ $ref: "#/components/schemas/Record_string_string_or_number_or_number_Array__value"
description: Construct a type with a set of properties K of type T
properties: {}
type: object
+ poll:
+ $ref: "#/components/schemas/CommentPollInput"
tos:
type: boolean
botId:
@@ -16000,6 +17331,73 @@ components:
- status
- voteUserNames
type: object
+ CommentTranslationPublic:
+ additionalProperties: false
+ properties:
+ commentHTML:
+ type: string
+ sourceLanguage:
+ type: string
+ required:
+ - commentHTML
+ - sourceLanguage
+ type: object
+ Record_string.CommentTranslationPublic-or-null_:
+ additionalProperties:
+ allOf:
+ - $ref: "#/components/schemas/CommentTranslationPublic"
+ nullable: true
+ description: Construct a type with a set of properties K of type T
+ properties: {}
+ type: object
+ CommentTranslationsResponse:
+ additionalProperties: false
+ example:
+ translations:
+ key: ""
+ failed:
+ - failed
+ - failed
+ locale: locale
+ status: success
+ properties:
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ locale:
+ type: string
+ translations:
+ additionalProperties:
+ allOf:
+ - $ref: "#/components/schemas/CommentTranslationPublic"
+ nullable: true
+ description: Construct a type with a set of properties K of type T
+ properties: {}
+ type: object
+ failed:
+ description: Comment ids that failed transiently and may be retried.
+ items:
+ type: string
+ type: array
+ required:
+ - failed
+ - locale
+ - status
+ - translations
+ type: object
+ CommentTranslationsRequest:
+ additionalProperties: false
+ example:
+ commentIds:
+ - commentIds
+ - commentIds
+ properties:
+ commentIds:
+ items:
+ type: string
+ type: array
+ required:
+ - commentIds
+ type: object
ChangeCommentPinStatusResponse:
example:
commentPositions:
@@ -16809,6 +18207,81 @@ components:
required:
- status
type: object
+ GetPageLikesAPIResponse:
+ example:
+ reason: reason
+ code: code
+ likeCount: 0
+ users:
+ - displayName: displayName
+ avatarSrc: avatarSrc
+ userId: userId
+ username: username
+ - displayName: displayName
+ avatarSrc: avatarSrc
+ userId: userId
+ username: username
+ status: status
+ properties:
+ reason:
+ type: string
+ code:
+ type: string
+ users:
+ description: Most recent first. Present when includeUserInfo is passed.
+ Capped at 100 reacts.
+ items:
+ $ref: "#/components/schemas/PageReactUser"
+ type: array
+ likeCount:
+ format: int32
+ type: integer
+ status:
+ type: string
+ required:
+ - status
+ type: object
+ GetPageReactsAPIResponse:
+ example:
+ reason: reason
+ code: code
+ counts:
+ key: 0.8008281904610115
+ users:
+ - displayName: displayName
+ avatarSrc: avatarSrc
+ userId: userId
+ username: username
+ reactId: reactId
+ - displayName: displayName
+ avatarSrc: avatarSrc
+ userId: userId
+ username: username
+ reactId: reactId
+ status: status
+ properties:
+ reason:
+ type: string
+ code:
+ type: string
+ users:
+ description: "One entry per react, most recent first. Present when includeUserInfo\
+ \ is passed. Capped at 100 reacts."
+ items:
+ $ref: "#/components/schemas/PageCustomReactUser"
+ type: array
+ counts:
+ additionalProperties:
+ format: double
+ type: number
+ description: Construct a type with a set of properties K of type T
+ properties: {}
+ type: object
+ status:
+ type: string
+ required:
+ - status
+ type: object
AddPageAPIResponse:
example:
reason: reason
@@ -16870,6 +18343,70 @@ components:
- url
- urlId
type: object
+ QueuePageMigrationJobAPIResponse:
+ example:
+ reason: reason
+ code: code
+ batchJobId: batchJobId
+ status: status
+ properties:
+ reason:
+ type: string
+ code:
+ type: string
+ batchJobId:
+ description: "Poll GET /api/v1/batch-jobs/{batchJobId} for progress and\
+ \ the result."
+ type: string
+ status:
+ type: string
+ required:
+ - status
+ type: object
+ PageMigrationType:
+ description: '"urlId" renames exact urlId matches only. "domain" find/replaces
+ the value inside every urlId and url.'
+ enum:
+ - urlId
+ - domain
+ type: string
+ PageMigration:
+ additionalProperties: false
+ example:
+ from: from
+ to: to
+ type: urlId
+ properties:
+ from:
+ type: string
+ to:
+ type: string
+ type:
+ $ref: "#/components/schemas/PageMigrationType"
+ required:
+ - from
+ - to
+ - type
+ type: object
+ MigrateAPIPagesData:
+ example:
+ migrations:
+ - from: from
+ to: to
+ type: urlId
+ - from: from
+ to: to
+ type: urlId
+ properties:
+ migrations:
+ description: "Run in the order given, so a -> b then b -> c works. At most\
+ \ 100."
+ items:
+ $ref: "#/components/schemas/PageMigration"
+ type: array
+ required:
+ - migrations
+ type: object
PatchPageAPIResponse:
example:
reason: reason
@@ -16928,18 +18465,442 @@ components:
type: object
DeletePageAPIResponse:
example:
- reason: reason
- code: code
- status: status
+ reason: reason
+ code: code
+ status: status
+ properties:
+ reason:
+ type: string
+ code:
+ type: string
+ status:
+ type: string
+ required:
+ - status
+ type: object
+ WebhookEventName:
+ enum:
+ - comment-created
+ - comment-updated
+ - comment-deleted
+ type: string
+ WebhookHTTPMethod:
+ enum:
+ - PUT
+ - DELETE
+ - POST
+ type: string
+ WebhookSource:
+ enum:
+ - dashboard
+ - api
+ type: string
+ PublicWebhook:
+ additionalProperties: false
+ example:
+ disabledReason: auto
+ method: PUT
+ lastFailureAt: 2000-01-23T04:56:07.000+00:00
+ failingSince: 2000-01-23T04:56:07.000+00:00
+ source: dashboard
+ url: url
+ enabled: true
+ disabledAt: 2000-01-23T04:56:07.000+00:00
+ createdAt: 2000-01-23T04:56:07.000+00:00
+ lastSuccessAt: 2000-01-23T04:56:07.000+00:00
+ domain: domain
+ id: id
+ event: comment-created
+ properties:
+ id:
+ type: string
+ url:
+ type: string
+ event:
+ $ref: "#/components/schemas/WebhookEventName"
+ domain:
+ type: string
+ method:
+ $ref: "#/components/schemas/WebhookHTTPMethod"
+ source:
+ $ref: "#/components/schemas/WebhookSource"
+ enabled:
+ type: boolean
+ createdAt:
+ format: date-time
+ type: string
+ lastSuccessAt:
+ format: date-time
+ type: string
+ lastFailureAt:
+ format: date-time
+ type: string
+ failingSince:
+ format: date-time
+ type: string
+ disabledAt:
+ format: date-time
+ type: string
+ disabledReason:
+ enum:
+ - auto
+ - manual
+ type: string
+ required:
+ - createdAt
+ - domain
+ - enabled
+ - event
+ - id
+ - method
+ - source
+ - url
+ type: object
+ GetWebhooksResponse:
+ additionalProperties: false
+ example:
+ webhooks:
+ - disabledReason: auto
+ method: PUT
+ lastFailureAt: 2000-01-23T04:56:07.000+00:00
+ failingSince: 2000-01-23T04:56:07.000+00:00
+ source: dashboard
+ url: url
+ enabled: true
+ disabledAt: 2000-01-23T04:56:07.000+00:00
+ createdAt: 2000-01-23T04:56:07.000+00:00
+ lastSuccessAt: 2000-01-23T04:56:07.000+00:00
+ domain: domain
+ id: id
+ event: comment-created
+ - disabledReason: auto
+ method: PUT
+ lastFailureAt: 2000-01-23T04:56:07.000+00:00
+ failingSince: 2000-01-23T04:56:07.000+00:00
+ source: dashboard
+ url: url
+ enabled: true
+ disabledAt: 2000-01-23T04:56:07.000+00:00
+ createdAt: 2000-01-23T04:56:07.000+00:00
+ lastSuccessAt: 2000-01-23T04:56:07.000+00:00
+ domain: domain
+ id: id
+ event: comment-created
+ status: success
+ properties:
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ webhooks:
+ items:
+ $ref: "#/components/schemas/PublicWebhook"
+ type: array
+ required:
+ - status
+ - webhooks
+ type: object
+ WebhookComment:
+ additionalProperties: false
+ example:
+ date: date
+ pageNumber: 5.962133916683182
+ votesDown: 1.4658129805029452
+ commenterName: commenterName
+ urlId: urlId
+ locale: locale
+ commentHTML: commentHTML
+ approved: true
+ verifiedDate: verifiedDate
+ aiDeterminedSpam: true
+ reviewed: true
+ pageNumberOF: 5.637376656633329
+ id: id
+ votesUp: 6.027456183070403
+ pageNumberNF: 2.3021358869347655
+ verified: true
+ externalId: externalId
+ userId: userId
+ url: url
+ parentId: parentId
+ commenterEmail: commenterEmail
+ moderationGroupIds:
+ - moderationGroupIds
+ - moderationGroupIds
+ mentions:
+ - rawTag: rawTag
+ id: id
+ tag: tag
+ type: user
+ sent: true
+ - rawTag: rawTag
+ id: id
+ tag: tag
+ type: user
+ sent: true
+ domain: domain
+ avatarSrc: avatarSrc
+ hasImages: true
+ comment: comment
+ votes: 0.8008281904610115
+ isSpam: true
+ properties:
+ id:
+ type: string
+ urlId:
+ type: string
+ url:
+ nullable: true
+ type: string
+ userId:
+ nullable: true
+ type: string
+ commenterEmail:
+ nullable: true
+ type: string
+ commenterName:
+ type: string
+ comment:
+ type: string
+ commentHTML:
+ type: string
+ externalId:
+ nullable: true
+ type: string
+ parentId:
+ nullable: true
+ type: string
+ date:
+ type: string
+ votes:
+ format: double
+ type: number
+ votesUp:
+ format: double
+ type: number
+ votesDown:
+ format: double
+ type: number
+ verified:
+ type: boolean
+ verifiedDate:
+ nullable: true
+ type: string
+ reviewed:
+ type: boolean
+ avatarSrc:
+ nullable: true
+ type: string
+ isSpam:
+ type: boolean
+ aiDeterminedSpam:
+ type: boolean
+ hasImages:
+ type: boolean
+ pageNumber:
+ format: double
+ nullable: true
+ type: number
+ pageNumberOF:
+ format: double
+ nullable: true
+ type: number
+ pageNumberNF:
+ format: double
+ nullable: true
+ type: number
+ approved:
+ type: boolean
+ locale:
+ nullable: true
+ type: string
+ mentions:
+ items:
+ $ref: "#/components/schemas/CommentUserMentionInfo"
+ type: array
+ domain:
+ nullable: true
+ type: string
+ moderationGroupIds:
+ items:
+ type: string
+ type: array
+ required:
+ - aiDeterminedSpam
+ - approved
+ - avatarSrc
+ - comment
+ - commentHTML
+ - commenterEmail
+ - commenterName
+ - date
+ - domain
+ - externalId
+ - hasImages
+ - id
+ - isSpam
+ - locale
+ - mentions
+ - moderationGroupIds
+ - pageNumber
+ - pageNumberNF
+ - pageNumberOF
+ - parentId
+ - reviewed
+ - url
+ - urlId
+ - userId
+ - verified
+ - verifiedDate
+ - votes
+ - votesDown
+ - votesUp
+ type: object
+ GetWebhookSamplePayloadsResponse:
+ additionalProperties: false
+ example:
+ payloads:
+ - date: date
+ pageNumber: 5.962133916683182
+ votesDown: 1.4658129805029452
+ commenterName: commenterName
+ urlId: urlId
+ locale: locale
+ commentHTML: commentHTML
+ approved: true
+ verifiedDate: verifiedDate
+ aiDeterminedSpam: true
+ reviewed: true
+ pageNumberOF: 5.637376656633329
+ id: id
+ votesUp: 6.027456183070403
+ pageNumberNF: 2.3021358869347655
+ verified: true
+ externalId: externalId
+ userId: userId
+ url: url
+ parentId: parentId
+ commenterEmail: commenterEmail
+ moderationGroupIds:
+ - moderationGroupIds
+ - moderationGroupIds
+ mentions:
+ - rawTag: rawTag
+ id: id
+ tag: tag
+ type: user
+ sent: true
+ - rawTag: rawTag
+ id: id
+ tag: tag
+ type: user
+ sent: true
+ domain: domain
+ avatarSrc: avatarSrc
+ hasImages: true
+ comment: comment
+ votes: 0.8008281904610115
+ isSpam: true
+ - date: date
+ pageNumber: 5.962133916683182
+ votesDown: 1.4658129805029452
+ commenterName: commenterName
+ urlId: urlId
+ locale: locale
+ commentHTML: commentHTML
+ approved: true
+ verifiedDate: verifiedDate
+ aiDeterminedSpam: true
+ reviewed: true
+ pageNumberOF: 5.637376656633329
+ id: id
+ votesUp: 6.027456183070403
+ pageNumberNF: 2.3021358869347655
+ verified: true
+ externalId: externalId
+ userId: userId
+ url: url
+ parentId: parentId
+ commenterEmail: commenterEmail
+ moderationGroupIds:
+ - moderationGroupIds
+ - moderationGroupIds
+ mentions:
+ - rawTag: rawTag
+ id: id
+ tag: tag
+ type: user
+ sent: true
+ - rawTag: rawTag
+ id: id
+ tag: tag
+ type: user
+ sent: true
+ domain: domain
+ avatarSrc: avatarSrc
+ hasImages: true
+ comment: comment
+ votes: 0.8008281904610115
+ isSpam: true
+ status: success
+ properties:
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ payloads:
+ items:
+ $ref: "#/components/schemas/WebhookComment"
+ type: array
+ required:
+ - payloads
+ - status
+ type: object
+ CreateWebhookResponse:
+ additionalProperties: false
+ example:
+ webhook:
+ disabledReason: auto
+ method: PUT
+ lastFailureAt: 2000-01-23T04:56:07.000+00:00
+ failingSince: 2000-01-23T04:56:07.000+00:00
+ source: dashboard
+ url: url
+ enabled: true
+ disabledAt: 2000-01-23T04:56:07.000+00:00
+ createdAt: 2000-01-23T04:56:07.000+00:00
+ lastSuccessAt: 2000-01-23T04:56:07.000+00:00
+ domain: domain
+ id: id
+ event: comment-created
+ status: success
+ properties:
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ webhook:
+ $ref: "#/components/schemas/PublicWebhook"
+ required:
+ - status
+ - webhook
+ type: object
+ CreateWebhookParams:
+ additionalProperties: false
+ example:
+ method: PUT
+ domain: domain
+ event: comment-created
+ url: url
properties:
- reason:
- type: string
- code:
+ url:
+ description: Where events are delivered. Must be http(s).
type: string
- status:
+ event:
+ $ref: "#/components/schemas/WebhookEventName"
+ domain:
+ description: "A domain from your account configuration, or '*' (the default)\
+ \ for every domain."
type: string
+ method:
+ $ref: "#/components/schemas/WebhookHTTPMethod"
required:
- - status
+ - event
+ - url
type: object
PublicVote:
additionalProperties: false
@@ -18037,6 +19998,7 @@ components:
enum:
- 0
- 1
+ - 2
type: integer
SiteType:
$ref: "#/components/schemas/ImportedSiteType"
@@ -18116,6 +20078,7 @@ components:
address: address
city: city
name: name
+ vatId: vatId
currency: currency
state: state
email: email
@@ -18139,6 +20102,11 @@ components:
email:
description: Email for invoices.
type: string
+ vatId:
+ description: VAT / Tax ID for invoices. Only persisted once Stripe has accepted
+ it.
+ nullable: true
+ type: string
required:
- address
- city
@@ -18209,9 +20177,11 @@ components:
address: address
city: city
name: name
+ vatId: vatId
currency: currency
state: state
email: email
+ hasDebranding: true
createdBy: createdBy
meta:
key: meta
@@ -18277,6 +20247,8 @@ components:
type: boolean
hasAuditing:
type: boolean
+ hasDebranding:
+ type: boolean
flexLastBilledAmount:
format: double
type: number
@@ -18366,9 +20338,11 @@ components:
address: address
city: city
name: name
+ vatId: vatId
currency: currency
state: state
email: email
+ hasDebranding: true
createdBy: createdBy
meta:
key: meta
@@ -18449,9 +20423,11 @@ components:
address: address
city: city
name: name
+ vatId: vatId
currency: currency
state: state
email: email
+ hasDebranding: true
createdBy: createdBy
meta:
key: meta
@@ -18518,9 +20494,11 @@ components:
address: address
city: city
name: name
+ vatId: vatId
currency: currency
state: state
email: email
+ hasDebranding: true
createdBy: createdBy
meta:
key: meta
@@ -18603,9 +20581,11 @@ components:
address: address
city: city
name: name
+ vatId: vatId
currency: currency
state: state
email: email
+ hasDebranding: true
createdBy: createdBy
meta:
key: meta
@@ -18640,12 +20620,12 @@ components:
address: address
city: city
name: name
+ vatId: vatId
currency: currency
state: state
email: email
stripeSubscriptionId: stripeSubscriptionId
deAnonIpAddr: 5.962133916683182
- createdBy: createdBy
removeUnverifiedComments: true
meta:
key: meta
@@ -18711,8 +20691,6 @@ components:
type: boolean
billingHandledExternally:
type: boolean
- createdBy:
- type: string
isSetup:
type: boolean
billingInfo:
@@ -18769,12 +20747,12 @@ components:
address: address
city: city
name: name
+ vatId: vatId
currency: currency
state: state
email: email
stripeSubscriptionId: stripeSubscriptionId
deAnonIpAddr: 5.962133916683182
- createdBy: createdBy
removeUnverifiedComments: true
meta:
key: meta
@@ -18837,8 +20815,6 @@ components:
type: boolean
billingHandledExternally:
type: boolean
- createdBy:
- type: string
isSetup:
type: boolean
domainConfiguration:
@@ -19466,7 +21442,7 @@ components:
flexManagedTenantCostCents: 3.0937452626664474
flexSmallWidgetsCreditUnit: 8.762042012749001
yearlyStripePlanId: yearlyStripePlanId
- aiAgentDailyBudgetCents: 4.652396432933246
+ aiAgentDailyBudgetCents: 8.969578798196912
maxSSOUsers: 3.616076749251911
hasFlexPricing: true
flexSSOModeratorCostCents: 7.058770351582356
@@ -19482,16 +21458,17 @@ components:
flexLLMCostCents: 5.944895607614016
name: name
_id: _id
- aiAgentMonthlyBudgetCents: 8.969578798196912
+ aiAgentMonthlyBudgetCents: 7.740351818741173
flexModeratorUnit: 6.438423552598547
flexChatGPTCostCents: 6.778324963048013
flexSSOAdminCostCents: 7.143538047012306
flexSSOUserCostCents: 4.965218492984954
flexLLMUnit: 6.704019297950036
+ flexFreeModerators: 0.10263654006109402
flexSSOModeratorUnit: 6.519180951018382
maxDomains: 4.145608029883936
maxMonthlyEventLogRequests: 1.2315135367772556
- maxAIAgents: 0.10263654006109402
+ maxAIAgents: 4.652396432933246
flexDomainUnit: 2.8841621266687802
hasWhiteLabeling: true
flexChatGPTUnit: 6.878052220127876
@@ -19679,6 +21656,9 @@ components:
flexSSOModeratorUnit:
format: double
type: number
+ flexFreeModerators:
+ format: double
+ type: number
isSSOBillingMonthlyActiveUsers:
type: boolean
hasAIAgents:
@@ -19735,7 +21715,7 @@ components:
flexManagedTenantCostCents: 3.0937452626664474
flexSmallWidgetsCreditUnit: 8.762042012749001
yearlyStripePlanId: yearlyStripePlanId
- aiAgentDailyBudgetCents: 4.652396432933246
+ aiAgentDailyBudgetCents: 8.969578798196912
maxSSOUsers: 3.616076749251911
hasFlexPricing: true
flexSSOModeratorCostCents: 7.058770351582356
@@ -19751,16 +21731,17 @@ components:
flexLLMCostCents: 5.944895607614016
name: name
_id: _id
- aiAgentMonthlyBudgetCents: 8.969578798196912
+ aiAgentMonthlyBudgetCents: 7.740351818741173
flexModeratorUnit: 6.438423552598547
flexChatGPTCostCents: 6.778324963048013
flexSSOAdminCostCents: 7.143538047012306
flexSSOUserCostCents: 4.965218492984954
flexLLMUnit: 6.704019297950036
+ flexFreeModerators: 0.10263654006109402
flexSSOModeratorUnit: 6.519180951018382
maxDomains: 4.145608029883936
maxMonthlyEventLogRequests: 1.2315135367772556
- maxAIAgents: 0.10263654006109402
+ maxAIAgents: 4.652396432933246
flexDomainUnit: 2.8841621266687802
hasWhiteLabeling: true
flexChatGPTUnit: 6.878052220127876
@@ -19812,7 +21793,7 @@ components:
flexManagedTenantCostCents: 3.0937452626664474
flexSmallWidgetsCreditUnit: 8.762042012749001
yearlyStripePlanId: yearlyStripePlanId
- aiAgentDailyBudgetCents: 4.652396432933246
+ aiAgentDailyBudgetCents: 8.969578798196912
maxSSOUsers: 3.616076749251911
hasFlexPricing: true
flexSSOModeratorCostCents: 7.058770351582356
@@ -19828,16 +21809,17 @@ components:
flexLLMCostCents: 5.944895607614016
name: name
_id: _id
- aiAgentMonthlyBudgetCents: 8.969578798196912
+ aiAgentMonthlyBudgetCents: 7.740351818741173
flexModeratorUnit: 6.438423552598547
flexChatGPTCostCents: 6.778324963048013
flexSSOAdminCostCents: 7.143538047012306
flexSSOUserCostCents: 4.965218492984954
flexLLMUnit: 6.704019297950036
+ flexFreeModerators: 0.10263654006109402
flexSSOModeratorUnit: 6.519180951018382
maxDomains: 4.145608029883936
maxMonthlyEventLogRequests: 1.2315135367772556
- maxAIAgents: 0.10263654006109402
+ maxAIAgents: 4.652396432933246
flexDomainUnit: 2.8841621266687802
hasWhiteLabeling: true
flexChatGPTUnit: 6.878052220127876
@@ -19875,7 +21857,7 @@ components:
flexManagedTenantCostCents: 3.0937452626664474
flexSmallWidgetsCreditUnit: 8.762042012749001
yearlyStripePlanId: yearlyStripePlanId
- aiAgentDailyBudgetCents: 4.652396432933246
+ aiAgentDailyBudgetCents: 8.969578798196912
maxSSOUsers: 3.616076749251911
hasFlexPricing: true
flexSSOModeratorCostCents: 7.058770351582356
@@ -19891,16 +21873,17 @@ components:
flexLLMCostCents: 5.944895607614016
name: name
_id: _id
- aiAgentMonthlyBudgetCents: 8.969578798196912
+ aiAgentMonthlyBudgetCents: 7.740351818741173
flexModeratorUnit: 6.438423552598547
flexChatGPTCostCents: 6.778324963048013
flexSSOAdminCostCents: 7.143538047012306
flexSSOUserCostCents: 4.965218492984954
flexLLMUnit: 6.704019297950036
+ flexFreeModerators: 0.10263654006109402
flexSSOModeratorUnit: 6.519180951018382
maxDomains: 4.145608029883936
maxMonthlyEventLogRequests: 1.2315135367772556
- maxAIAgents: 0.10263654006109402
+ maxAIAgents: 4.652396432933246
flexDomainUnit: 2.8841621266687802
hasWhiteLabeling: true
flexChatGPTUnit: 6.878052220127876
@@ -19954,7 +21937,7 @@ components:
flexManagedTenantCostCents: 3.0937452626664474
flexSmallWidgetsCreditUnit: 8.762042012749001
yearlyStripePlanId: yearlyStripePlanId
- aiAgentDailyBudgetCents: 4.652396432933246
+ aiAgentDailyBudgetCents: 8.969578798196912
maxSSOUsers: 3.616076749251911
hasFlexPricing: true
flexSSOModeratorCostCents: 7.058770351582356
@@ -19970,16 +21953,17 @@ components:
flexLLMCostCents: 5.944895607614016
name: name
_id: _id
- aiAgentMonthlyBudgetCents: 8.969578798196912
+ aiAgentMonthlyBudgetCents: 7.740351818741173
flexModeratorUnit: 6.438423552598547
flexChatGPTCostCents: 6.778324963048013
flexSSOAdminCostCents: 7.143538047012306
flexSSOUserCostCents: 4.965218492984954
flexLLMUnit: 6.704019297950036
+ flexFreeModerators: 0.10263654006109402
flexSSOModeratorUnit: 6.519180951018382
maxDomains: 4.145608029883936
maxMonthlyEventLogRequests: 1.2315135367772556
- maxAIAgents: 0.10263654006109402
+ maxAIAgents: 4.652396432933246
flexDomainUnit: 2.8841621266687802
hasWhiteLabeling: true
flexChatGPTUnit: 6.878052220127876
@@ -20687,6 +22671,9 @@ components:
- values
- values
name: name
+ values:
+ - 6.027456183070403
+ - 6.027456183070403
tenantId: tenantId
anonUserId: anonUserId
commentId: commentId
@@ -20710,8 +22697,16 @@ components:
format: date-time
type: string
value:
+ description: The answer. For multi-choice questions this is the number of
+ selected options and the options are in values.
format: int32
type: integer
+ values:
+ description: "Selected option indexes, multi-choice questions only."
+ items:
+ format: double
+ type: number
+ type: array
commentId:
nullable: true
type: string
@@ -20750,6 +22745,9 @@ components:
- values
- values
name: name
+ values:
+ - 6.027456183070403
+ - 6.027456183070403
tenantId: tenantId
anonUserId: anonUserId
commentId: commentId
@@ -20783,6 +22781,9 @@ components:
- values
- values
name: name
+ values:
+ - 6.027456183070403
+ - 6.027456183070403
tenantId: tenantId
anonUserId: anonUserId
commentId: commentId
@@ -20802,6 +22803,9 @@ components:
- values
- values
name: name
+ values:
+ - 6.027456183070403
+ - 6.027456183070403
tenantId: tenantId
anonUserId: anonUserId
commentId: commentId
@@ -20837,6 +22841,9 @@ components:
- values
- values
name: name
+ values:
+ - 6.027456183070403
+ - 6.027456183070403
tenantId: tenantId
anonUserId: anonUserId
commentId: commentId
@@ -20868,6 +22875,9 @@ components:
- values
- values
name: name
+ values:
+ - 6.027456183070403
+ - 6.027456183070403
anonUserId: anonUserId
commentId: commentId
urlId: urlId
@@ -20877,8 +22887,16 @@ components:
urlId:
type: string
value:
+ description: Required unless values is given. For multi-choice questions
+ this is derived from values.
format: double
type: number
+ values:
+ description: Selected option indexes for multi-choice questions.
+ items:
+ format: double
+ type: number
+ type: array
questionId:
type: string
anonUserId:
@@ -20895,7 +22913,6 @@ components:
required:
- questionId
- urlId
- - value
type: object
UpdateQuestionResultBody:
additionalProperties: {}
@@ -20910,6 +22927,9 @@ components:
- values
- values
name: name
+ values:
+ - 6.027456183070403
+ - 6.027456183070403
anonUserId: anonUserId
commentId: commentId
urlId: urlId
@@ -20925,6 +22945,12 @@ components:
value:
format: double
type: number
+ values:
+ description: Selected option indexes for multi-choice questions.
+ items:
+ format: double
+ type: number
+ type: array
commentId:
type: string
questionId:
@@ -21152,6 +23178,33 @@ components:
required:
- aggregations
type: object
+ CommentTranslation:
+ additionalProperties: false
+ properties:
+ comment:
+ type: string
+ commentHTML:
+ type: string
+ sourceLanguage:
+ type: string
+ model:
+ type: string
+ createdAt:
+ format: date-time
+ type: string
+ required:
+ - comment
+ - commentHTML
+ - createdAt
+ - model
+ - sourceLanguage
+ type: object
+ Record_string.CommentTranslation_:
+ additionalProperties:
+ $ref: "#/components/schemas/CommentTranslation"
+ description: Construct a type with a set of properties K of type T
+ properties: {}
+ type: object
CommentLogType:
enum:
- 0
@@ -21210,6 +23263,16 @@ components:
- 53
- 54
- 55
+ - 56
+ - 57
+ - 58
+ - 59
+ - 60
+ - 61
+ - 62
+ - 63
+ - 64
+ - 65
type: integer
RepeatCommentHandlingAction:
enum:
@@ -21227,59 +23290,82 @@ components:
- 5
- 6
type: integer
+ NotificationSkipReason:
+ enum:
+ - 0
+ - 1
+ - 2
+ - 3
+ - 4
+ - 5
+ - 6
+ - 7
+ - 8
+ - 9
+ - 10
+ - 11
+ - 12
+ - 13
+ - 14
+ - 15
+ type: integer
CommentLogData:
additionalProperties: false
example:
votesDownAfter: 9.369310271410669
repeatAction: 6
reason: 8
- votesUpBefore: 1.1730742509559433
tenantBadgeId: tenantBadgeId
+ detectedLanguage: detectedLanguage
+ expireBefore: 2000-01-23T04:56:07.000+00:00
+ textBefore: textBefore
+ source: source
+ spamBefore: true
+ foundUser: true
+ engineResponse: engineResponse
+ notificationCount: 6.84685269835264
+ subscribers: 1.4894159098541704
+ otherData: ""
+ clearContent: true
+ approvedAfter: true
+ recipientUserId: recipientUserId
+ phrase: phrase
+ isDeletedUser: true
+ votesUpAfter: 9.965781217890562
+ word: word
+ votesUpBefore: 1.1730742509559433
badgeId: badgeId
invalidLocale: invalidLocale
reviewedBefore: true
reviewedAfter: true
trustFactorBefore: 6.438423552598547
trustFactor: 1.0246457001441578
- detectedLanguage: detectedLanguage
engineTokens: 1.2315135367772556
rule:
commentContains: commentContains
actions:
- spam
- spam
- expireBefore: 2000-01-23T04:56:07.000+00:00
- textBefore: textBefore
- source: source
detectedLocale: detectedLocale
locale: locale
- spamBefore: true
votesBefore: 7.457744773683766
votesDownBefore: 4.965218492984954
spamAfter: true
- foundUser: true
textAfter: textAfter
engine: engine
- engineResponse: engineResponse
trustFactorAfter: 3.5571952270680973
+ notifySkipReason: 6
approvedBefore: true
- notificationCount: 6.84685269835264
- subscribers: 1.4894159098541704
- otherData: ""
- clearContent: true
verified: true
expireAfter: 2000-01-23T04:56:07.000+00:00
flagCountBefore: 9.018348186070783
+ emailQueued: true
userId: userId
- approvedAfter: true
- phrase: phrase
- isDeletedUser: true
votesAfter: 5.025004791520295
- votesUpAfter: 9.965781217890562
permanentFlag: permanent
wasLoggedIn: true
+ skipReason: skipReason
badWord: badWord
- word: word
referencedCommentId: referencedCommentId
properties:
clearContent:
@@ -21354,6 +23440,8 @@ components:
$ref: "#/components/schemas/RepeatCommentHandlingAction"
reason:
$ref: "#/components/schemas/RepeatCommentCheckIgnoredReason"
+ skipReason:
+ type: string
otherData: {}
spamBefore:
type: boolean
@@ -21402,6 +23490,12 @@ components:
type: string
detectedLanguage:
type: string
+ recipientUserId:
+ type: string
+ notifySkipReason:
+ $ref: "#/components/schemas/NotificationSkipReason"
+ emailQueued:
+ type: boolean
type: object
CommentLogEntry:
additionalProperties: false
@@ -21412,53 +23506,57 @@ components:
votesDownAfter: 9.369310271410669
repeatAction: 6
reason: 8
- votesUpBefore: 1.1730742509559433
tenantBadgeId: tenantBadgeId
+ detectedLanguage: detectedLanguage
+ expireBefore: 2000-01-23T04:56:07.000+00:00
+ textBefore: textBefore
+ source: source
+ spamBefore: true
+ foundUser: true
+ engineResponse: engineResponse
+ notificationCount: 6.84685269835264
+ subscribers: 1.4894159098541704
+ otherData: ""
+ clearContent: true
+ approvedAfter: true
+ recipientUserId: recipientUserId
+ phrase: phrase
+ isDeletedUser: true
+ votesUpAfter: 9.965781217890562
+ word: word
+ votesUpBefore: 1.1730742509559433
badgeId: badgeId
invalidLocale: invalidLocale
reviewedBefore: true
reviewedAfter: true
trustFactorBefore: 6.438423552598547
trustFactor: 1.0246457001441578
- detectedLanguage: detectedLanguage
engineTokens: 1.2315135367772556
rule:
commentContains: commentContains
actions:
- spam
- spam
- expireBefore: 2000-01-23T04:56:07.000+00:00
- textBefore: textBefore
- source: source
detectedLocale: detectedLocale
locale: locale
- spamBefore: true
votesBefore: 7.457744773683766
votesDownBefore: 4.965218492984954
spamAfter: true
- foundUser: true
textAfter: textAfter
engine: engine
- engineResponse: engineResponse
trustFactorAfter: 3.5571952270680973
+ notifySkipReason: 6
approvedBefore: true
- notificationCount: 6.84685269835264
- subscribers: 1.4894159098541704
- otherData: ""
- clearContent: true
verified: true
expireAfter: 2000-01-23T04:56:07.000+00:00
flagCountBefore: 9.018348186070783
+ emailQueued: true
userId: userId
- approvedAfter: true
- phrase: phrase
- isDeletedUser: true
votesAfter: 5.025004791520295
- votesUpAfter: 9.965781217890562
permanentFlag: permanent
wasLoggedIn: true
+ skipReason: skipReason
badWord: badWord
- word: word
referencedCommentId: referencedCommentId
properties:
d:
@@ -21479,7 +23577,9 @@ components:
editKey: editKey
pageNumber: 5
pageTitle: pageTitle
+ detectedLanguage: detectedLanguage
rating: 3.616076749251911
+ poll: ""
approved: true
hashTags:
- retain: true
@@ -21493,6 +23593,7 @@ components:
localDateString: localDateString
notificationSentForParentTenant: true
verifiedDate: 2000-01-23T04:56:07.000+00:00
+ translations: ""
isLocked: true
groupIds:
- groupIds
@@ -21506,53 +23607,57 @@ components:
votesDownAfter: 9.369310271410669
repeatAction: 6
reason: 8
- votesUpBefore: 1.1730742509559433
tenantBadgeId: tenantBadgeId
+ detectedLanguage: detectedLanguage
+ expireBefore: 2000-01-23T04:56:07.000+00:00
+ textBefore: textBefore
+ source: source
+ spamBefore: true
+ foundUser: true
+ engineResponse: engineResponse
+ notificationCount: 6.84685269835264
+ subscribers: 1.4894159098541704
+ otherData: ""
+ clearContent: true
+ approvedAfter: true
+ recipientUserId: recipientUserId
+ phrase: phrase
+ isDeletedUser: true
+ votesUpAfter: 9.965781217890562
+ word: word
+ votesUpBefore: 1.1730742509559433
badgeId: badgeId
invalidLocale: invalidLocale
reviewedBefore: true
reviewedAfter: true
trustFactorBefore: 6.438423552598547
trustFactor: 1.0246457001441578
- detectedLanguage: detectedLanguage
engineTokens: 1.2315135367772556
rule:
commentContains: commentContains
actions:
- spam
- spam
- expireBefore: 2000-01-23T04:56:07.000+00:00
- textBefore: textBefore
- source: source
detectedLocale: detectedLocale
locale: locale
- spamBefore: true
votesBefore: 7.457744773683766
votesDownBefore: 4.965218492984954
spamAfter: true
- foundUser: true
textAfter: textAfter
engine: engine
- engineResponse: engineResponse
trustFactorAfter: 3.5571952270680973
+ notifySkipReason: 6
approvedBefore: true
- notificationCount: 6.84685269835264
- subscribers: 1.4894159098541704
- otherData: ""
- clearContent: true
verified: true
expireAfter: 2000-01-23T04:56:07.000+00:00
flagCountBefore: 9.018348186070783
+ emailQueued: true
userId: userId
- approvedAfter: true
- phrase: phrase
- isDeletedUser: true
votesAfter: 5.025004791520295
- votesUpAfter: 9.965781217890562
permanentFlag: permanent
wasLoggedIn: true
+ skipReason: skipReason
badWord: badWord
- word: word
referencedCommentId: referencedCommentId
- d: 2000-01-23T04:56:07.000+00:00
t: 7
@@ -21560,53 +23665,57 @@ components:
votesDownAfter: 9.369310271410669
repeatAction: 6
reason: 8
- votesUpBefore: 1.1730742509559433
tenantBadgeId: tenantBadgeId
+ detectedLanguage: detectedLanguage
+ expireBefore: 2000-01-23T04:56:07.000+00:00
+ textBefore: textBefore
+ source: source
+ spamBefore: true
+ foundUser: true
+ engineResponse: engineResponse
+ notificationCount: 6.84685269835264
+ subscribers: 1.4894159098541704
+ otherData: ""
+ clearContent: true
+ approvedAfter: true
+ recipientUserId: recipientUserId
+ phrase: phrase
+ isDeletedUser: true
+ votesUpAfter: 9.965781217890562
+ word: word
+ votesUpBefore: 1.1730742509559433
badgeId: badgeId
invalidLocale: invalidLocale
reviewedBefore: true
reviewedAfter: true
trustFactorBefore: 6.438423552598547
trustFactor: 1.0246457001441578
- detectedLanguage: detectedLanguage
engineTokens: 1.2315135367772556
rule:
commentContains: commentContains
actions:
- spam
- spam
- expireBefore: 2000-01-23T04:56:07.000+00:00
- textBefore: textBefore
- source: source
detectedLocale: detectedLocale
locale: locale
- spamBefore: true
votesBefore: 7.457744773683766
votesDownBefore: 4.965218492984954
spamAfter: true
- foundUser: true
textAfter: textAfter
engine: engine
- engineResponse: engineResponse
trustFactorAfter: 3.5571952270680973
+ notifySkipReason: 6
approvedBefore: true
- notificationCount: 6.84685269835264
- subscribers: 1.4894159098541704
- otherData: ""
- clearContent: true
verified: true
expireAfter: 2000-01-23T04:56:07.000+00:00
flagCountBefore: 9.018348186070783
+ emailQueued: true
userId: userId
- approvedAfter: true
- phrase: phrase
- isDeletedUser: true
votesAfter: 5.025004791520295
- votesUpAfter: 9.965781217890562
permanentFlag: permanent
wasLoggedIn: true
+ skipReason: skipReason
badWord: badWord
- word: word
referencedCommentId: referencedCommentId
fromProductId: 2
flagCount: 9
@@ -21657,7 +23766,7 @@ components:
permNotSpam: true
pageNumberOF: 2
localDateHours: 0
- viewCount: 6
+ viewCount: 1
botId: botId
votesUp: 1
displayLabel: displayLabel
@@ -21818,6 +23927,13 @@ components:
locale:
nullable: true
type: string
+ detectedLanguage:
+ nullable: true
+ type: string
+ translations:
+ allOf:
+ - $ref: "#/components/schemas/Record_string.CommentTranslation_"
+ nullable: true
isDeleted:
type: boolean
isDeletedUser:
@@ -21889,6 +24005,10 @@ components:
items:
type: string
type: array
+ poll:
+ allOf:
+ - $ref: "#/components/schemas/CommentPoll"
+ nullable: true
logs:
items:
$ref: "#/components/schemas/CommentLogEntry"
@@ -21940,6 +24060,9 @@ components:
- values
- values
name: name
+ values:
+ - 6.027456183070403
+ - 6.027456183070403
tenantId: tenantId
anonUserId: anonUserId
commentId: commentId
@@ -21977,6 +24100,9 @@ components:
- values
- values
name: name
+ values:
+ - 6.027456183070403
+ - 6.027456183070403
tenantId: tenantId
anonUserId: anonUserId
commentId: commentId
@@ -21998,6 +24124,9 @@ components:
- values
- values
name: name
+ values:
+ - 6.027456183070403
+ - 6.027456183070403
tenantId: tenantId
anonUserId: anonUserId
commentId: commentId
@@ -22037,6 +24166,9 @@ components:
- values
- values
name: name
+ values:
+ - 6.027456183070403
+ - 6.027456183070403
tenantId: tenantId
anonUserId: anonUserId
commentId: commentId
@@ -22058,6 +24190,9 @@ components:
- values
- values
name: name
+ values:
+ - 6.027456183070403
+ - 6.027456183070403
tenantId: tenantId
anonUserId: anonUserId
commentId: commentId
@@ -22069,17 +24204,68 @@ components:
comment: ""
status: success
properties:
- status:
- $ref: "#/components/schemas/APIStatus"
- data:
- $ref: "#/components/schemas/FindCommentsByRangeResponse"
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ data:
+ $ref: "#/components/schemas/FindCommentsByRangeResponse"
+ required:
+ - data
+ - status
+ type: object
+ QuestionConditionOperator:
+ enum:
+ - lt
+ - lte
+ - gt
+ - gte
+ - eq
+ - neq
+ - includes
+ - excludes
+ type: string
+ SubQuestionCondition:
+ additionalProperties: false
+ example:
+ subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
+ properties:
+ operator:
+ $ref: "#/components/schemas/QuestionConditionOperator"
+ value:
+ format: double
+ type: number
+ subQuestionId:
+ type: string
+ required:
+ - operator
+ - subQuestionId
+ - value
+ type: object
+ QuestionCondition:
+ additionalProperties: false
+ description: |-
+ A rule evaluated against a question's answer. value is the score for nps/slider/star/emoji/scale, 1 or 0 for
+ thumbs, and the option index for choice/multi.
+ example:
+ value: 7.061401241503109
+ operator: null
+ properties:
+ operator:
+ $ref: "#/components/schemas/QuestionConditionOperator"
+ value:
+ format: double
+ type: number
required:
- - data
- - status
+ - operator
+ - value
type: object
QuestionConfig:
additionalProperties: false
example:
+ commentBoxCondition:
+ value: 7.061401241503109
+ operator: null
helpText: helpText
question: question
summaryLabel: summaryLabel
@@ -22091,12 +24277,20 @@ components:
imageSrc: imageSrc
- name: name
imageSrc: imageSrc
- reportingOrder: 2.3021358869347655
+ commentBoxPrompt: commentBoxPrompt
+ reportingOrder: 9.301444243932576
alwaysShowSubQuestions: true
type: type
lastUsed: 2000-01-23T04:56:07.000+00:00
createdAt: 2000-01-23T04:56:07.000+00:00
min: 1.4658129805029452
+ subQuestionConditions:
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
createdBy: createdBy
labelNegative: labelNegative
tenantId: tenantId
@@ -22132,6 +24326,9 @@ components:
format: date-time
type: string
type:
+ description: |-
+ One of nps, slider, star, thumbs, choice, multi, emoji, scale. Answers: nps 0-10, slider min-max, star 1-numStars,
+ thumbs 1 (up) or 0 (down), choice = option index, multi = option indexes (values), emoji/scale = option index + 1.
type: string
numStars:
format: double
@@ -22150,6 +24347,7 @@ components:
labelPositive:
type: string
customOptions:
+ description: "Option labels for choice, multi, emoji and scale questions."
items:
$ref: "#/components/schemas/QuestionConfig_customOptions_inner"
type: array
@@ -22159,6 +24357,18 @@ components:
type: array
alwaysShowSubQuestions:
type: boolean
+ subQuestionConditions:
+ description: Sub-questions listed here only show when this question's answer
+ matches. Others always show.
+ items:
+ $ref: "#/components/schemas/SubQuestionCondition"
+ type: array
+ commentBoxCondition:
+ $ref: "#/components/schemas/QuestionCondition"
+ commentBoxPrompt:
+ description: Placeholder for the comment box when commentBoxCondition reveals
+ it.
+ type: string
reportingOrder:
format: double
type: number
@@ -22189,6 +24399,9 @@ components:
example:
status: success
questionConfig:
+ commentBoxCondition:
+ value: 7.061401241503109
+ operator: null
helpText: helpText
question: question
summaryLabel: summaryLabel
@@ -22200,12 +24413,20 @@ components:
imageSrc: imageSrc
- name: name
imageSrc: imageSrc
- reportingOrder: 2.3021358869347655
+ commentBoxPrompt: commentBoxPrompt
+ reportingOrder: 9.301444243932576
alwaysShowSubQuestions: true
type: type
lastUsed: 2000-01-23T04:56:07.000+00:00
createdAt: 2000-01-23T04:56:07.000+00:00
min: 1.4658129805029452
+ subQuestionConditions:
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
createdBy: createdBy
labelNegative: labelNegative
tenantId: tenantId
@@ -22229,7 +24450,10 @@ components:
additionalProperties: false
example:
questionConfigs:
- - helpText: helpText
+ - commentBoxCondition:
+ value: 7.061401241503109
+ operator: null
+ helpText: helpText
question: question
summaryLabel: summaryLabel
max: 5.962133916683182
@@ -22240,12 +24464,20 @@ components:
imageSrc: imageSrc
- name: name
imageSrc: imageSrc
- reportingOrder: 2.3021358869347655
+ commentBoxPrompt: commentBoxPrompt
+ reportingOrder: 9.301444243932576
alwaysShowSubQuestions: true
type: type
lastUsed: 2000-01-23T04:56:07.000+00:00
createdAt: 2000-01-23T04:56:07.000+00:00
min: 1.4658129805029452
+ subQuestionConditions:
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
createdBy: createdBy
labelNegative: labelNegative
tenantId: tenantId
@@ -22256,7 +24488,10 @@ components:
- subQuestionIds
_id: _id
usedCount: 0.8008281904610115
- - helpText: helpText
+ - commentBoxCondition:
+ value: 7.061401241503109
+ operator: null
+ helpText: helpText
question: question
summaryLabel: summaryLabel
max: 5.962133916683182
@@ -22267,12 +24502,20 @@ components:
imageSrc: imageSrc
- name: name
imageSrc: imageSrc
- reportingOrder: 2.3021358869347655
+ commentBoxPrompt: commentBoxPrompt
+ reportingOrder: 9.301444243932576
alwaysShowSubQuestions: true
type: type
lastUsed: 2000-01-23T04:56:07.000+00:00
createdAt: 2000-01-23T04:56:07.000+00:00
min: 1.4658129805029452
+ subQuestionConditions:
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
createdBy: createdBy
labelNegative: labelNegative
tenantId: tenantId
@@ -22300,6 +24543,9 @@ components:
example:
status: success
questionConfig:
+ commentBoxCondition:
+ value: 7.061401241503109
+ operator: null
helpText: helpText
question: question
summaryLabel: summaryLabel
@@ -22311,12 +24557,20 @@ components:
imageSrc: imageSrc
- name: name
imageSrc: imageSrc
- reportingOrder: 2.3021358869347655
+ commentBoxPrompt: commentBoxPrompt
+ reportingOrder: 9.301444243932576
alwaysShowSubQuestions: true
type: type
lastUsed: 2000-01-23T04:56:07.000+00:00
createdAt: 2000-01-23T04:56:07.000+00:00
min: 1.4658129805029452
+ subQuestionConditions:
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
createdBy: createdBy
labelNegative: labelNegative
tenantId: tenantId
@@ -22339,6 +24593,101 @@ components:
CreateQuestionConfigBody:
additionalProperties: {}
example:
+ commentBoxCondition:
+ value: 7.061401241503109
+ operator: null
+ helpText: helpText
+ question: question
+ max: 1.4658129805029452
+ labelPositive: labelPositive
+ defaultValue: 5.962133916683182
+ customOptions:
+ - name: name
+ imageSrc: imageSrc
+ - name: name
+ imageSrc: imageSrc
+ commentBoxPrompt: commentBoxPrompt
+ reportingOrder: 5.637376656633329
+ alwaysShowSubQuestions: true
+ type: type
+ min: 6.027456183070403
+ subQuestionConditions:
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
+ labelNegative: labelNegative
+ name: name
+ numStars: 0.8008281904610115
+ subQuestionIds:
+ - subQuestionIds
+ - subQuestionIds
+ properties:
+ name:
+ type: string
+ question:
+ type: string
+ helpText:
+ type: string
+ type:
+ description: |-
+ One of nps, slider, star, thumbs, choice, multi, emoji, scale. choice, multi, emoji and scale take their labels
+ from customOptions (choice/multi 2-20 options, emoji/scale 3-7).
+ type: string
+ numStars:
+ format: double
+ type: number
+ min:
+ format: double
+ type: number
+ max:
+ format: double
+ type: number
+ defaultValue:
+ format: double
+ type: number
+ labelNegative:
+ type: string
+ labelPositive:
+ type: string
+ customOptions:
+ items:
+ $ref: "#/components/schemas/QuestionConfig_customOptions_inner"
+ type: array
+ subQuestionIds:
+ items:
+ type: string
+ type: array
+ alwaysShowSubQuestions:
+ type: boolean
+ subQuestionConditions:
+ description: Show a sub-question only when this question's answer matches
+ its rule.
+ items:
+ $ref: "#/components/schemas/SubQuestionCondition"
+ type: array
+ commentBoxCondition:
+ $ref: "#/components/schemas/QuestionCondition"
+ commentBoxPrompt:
+ description: Comment box placeholder when commentBoxCondition reveals it.
+ type: string
+ reportingOrder:
+ format: double
+ type: number
+ required:
+ - name
+ - question
+ - reportingOrder
+ - type
+ type: object
+ UpdateQuestionConfigBody:
+ additionalProperties: {}
+ example:
+ commentBoxCondition:
+ value: 7.061401241503109
+ operator: null
helpText: helpText
question: question
max: 1.4658129805029452
@@ -22349,10 +24698,18 @@ components:
imageSrc: imageSrc
- name: name
imageSrc: imageSrc
+ commentBoxPrompt: commentBoxPrompt
reportingOrder: 5.637376656633329
alwaysShowSubQuestions: true
type: type
min: 6.027456183070403
+ subQuestionConditions:
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
+ - subQuestionId: subQuestionId
+ value: 2.3021358869347655
+ operator: lt
labelNegative: labelNegative
name: name
numStars: 0.8008281904610115
@@ -22367,6 +24724,7 @@ components:
helpText:
type: string
type:
+ description: "One of nps, slider, star, thumbs, choice, multi, emoji, scale."
type: string
numStars:
format: double
@@ -22394,76 +24752,329 @@ components:
type: array
alwaysShowSubQuestions:
type: boolean
+ subQuestionConditions:
+ items:
+ $ref: "#/components/schemas/SubQuestionCondition"
+ type: array
+ commentBoxCondition:
+ $ref: "#/components/schemas/QuestionCondition"
+ commentBoxPrompt:
+ type: string
reportingOrder:
format: double
type: number
+ type: object
+ GetPollResponse:
+ additionalProperties: false
+ example:
+ poll:
+ question: question
+ totalVotes: 6
+ options:
+ - votes: 0
+ id: id
+ label: label
+ - votes: 0
+ id: id
+ label: label
+ privacy: ""
+ closesAt: 2000-01-23T04:56:07.000+00:00
+ requireVoteToSeeResults: true
+ status: success
+ properties:
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ poll:
+ $ref: "#/components/schemas/CommentPoll"
+ required:
+ - poll
+ - status
+ type: object
+ SavePollResponse:
+ additionalProperties: false
+ example:
+ poll:
+ question: question
+ totalVotes: 6
+ options:
+ - votes: 0
+ id: id
+ label: label
+ - votes: 0
+ id: id
+ label: label
+ privacy: ""
+ closesAt: 2000-01-23T04:56:07.000+00:00
+ requireVoteToSeeResults: true
+ status: success
+ properties:
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ poll:
+ $ref: "#/components/schemas/CommentPoll"
+ required:
+ - poll
+ - status
+ type: object
+ CommentPollOptionInput:
+ additionalProperties: false
+ example:
+ id: id
+ label: label
+ properties:
+ id:
+ nullable: true
+ type: string
+ label:
+ type: string
+ required:
+ - label
+ type: object
+ CommentPollPutInput:
+ additionalProperties: false
+ example:
+ question: question
+ options:
+ - id: id
+ label: label
+ - id: id
+ label: label
+ privacy: 0
+ closesAt: closesAt
+ requireVoteToSeeResults: true
+ properties:
+ question:
+ type: string
+ options:
+ items:
+ $ref: "#/components/schemas/CommentPollOptionInput"
+ type: array
+ closesAt:
+ nullable: true
+ type: string
+ privacy:
+ format: int32
+ nullable: true
+ type: integer
+ requireVoteToSeeResults:
+ nullable: true
+ type: boolean
+ required:
+ - options
+ - question
+ type: object
+ CommentPollPatch:
+ additionalProperties: false
+ example:
+ question: question
+ options:
+ - label: label
+ id: id
+ - label: label
+ id: id
+ privacy: 0
+ closesAt: closesAt
+ requireVoteToSeeResults: true
+ properties:
+ question:
+ nullable: true
+ type: string
+ options:
+ items:
+ $ref: "#/components/schemas/CommentPollPatch_options_inner"
+ nullable: true
+ type: array
+ closesAt:
+ nullable: true
+ type: string
+ privacy:
+ format: int32
+ nullable: true
+ type: integer
+ requireVoteToSeeResults:
+ nullable: true
+ type: boolean
+ type: object
+ PublicPollVote:
+ additionalProperties: false
+ description: A single vote cast on a comment's poll.
+ example:
+ createdAt: 2000-01-23T04:56:07.000+00:00
+ tenantId: tenantId
+ voterId: voterId
+ commentId: commentId
+ optionId: optionId
+ id: id
+ urlId: urlId
+ updatedAt: 2000-01-23T04:56:07.000+00:00
+ properties:
+ id:
+ type: string
+ tenantId:
+ type: string
+ commentId:
+ type: string
+ urlId:
+ type: string
+ voterId:
+ type: string
+ optionId:
+ type: string
+ createdAt:
+ format: date-time
+ type: string
+ updatedAt:
+ format: date-time
+ type: string
+ required:
+ - commentId
+ - createdAt
+ - id
+ - optionId
+ - tenantId
+ - urlId
+ - voterId
+ type: object
+ GetPollVotesResponse:
+ additionalProperties: false
+ example:
+ pollVotes:
+ - createdAt: 2000-01-23T04:56:07.000+00:00
+ tenantId: tenantId
+ voterId: voterId
+ commentId: commentId
+ optionId: optionId
+ id: id
+ urlId: urlId
+ updatedAt: 2000-01-23T04:56:07.000+00:00
+ - createdAt: 2000-01-23T04:56:07.000+00:00
+ tenantId: tenantId
+ voterId: voterId
+ commentId: commentId
+ optionId: optionId
+ id: id
+ urlId: urlId
+ updatedAt: 2000-01-23T04:56:07.000+00:00
+ status: success
+ properties:
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ pollVotes:
+ items:
+ $ref: "#/components/schemas/PublicPollVote"
+ type: array
+ required:
+ - pollVotes
+ - status
+ type: object
+ GetPollVoteResponse:
+ additionalProperties: false
+ example:
+ pollVote:
+ createdAt: 2000-01-23T04:56:07.000+00:00
+ tenantId: tenantId
+ voterId: voterId
+ commentId: commentId
+ optionId: optionId
+ id: id
+ urlId: urlId
+ updatedAt: 2000-01-23T04:56:07.000+00:00
+ status: success
+ properties:
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ pollVote:
+ $ref: "#/components/schemas/PublicPollVote"
+ required:
+ - pollVote
+ - status
+ type: object
+ CreatePollVoteResponse:
+ additionalProperties: false
+ example:
+ pollVote:
+ createdAt: 2000-01-23T04:56:07.000+00:00
+ tenantId: tenantId
+ voterId: voterId
+ commentId: commentId
+ optionId: optionId
+ id: id
+ urlId: urlId
+ updatedAt: 2000-01-23T04:56:07.000+00:00
+ poll:
+ question: question
+ totalVotes: 6
+ options:
+ - votes: 0
+ id: id
+ label: label
+ - votes: 0
+ id: id
+ label: label
+ privacy: ""
+ closesAt: 2000-01-23T04:56:07.000+00:00
+ requireVoteToSeeResults: true
+ status: success
+ properties:
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ pollVote:
+ $ref: "#/components/schemas/PublicPollVote"
+ poll:
+ $ref: "#/components/schemas/CommentPoll"
required:
- - name
- - question
- - reportingOrder
- - type
+ - poll
+ - pollVote
+ - status
type: object
- UpdateQuestionConfigBody:
- additionalProperties: {}
+ CreatePollVoteBody:
+ additionalProperties: false
example:
- helpText: helpText
- question: question
- max: 1.4658129805029452
- labelPositive: labelPositive
- defaultValue: 5.962133916683182
- customOptions:
- - name: name
- imageSrc: imageSrc
- - name: name
- imageSrc: imageSrc
- reportingOrder: 5.637376656633329
- alwaysShowSubQuestions: true
- type: type
- min: 6.027456183070403
- labelNegative: labelNegative
- name: name
- numStars: 0.8008281904610115
- subQuestionIds:
- - subQuestionIds
- - subQuestionIds
+ ip: ip
+ commentId: commentId
+ anonUserId: anonUserId
+ optionId: optionId
+ userId: userId
properties:
- name:
- type: string
- question:
+ commentId:
type: string
- helpText:
+ optionId:
type: string
- type:
+ userId:
type: string
- numStars:
- format: double
- type: number
- min:
- format: double
- type: number
- max:
- format: double
- type: number
- defaultValue:
- format: double
- type: number
- labelNegative:
+ anonUserId:
type: string
- labelPositive:
+ ip:
type: string
- customOptions:
- items:
- $ref: "#/components/schemas/QuestionConfig_customOptions_inner"
- type: array
- subQuestionIds:
- items:
- type: string
- type: array
- alwaysShowSubQuestions:
- type: boolean
- reportingOrder:
- format: double
- type: number
+ required:
+ - commentId
+ - optionId
+ type: object
+ DeletePollVoteResponse:
+ additionalProperties: false
+ example:
+ poll:
+ question: question
+ totalVotes: 6
+ options:
+ - votes: 0
+ id: id
+ label: label
+ - votes: 0
+ id: id
+ label: label
+ privacy: ""
+ closesAt: 2000-01-23T04:56:07.000+00:00
+ requireVoteToSeeResults: true
+ status: success
+ properties:
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ poll:
+ $ref: "#/components/schemas/CommentPoll"
+ required:
+ - poll
+ - status
type: object
PendingCommentToSyncOutbound:
additionalProperties: false
@@ -22471,10 +25082,10 @@ components:
lastError: "{}"
webhookId: webhookId
externalId: externalId
- attemptCount: 1.284659006116532
+ attemptCount: 2.8841621266687802
nextAttemptAt: 2000-01-23T04:56:07.000+00:00
- eventType: 2.8841621266687802
- type: 6.778324963048013
+ eventType: 6.778324963048013
+ type: 6.878052220127876
createdAt: 2000-01-23T04:56:07.000+00:00
domain: domain
tenantId: tenantId
@@ -22484,7 +25095,9 @@ components:
editKey: editKey
pageNumber: 5
pageTitle: pageTitle
+ detectedLanguage: detectedLanguage
rating: 3.616076749251911
+ poll: ""
approved: true
hashTags:
- retain: true
@@ -22498,6 +25111,7 @@ components:
localDateString: localDateString
notificationSentForParentTenant: true
verifiedDate: 2000-01-23T04:56:07.000+00:00
+ translations: ""
isLocked: true
groupIds:
- groupIds
@@ -22511,53 +25125,57 @@ components:
votesDownAfter: 9.369310271410669
repeatAction: 6
reason: 8
- votesUpBefore: 1.1730742509559433
tenantBadgeId: tenantBadgeId
+ detectedLanguage: detectedLanguage
+ expireBefore: 2000-01-23T04:56:07.000+00:00
+ textBefore: textBefore
+ source: source
+ spamBefore: true
+ foundUser: true
+ engineResponse: engineResponse
+ notificationCount: 6.84685269835264
+ subscribers: 1.4894159098541704
+ otherData: ""
+ clearContent: true
+ approvedAfter: true
+ recipientUserId: recipientUserId
+ phrase: phrase
+ isDeletedUser: true
+ votesUpAfter: 9.965781217890562
+ word: word
+ votesUpBefore: 1.1730742509559433
badgeId: badgeId
invalidLocale: invalidLocale
reviewedBefore: true
reviewedAfter: true
trustFactorBefore: 6.438423552598547
trustFactor: 1.0246457001441578
- detectedLanguage: detectedLanguage
engineTokens: 1.2315135367772556
rule:
commentContains: commentContains
actions:
- spam
- spam
- expireBefore: 2000-01-23T04:56:07.000+00:00
- textBefore: textBefore
- source: source
detectedLocale: detectedLocale
locale: locale
- spamBefore: true
votesBefore: 7.457744773683766
votesDownBefore: 4.965218492984954
spamAfter: true
- foundUser: true
textAfter: textAfter
engine: engine
- engineResponse: engineResponse
trustFactorAfter: 3.5571952270680973
+ notifySkipReason: 6
approvedBefore: true
- notificationCount: 6.84685269835264
- subscribers: 1.4894159098541704
- otherData: ""
- clearContent: true
verified: true
expireAfter: 2000-01-23T04:56:07.000+00:00
flagCountBefore: 9.018348186070783
+ emailQueued: true
userId: userId
- approvedAfter: true
- phrase: phrase
- isDeletedUser: true
votesAfter: 5.025004791520295
- votesUpAfter: 9.965781217890562
permanentFlag: permanent
wasLoggedIn: true
+ skipReason: skipReason
badWord: badWord
- word: word
referencedCommentId: referencedCommentId
- d: 2000-01-23T04:56:07.000+00:00
t: 7
@@ -22565,53 +25183,57 @@ components:
votesDownAfter: 9.369310271410669
repeatAction: 6
reason: 8
- votesUpBefore: 1.1730742509559433
tenantBadgeId: tenantBadgeId
+ detectedLanguage: detectedLanguage
+ expireBefore: 2000-01-23T04:56:07.000+00:00
+ textBefore: textBefore
+ source: source
+ spamBefore: true
+ foundUser: true
+ engineResponse: engineResponse
+ notificationCount: 6.84685269835264
+ subscribers: 1.4894159098541704
+ otherData: ""
+ clearContent: true
+ approvedAfter: true
+ recipientUserId: recipientUserId
+ phrase: phrase
+ isDeletedUser: true
+ votesUpAfter: 9.965781217890562
+ word: word
+ votesUpBefore: 1.1730742509559433
badgeId: badgeId
invalidLocale: invalidLocale
reviewedBefore: true
reviewedAfter: true
trustFactorBefore: 6.438423552598547
trustFactor: 1.0246457001441578
- detectedLanguage: detectedLanguage
engineTokens: 1.2315135367772556
rule:
commentContains: commentContains
actions:
- spam
- spam
- expireBefore: 2000-01-23T04:56:07.000+00:00
- textBefore: textBefore
- source: source
detectedLocale: detectedLocale
locale: locale
- spamBefore: true
votesBefore: 7.457744773683766
votesDownBefore: 4.965218492984954
spamAfter: true
- foundUser: true
textAfter: textAfter
engine: engine
- engineResponse: engineResponse
trustFactorAfter: 3.5571952270680973
+ notifySkipReason: 6
approvedBefore: true
- notificationCount: 6.84685269835264
- subscribers: 1.4894159098541704
- otherData: ""
- clearContent: true
verified: true
expireAfter: 2000-01-23T04:56:07.000+00:00
flagCountBefore: 9.018348186070783
+ emailQueued: true
userId: userId
- approvedAfter: true
- phrase: phrase
- isDeletedUser: true
votesAfter: 5.025004791520295
- votesUpAfter: 9.965781217890562
permanentFlag: permanent
wasLoggedIn: true
+ skipReason: skipReason
badWord: badWord
- word: word
referencedCommentId: referencedCommentId
fromProductId: 2
flagCount: 9
@@ -22662,7 +25284,7 @@ components:
permNotSpam: true
pageNumberOF: 2
localDateHours: 0
- viewCount: 6
+ viewCount: 1
botId: botId
votesUp: 1
displayLabel: displayLabel
@@ -22761,10 +25383,10 @@ components:
- lastError: "{}"
webhookId: webhookId
externalId: externalId
- attemptCount: 1.284659006116532
+ attemptCount: 2.8841621266687802
nextAttemptAt: 2000-01-23T04:56:07.000+00:00
- eventType: 2.8841621266687802
- type: 6.778324963048013
+ eventType: 6.778324963048013
+ type: 6.878052220127876
createdAt: 2000-01-23T04:56:07.000+00:00
domain: domain
tenantId: tenantId
@@ -22774,7 +25396,9 @@ components:
editKey: editKey
pageNumber: 5
pageTitle: pageTitle
+ detectedLanguage: detectedLanguage
rating: 3.616076749251911
+ poll: ""
approved: true
hashTags:
- retain: true
@@ -22788,6 +25412,7 @@ components:
localDateString: localDateString
notificationSentForParentTenant: true
verifiedDate: 2000-01-23T04:56:07.000+00:00
+ translations: ""
isLocked: true
groupIds:
- groupIds
@@ -22801,53 +25426,57 @@ components:
votesDownAfter: 9.369310271410669
repeatAction: 6
reason: 8
- votesUpBefore: 1.1730742509559433
tenantBadgeId: tenantBadgeId
+ detectedLanguage: detectedLanguage
+ expireBefore: 2000-01-23T04:56:07.000+00:00
+ textBefore: textBefore
+ source: source
+ spamBefore: true
+ foundUser: true
+ engineResponse: engineResponse
+ notificationCount: 6.84685269835264
+ subscribers: 1.4894159098541704
+ otherData: ""
+ clearContent: true
+ approvedAfter: true
+ recipientUserId: recipientUserId
+ phrase: phrase
+ isDeletedUser: true
+ votesUpAfter: 9.965781217890562
+ word: word
+ votesUpBefore: 1.1730742509559433
badgeId: badgeId
invalidLocale: invalidLocale
reviewedBefore: true
reviewedAfter: true
trustFactorBefore: 6.438423552598547
trustFactor: 1.0246457001441578
- detectedLanguage: detectedLanguage
engineTokens: 1.2315135367772556
rule:
commentContains: commentContains
actions:
- spam
- spam
- expireBefore: 2000-01-23T04:56:07.000+00:00
- textBefore: textBefore
- source: source
detectedLocale: detectedLocale
locale: locale
- spamBefore: true
votesBefore: 7.457744773683766
votesDownBefore: 4.965218492984954
spamAfter: true
- foundUser: true
textAfter: textAfter
engine: engine
- engineResponse: engineResponse
trustFactorAfter: 3.5571952270680973
+ notifySkipReason: 6
approvedBefore: true
- notificationCount: 6.84685269835264
- subscribers: 1.4894159098541704
- otherData: ""
- clearContent: true
verified: true
expireAfter: 2000-01-23T04:56:07.000+00:00
flagCountBefore: 9.018348186070783
+ emailQueued: true
userId: userId
- approvedAfter: true
- phrase: phrase
- isDeletedUser: true
votesAfter: 5.025004791520295
- votesUpAfter: 9.965781217890562
permanentFlag: permanent
wasLoggedIn: true
+ skipReason: skipReason
badWord: badWord
- word: word
referencedCommentId: referencedCommentId
- d: 2000-01-23T04:56:07.000+00:00
t: 7
@@ -22855,53 +25484,57 @@ components:
votesDownAfter: 9.369310271410669
repeatAction: 6
reason: 8
- votesUpBefore: 1.1730742509559433
tenantBadgeId: tenantBadgeId
+ detectedLanguage: detectedLanguage
+ expireBefore: 2000-01-23T04:56:07.000+00:00
+ textBefore: textBefore
+ source: source
+ spamBefore: true
+ foundUser: true
+ engineResponse: engineResponse
+ notificationCount: 6.84685269835264
+ subscribers: 1.4894159098541704
+ otherData: ""
+ clearContent: true
+ approvedAfter: true
+ recipientUserId: recipientUserId
+ phrase: phrase
+ isDeletedUser: true
+ votesUpAfter: 9.965781217890562
+ word: word
+ votesUpBefore: 1.1730742509559433
badgeId: badgeId
invalidLocale: invalidLocale
reviewedBefore: true
reviewedAfter: true
trustFactorBefore: 6.438423552598547
trustFactor: 1.0246457001441578
- detectedLanguage: detectedLanguage
engineTokens: 1.2315135367772556
rule:
commentContains: commentContains
actions:
- spam
- spam
- expireBefore: 2000-01-23T04:56:07.000+00:00
- textBefore: textBefore
- source: source
detectedLocale: detectedLocale
locale: locale
- spamBefore: true
votesBefore: 7.457744773683766
votesDownBefore: 4.965218492984954
spamAfter: true
- foundUser: true
textAfter: textAfter
engine: engine
- engineResponse: engineResponse
trustFactorAfter: 3.5571952270680973
+ notifySkipReason: 6
approvedBefore: true
- notificationCount: 6.84685269835264
- subscribers: 1.4894159098541704
- otherData: ""
- clearContent: true
verified: true
expireAfter: 2000-01-23T04:56:07.000+00:00
flagCountBefore: 9.018348186070783
+ emailQueued: true
userId: userId
- approvedAfter: true
- phrase: phrase
- isDeletedUser: true
votesAfter: 5.025004791520295
- votesUpAfter: 9.965781217890562
permanentFlag: permanent
wasLoggedIn: true
+ skipReason: skipReason
badWord: badWord
- word: word
referencedCommentId: referencedCommentId
fromProductId: 2
flagCount: 9
@@ -22952,7 +25585,7 @@ components:
permNotSpam: true
pageNumberOF: 2
localDateHours: 0
- viewCount: 6
+ viewCount: 1
botId: botId
votesUp: 1
displayLabel: displayLabel
@@ -23000,10 +25633,10 @@ components:
- lastError: "{}"
webhookId: webhookId
externalId: externalId
- attemptCount: 1.284659006116532
+ attemptCount: 2.8841621266687802
nextAttemptAt: 2000-01-23T04:56:07.000+00:00
- eventType: 2.8841621266687802
- type: 6.778324963048013
+ eventType: 6.778324963048013
+ type: 6.878052220127876
createdAt: 2000-01-23T04:56:07.000+00:00
domain: domain
tenantId: tenantId
@@ -23013,7 +25646,9 @@ components:
editKey: editKey
pageNumber: 5
pageTitle: pageTitle
+ detectedLanguage: detectedLanguage
rating: 3.616076749251911
+ poll: ""
approved: true
hashTags:
- retain: true
@@ -23027,6 +25662,7 @@ components:
localDateString: localDateString
notificationSentForParentTenant: true
verifiedDate: 2000-01-23T04:56:07.000+00:00
+ translations: ""
isLocked: true
groupIds:
- groupIds
@@ -23040,53 +25676,57 @@ components:
votesDownAfter: 9.369310271410669
repeatAction: 6
reason: 8
- votesUpBefore: 1.1730742509559433
tenantBadgeId: tenantBadgeId
+ detectedLanguage: detectedLanguage
+ expireBefore: 2000-01-23T04:56:07.000+00:00
+ textBefore: textBefore
+ source: source
+ spamBefore: true
+ foundUser: true
+ engineResponse: engineResponse
+ notificationCount: 6.84685269835264
+ subscribers: 1.4894159098541704
+ otherData: ""
+ clearContent: true
+ approvedAfter: true
+ recipientUserId: recipientUserId
+ phrase: phrase
+ isDeletedUser: true
+ votesUpAfter: 9.965781217890562
+ word: word
+ votesUpBefore: 1.1730742509559433
badgeId: badgeId
invalidLocale: invalidLocale
reviewedBefore: true
reviewedAfter: true
trustFactorBefore: 6.438423552598547
trustFactor: 1.0246457001441578
- detectedLanguage: detectedLanguage
engineTokens: 1.2315135367772556
rule:
commentContains: commentContains
actions:
- spam
- spam
- expireBefore: 2000-01-23T04:56:07.000+00:00
- textBefore: textBefore
- source: source
detectedLocale: detectedLocale
locale: locale
- spamBefore: true
votesBefore: 7.457744773683766
votesDownBefore: 4.965218492984954
spamAfter: true
- foundUser: true
textAfter: textAfter
engine: engine
- engineResponse: engineResponse
trustFactorAfter: 3.5571952270680973
+ notifySkipReason: 6
approvedBefore: true
- notificationCount: 6.84685269835264
- subscribers: 1.4894159098541704
- otherData: ""
- clearContent: true
verified: true
expireAfter: 2000-01-23T04:56:07.000+00:00
flagCountBefore: 9.018348186070783
+ emailQueued: true
userId: userId
- approvedAfter: true
- phrase: phrase
- isDeletedUser: true
votesAfter: 5.025004791520295
- votesUpAfter: 9.965781217890562
permanentFlag: permanent
wasLoggedIn: true
+ skipReason: skipReason
badWord: badWord
- word: word
referencedCommentId: referencedCommentId
- d: 2000-01-23T04:56:07.000+00:00
t: 7
@@ -23094,53 +25734,57 @@ components:
votesDownAfter: 9.369310271410669
repeatAction: 6
reason: 8
- votesUpBefore: 1.1730742509559433
tenantBadgeId: tenantBadgeId
+ detectedLanguage: detectedLanguage
+ expireBefore: 2000-01-23T04:56:07.000+00:00
+ textBefore: textBefore
+ source: source
+ spamBefore: true
+ foundUser: true
+ engineResponse: engineResponse
+ notificationCount: 6.84685269835264
+ subscribers: 1.4894159098541704
+ otherData: ""
+ clearContent: true
+ approvedAfter: true
+ recipientUserId: recipientUserId
+ phrase: phrase
+ isDeletedUser: true
+ votesUpAfter: 9.965781217890562
+ word: word
+ votesUpBefore: 1.1730742509559433
badgeId: badgeId
invalidLocale: invalidLocale
reviewedBefore: true
reviewedAfter: true
trustFactorBefore: 6.438423552598547
trustFactor: 1.0246457001441578
- detectedLanguage: detectedLanguage
engineTokens: 1.2315135367772556
rule:
commentContains: commentContains
actions:
- spam
- spam
- expireBefore: 2000-01-23T04:56:07.000+00:00
- textBefore: textBefore
- source: source
detectedLocale: detectedLocale
locale: locale
- spamBefore: true
votesBefore: 7.457744773683766
votesDownBefore: 4.965218492984954
spamAfter: true
- foundUser: true
textAfter: textAfter
engine: engine
- engineResponse: engineResponse
trustFactorAfter: 3.5571952270680973
+ notifySkipReason: 6
approvedBefore: true
- notificationCount: 6.84685269835264
- subscribers: 1.4894159098541704
- otherData: ""
- clearContent: true
verified: true
expireAfter: 2000-01-23T04:56:07.000+00:00
flagCountBefore: 9.018348186070783
+ emailQueued: true
userId: userId
- approvedAfter: true
- phrase: phrase
- isDeletedUser: true
votesAfter: 5.025004791520295
- votesUpAfter: 9.965781217890562
permanentFlag: permanent
wasLoggedIn: true
+ skipReason: skipReason
badWord: badWord
- word: word
referencedCommentId: referencedCommentId
fromProductId: 2
flagCount: 9
@@ -23191,7 +25835,7 @@ components:
permNotSpam: true
pageNumberOF: 2
localDateHours: 0
- viewCount: 6
+ viewCount: 1
botId: botId
votesUp: 1
displayLabel: displayLabel
@@ -23681,6 +26325,57 @@ components:
type: string
type: array
type: object
+ MeAuthType:
+ enum:
+ - api-key
+ - oauth
+ type: string
+ OAuthScope:
+ enum:
+ - read
+ - write
+ type: string
+ GetMeResponse:
+ additionalProperties: false
+ example:
+ tenantName: tenantName
+ tenantId: tenantId
+ scopes:
+ - read
+ - read
+ authType: api-key
+ userId: userId
+ email: email
+ status: success
+ username: username
+ properties:
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ tenantId:
+ type: string
+ tenantName:
+ type: string
+ authType:
+ $ref: "#/components/schemas/MeAuthType"
+ scopes:
+ items:
+ $ref: "#/components/schemas/OAuthScope"
+ type: array
+ userId:
+ description: "Only present for OAuth tokens: the user who authorized the\
+ \ application."
+ type: string
+ username:
+ type: string
+ email:
+ type: string
+ required:
+ - authType
+ - scopes
+ - status
+ - tenantId
+ - tenantName
+ type: object
TenantHashTag:
additionalProperties: false
example:
@@ -25396,6 +28091,14 @@ components:
commenterName: commenterName
rating: 5.962133916683182
commenterLink: commenterLink
+ poll:
+ question: question
+ options:
+ - options
+ - options
+ privacy: 2
+ closesAt: closesAt
+ requireVoteToSeeResults: true
urlId: urlId
locale: locale
hashTags:
@@ -25416,7 +28119,7 @@ components:
votesUp: 9
productId: 1
questionValues:
- key: GifSearchResponse_images_inner_inner
+ key: Record_string_string_or_number_or_number_Array__value
isPinned: true
ip: ip
feedbackIds:
@@ -25517,10 +28220,12 @@ components:
type: array
questionValues:
additionalProperties:
- $ref: "#/components/schemas/GifSearchResponse_images_inner_inner"
+ $ref: "#/components/schemas/Record_string_string_or_number_or_number_Array__value"
description: Construct a type with a set of properties K of type T
properties: {}
type: object
+ poll:
+ $ref: "#/components/schemas/CommentPollInput"
tos:
type: boolean
botId:
@@ -25603,20 +28308,278 @@ components:
type: string
type: array
type: object
+ PageMigrationSuccess:
+ additionalProperties: false
+ example:
+ commentsMigrated: 5
+ from: from
+ to: to
+ type: urlId
+ status: success
+ properties:
+ from:
+ type: string
+ to:
+ type: string
+ type:
+ $ref: "#/components/schemas/PageMigrationType"
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ commentsMigrated:
+ format: int32
+ type: integer
+ required:
+ - commentsMigrated
+ - from
+ - status
+ - to
+ - type
+ type: object
+ PageMigrationFailure:
+ additionalProperties: false
+ properties:
+ from:
+ type: string
+ to:
+ type: string
+ type:
+ $ref: "#/components/schemas/PageMigrationType"
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ code:
+ type: string
+ reason:
+ type: string
+ required:
+ - code
+ - from
+ - reason
+ - status
+ - to
+ - type
+ type: object
+ PageMigrationUndoCounts:
+ additionalProperties: false
+ example:
+ notRestorable: 1
+ restored: 0
+ skipped: 6
+ properties:
+ restored:
+ description: Records put back to their pre-migration values.
+ format: int32
+ type: integer
+ skipped:
+ description: "Records left alone because they changed after the migration,\
+ \ or no longer exist."
+ format: int32
+ type: integer
+ notRestorable:
+ description: Records a page merge or duplicate cleanup deleted during the
+ migration. These cannot be brought back.
+ format: int32
+ type: integer
+ required:
+ - notRestorable
+ - restored
+ - skipped
+ type: object
+ APIBatchJob:
+ example:
+ createdAt: 2000-01-23T04:56:07.000+00:00
+ completedAt: 2000-01-23T04:56:07.000+00:00
+ processedCount: 2
+ pageMigrationUndoResult:
+ notRestorable: 1
+ restored: 0
+ skipped: 6
+ undoId: undoId
+ id: id
+ totalCount: 5
+ type: type
+ pageMigrationResults:
+ - commentsMigrated: 5
+ from: from
+ to: to
+ type: urlId
+ status: success
+ - commentsMigrated: 5
+ from: from
+ to: to
+ type: urlId
+ status: success
+ status: status
+ properties:
+ pageMigrationUndoResult:
+ $ref: "#/components/schemas/PageMigrationUndoCounts"
+ undoId:
+ description: |-
+ migrate-pages: set once the job has finished. Pass to POST /api/v1/pages/migrations/{undoId}/undo within 90 days.
+ undo-page-migration: the migration being undone.
+ type: string
+ pageMigrationResults:
+ description: "migrate-pages: one entry per finished migration, in request\
+ \ order."
+ items:
+ $ref: "#/components/schemas/APIBatchJob_pageMigrationResults_inner"
+ type: array
+ totalCount:
+ description: "Total work, when known up front."
+ format: int32
+ type: integer
+ processedCount:
+ description: |-
+ Work done so far. The unit depends on the type: migrations finished for migrate-pages, records restored for
+ undo-page-migration, rows for imports and exports.
+ format: int32
+ type: integer
+ completedAt:
+ format: date-time
+ type: string
+ createdAt:
+ format: date-time
+ type: string
+ status:
+ description: "requested, running, success or failed."
+ type: string
+ type:
+ description: "For example migrate-pages, undo-page-migration, export, import."
+ type: string
+ id:
+ type: string
+ required:
+ - createdAt
+ - id
+ - processedCount
+ - status
+ - type
+ type: object
+ GetBatchJobsAPIResponse:
+ example:
+ reason: reason
+ code: code
+ batchJobs:
+ - createdAt: 2000-01-23T04:56:07.000+00:00
+ completedAt: 2000-01-23T04:56:07.000+00:00
+ processedCount: 2
+ pageMigrationUndoResult:
+ notRestorable: 1
+ restored: 0
+ skipped: 6
+ undoId: undoId
+ id: id
+ totalCount: 5
+ type: type
+ pageMigrationResults:
+ - commentsMigrated: 5
+ from: from
+ to: to
+ type: urlId
+ status: success
+ - commentsMigrated: 5
+ from: from
+ to: to
+ type: urlId
+ status: success
+ status: status
+ - createdAt: 2000-01-23T04:56:07.000+00:00
+ completedAt: 2000-01-23T04:56:07.000+00:00
+ processedCount: 2
+ pageMigrationUndoResult:
+ notRestorable: 1
+ restored: 0
+ skipped: 6
+ undoId: undoId
+ id: id
+ totalCount: 5
+ type: type
+ pageMigrationResults:
+ - commentsMigrated: 5
+ from: from
+ to: to
+ type: urlId
+ status: success
+ - commentsMigrated: 5
+ from: from
+ to: to
+ type: urlId
+ status: success
+ status: status
+ status: status
+ properties:
+ reason:
+ type: string
+ code:
+ type: string
+ batchJobs:
+ description: "Newest first, 100 per page."
+ items:
+ $ref: "#/components/schemas/APIBatchJob"
+ type: array
+ status:
+ type: string
+ required:
+ - status
+ type: object
+ GetBatchJobAPIResponse:
+ example:
+ reason: reason
+ code: code
+ batchJob:
+ createdAt: 2000-01-23T04:56:07.000+00:00
+ completedAt: 2000-01-23T04:56:07.000+00:00
+ processedCount: 2
+ pageMigrationUndoResult:
+ notRestorable: 1
+ restored: 0
+ skipped: 6
+ undoId: undoId
+ id: id
+ totalCount: 5
+ type: type
+ pageMigrationResults:
+ - commentsMigrated: 5
+ from: from
+ to: to
+ type: urlId
+ status: success
+ - commentsMigrated: 5
+ from: from
+ to: to
+ type: urlId
+ status: success
+ status: status
+ status: status
+ properties:
+ reason:
+ type: string
+ code:
+ type: string
+ batchJob:
+ $ref: "#/components/schemas/APIBatchJob"
+ status:
+ type: string
+ required:
+ - status
+ type: object
APIAuditLog:
additionalProperties: false
example:
- crudType: c
- serverStartDate: 2000-01-23T04:56:07.000+00:00
+ targetId: targetId
ip: ip
+ targetLabel: targetLabel
description: description
resourceName: resourceName
- from: ui
- _id: _id
+ ua: ua
userId: userId
when: 2000-01-23T04:56:07.000+00:00
url: url
objectDetails: ""
+ crudType: c
+ serverStartDate: 2000-01-23T04:56:07.000+00:00
+ sIdHashed: sIdHashed
+ from: ui
+ _id: _id
username: username
properties:
_id:
@@ -25651,6 +28614,7 @@ components:
format: date-time
type: string
description:
+ nullable: true
type: string
serverStartDate:
format: date-time
@@ -25659,6 +28623,14 @@ components:
allOf:
- $ref: "#/components/schemas/Record_string.any_"
nullable: true
+ targetId:
+ type: string
+ targetLabel:
+ type: string
+ ua:
+ type: string
+ sIdHashed:
+ type: string
required:
- _id
- crudType
@@ -25668,29 +28640,37 @@ components:
additionalProperties: false
example:
auditLogs:
- - crudType: c
- serverStartDate: 2000-01-23T04:56:07.000+00:00
+ - targetId: targetId
ip: ip
+ targetLabel: targetLabel
description: description
resourceName: resourceName
- from: ui
- _id: _id
+ ua: ua
userId: userId
when: 2000-01-23T04:56:07.000+00:00
url: url
objectDetails: ""
- username: username
- - crudType: c
+ crudType: c
serverStartDate: 2000-01-23T04:56:07.000+00:00
+ sIdHashed: sIdHashed
+ from: ui
+ _id: _id
+ username: username
+ - targetId: targetId
ip: ip
+ targetLabel: targetLabel
description: description
resourceName: resourceName
- from: ui
- _id: _id
+ ua: ua
userId: userId
when: 2000-01-23T04:56:07.000+00:00
url: url
objectDetails: ""
+ crudType: c
+ serverStartDate: 2000-01-23T04:56:07.000+00:00
+ sIdHashed: sIdHashed
+ from: ui
+ _id: _id
username: username
status: success
properties:
@@ -25904,6 +28884,70 @@ components:
- operations
- resourceName
type: object
+ CreateAgentTenantResponse:
+ additionalProperties: false
+ example:
+ apiBaseUrl: apiBaseUrl
+ mcpUrl: mcpUrl
+ apiKey: apiKey
+ claimUrl: claimUrl
+ tenantId: tenantId
+ expiresAt: expiresAt
+ status: success
+ properties:
+ status:
+ $ref: "#/components/schemas/APIStatus"
+ tenantId:
+ description: Pass as tenantId on every API and MCP call.
+ type: string
+ apiKey:
+ description: Full-access key for this tenant. Works immediately. Keep it
+ secret.
+ type: string
+ claimUrl:
+ description: Give this to the human. Opening it while logged in attaches
+ the tenant to their account.
+ type: string
+ expiresAt:
+ description: ISO date. The tenant and its key are deleted at this time unless
+ claimed.
+ type: string
+ apiBaseUrl:
+ type: string
+ mcpUrl:
+ type: string
+ required:
+ - apiBaseUrl
+ - apiKey
+ - claimUrl
+ - expiresAt
+ - mcpUrl
+ - status
+ - tenantId
+ type: object
+ CreateAgentTenantBody:
+ additionalProperties: false
+ example:
+ agent: agent
+ name: name
+ domains:
+ - domains
+ - domains
+ properties:
+ name:
+ description: Display name for the account. Defaults to the first domain.
+ type: string
+ domains:
+ description: "Domains the comment widget will be embedded on, e.g. [\"example.com\"\
+ ]. At most 5."
+ items:
+ type: string
+ type: array
+ agent:
+ description: "Free-form identifier of the agent making the request, e.g.\
+ \ \"claude-code\"."
+ type: string
+ type: object
UpdateUserNotificationStatusResponse:
anyOf:
- $ref: "#/components/schemas/UserNotificationWriteResponse"
@@ -26201,6 +29245,15 @@ components:
properties: {}
type: object
type: object
+ Record_string_string_or_number_or_number_Array__value:
+ anyOf:
+ - type: string
+ - format: double
+ type: number
+ - items:
+ format: double
+ type: number
+ type: array
FComment_meta:
additionalProperties: {}
example:
@@ -26229,6 +29282,19 @@ components:
- imageSrc
- name
type: object
+ CommentPollPatch_options_inner:
+ example:
+ label: label
+ id: id
+ properties:
+ label:
+ type: string
+ id:
+ type: string
+ required:
+ - id
+ - label
+ type: object
BulkCreateHashTagsResponse_results_inner:
anyOf:
- $ref: "#/components/schemas/CreateHashTagResponse"
@@ -26257,6 +29323,10 @@ components:
wpPostId:
type: string
type: object
+ APIBatchJob_pageMigrationResults_inner:
+ anyOf:
+ - $ref: "#/components/schemas/PageMigrationSuccess"
+ - $ref: "#/components/schemas/PageMigrationFailure"
AggregationResponse_stats:
example:
scanned: 6
diff --git a/client/build.gradle b/client/build.gradle
index e5cad297..c7efbfda 100644
--- a/client/build.gradle
+++ b/client/build.gradle
@@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'
group = 'com.fastcomments'
-version = '3.0.1'
+version = '3.1.0'
buildscript {
repositories {
diff --git a/client/build.sbt b/client/build.sbt
index cb9a1ce4..ef4427fd 100644
--- a/client/build.sbt
+++ b/client/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.fastcomments",
name := "client",
- version := "3.0.0",
+ version := "3.1.0",
scalaVersion := "2.11.12",
scalacOptions ++= Seq("-feature"),
compile / javacOptions ++= Seq("-Xlint:deprecation"),
diff --git a/client/docs/APIAuditLog.md b/client/docs/APIAuditLog.md
index bae20b4e..60f11ae5 100644
--- a/client/docs/APIAuditLog.md
+++ b/client/docs/APIAuditLog.md
@@ -19,6 +19,10 @@
|**description** | **String** | | [optional] |
|**serverStartDate** | **OffsetDateTime** | | [optional] |
|**objectDetails** | **Map<String, Object>** | Construct a type with a set of properties K of type T | [optional] |
+|**targetId** | **String** | | [optional] |
+|**targetLabel** | **String** | | [optional] |
+|**ua** | **String** | | [optional] |
+|**sIdHashed** | **String** | | [optional] |
diff --git a/client/docs/APIBatchJob.md b/client/docs/APIBatchJob.md
new file mode 100644
index 00000000..95ee400e
--- /dev/null
+++ b/client/docs/APIBatchJob.md
@@ -0,0 +1,22 @@
+
+
+# APIBatchJob
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**pageMigrationUndoResult** | [**PageMigrationUndoCounts**](PageMigrationUndoCounts.md) | | [optional] |
+|**undoId** | **String** | migrate-pages: set once the job has finished. Pass to POST /api/v1/pages/migrations/{undoId}/undo within 90 days. undo-page-migration: the migration being undone. | [optional] |
+|**pageMigrationResults** | [**List<APIBatchJobPageMigrationResultsInner>**](APIBatchJobPageMigrationResultsInner.md) | migrate-pages: one entry per finished migration, in request order. | [optional] |
+|**totalCount** | **Integer** | Total work, when known up front. | [optional] |
+|**processedCount** | **Integer** | Work done so far. The unit depends on the type: migrations finished for migrate-pages, records restored for undo-page-migration, rows for imports and exports. | |
+|**completedAt** | **OffsetDateTime** | | [optional] |
+|**createdAt** | **OffsetDateTime** | | |
+|**status** | **String** | requested, running, success or failed. | |
+|**type** | **String** | For example migrate-pages, undo-page-migration, export, import. | |
+|**id** | **String** | | |
+
+
+
diff --git a/client/docs/APIBatchJobPageMigrationResultsInner.md b/client/docs/APIBatchJobPageMigrationResultsInner.md
new file mode 100644
index 00000000..10c7aa18
--- /dev/null
+++ b/client/docs/APIBatchJobPageMigrationResultsInner.md
@@ -0,0 +1,19 @@
+
+
+# APIBatchJobPageMigrationResultsInner
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**from** | **String** | | |
+|**to** | **String** | | |
+|**type** | **PageMigrationType** | | |
+|**status** | **APIStatus** | | |
+|**commentsMigrated** | **Integer** | | [optional] |
+|**code** | **String** | | [optional] |
+|**reason** | **String** | | [optional] |
+
+
+
diff --git a/client/docs/APITenant.md b/client/docs/APITenant.md
index 7e0c5a27..c2ec45a9 100644
--- a/client/docs/APITenant.md
+++ b/client/docs/APITenant.md
@@ -32,6 +32,7 @@
|**sendProfaneToSpam** | **Boolean** | | [optional] |
|**hasFlexPricing** | **Boolean** | | [optional] |
|**hasAuditing** | **Boolean** | | [optional] |
+|**hasDebranding** | **Boolean** | | [optional] |
|**flexLastBilledAmount** | **Double** | | [optional] |
|**deAnonIpAddr** | **Double** | | [optional] |
|**meta** | **Map<String, String>** | Construct a type with a set of properties K of type T | [optional] |
diff --git a/client/docs/BillingInfo.md b/client/docs/BillingInfo.md
index 3023e706..9cd7b2b1 100644
--- a/client/docs/BillingInfo.md
+++ b/client/docs/BillingInfo.md
@@ -15,6 +15,7 @@
|**country** | **String** | | |
|**currency** | **String** | Currency for invoices. | [optional] |
|**email** | **String** | Email for invoices. | [optional] |
+|**vatId** | **String** | VAT / Tax ID for invoices. Only persisted once Stripe has accepted it. | [optional] |
diff --git a/client/docs/CommentData.md b/client/docs/CommentData.md
index 07a3f6b3..32c8c402 100644
--- a/client/docs/CommentData.md
+++ b/client/docs/CommentData.md
@@ -30,7 +30,8 @@
|**fromOfflineRestore** | **Boolean** | | [optional] |
|**autoplayDelayMS** | **Long** | | [optional] |
|**feedbackIds** | **List<String>** | | [optional] |
-|**questionValues** | [**Map<String, GifSearchResponseImagesInnerInner>**](GifSearchResponseImagesInnerInner.md) | Construct a type with a set of properties K of type T | [optional] |
+|**questionValues** | [**Map<String, RecordStringStringOrNumberOrNumberArrayValue>**](RecordStringStringOrNumberOrNumberArrayValue.md) | Construct a type with a set of properties K of type T | [optional] |
+|**poll** | [**CommentPollInput**](CommentPollInput.md) | | [optional] |
|**tos** | **Boolean** | | [optional] |
|**botId** | **String** | | [optional] |
diff --git a/client/docs/CommentLogData.md b/client/docs/CommentLogData.md
index 6f6be769..3a5f38b2 100644
--- a/client/docs/CommentLogData.md
+++ b/client/docs/CommentLogData.md
@@ -35,6 +35,7 @@
|**votesDownAfter** | **Double** | | [optional] |
|**repeatAction** | **RepeatCommentHandlingAction** | | [optional] |
|**reason** | **RepeatCommentCheckIgnoredReason** | | [optional] |
+|**skipReason** | **String** | | [optional] |
|**otherData** | **Object** | | [optional] |
|**spamBefore** | **Boolean** | | [optional] |
|**spamAfter** | **Boolean** | | [optional] |
@@ -54,6 +55,9 @@
|**invalidLocale** | **String** | | [optional] |
|**detectedLocale** | **String** | | [optional] |
|**detectedLanguage** | **String** | | [optional] |
+|**recipientUserId** | **String** | | [optional] |
+|**notifySkipReason** | **NotificationSkipReason** | | [optional] |
+|**emailQueued** | **Boolean** | | [optional] |
diff --git a/client/docs/CommentLogType.md b/client/docs/CommentLogType.md
index 6bbc0b16..16df2f3a 100644
--- a/client/docs/CommentLogType.md
+++ b/client/docs/CommentLogType.md
@@ -117,5 +117,25 @@
* `NUMBER_55` (value: `55`)
+* `NUMBER_56` (value: `56`)
+
+* `NUMBER_57` (value: `57`)
+
+* `NUMBER_58` (value: `58`)
+
+* `NUMBER_59` (value: `59`)
+
+* `NUMBER_60` (value: `60`)
+
+* `NUMBER_61` (value: `61`)
+
+* `NUMBER_62` (value: `62`)
+
+* `NUMBER_63` (value: `63`)
+
+* `NUMBER_64` (value: `64`)
+
+* `NUMBER_65` (value: `65`)
+
diff --git a/client/docs/CommentPoll.md b/client/docs/CommentPoll.md
new file mode 100644
index 00000000..54f77104
--- /dev/null
+++ b/client/docs/CommentPoll.md
@@ -0,0 +1,19 @@
+
+
+# CommentPoll
+
+A poll attached to a comment. Vote counts are denormalized here; individual votes live in PollVote.
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**question** | **String** | | |
+|**options** | [**List<CommentPollOption>**](CommentPollOption.md) | | |
+|**totalVotes** | **Integer** | | |
+|**closesAt** | **OffsetDateTime** | | [optional] |
+|**privacy** | **PollPrivacy** | | [optional] |
+|**requireVoteToSeeResults** | **Boolean** | | [optional] |
+
+
+
diff --git a/client/docs/CommentPollInput.md b/client/docs/CommentPollInput.md
new file mode 100644
index 00000000..71faaabc
--- /dev/null
+++ b/client/docs/CommentPollInput.md
@@ -0,0 +1,17 @@
+
+
+# CommentPollInput
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**question** | **String** | | |
+|**options** | **List<String>** | | |
+|**closesAt** | **String** | | [optional] |
+|**privacy** | **Integer** | | [optional] |
+|**requireVoteToSeeResults** | **Boolean** | | [optional] |
+
+
+
diff --git a/client/docs/CommentPollOption.md b/client/docs/CommentPollOption.md
new file mode 100644
index 00000000..35108fc4
--- /dev/null
+++ b/client/docs/CommentPollOption.md
@@ -0,0 +1,15 @@
+
+
+# CommentPollOption
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**id** | **String** | | |
+|**label** | **String** | | |
+|**votes** | **Integer** | | |
+
+
+
diff --git a/client/docs/CommentPollOptionInput.md b/client/docs/CommentPollOptionInput.md
new file mode 100644
index 00000000..3ec7f08f
--- /dev/null
+++ b/client/docs/CommentPollOptionInput.md
@@ -0,0 +1,14 @@
+
+
+# CommentPollOptionInput
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**id** | **String** | | [optional] |
+|**label** | **String** | | |
+
+
+
diff --git a/client/docs/CommentPollPatch.md b/client/docs/CommentPollPatch.md
new file mode 100644
index 00000000..e245115b
--- /dev/null
+++ b/client/docs/CommentPollPatch.md
@@ -0,0 +1,17 @@
+
+
+# CommentPollPatch
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**question** | **String** | | [optional] |
+|**options** | [**List<CommentPollPatchOptionsInner>**](CommentPollPatchOptionsInner.md) | | [optional] |
+|**closesAt** | **String** | | [optional] |
+|**privacy** | **Integer** | | [optional] |
+|**requireVoteToSeeResults** | **Boolean** | | [optional] |
+
+
+
diff --git a/client/docs/CommentPollPatchOptionsInner.md b/client/docs/CommentPollPatchOptionsInner.md
new file mode 100644
index 00000000..ae12e81b
--- /dev/null
+++ b/client/docs/CommentPollPatchOptionsInner.md
@@ -0,0 +1,14 @@
+
+
+# CommentPollPatchOptionsInner
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**label** | **String** | | |
+|**id** | **String** | | |
+
+
+
diff --git a/client/docs/CommentPollPutInput.md b/client/docs/CommentPollPutInput.md
new file mode 100644
index 00000000..762f569e
--- /dev/null
+++ b/client/docs/CommentPollPutInput.md
@@ -0,0 +1,17 @@
+
+
+# CommentPollPutInput
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**question** | **String** | | |
+|**options** | [**List<CommentPollOptionInput>**](CommentPollOptionInput.md) | | |
+|**closesAt** | **String** | | [optional] |
+|**privacy** | **Integer** | | [optional] |
+|**requireVoteToSeeResults** | **Boolean** | | [optional] |
+
+
+
diff --git a/client/docs/CommentTranslation.md b/client/docs/CommentTranslation.md
new file mode 100644
index 00000000..5ed5ae76
--- /dev/null
+++ b/client/docs/CommentTranslation.md
@@ -0,0 +1,17 @@
+
+
+# CommentTranslation
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**comment** | **String** | | |
+|**commentHTML** | **String** | | |
+|**sourceLanguage** | **String** | | |
+|**model** | **String** | | |
+|**createdAt** | **OffsetDateTime** | | |
+
+
+
diff --git a/client/docs/CommentTranslationMode.md b/client/docs/CommentTranslationMode.md
new file mode 100644
index 00000000..d3691757
--- /dev/null
+++ b/client/docs/CommentTranslationMode.md
@@ -0,0 +1,15 @@
+
+
+# CommentTranslationMode
+
+## Enum
+
+
+* `OFF` (value: `"off"`)
+
+* `AUTO` (value: `"auto"`)
+
+* `MANUAL` (value: `"manual"`)
+
+
+
diff --git a/client/docs/CommentTranslationPublic.md b/client/docs/CommentTranslationPublic.md
new file mode 100644
index 00000000..65c300fd
--- /dev/null
+++ b/client/docs/CommentTranslationPublic.md
@@ -0,0 +1,14 @@
+
+
+# CommentTranslationPublic
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**commentHTML** | **String** | | |
+|**sourceLanguage** | **String** | | |
+
+
+
diff --git a/client/docs/CommentTranslationsRequest.md b/client/docs/CommentTranslationsRequest.md
new file mode 100644
index 00000000..221bf7dc
--- /dev/null
+++ b/client/docs/CommentTranslationsRequest.md
@@ -0,0 +1,13 @@
+
+
+# CommentTranslationsRequest
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**commentIds** | **List<String>** | | |
+
+
+
diff --git a/client/docs/CommentTranslationsResponse.md b/client/docs/CommentTranslationsResponse.md
new file mode 100644
index 00000000..5a058ffe
--- /dev/null
+++ b/client/docs/CommentTranslationsResponse.md
@@ -0,0 +1,16 @@
+
+
+# CommentTranslationsResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **APIStatus** | | |
+|**locale** | **String** | | |
+|**translations** | [**Map<String, CommentTranslationPublic>**](CommentTranslationPublic.md) | Construct a type with a set of properties K of type T | |
+|**failed** | **List<String>** | Comment ids that failed transiently and may be retried. | |
+
+
+
diff --git a/client/docs/CreateAgentTenantBody.md b/client/docs/CreateAgentTenantBody.md
new file mode 100644
index 00000000..e6cfb49e
--- /dev/null
+++ b/client/docs/CreateAgentTenantBody.md
@@ -0,0 +1,15 @@
+
+
+# CreateAgentTenantBody
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**name** | **String** | Display name for the account. Defaults to the first domain. | [optional] |
+|**domains** | **List<String>** | Domains the comment widget will be embedded on, e.g. [\"example.com\"]. At most 5. | [optional] |
+|**agent** | **String** | Free-form identifier of the agent making the request, e.g. \"claude-code\". | [optional] |
+
+
+
diff --git a/client/docs/CreateAgentTenantResponse.md b/client/docs/CreateAgentTenantResponse.md
new file mode 100644
index 00000000..45abfaf8
--- /dev/null
+++ b/client/docs/CreateAgentTenantResponse.md
@@ -0,0 +1,19 @@
+
+
+# CreateAgentTenantResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **APIStatus** | | |
+|**tenantId** | **String** | Pass as tenantId on every API and MCP call. | |
+|**apiKey** | **String** | Full-access key for this tenant. Works immediately. Keep it secret. | |
+|**claimUrl** | **String** | Give this to the human. Opening it while logged in attaches the tenant to their account. | |
+|**expiresAt** | **String** | ISO date. The tenant and its key are deleted at this time unless claimed. | |
+|**apiBaseUrl** | **String** | | |
+|**mcpUrl** | **String** | | |
+
+
+
diff --git a/client/docs/CreateCommentParams.md b/client/docs/CreateCommentParams.md
index be3a8ebd..313cf722 100644
--- a/client/docs/CreateCommentParams.md
+++ b/client/docs/CreateCommentParams.md
@@ -30,7 +30,8 @@
|**fromOfflineRestore** | **Boolean** | | [optional] |
|**autoplayDelayMS** | **Long** | | [optional] |
|**feedbackIds** | **List<String>** | | [optional] |
-|**questionValues** | [**Map<String, GifSearchResponseImagesInnerInner>**](GifSearchResponseImagesInnerInner.md) | Construct a type with a set of properties K of type T | [optional] |
+|**questionValues** | [**Map<String, RecordStringStringOrNumberOrNumberArrayValue>**](RecordStringStringOrNumberOrNumberArrayValue.md) | Construct a type with a set of properties K of type T | [optional] |
+|**poll** | [**CommentPollInput**](CommentPollInput.md) | | [optional] |
|**tos** | **Boolean** | | [optional] |
|**botId** | **String** | | [optional] |
|**approved** | **Boolean** | | [optional] |
diff --git a/client/docs/CreatePollVoteBody.md b/client/docs/CreatePollVoteBody.md
new file mode 100644
index 00000000..cb08bdf6
--- /dev/null
+++ b/client/docs/CreatePollVoteBody.md
@@ -0,0 +1,17 @@
+
+
+# CreatePollVoteBody
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**commentId** | **String** | | |
+|**optionId** | **String** | | |
+|**userId** | **String** | | [optional] |
+|**anonUserId** | **String** | | [optional] |
+|**ip** | **String** | | [optional] |
+
+
+
diff --git a/client/docs/CreatePollVoteResponse.md b/client/docs/CreatePollVoteResponse.md
new file mode 100644
index 00000000..a870ccf9
--- /dev/null
+++ b/client/docs/CreatePollVoteResponse.md
@@ -0,0 +1,15 @@
+
+
+# CreatePollVoteResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **APIStatus** | | |
+|**pollVote** | [**PublicPollVote**](PublicPollVote.md) | | |
+|**poll** | [**CommentPoll**](CommentPoll.md) | | |
+
+
+
diff --git a/client/docs/CreateQuestionConfigBody.md b/client/docs/CreateQuestionConfigBody.md
index 6de7b66a..2666c3c5 100644
--- a/client/docs/CreateQuestionConfigBody.md
+++ b/client/docs/CreateQuestionConfigBody.md
@@ -10,7 +10,7 @@
|**name** | **String** | | |
|**question** | **String** | | |
|**helpText** | **String** | | [optional] |
-|**type** | **String** | | |
+|**type** | **String** | One of nps, slider, star, thumbs, choice, multi, emoji, scale. choice, multi, emoji and scale take their labels from customOptions (choice/multi 2-20 options, emoji/scale 3-7). | |
|**numStars** | **Double** | | [optional] |
|**min** | **Double** | | [optional] |
|**max** | **Double** | | [optional] |
@@ -20,6 +20,9 @@
|**customOptions** | [**List<QuestionConfigCustomOptionsInner>**](QuestionConfigCustomOptionsInner.md) | | [optional] |
|**subQuestionIds** | **List<String>** | | [optional] |
|**alwaysShowSubQuestions** | **Boolean** | | [optional] |
+|**subQuestionConditions** | [**List<SubQuestionCondition>**](SubQuestionCondition.md) | Show a sub-question only when this question's answer matches its rule. | [optional] |
+|**commentBoxCondition** | [**QuestionCondition**](QuestionCondition.md) | | [optional] |
+|**commentBoxPrompt** | **String** | Comment box placeholder when commentBoxCondition reveals it. | [optional] |
|**reportingOrder** | **Double** | | |
diff --git a/client/docs/CreateQuestionResultBody.md b/client/docs/CreateQuestionResultBody.md
index 0f64682c..60734c27 100644
--- a/client/docs/CreateQuestionResultBody.md
+++ b/client/docs/CreateQuestionResultBody.md
@@ -8,7 +8,8 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
|**urlId** | **String** | | |
-|**value** | **Double** | | |
+|**value** | **Double** | Required unless values is given. For multi-choice questions this is derived from values. | [optional] |
+|**values** | **List<Double>** | Selected option indexes for multi-choice questions. | [optional] |
|**questionId** | **String** | | |
|**anonUserId** | **String** | | [optional] |
|**userId** | **String** | | [optional] |
diff --git a/client/docs/CreateTenantBody.md b/client/docs/CreateTenantBody.md
index ae213e52..a1137721 100644
--- a/client/docs/CreateTenantBody.md
+++ b/client/docs/CreateTenantBody.md
@@ -15,7 +15,6 @@
|**paymentFrequency** | **Double** | | [optional] |
|**billingInfoValid** | **Boolean** | | [optional] |
|**billingHandledExternally** | **Boolean** | | [optional] |
-|**createdBy** | **String** | | [optional] |
|**isSetup** | **Boolean** | | [optional] |
|**billingInfo** | [**BillingInfo**](BillingInfo.md) | | [optional] |
|**stripeCustomerId** | **String** | | [optional] |
diff --git a/client/docs/CreateWebhookParams.md b/client/docs/CreateWebhookParams.md
new file mode 100644
index 00000000..2a65049e
--- /dev/null
+++ b/client/docs/CreateWebhookParams.md
@@ -0,0 +1,16 @@
+
+
+# CreateWebhookParams
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**url** | **String** | Where events are delivered. Must be http(s). | |
+|**event** | **WebhookEventName** | | |
+|**domain** | **String** | A domain from your account configuration, or '*' (the default) for every domain. | [optional] |
+|**method** | **WebhookHTTPMethod** | | [optional] |
+
+
+
diff --git a/client/docs/CreateWebhookResponse.md b/client/docs/CreateWebhookResponse.md
new file mode 100644
index 00000000..d85aa0f2
--- /dev/null
+++ b/client/docs/CreateWebhookResponse.md
@@ -0,0 +1,14 @@
+
+
+# CreateWebhookResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **APIStatus** | | |
+|**webhook** | [**PublicWebhook**](PublicWebhook.md) | | |
+
+
+
diff --git a/client/docs/CustomConfigParameters.md b/client/docs/CustomConfigParameters.md
index 4867278a..c9127c9e 100644
--- a/client/docs/CustomConfigParameters.md
+++ b/client/docs/CustomConfigParameters.md
@@ -13,10 +13,14 @@
|**allowAnonFlag** | **Boolean** | | [optional] |
|**allowAnonVotes** | **Boolean** | | [optional] |
|**allowedLanguages** | **List<String>** | | [optional] |
+|**autoGenerateUsername** | **Boolean** | Serve each new visitor a unique generated username as the prefilled defaultUsername. | [optional] |
|**collapseReplies** | **Boolean** | | [optional] |
|**commentCountFormat** | **String** | | [optional] |
|**commentHTMLRenderingMode** | **CommentHTMLRenderingMode** | | [optional] |
+|**commentsRequireApproval** | **Boolean** | Hold every new or edited comment on this page or domain for moderation, like the tenant-wide setting but scoped. | [optional] |
|**commentThreadDeleteMode** | **CommentThreadDeletionMode** | | [optional] |
+|**pollCreation** | **PollCreationMode** | | [optional] |
+|**pollVoting** | **PollVotingMode** | | [optional] |
|**commenterNameFormat** | **CommenterNameFormats** | | [optional] |
|**countAboveToggle** | **Integer** | | [optional] |
|**customCSS** | **String** | | [optional] |
@@ -95,6 +99,7 @@
|**ticketMaxFileSize** | **Integer** | | [optional] |
|**ticketAutoAssignUserIds** | **List<String>** | | [optional] |
|**tos** | [**TOSConfig**](TOSConfig.md) | | [optional] |
+|**commentTranslation** | **CommentTranslationMode** | | [optional] |
diff --git a/client/docs/DefaultApi.md b/client/docs/DefaultApi.md
index 2c687ed4..988e728b 100644
--- a/client/docs/DefaultApi.md
+++ b/client/docs/DefaultApi.md
@@ -16,9 +16,11 @@ All URIs are relative to *https://fastcomments.com*
| [**bulkAggregateQuestionResults**](DefaultApi.md#bulkAggregateQuestionResults) | **POST** /api/v1/question-results-aggregation/bulk | |
| [**changeTicketState**](DefaultApi.md#changeTicketState) | **PATCH** /api/v1/tickets/{id}/state | |
| [**combineCommentsWithQuestionResults**](DefaultApi.md#combineCommentsWithQuestionResults) | **GET** /api/v1/question-results-aggregation/combine/comments | |
+| [**createAgentTenant**](DefaultApi.md#createAgentTenant) | **POST** /api/v1/agent-tenants | |
| [**createEmailTemplate**](DefaultApi.md#createEmailTemplate) | **POST** /api/v1/email-templates | |
| [**createFeedPost**](DefaultApi.md#createFeedPost) | **POST** /api/v1/feed-posts | |
| [**createModerator**](DefaultApi.md#createModerator) | **POST** /api/v1/moderators | |
+| [**createPollVote**](DefaultApi.md#createPollVote) | **POST** /api/v1/poll-votes | |
| [**createQuestionConfig**](DefaultApi.md#createQuestionConfig) | **POST** /api/v1/question-configs | |
| [**createQuestionResult**](DefaultApi.md#createQuestionResult) | **POST** /api/v1/question-results | |
| [**createSubscription**](DefaultApi.md#createSubscription) | **POST** /api/v1/subscriptions | |
@@ -28,6 +30,7 @@ All URIs are relative to *https://fastcomments.com*
| [**createTicket**](DefaultApi.md#createTicket) | **POST** /api/v1/tickets | |
| [**createUserBadge**](DefaultApi.md#createUserBadge) | **POST** /api/v1/user-badges | |
| [**createVote**](DefaultApi.md#createVote) | **POST** /api/v1/votes | |
+| [**createWebhook**](DefaultApi.md#createWebhook) | **POST** /api/v1/webhooks | |
| [**deleteComment**](DefaultApi.md#deleteComment) | **DELETE** /api/v1/comments/{id} | |
| [**deleteDomainConfig**](DefaultApi.md#deleteDomainConfig) | **DELETE** /api/v1/domain-configs/{domain} | |
| [**deleteEmailTemplate**](DefaultApi.md#deleteEmailTemplate) | **DELETE** /api/v1/email-templates/{id} | |
@@ -37,6 +40,8 @@ All URIs are relative to *https://fastcomments.com*
| [**deleteNotificationCount**](DefaultApi.md#deleteNotificationCount) | **DELETE** /api/v1/notification-count/{id} | |
| [**deletePage**](DefaultApi.md#deletePage) | **DELETE** /api/v1/pages/{id} | |
| [**deletePendingWebhookEvent**](DefaultApi.md#deletePendingWebhookEvent) | **DELETE** /api/v1/pending-webhook-events/{id} | |
+| [**deletePoll**](DefaultApi.md#deletePoll) | **DELETE** /api/v1/polls/{commentId} | |
+| [**deletePollVote**](DefaultApi.md#deletePollVote) | **DELETE** /api/v1/poll-votes/{id} | |
| [**deleteQuestionConfig**](DefaultApi.md#deleteQuestionConfig) | **DELETE** /api/v1/question-configs/{id} | |
| [**deleteQuestionResult**](DefaultApi.md#deleteQuestionResult) | **DELETE** /api/v1/question-results/{id} | |
| [**deleteSSOUser**](DefaultApi.md#deleteSSOUser) | **DELETE** /api/v1/sso-users/{id} | |
@@ -46,8 +51,11 @@ All URIs are relative to *https://fastcomments.com*
| [**deleteTenantUser**](DefaultApi.md#deleteTenantUser) | **DELETE** /api/v1/tenant-users/{id} | |
| [**deleteUserBadge**](DefaultApi.md#deleteUserBadge) | **DELETE** /api/v1/user-badges/{id} | |
| [**deleteVote**](DefaultApi.md#deleteVote) | **DELETE** /api/v1/votes/{id} | |
+| [**deleteWebhook**](DefaultApi.md#deleteWebhook) | **DELETE** /api/v1/webhooks/{id} | |
| [**flagComment**](DefaultApi.md#flagComment) | **POST** /api/v1/comments/{id}/flag | |
| [**getAuditLogs**](DefaultApi.md#getAuditLogs) | **GET** /api/v1/audit-logs | |
+| [**getBatchJob**](DefaultApi.md#getBatchJob) | **GET** /api/v1/batch-jobs/{id} | |
+| [**getBatchJobs**](DefaultApi.md#getBatchJobs) | **GET** /api/v1/batch-jobs | |
| [**getCachedNotificationCount**](DefaultApi.md#getCachedNotificationCount) | **GET** /api/v1/notification-count/{id} | |
| [**getComment**](DefaultApi.md#getComment) | **GET** /api/v1/comments/{id} | |
| [**getComments**](DefaultApi.md#getComments) | **GET** /api/v1/comments | |
@@ -59,14 +67,20 @@ All URIs are relative to *https://fastcomments.com*
| [**getEmailTemplates**](DefaultApi.md#getEmailTemplates) | **GET** /api/v1/email-templates | |
| [**getFeedPosts**](DefaultApi.md#getFeedPosts) | **GET** /api/v1/feed-posts | |
| [**getHashTags**](DefaultApi.md#getHashTags) | **GET** /api/v1/hash-tags | |
+| [**getMe**](DefaultApi.md#getMe) | **GET** /api/v1/me | |
| [**getModerator**](DefaultApi.md#getModerator) | **GET** /api/v1/moderators/{id} | |
| [**getModerators**](DefaultApi.md#getModerators) | **GET** /api/v1/moderators | |
| [**getNotificationCount**](DefaultApi.md#getNotificationCount) | **GET** /api/v1/notifications/count | |
| [**getNotifications**](DefaultApi.md#getNotifications) | **GET** /api/v1/notifications | |
| [**getPageByURLId**](DefaultApi.md#getPageByURLId) | **GET** /api/v1/pages/by-url-id | |
+| [**getPageLikes**](DefaultApi.md#getPageLikes) | **GET** /api/v1/pages/likes | |
+| [**getPageReacts**](DefaultApi.md#getPageReacts) | **GET** /api/v1/pages/reacts | |
| [**getPages**](DefaultApi.md#getPages) | **GET** /api/v1/pages | |
| [**getPendingWebhookEventCount**](DefaultApi.md#getPendingWebhookEventCount) | **GET** /api/v1/pending-webhook-events/count | |
| [**getPendingWebhookEvents**](DefaultApi.md#getPendingWebhookEvents) | **GET** /api/v1/pending-webhook-events | |
+| [**getPoll**](DefaultApi.md#getPoll) | **GET** /api/v1/polls/{commentId} | |
+| [**getPollVote**](DefaultApi.md#getPollVote) | **GET** /api/v1/poll-votes/{id} | |
+| [**getPollVotes**](DefaultApi.md#getPollVotes) | **GET** /api/v1/poll-votes | |
| [**getQuestionConfig**](DefaultApi.md#getQuestionConfig) | **GET** /api/v1/question-configs/{id} | |
| [**getQuestionConfigs**](DefaultApi.md#getQuestionConfigs) | **GET** /api/v1/question-configs | |
| [**getQuestionResult**](DefaultApi.md#getQuestionResult) | **GET** /api/v1/question-results/{id} | |
@@ -92,11 +106,16 @@ All URIs are relative to *https://fastcomments.com*
| [**getUserBadges**](DefaultApi.md#getUserBadges) | **GET** /api/v1/user-badges | |
| [**getVotes**](DefaultApi.md#getVotes) | **GET** /api/v1/votes | |
| [**getVotesForUser**](DefaultApi.md#getVotesForUser) | **GET** /api/v1/votes/for-user | |
+| [**getWebhookSamplePayloads**](DefaultApi.md#getWebhookSamplePayloads) | **GET** /api/v1/webhooks/sample-payloads | |
+| [**getWebhooks**](DefaultApi.md#getWebhooks) | **GET** /api/v1/webhooks | |
+| [**migratePages**](DefaultApi.md#migratePages) | **POST** /api/v1/pages/migrations | |
| [**patchDomainConfig**](DefaultApi.md#patchDomainConfig) | **PATCH** /api/v1/domain-configs/{domainToUpdate} | |
| [**patchHashTag**](DefaultApi.md#patchHashTag) | **PATCH** /api/v1/hash-tags/{tag} | |
| [**patchPage**](DefaultApi.md#patchPage) | **PATCH** /api/v1/pages/{id} | |
+| [**patchPoll**](DefaultApi.md#patchPoll) | **PATCH** /api/v1/polls/{commentId} | |
| [**patchSSOUser**](DefaultApi.md#patchSSOUser) | **PATCH** /api/v1/sso-users/{id} | |
| [**putDomainConfig**](DefaultApi.md#putDomainConfig) | **PUT** /api/v1/domain-configs/{domainToUpdate} | |
+| [**putPoll**](DefaultApi.md#putPoll) | **PUT** /api/v1/polls/{commentId} | |
| [**putSSOUser**](DefaultApi.md#putSSOUser) | **PUT** /api/v1/sso-users/{id} | |
| [**renderEmailTemplate**](DefaultApi.md#renderEmailTemplate) | **POST** /api/v1/email-templates/render | |
| [**replaceTenantPackage**](DefaultApi.md#replaceTenantPackage) | **PUT** /api/v1/tenant-packages/{id} | |
@@ -107,6 +126,7 @@ All URIs are relative to *https://fastcomments.com*
| [**sendLoginLink**](DefaultApi.md#sendLoginLink) | **POST** /api/v1/tenant-users/{id}/send-login-link | |
| [**unBlockUserFromComment**](DefaultApi.md#unBlockUserFromComment) | **POST** /api/v1/comments/{id}/un-block | |
| [**unFlagComment**](DefaultApi.md#unFlagComment) | **POST** /api/v1/comments/{id}/un-flag | |
+| [**undoPageMigrations**](DefaultApi.md#undoPageMigrations) | **POST** /api/v1/pages/migrations/{undoId}/undo | |
| [**updateComment**](DefaultApi.md#updateComment) | **PATCH** /api/v1/comments/{id} | |
| [**updateEmailTemplate**](DefaultApi.md#updateEmailTemplate) | **PATCH** /api/v1/email-templates/{id} | |
| [**updateFeedPost**](DefaultApi.md#updateFeedPost) | **PATCH** /api/v1/feed-posts/{id} | |
@@ -961,6 +981,70 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
+
+# **createAgentTenant**
+> CreateAgentTenantResponse createAgentTenant(createAgentTenantBody).execute();
+
+
+
+Creates a new trial account for an AI agent without a human signup. No API key is needed to call this. The response contains the tenant id, an API key that works immediately against the REST API and the MCP server, and a claim URL. Give the claim URL to the human you are working for: opening it while logged in to FastComments attaches the account to them. Unclaimed accounts, and their keys, are deleted 72 hours after creation. Until claimed, the account has the standard trial limits.
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ CreateAgentTenantBody createAgentTenantBody = new CreateAgentTenantBody(); // CreateAgentTenantBody |
+ try {
+ CreateAgentTenantResponse result = apiInstance.createAgentTenant(createAgentTenantBody)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#createAgentTenant");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **createAgentTenantBody** | [**CreateAgentTenantBody**](CreateAgentTenantBody.md)| | |
+
+### Return type
+
+[**CreateAgentTenantResponse**](CreateAgentTenantResponse.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
# **createEmailTemplate**
> CreateEmailTemplateResponse createEmailTemplate(tenantId, createEmailTemplateBody).execute();
@@ -1186,6 +1270,79 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
+
+# **createPollVote**
+> CreatePollVoteResponse createPollVote(tenantId, createPollVoteBody).execute();
+
+
+
+Record a vote on a poll, or move an existing one to a different option. A voter has at most one vote per poll, so calling this again for the same voter moves their vote rather than adding one. This obeys the site's poll settings: if voting is set to logged-in users only, a vote with just an anonUserId is rejected, and anonymous votes are rate limited per IP per poll.
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ CreatePollVoteBody createPollVoteBody = new CreatePollVoteBody(); // CreatePollVoteBody |
+ try {
+ CreatePollVoteResponse result = apiInstance.createPollVote(tenantId, createPollVoteBody)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#createPollVote");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **createPollVoteBody** | [**CreatePollVoteBody**](CreatePollVoteBody.md)| | |
+
+### Return type
+
+[**CreatePollVoteResponse**](CreatePollVoteResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
# **createQuestionConfig**
> CreateQuestionConfigResponse createQuestionConfig(tenantId, createQuestionConfigBody).execute();
@@ -1834,6 +1991,79 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
+
+# **createWebhook**
+> CreateWebhookResponse createWebhook(tenantId, createWebhookParams).execute();
+
+
+
+Subscribes a URL to a comment event (REST hook subscribe). Subscribing the same URL to the same event and domain again returns the existing subscription. Deliveries are HMAC signed, see the webhooks guide; the legacy `token` header is never sent to API subscriptions.
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ CreateWebhookParams createWebhookParams = new CreateWebhookParams(); // CreateWebhookParams |
+ try {
+ CreateWebhookResponse result = apiInstance.createWebhook(tenantId, createWebhookParams)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#createWebhook");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **createWebhookParams** | [**CreateWebhookParams**](CreateWebhookParams.md)| | |
+
+### Return type
+
+[**CreateWebhookResponse**](CreateWebhookResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
# **deleteComment**
> DeleteCommentResult deleteComment(tenantId, id).contextUserId(contextUserId).isLive(isLive).execute();
@@ -2485,11 +2715,13 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **deleteQuestionConfig**
-> APIEmptyResponse deleteQuestionConfig(tenantId, id).execute();
+
+# **deletePoll**
+> APIEmptyResponse deletePoll(tenantId, commentId).execute();
+
+Remove a poll from its comment, along with every vote cast on it. The comment itself is left alone.
### Example
```java
@@ -2514,13 +2746,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String id = "id_example"; // String |
+ String commentId = "commentId_example"; // String |
try {
- APIEmptyResponse result = apiInstance.deleteQuestionConfig(tenantId, id)
+ APIEmptyResponse result = apiInstance.deletePoll(tenantId, commentId)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteQuestionConfig");
+ System.err.println("Exception when calling DefaultApi#deletePoll");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -2535,7 +2767,7 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **id** | **String**| | |
+| **commentId** | **String**| | |
### Return type
@@ -2556,11 +2788,13 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **deleteQuestionResult**
-> APIEmptyResponse deleteQuestionResult(tenantId, id).execute();
+
+# **deletePollVote**
+> DeletePollVoteResponse deletePollVote(tenantId, id).execute();
+
+Retract a vote. The option it was cast on gives its tally back.
### Example
```java
@@ -2587,11 +2821,11 @@ public class Example {
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
try {
- APIEmptyResponse result = apiInstance.deleteQuestionResult(tenantId, id)
+ DeletePollVoteResponse result = apiInstance.deletePollVote(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteQuestionResult");
+ System.err.println("Exception when calling DefaultApi#deletePollVote");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -2610,7 +2844,7 @@ public class Example {
### Return type
-[**APIEmptyResponse**](APIEmptyResponse.md)
+[**DeletePollVoteResponse**](DeletePollVoteResponse.md)
### Authorization
@@ -2627,9 +2861,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **deleteSSOUser**
-> DeleteSSOUserAPIResponse deleteSSOUser(tenantId, id).deleteComments(deleteComments).commentDeleteMode(commentDeleteMode).execute();
+
+# **deleteQuestionConfig**
+> APIEmptyResponse deleteQuestionConfig(tenantId, id).execute();
@@ -2657,16 +2891,12 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
- Boolean deleteComments = true; // Boolean |
- String commentDeleteMode = "commentDeleteMode_example"; // String |
try {
- DeleteSSOUserAPIResponse result = apiInstance.deleteSSOUser(tenantId, id)
- .deleteComments(deleteComments)
- .commentDeleteMode(commentDeleteMode)
+ APIEmptyResponse result = apiInstance.deleteQuestionConfig(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteSSOUser");
+ System.err.println("Exception when calling DefaultApi#deleteQuestionConfig");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -2682,12 +2912,10 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **id** | **String**| | |
-| **deleteComments** | **Boolean**| | [optional] |
-| **commentDeleteMode** | **String**| | [optional] |
### Return type
-[**DeleteSSOUserAPIResponse**](DeleteSSOUserAPIResponse.md)
+[**APIEmptyResponse**](APIEmptyResponse.md)
### Authorization
@@ -2702,10 +2930,11 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
+| **0** | Error | - |
-
-# **deleteSubscription**
-> DeleteSubscriptionAPIResponse deleteSubscription(tenantId, id).userId(userId).execute();
+
+# **deleteQuestionResult**
+> APIEmptyResponse deleteQuestionResult(tenantId, id).execute();
@@ -2733,14 +2962,12 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
- String userId = "userId_example"; // String |
try {
- DeleteSubscriptionAPIResponse result = apiInstance.deleteSubscription(tenantId, id)
- .userId(userId)
+ APIEmptyResponse result = apiInstance.deleteQuestionResult(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteSubscription");
+ System.err.println("Exception when calling DefaultApi#deleteQuestionResult");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -2756,11 +2983,10 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **id** | **String**| | |
-| **userId** | **String**| | [optional] |
### Return type
-[**DeleteSubscriptionAPIResponse**](DeleteSubscriptionAPIResponse.md)
+[**APIEmptyResponse**](APIEmptyResponse.md)
### Authorization
@@ -2775,10 +3001,11 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
+| **0** | Error | - |
-
-# **deleteTenant**
-> APIEmptyResponse deleteTenant(tenantId, id).sure(sure).execute();
+
+# **deleteSSOUser**
+> DeleteSSOUserAPIResponse deleteSSOUser(tenantId, id).deleteComments(deleteComments).commentDeleteMode(commentDeleteMode).execute();
@@ -2806,14 +3033,16 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
- String sure = "sure_example"; // String |
+ Boolean deleteComments = true; // Boolean |
+ String commentDeleteMode = "commentDeleteMode_example"; // String |
try {
- APIEmptyResponse result = apiInstance.deleteTenant(tenantId, id)
- .sure(sure)
+ DeleteSSOUserAPIResponse result = apiInstance.deleteSSOUser(tenantId, id)
+ .deleteComments(deleteComments)
+ .commentDeleteMode(commentDeleteMode)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteTenant");
+ System.err.println("Exception when calling DefaultApi#deleteSSOUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -2829,11 +3058,12 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **id** | **String**| | |
-| **sure** | **String**| | [optional] |
+| **deleteComments** | **Boolean**| | [optional] |
+| **commentDeleteMode** | **String**| | [optional] |
### Return type
-[**APIEmptyResponse**](APIEmptyResponse.md)
+[**DeleteSSOUserAPIResponse**](DeleteSSOUserAPIResponse.md)
### Authorization
@@ -2848,11 +3078,10 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
-| **0** | Error | - |
-
-# **deleteTenantPackage**
-> APIEmptyResponse deleteTenantPackage(tenantId, id).execute();
+
+# **deleteSubscription**
+> DeleteSubscriptionAPIResponse deleteSubscription(tenantId, id).userId(userId).execute();
@@ -2880,12 +3109,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
+ String userId = "userId_example"; // String |
try {
- APIEmptyResponse result = apiInstance.deleteTenantPackage(tenantId, id)
+ DeleteSubscriptionAPIResponse result = apiInstance.deleteSubscription(tenantId, id)
+ .userId(userId)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteTenantPackage");
+ System.err.println("Exception when calling DefaultApi#deleteSubscription");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -2901,10 +3132,11 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **id** | **String**| | |
+| **userId** | **String**| | [optional] |
### Return type
-[**APIEmptyResponse**](APIEmptyResponse.md)
+[**DeleteSubscriptionAPIResponse**](DeleteSubscriptionAPIResponse.md)
### Authorization
@@ -2919,11 +3151,10 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
-| **0** | Error | - |
-
-# **deleteTenantUser**
-> APIEmptyResponse deleteTenantUser(tenantId, id).deleteComments(deleteComments).commentDeleteMode(commentDeleteMode).execute();
+
+# **deleteTenant**
+> APIEmptyResponse deleteTenant(tenantId, id).sure(sure).execute();
@@ -2951,16 +3182,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
- String deleteComments = "deleteComments_example"; // String |
- String commentDeleteMode = "commentDeleteMode_example"; // String |
+ String sure = "sure_example"; // String |
try {
- APIEmptyResponse result = apiInstance.deleteTenantUser(tenantId, id)
- .deleteComments(deleteComments)
- .commentDeleteMode(commentDeleteMode)
+ APIEmptyResponse result = apiInstance.deleteTenant(tenantId, id)
+ .sure(sure)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteTenantUser");
+ System.err.println("Exception when calling DefaultApi#deleteTenant");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -2976,8 +3205,7 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **id** | **String**| | |
-| **deleteComments** | **String**| | [optional] |
-| **commentDeleteMode** | **String**| | [optional] |
+| **sure** | **String**| | [optional] |
### Return type
@@ -2998,9 +3226,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **deleteUserBadge**
-> APIEmptySuccessResponse deleteUserBadge(tenantId, id).execute();
+
+# **deleteTenantPackage**
+> APIEmptyResponse deleteTenantPackage(tenantId, id).execute();
@@ -3029,11 +3257,11 @@ public class Example {
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
try {
- APIEmptySuccessResponse result = apiInstance.deleteUserBadge(tenantId, id)
+ APIEmptyResponse result = apiInstance.deleteTenantPackage(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteUserBadge");
+ System.err.println("Exception when calling DefaultApi#deleteTenantPackage");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3052,7 +3280,7 @@ public class Example {
### Return type
-[**APIEmptySuccessResponse**](APIEmptySuccessResponse.md)
+[**APIEmptyResponse**](APIEmptyResponse.md)
### Authorization
@@ -3069,9 +3297,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **deleteVote**
-> VoteDeleteResponse deleteVote(tenantId, id).editKey(editKey).execute();
+
+# **deleteTenantUser**
+> APIEmptyResponse deleteTenantUser(tenantId, id).deleteComments(deleteComments).commentDeleteMode(commentDeleteMode).execute();
@@ -3099,14 +3327,16 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
- String editKey = "editKey_example"; // String |
+ String deleteComments = "deleteComments_example"; // String |
+ String commentDeleteMode = "commentDeleteMode_example"; // String |
try {
- VoteDeleteResponse result = apiInstance.deleteVote(tenantId, id)
- .editKey(editKey)
+ APIEmptyResponse result = apiInstance.deleteTenantUser(tenantId, id)
+ .deleteComments(deleteComments)
+ .commentDeleteMode(commentDeleteMode)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#deleteVote");
+ System.err.println("Exception when calling DefaultApi#deleteTenantUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3122,11 +3352,12 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **id** | **String**| | |
-| **editKey** | **String**| | [optional] |
+| **deleteComments** | **String**| | [optional] |
+| **commentDeleteMode** | **String**| | [optional] |
### Return type
-[**VoteDeleteResponse**](VoteDeleteResponse.md)
+[**APIEmptyResponse**](APIEmptyResponse.md)
### Authorization
@@ -3143,9 +3374,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **flagComment**
-> FlagCommentResponse flagComment(tenantId, id).userId(userId).anonUserId(anonUserId).execute();
+
+# **deleteUserBadge**
+> APIEmptySuccessResponse deleteUserBadge(tenantId, id).execute();
@@ -3173,16 +3404,12 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
- String userId = "userId_example"; // String |
- String anonUserId = "anonUserId_example"; // String |
try {
- FlagCommentResponse result = apiInstance.flagComment(tenantId, id)
- .userId(userId)
- .anonUserId(anonUserId)
+ APIEmptySuccessResponse result = apiInstance.deleteUserBadge(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#flagComment");
+ System.err.println("Exception when calling DefaultApi#deleteUserBadge");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3198,12 +3425,10 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **id** | **String**| | |
-| **userId** | **String**| | [optional] |
-| **anonUserId** | **String**| | [optional] |
### Return type
-[**FlagCommentResponse**](FlagCommentResponse.md)
+[**APIEmptySuccessResponse**](APIEmptySuccessResponse.md)
### Authorization
@@ -3220,9 +3445,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getAuditLogs**
-> GetAuditLogsResponse getAuditLogs(tenantId).limit(limit).skip(skip).order(order).after(after).before(before).execute();
+
+# **deleteVote**
+> VoteDeleteResponse deleteVote(tenantId, id).editKey(editKey).execute();
@@ -3249,22 +3474,15 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- Double limit = 3.4D; // Double |
- Double skip = 3.4D; // Double |
- SORTDIR order = SORTDIR.fromValue("ASC"); // SORTDIR |
- Double after = 3.4D; // Double |
- Double before = 3.4D; // Double |
+ String id = "id_example"; // String |
+ String editKey = "editKey_example"; // String |
try {
- GetAuditLogsResponse result = apiInstance.getAuditLogs(tenantId)
- .limit(limit)
- .skip(skip)
- .order(order)
- .after(after)
- .before(before)
+ VoteDeleteResponse result = apiInstance.deleteVote(tenantId, id)
+ .editKey(editKey)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getAuditLogs");
+ System.err.println("Exception when calling DefaultApi#deleteVote");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3279,15 +3497,12 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **limit** | **Double**| | [optional] |
-| **skip** | **Double**| | [optional] |
-| **order** | [**SORTDIR**](.md)| | [optional] [enum: ASC, DESC] |
-| **after** | **Double**| | [optional] |
-| **before** | **Double**| | [optional] |
+| **id** | **String**| | |
+| **editKey** | **String**| | [optional] |
### Return type
-[**GetAuditLogsResponse**](GetAuditLogsResponse.md)
+[**VoteDeleteResponse**](VoteDeleteResponse.md)
### Authorization
@@ -3304,12 +3519,14 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getCachedNotificationCount**
-> GetCachedNotificationCountResponse getCachedNotificationCount(tenantId, id).execute();
+
+# **deleteWebhook**
+> APIEmptyResponse deleteWebhook(tenantId, id).execute();
+Unsubscribes (REST hook unsubscribe). Only subscriptions created through this API can be deleted here; dashboard-managed webhooks are edited in the dashboard.
+
### Example
```java
// Import classes:
@@ -3335,11 +3552,11 @@ public class Example {
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
try {
- GetCachedNotificationCountResponse result = apiInstance.getCachedNotificationCount(tenantId, id)
+ APIEmptyResponse result = apiInstance.deleteWebhook(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getCachedNotificationCount");
+ System.err.println("Exception when calling DefaultApi#deleteWebhook");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3358,7 +3575,7 @@ public class Example {
### Return type
-[**GetCachedNotificationCountResponse**](GetCachedNotificationCountResponse.md)
+[**APIEmptyResponse**](APIEmptyResponse.md)
### Authorization
@@ -3375,9 +3592,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getComment**
-> APIGetCommentResponse getComment(tenantId, id).execute();
+
+# **flagComment**
+> FlagCommentResponse flagComment(tenantId, id).userId(userId).anonUserId(anonUserId).execute();
@@ -3405,12 +3622,16 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
+ String userId = "userId_example"; // String |
+ String anonUserId = "anonUserId_example"; // String |
try {
- APIGetCommentResponse result = apiInstance.getComment(tenantId, id)
+ FlagCommentResponse result = apiInstance.flagComment(tenantId, id)
+ .userId(userId)
+ .anonUserId(anonUserId)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getComment");
+ System.err.println("Exception when calling DefaultApi#flagComment");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3426,10 +3647,12 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **id** | **String**| | |
+| **userId** | **String**| | [optional] |
+| **anonUserId** | **String**| | [optional] |
### Return type
-[**APIGetCommentResponse**](APIGetCommentResponse.md)
+[**FlagCommentResponse**](FlagCommentResponse.md)
### Authorization
@@ -3446,9 +3669,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getComments**
-> APIGetCommentsResponse getComments(tenantId).page(page).limit(limit).skip(skip).asTree(asTree).skipChildren(skipChildren).limitChildren(limitChildren).maxTreeDepth(maxTreeDepth).urlId(urlId).userId(userId).anonUserId(anonUserId).contextUserId(contextUserId).hashTag(hashTag).parentId(parentId).direction(direction).fromDate(fromDate).toDate(toDate).execute();
+
+# **getAuditLogs**
+> GetAuditLogsResponse getAuditLogs(tenantId).limit(limit).skip(skip).order(order).after(after).before(before).username(username).ip(ip).crudType(crudType).resourceName(resourceName).targetId(targetId).target(target).includeManagedTenants(includeManagedTenants).execute();
@@ -3474,45 +3697,37 @@ public class Example {
//api_key.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi(defaultClient);
- String tenantId = "tenantId_example"; // String |
- Integer page = 56; // Integer |
- Integer limit = 56; // Integer |
- Integer skip = 56; // Integer |
- Boolean asTree = true; // Boolean |
- Integer skipChildren = 56; // Integer |
- Integer limitChildren = 56; // Integer |
- Integer maxTreeDepth = 56; // Integer |
- String urlId = "urlId_example"; // String |
- String userId = "userId_example"; // String |
- String anonUserId = "anonUserId_example"; // String |
- String contextUserId = "contextUserId_example"; // String |
- String hashTag = "hashTag_example"; // String |
- String parentId = "parentId_example"; // String |
- SortDirections direction = SortDirections.fromValue("OF"); // SortDirections |
- Long fromDate = 56L; // Long |
- Long toDate = 56L; // Long |
+ String tenantId = "tenantId_example"; // String | The tenant to read audit logs for.
+ Integer limit = 56; // Integer | How many logs to return. Max 10000, defaults to 1000.
+ Integer skip = 56; // Integer | How many logs to skip, for paging.
+ SORTDIR order = SORTDIR.fromValue("ASC"); // SORTDIR | Sort direction on the event time. Defaults to DESC (newest first).
+ Long after = 56L; // Long |
+ Long before = 56L; // Long |
+ String username = "username_example"; // String | Only return events performed by this username.
+ String ip = "ip_example"; // String | Only return events from this IP address.
+ String crudType = "crudType_example"; // String | Only return events of this type: c, r, u, d, or login.
+ String resourceName = "resourceName_example"; // String | Only return events for this resource, e.g. User or Moderator.
+ String targetId = "targetId_example"; // String | Only return events whose affected object has this id.
+ String target = "target_example"; // String | Case-insensitive substring match on the affected object's label, e.g. a username or email.
+ Boolean includeManagedTenants = true; // Boolean | Also return events from tenants this tenant manages.
try {
- APIGetCommentsResponse result = apiInstance.getComments(tenantId)
- .page(page)
+ GetAuditLogsResponse result = apiInstance.getAuditLogs(tenantId)
.limit(limit)
.skip(skip)
- .asTree(asTree)
- .skipChildren(skipChildren)
- .limitChildren(limitChildren)
- .maxTreeDepth(maxTreeDepth)
- .urlId(urlId)
- .userId(userId)
- .anonUserId(anonUserId)
- .contextUserId(contextUserId)
- .hashTag(hashTag)
- .parentId(parentId)
- .direction(direction)
- .fromDate(fromDate)
- .toDate(toDate)
+ .order(order)
+ .after(after)
+ .before(before)
+ .username(username)
+ .ip(ip)
+ .crudType(crudType)
+ .resourceName(resourceName)
+ .targetId(targetId)
+ .target(target)
+ .includeManagedTenants(includeManagedTenants)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getComments");
+ System.err.println("Exception when calling DefaultApi#getAuditLogs");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3526,27 +3741,23 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
-| **tenantId** | **String**| | |
-| **page** | **Integer**| | [optional] |
-| **limit** | **Integer**| | [optional] |
-| **skip** | **Integer**| | [optional] |
-| **asTree** | **Boolean**| | [optional] |
-| **skipChildren** | **Integer**| | [optional] |
-| **limitChildren** | **Integer**| | [optional] |
-| **maxTreeDepth** | **Integer**| | [optional] |
-| **urlId** | **String**| | [optional] |
-| **userId** | **String**| | [optional] |
-| **anonUserId** | **String**| | [optional] |
-| **contextUserId** | **String**| | [optional] |
-| **hashTag** | **String**| | [optional] |
-| **parentId** | **String**| | [optional] |
-| **direction** | [**SortDirections**](.md)| | [optional] [enum: OF, NF, MR] |
-| **fromDate** | **Long**| | [optional] |
-| **toDate** | **Long**| | [optional] |
+| **tenantId** | **String**| The tenant to read audit logs for. | |
+| **limit** | **Integer**| How many logs to return. Max 10000, defaults to 1000. | [optional] |
+| **skip** | **Integer**| How many logs to skip, for paging. | [optional] |
+| **order** | [**SORTDIR**](.md)| Sort direction on the event time. Defaults to DESC (newest first). | [optional] [enum: ASC, DESC] |
+| **after** | **Long**| | [optional] |
+| **before** | **Long**| | [optional] |
+| **username** | **String**| Only return events performed by this username. | [optional] |
+| **ip** | **String**| Only return events from this IP address. | [optional] |
+| **crudType** | **String**| Only return events of this type: c, r, u, d, or login. | [optional] |
+| **resourceName** | **String**| Only return events for this resource, e.g. User or Moderator. | [optional] |
+| **targetId** | **String**| Only return events whose affected object has this id. | [optional] |
+| **target** | **String**| Case-insensitive substring match on the affected object's label, e.g. a username or email. | [optional] |
+| **includeManagedTenants** | **Boolean**| Also return events from tenants this tenant manages. | [optional] |
### Return type
-[**APIGetCommentsResponse**](APIGetCommentsResponse.md)
+[**GetAuditLogsResponse**](GetAuditLogsResponse.md)
### Authorization
@@ -3563,12 +3774,14 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getDomainConfig**
-> GetDomainConfigResponse getDomainConfig(tenantId, domain).execute();
+
+# **getBatchJob**
+> GetBatchJobAPIResponse getBatchJob(tenantId, id).execute();
+Status, progress and, once done, the result of one batch job.
+
### Example
```java
// Import classes:
@@ -3592,13 +3805,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String domain = "domain_example"; // String |
+ String id = "id_example"; // String |
try {
- GetDomainConfigResponse result = apiInstance.getDomainConfig(tenantId, domain)
+ GetBatchJobAPIResponse result = apiInstance.getBatchJob(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getDomainConfig");
+ System.err.println("Exception when calling DefaultApi#getBatchJob");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3613,11 +3826,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **domain** | **String**| | |
+| **id** | **String**| | |
### Return type
-[**GetDomainConfigResponse**](GetDomainConfigResponse.md)
+[**GetBatchJobAPIResponse**](GetBatchJobAPIResponse.md)
### Authorization
@@ -3633,11 +3846,13 @@ public class Example {
|-------------|-------------|------------------|
| **200** | Ok | - |
-
-# **getDomainConfigs**
-> GetDomainConfigsResponse getDomainConfigs(tenantId).execute();
+
+# **getBatchJobs**
+> GetBatchJobsAPIResponse getBatchJobs(tenantId).type(type).status(status).skip(skip).execute();
+
+The tenant's batch jobs (imports, exports, page migrations...), newest first.
### Example
```java
@@ -3662,12 +3877,18 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
+ String type = "type_example"; // String | Only jobs of this type, for example migrate-pages.
+ String status = "status_example"; // String | Only jobs in this status: requested, running, success or failed.
+ Integer skip = 56; // Integer | How many jobs to skip, for paging.
try {
- GetDomainConfigsResponse result = apiInstance.getDomainConfigs(tenantId)
+ GetBatchJobsAPIResponse result = apiInstance.getBatchJobs(tenantId)
+ .type(type)
+ .status(status)
+ .skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getDomainConfigs");
+ System.err.println("Exception when calling DefaultApi#getBatchJobs");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3682,10 +3903,13 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
+| **type** | **String**| Only jobs of this type, for example migrate-pages. | [optional] |
+| **status** | **String**| Only jobs in this status: requested, running, success or failed. | [optional] |
+| **skip** | **Integer**| How many jobs to skip, for paging. | [optional] |
### Return type
-[**GetDomainConfigsResponse**](GetDomainConfigsResponse.md)
+[**GetBatchJobsAPIResponse**](GetBatchJobsAPIResponse.md)
### Authorization
@@ -3701,9 +3925,9 @@ public class Example {
|-------------|-------------|------------------|
| **200** | Ok | - |
-
-# **getEmailTemplate**
-> GetEmailTemplateResponse getEmailTemplate(tenantId, id).execute();
+
+# **getCachedNotificationCount**
+> GetCachedNotificationCountResponse getCachedNotificationCount(tenantId, id).execute();
@@ -3732,11 +3956,11 @@ public class Example {
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
try {
- GetEmailTemplateResponse result = apiInstance.getEmailTemplate(tenantId, id)
+ GetCachedNotificationCountResponse result = apiInstance.getCachedNotificationCount(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getEmailTemplate");
+ System.err.println("Exception when calling DefaultApi#getCachedNotificationCount");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3755,7 +3979,7 @@ public class Example {
### Return type
-[**GetEmailTemplateResponse**](GetEmailTemplateResponse.md)
+[**GetCachedNotificationCountResponse**](GetCachedNotificationCountResponse.md)
### Authorization
@@ -3772,9 +3996,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getEmailTemplateDefinitions**
-> GetEmailTemplateDefinitionsResponse getEmailTemplateDefinitions(tenantId).execute();
+
+# **getComment**
+> APIGetCommentResponse getComment(tenantId, id).execute();
@@ -3801,12 +4025,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
+ String id = "id_example"; // String |
try {
- GetEmailTemplateDefinitionsResponse result = apiInstance.getEmailTemplateDefinitions(tenantId)
+ APIGetCommentResponse result = apiInstance.getComment(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getEmailTemplateDefinitions");
+ System.err.println("Exception when calling DefaultApi#getComment");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3821,10 +4046,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
+| **id** | **String**| | |
### Return type
-[**GetEmailTemplateDefinitionsResponse**](GetEmailTemplateDefinitionsResponse.md)
+[**APIGetCommentResponse**](APIGetCommentResponse.md)
### Authorization
@@ -3841,9 +4067,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getEmailTemplateRenderErrors**
-> GetEmailTemplateRenderErrorsResponse getEmailTemplateRenderErrors(tenantId, id).skip(skip).execute();
+
+# **getComments**
+> APIGetCommentsResponse getComments(tenantId).page(page).limit(limit).skip(skip).asTree(asTree).skipChildren(skipChildren).limitChildren(limitChildren).maxTreeDepth(maxTreeDepth).urlId(urlId).userId(userId).anonUserId(anonUserId).contextUserId(contextUserId).hashTag(hashTag).parentId(parentId).direction(direction).fromDate(fromDate).toDate(toDate).execute();
@@ -3870,15 +4096,44 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String id = "id_example"; // String |
- Double skip = 3.4D; // Double |
- try {
- GetEmailTemplateRenderErrorsResponse result = apiInstance.getEmailTemplateRenderErrors(tenantId, id)
- .skip(skip)
+ Integer page = 56; // Integer |
+ Integer limit = 56; // Integer |
+ Integer skip = 56; // Integer |
+ Boolean asTree = true; // Boolean |
+ Integer skipChildren = 56; // Integer |
+ Integer limitChildren = 56; // Integer |
+ Integer maxTreeDepth = 56; // Integer |
+ String urlId = "urlId_example"; // String |
+ String userId = "userId_example"; // String |
+ String anonUserId = "anonUserId_example"; // String |
+ String contextUserId = "contextUserId_example"; // String |
+ String hashTag = "hashTag_example"; // String |
+ String parentId = "parentId_example"; // String |
+ SortDirections direction = SortDirections.fromValue("OF"); // SortDirections |
+ Long fromDate = 56L; // Long |
+ Long toDate = 56L; // Long |
+ try {
+ APIGetCommentsResponse result = apiInstance.getComments(tenantId)
+ .page(page)
+ .limit(limit)
+ .skip(skip)
+ .asTree(asTree)
+ .skipChildren(skipChildren)
+ .limitChildren(limitChildren)
+ .maxTreeDepth(maxTreeDepth)
+ .urlId(urlId)
+ .userId(userId)
+ .anonUserId(anonUserId)
+ .contextUserId(contextUserId)
+ .hashTag(hashTag)
+ .parentId(parentId)
+ .direction(direction)
+ .fromDate(fromDate)
+ .toDate(toDate)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getEmailTemplateRenderErrors");
+ System.err.println("Exception when calling DefaultApi#getComments");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3893,12 +4148,26 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **id** | **String**| | |
-| **skip** | **Double**| | [optional] |
+| **page** | **Integer**| | [optional] |
+| **limit** | **Integer**| | [optional] |
+| **skip** | **Integer**| | [optional] |
+| **asTree** | **Boolean**| | [optional] |
+| **skipChildren** | **Integer**| | [optional] |
+| **limitChildren** | **Integer**| | [optional] |
+| **maxTreeDepth** | **Integer**| | [optional] |
+| **urlId** | **String**| | [optional] |
+| **userId** | **String**| | [optional] |
+| **anonUserId** | **String**| | [optional] |
+| **contextUserId** | **String**| | [optional] |
+| **hashTag** | **String**| | [optional] |
+| **parentId** | **String**| | [optional] |
+| **direction** | [**SortDirections**](.md)| | [optional] [enum: OF, NF, MR] |
+| **fromDate** | **Long**| | [optional] |
+| **toDate** | **Long**| | [optional] |
### Return type
-[**GetEmailTemplateRenderErrorsResponse**](GetEmailTemplateRenderErrorsResponse.md)
+[**APIGetCommentsResponse**](APIGetCommentsResponse.md)
### Authorization
@@ -3915,9 +4184,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getEmailTemplates**
-> GetEmailTemplatesResponse getEmailTemplates(tenantId).skip(skip).execute();
+
+# **getDomainConfig**
+> GetDomainConfigResponse getDomainConfig(tenantId, domain).execute();
@@ -3944,14 +4213,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- Double skip = 3.4D; // Double |
+ String domain = "domain_example"; // String |
try {
- GetEmailTemplatesResponse result = apiInstance.getEmailTemplates(tenantId)
- .skip(skip)
+ GetDomainConfigResponse result = apiInstance.getDomainConfig(tenantId, domain)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getEmailTemplates");
+ System.err.println("Exception when calling DefaultApi#getDomainConfig");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -3966,11 +4234,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **skip** | **Double**| | [optional] |
+| **domain** | **String**| | |
### Return type
-[**GetEmailTemplatesResponse**](GetEmailTemplatesResponse.md)
+[**GetDomainConfigResponse**](GetDomainConfigResponse.md)
### Authorization
@@ -3985,15 +4253,12 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
-| **0** | Error | - |
-
-
-# **getFeedPosts**
-> GetFeedPostsResponse getFeedPosts(tenantId).afterId(afterId).limit(limit).tags(tags).execute();
+
+# **getDomainConfigs**
+> GetDomainConfigsResponse getDomainConfigs(tenantId).execute();
- req tenantId afterId
### Example
```java
@@ -4018,18 +4283,12 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String afterId = "afterId_example"; // String |
- Integer limit = 56; // Integer |
- List tags = Arrays.asList(); // List |
try {
- GetFeedPostsResponse result = apiInstance.getFeedPosts(tenantId)
- .afterId(afterId)
- .limit(limit)
- .tags(tags)
+ GetDomainConfigsResponse result = apiInstance.getDomainConfigs(tenantId)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getFeedPosts");
+ System.err.println("Exception when calling DefaultApi#getDomainConfigs");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4044,13 +4303,10 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **afterId** | **String**| | [optional] |
-| **limit** | **Integer**| | [optional] |
-| **tags** | [**List<String>**](String.md)| | [optional] |
### Return type
-[**GetFeedPostsResponse**](GetFeedPostsResponse.md)
+[**GetDomainConfigsResponse**](GetDomainConfigsResponse.md)
### Authorization
@@ -4065,11 +4321,10 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
-| **0** | Error | - |
-
-# **getHashTags**
-> GetHashTagsResponse getHashTags(tenantId).page(page).execute();
+
+# **getEmailTemplate**
+> GetEmailTemplateResponse getEmailTemplate(tenantId, id).execute();
@@ -4096,14 +4351,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- Double page = 3.4D; // Double |
+ String id = "id_example"; // String |
try {
- GetHashTagsResponse result = apiInstance.getHashTags(tenantId)
- .page(page)
+ GetEmailTemplateResponse result = apiInstance.getEmailTemplate(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getHashTags");
+ System.err.println("Exception when calling DefaultApi#getEmailTemplate");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4118,11 +4372,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **page** | **Double**| | [optional] |
+| **id** | **String**| | |
### Return type
-[**GetHashTagsResponse**](GetHashTagsResponse.md)
+[**GetEmailTemplateResponse**](GetEmailTemplateResponse.md)
### Authorization
@@ -4139,9 +4393,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getModerator**
-> GetModeratorResponse getModerator(tenantId, id).execute();
+
+# **getEmailTemplateDefinitions**
+> GetEmailTemplateDefinitionsResponse getEmailTemplateDefinitions(tenantId).execute();
@@ -4168,13 +4422,12 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String id = "id_example"; // String |
try {
- GetModeratorResponse result = apiInstance.getModerator(tenantId, id)
+ GetEmailTemplateDefinitionsResponse result = apiInstance.getEmailTemplateDefinitions(tenantId)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getModerator");
+ System.err.println("Exception when calling DefaultApi#getEmailTemplateDefinitions");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4189,11 +4442,10 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **id** | **String**| | |
### Return type
-[**GetModeratorResponse**](GetModeratorResponse.md)
+[**GetEmailTemplateDefinitionsResponse**](GetEmailTemplateDefinitionsResponse.md)
### Authorization
@@ -4210,9 +4462,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getModerators**
-> GetModeratorsResponse getModerators(tenantId).skip(skip).execute();
+
+# **getEmailTemplateRenderErrors**
+> GetEmailTemplateRenderErrorsResponse getEmailTemplateRenderErrors(tenantId, id).skip(skip).execute();
@@ -4239,14 +4491,15 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
+ String id = "id_example"; // String |
Double skip = 3.4D; // Double |
try {
- GetModeratorsResponse result = apiInstance.getModerators(tenantId)
+ GetEmailTemplateRenderErrorsResponse result = apiInstance.getEmailTemplateRenderErrors(tenantId, id)
.skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getModerators");
+ System.err.println("Exception when calling DefaultApi#getEmailTemplateRenderErrors");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4261,11 +4514,12 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
+| **id** | **String**| | |
| **skip** | **Double**| | [optional] |
### Return type
-[**GetModeratorsResponse**](GetModeratorsResponse.md)
+[**GetEmailTemplateRenderErrorsResponse**](GetEmailTemplateRenderErrorsResponse.md)
### Authorization
@@ -4282,9 +4536,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getNotificationCount**
-> GetNotificationCountResponse getNotificationCount(tenantId).userId(userId).urlId(urlId).fromCommentId(fromCommentId).viewed(viewed).type(type).execute();
+
+# **getEmailTemplates**
+> GetEmailTemplatesResponse getEmailTemplates(tenantId).skip(skip).execute();
@@ -4311,22 +4565,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String userId = "userId_example"; // String |
- String urlId = "urlId_example"; // String |
- String fromCommentId = "fromCommentId_example"; // String |
- Boolean viewed = true; // Boolean |
- String type = "type_example"; // String |
+ Double skip = 3.4D; // Double |
try {
- GetNotificationCountResponse result = apiInstance.getNotificationCount(tenantId)
- .userId(userId)
- .urlId(urlId)
- .fromCommentId(fromCommentId)
- .viewed(viewed)
- .type(type)
+ GetEmailTemplatesResponse result = apiInstance.getEmailTemplates(tenantId)
+ .skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getNotificationCount");
+ System.err.println("Exception when calling DefaultApi#getEmailTemplates");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4341,15 +4587,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **userId** | **String**| | [optional] |
-| **urlId** | **String**| | [optional] |
-| **fromCommentId** | **String**| | [optional] |
-| **viewed** | **Boolean**| | [optional] |
-| **type** | **String**| | [optional] |
+| **skip** | **Double**| | [optional] |
### Return type
-[**GetNotificationCountResponse**](GetNotificationCountResponse.md)
+[**GetEmailTemplatesResponse**](GetEmailTemplatesResponse.md)
### Authorization
@@ -4366,11 +4608,13 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getNotifications**
-> GetNotificationsResponse getNotifications(tenantId).userId(userId).urlId(urlId).fromCommentId(fromCommentId).viewed(viewed).type(type).skip(skip).execute();
+
+# **getFeedPosts**
+> GetFeedPostsResponse getFeedPosts(tenantId).afterId(afterId).limit(limit).tags(tags).execute();
+
+ req tenantId afterId
### Example
```java
@@ -4395,24 +4639,18 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String userId = "userId_example"; // String |
- String urlId = "urlId_example"; // String |
- String fromCommentId = "fromCommentId_example"; // String |
- Boolean viewed = true; // Boolean |
- String type = "type_example"; // String |
- Double skip = 3.4D; // Double |
+ String afterId = "afterId_example"; // String |
+ Integer limit = 56; // Integer |
+ List tags = Arrays.asList(); // List |
try {
- GetNotificationsResponse result = apiInstance.getNotifications(tenantId)
- .userId(userId)
- .urlId(urlId)
- .fromCommentId(fromCommentId)
- .viewed(viewed)
- .type(type)
- .skip(skip)
+ GetFeedPostsResponse result = apiInstance.getFeedPosts(tenantId)
+ .afterId(afterId)
+ .limit(limit)
+ .tags(tags)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getNotifications");
+ System.err.println("Exception when calling DefaultApi#getFeedPosts");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4427,16 +4665,1230 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **userId** | **String**| | [optional] |
-| **urlId** | **String**| | [optional] |
-| **fromCommentId** | **String**| | [optional] |
-| **viewed** | **Boolean**| | [optional] |
-| **type** | **String**| | [optional] |
-| **skip** | **Double**| | [optional] |
+| **afterId** | **String**| | [optional] |
+| **limit** | **Integer**| | [optional] |
+| **tags** | [**List<String>**](String.md)| | [optional] |
+
+### Return type
+
+[**GetFeedPostsResponse**](GetFeedPostsResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
+
+# **getHashTags**
+> GetHashTagsResponse getHashTags(tenantId).page(page).execute();
+
+
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ Double page = 3.4D; // Double |
+ try {
+ GetHashTagsResponse result = apiInstance.getHashTags(tenantId)
+ .page(page)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getHashTags");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **page** | **Double**| | [optional] |
+
+### Return type
+
+[**GetHashTagsResponse**](GetHashTagsResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
+
+# **getMe**
+> GetMeResponse getMe(tenantId).execute();
+
+
+
+Identifies the credential in use: the tenant it belongs to and, for OAuth tokens, the user who authorized it. Integrations use this to test a connection and label it.
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ try {
+ GetMeResponse result = apiInstance.getMe(tenantId)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getMe");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+
+### Return type
+
+[**GetMeResponse**](GetMeResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
+
+# **getModerator**
+> GetModeratorResponse getModerator(tenantId, id).execute();
+
+
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String id = "id_example"; // String |
+ try {
+ GetModeratorResponse result = apiInstance.getModerator(tenantId, id)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getModerator");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **id** | **String**| | |
+
+### Return type
+
+[**GetModeratorResponse**](GetModeratorResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
+
+# **getModerators**
+> GetModeratorsResponse getModerators(tenantId).skip(skip).execute();
+
+
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ Double skip = 3.4D; // Double |
+ try {
+ GetModeratorsResponse result = apiInstance.getModerators(tenantId)
+ .skip(skip)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getModerators");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **skip** | **Double**| | [optional] |
+
+### Return type
+
+[**GetModeratorsResponse**](GetModeratorsResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
+
+# **getNotificationCount**
+> GetNotificationCountResponse getNotificationCount(tenantId).userId(userId).urlId(urlId).fromCommentId(fromCommentId).viewed(viewed).type(type).execute();
+
+
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String userId = "userId_example"; // String |
+ String urlId = "urlId_example"; // String |
+ String fromCommentId = "fromCommentId_example"; // String |
+ Boolean viewed = true; // Boolean |
+ String type = "type_example"; // String |
+ try {
+ GetNotificationCountResponse result = apiInstance.getNotificationCount(tenantId)
+ .userId(userId)
+ .urlId(urlId)
+ .fromCommentId(fromCommentId)
+ .viewed(viewed)
+ .type(type)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getNotificationCount");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **userId** | **String**| | [optional] |
+| **urlId** | **String**| | [optional] |
+| **fromCommentId** | **String**| | [optional] |
+| **viewed** | **Boolean**| | [optional] |
+| **type** | **String**| | [optional] |
+
+### Return type
+
+[**GetNotificationCountResponse**](GetNotificationCountResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
+
+# **getNotifications**
+> GetNotificationsResponse getNotifications(tenantId).userId(userId).urlId(urlId).fromCommentId(fromCommentId).viewed(viewed).type(type).skip(skip).execute();
+
+
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String userId = "userId_example"; // String |
+ String urlId = "urlId_example"; // String |
+ String fromCommentId = "fromCommentId_example"; // String |
+ Boolean viewed = true; // Boolean |
+ String type = "type_example"; // String |
+ Double skip = 3.4D; // Double |
+ try {
+ GetNotificationsResponse result = apiInstance.getNotifications(tenantId)
+ .userId(userId)
+ .urlId(urlId)
+ .fromCommentId(fromCommentId)
+ .viewed(viewed)
+ .type(type)
+ .skip(skip)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getNotifications");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **userId** | **String**| | [optional] |
+| **urlId** | **String**| | [optional] |
+| **fromCommentId** | **String**| | [optional] |
+| **viewed** | **Boolean**| | [optional] |
+| **type** | **String**| | [optional] |
+| **skip** | **Double**| | [optional] |
+
+### Return type
+
+[**GetNotificationsResponse**](GetNotificationsResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
+
+# **getPageByURLId**
+> GetPageByURLIdAPIResponse getPageByURLId(tenantId, urlId).execute();
+
+
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String urlId = "urlId_example"; // String |
+ try {
+ GetPageByURLIdAPIResponse result = apiInstance.getPageByURLId(tenantId, urlId)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getPageByURLId");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **urlId** | **String**| | |
+
+### Return type
+
+[**GetPageByURLIdAPIResponse**](GetPageByURLIdAPIResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+
+
+# **getPageLikes**
+> GetPageLikesAPIResponse getPageLikes(tenantId, urlId).includeUserInfo(includeUserInfo).execute();
+
+
+
+Like count for a page, optionally with the users who liked it.
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String urlId = "urlId_example"; // String |
+ PageReactIncludeUserInfo includeUserInfo = PageReactIncludeUserInfo.fromValue("public"); // PageReactIncludeUserInfo | \"public\" omits users with private profiles, \"include-private\" includes them.
+ try {
+ GetPageLikesAPIResponse result = apiInstance.getPageLikes(tenantId, urlId)
+ .includeUserInfo(includeUserInfo)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getPageLikes");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **urlId** | **String**| | |
+| **includeUserInfo** | [**PageReactIncludeUserInfo**](.md)| \"public\" omits users with private profiles, \"include-private\" includes them. | [optional] [enum: public, include-private] |
+
+### Return type
+
+[**GetPageLikesAPIResponse**](GetPageLikesAPIResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+
+
+# **getPageReacts**
+> GetPageReactsAPIResponse getPageReacts(tenantId, urlId).includeUserInfo(includeUserInfo).execute();
+
+
+
+Custom react counts for a page, optionally with the users who reacted.
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String urlId = "urlId_example"; // String |
+ PageReactIncludeUserInfo includeUserInfo = PageReactIncludeUserInfo.fromValue("public"); // PageReactIncludeUserInfo | \"public\" omits users with private profiles, \"include-private\" includes them.
+ try {
+ GetPageReactsAPIResponse result = apiInstance.getPageReacts(tenantId, urlId)
+ .includeUserInfo(includeUserInfo)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getPageReacts");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **urlId** | **String**| | |
+| **includeUserInfo** | [**PageReactIncludeUserInfo**](.md)| \"public\" omits users with private profiles, \"include-private\" includes them. | [optional] [enum: public, include-private] |
+
+### Return type
+
+[**GetPageReactsAPIResponse**](GetPageReactsAPIResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+
+
+# **getPages**
+> GetPagesAPIResponse getPages(tenantId).execute();
+
+
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ try {
+ GetPagesAPIResponse result = apiInstance.getPages(tenantId)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getPages");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+
+### Return type
+
+[**GetPagesAPIResponse**](GetPagesAPIResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+
+
+# **getPendingWebhookEventCount**
+> GetPendingWebhookEventCountResponse getPendingWebhookEventCount(tenantId).commentId(commentId).externalId(externalId).eventType(eventType).type(type).domain(domain).attemptCountGT(attemptCountGT).execute();
+
+
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String commentId = "commentId_example"; // String |
+ String externalId = "externalId_example"; // String |
+ String eventType = "eventType_example"; // String |
+ String type = "type_example"; // String |
+ String domain = "domain_example"; // String |
+ Double attemptCountGT = 3.4D; // Double |
+ try {
+ GetPendingWebhookEventCountResponse result = apiInstance.getPendingWebhookEventCount(tenantId)
+ .commentId(commentId)
+ .externalId(externalId)
+ .eventType(eventType)
+ .type(type)
+ .domain(domain)
+ .attemptCountGT(attemptCountGT)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getPendingWebhookEventCount");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **commentId** | **String**| | [optional] |
+| **externalId** | **String**| | [optional] |
+| **eventType** | **String**| | [optional] |
+| **type** | **String**| | [optional] |
+| **domain** | **String**| | [optional] |
+| **attemptCountGT** | **Double**| | [optional] |
+
+### Return type
+
+[**GetPendingWebhookEventCountResponse**](GetPendingWebhookEventCountResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
+
+# **getPendingWebhookEvents**
+> GetPendingWebhookEventsResponse getPendingWebhookEvents(tenantId).commentId(commentId).externalId(externalId).eventType(eventType).type(type).domain(domain).attemptCountGT(attemptCountGT).skip(skip).execute();
+
+
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String commentId = "commentId_example"; // String |
+ String externalId = "externalId_example"; // String |
+ String eventType = "eventType_example"; // String |
+ String type = "type_example"; // String |
+ String domain = "domain_example"; // String |
+ Double attemptCountGT = 3.4D; // Double |
+ Double skip = 3.4D; // Double |
+ try {
+ GetPendingWebhookEventsResponse result = apiInstance.getPendingWebhookEvents(tenantId)
+ .commentId(commentId)
+ .externalId(externalId)
+ .eventType(eventType)
+ .type(type)
+ .domain(domain)
+ .attemptCountGT(attemptCountGT)
+ .skip(skip)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getPendingWebhookEvents");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **commentId** | **String**| | [optional] |
+| **externalId** | **String**| | [optional] |
+| **eventType** | **String**| | [optional] |
+| **type** | **String**| | [optional] |
+| **domain** | **String**| | [optional] |
+| **attemptCountGT** | **Double**| | [optional] |
+| **skip** | **Double**| | [optional] |
+
+### Return type
+
+[**GetPendingWebhookEventsResponse**](GetPendingWebhookEventsResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
+
+# **getPoll**
+> GetPollResponse getPoll(tenantId, commentId).execute();
+
+
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String commentId = "commentId_example"; // String |
+ try {
+ GetPollResponse result = apiInstance.getPoll(tenantId, commentId)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getPoll");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **commentId** | **String**| | |
+
+### Return type
+
+[**GetPollResponse**](GetPollResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
+
+# **getPollVote**
+> GetPollVoteResponse getPollVote(tenantId, id).execute();
+
+
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String id = "id_example"; // String |
+ try {
+ GetPollVoteResponse result = apiInstance.getPollVote(tenantId, id)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getPollVote");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **id** | **String**| | |
+
+### Return type
+
+[**GetPollVoteResponse**](GetPollVoteResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
+
+# **getPollVotes**
+> GetPollVotesResponse getPollVotes(tenantId, commentId).voterId(voterId).optionId(optionId).skip(skip).execute();
+
+
+
+The individual votes behind one poll's tallies, oldest first. A poll belongs to a comment, so votes are always read one poll at a time - commentId is required. That keeps every query on the indexes the collection already has. Obeys the poll's privacy: an anonymous poll's votes cannot be read (poll-anonymous), here or by id.
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String commentId = "commentId_example"; // String |
+ String voterId = "voterId_example"; // String |
+ String optionId = "optionId_example"; // String |
+ Integer skip = 56; // Integer |
+ try {
+ GetPollVotesResponse result = apiInstance.getPollVotes(tenantId, commentId)
+ .voterId(voterId)
+ .optionId(optionId)
+ .skip(skip)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getPollVotes");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **commentId** | **String**| | |
+| **voterId** | **String**| | [optional] |
+| **optionId** | **String**| | [optional] |
+| **skip** | **Integer**| | [optional] |
+
+### Return type
+
+[**GetPollVotesResponse**](GetPollVotesResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
+
+# **getQuestionConfig**
+> GetQuestionConfigResponse getQuestionConfig(tenantId, id).execute();
+
+
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String id = "id_example"; // String |
+ try {
+ GetQuestionConfigResponse result = apiInstance.getQuestionConfig(tenantId, id)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#getQuestionConfig");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **id** | **String**| | |
### Return type
-[**GetNotificationsResponse**](GetNotificationsResponse.md)
+[**GetQuestionConfigResponse**](GetQuestionConfigResponse.md)
### Authorization
@@ -4453,9 +5905,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getPageByURLId**
-> GetPageByURLIdAPIResponse getPageByURLId(tenantId, urlId).execute();
+
+# **getQuestionConfigs**
+> GetQuestionConfigsResponse getQuestionConfigs(tenantId).skip(skip).execute();
@@ -4482,13 +5934,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String urlId = "urlId_example"; // String |
+ Double skip = 3.4D; // Double |
try {
- GetPageByURLIdAPIResponse result = apiInstance.getPageByURLId(tenantId, urlId)
+ GetQuestionConfigsResponse result = apiInstance.getQuestionConfigs(tenantId)
+ .skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getPageByURLId");
+ System.err.println("Exception when calling DefaultApi#getQuestionConfigs");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4503,11 +5956,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **urlId** | **String**| | |
+| **skip** | **Double**| | [optional] |
### Return type
-[**GetPageByURLIdAPIResponse**](GetPageByURLIdAPIResponse.md)
+[**GetQuestionConfigsResponse**](GetQuestionConfigsResponse.md)
### Authorization
@@ -4522,10 +5975,11 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
+| **0** | Error | - |
-
-# **getPages**
-> GetPagesAPIResponse getPages(tenantId).execute();
+
+# **getQuestionResult**
+> GetQuestionResultResponse getQuestionResult(tenantId, id).execute();
@@ -4552,12 +6006,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
+ String id = "id_example"; // String |
try {
- GetPagesAPIResponse result = apiInstance.getPages(tenantId)
+ GetQuestionResultResponse result = apiInstance.getQuestionResult(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getPages");
+ System.err.println("Exception when calling DefaultApi#getQuestionResult");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4572,10 +6027,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
+| **id** | **String**| | |
### Return type
-[**GetPagesAPIResponse**](GetPagesAPIResponse.md)
+[**GetQuestionResultResponse**](GetQuestionResultResponse.md)
### Authorization
@@ -4590,10 +6046,11 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
+| **0** | Error | - |
-
-# **getPendingWebhookEventCount**
-> GetPendingWebhookEventCountResponse getPendingWebhookEventCount(tenantId).commentId(commentId).externalId(externalId).eventType(eventType).type(type).domain(domain).attemptCountGT(attemptCountGT).execute();
+
+# **getQuestionResults**
+> GetQuestionResultsResponse getQuestionResults(tenantId).urlId(urlId).userId(userId).startDate(startDate).questionId(questionId).questionIds(questionIds).skip(skip).execute();
@@ -4620,24 +6077,24 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String commentId = "commentId_example"; // String |
- String externalId = "externalId_example"; // String |
- String eventType = "eventType_example"; // String |
- String type = "type_example"; // String |
- String domain = "domain_example"; // String |
- Double attemptCountGT = 3.4D; // Double |
+ String urlId = "urlId_example"; // String |
+ String userId = "userId_example"; // String |
+ String startDate = "startDate_example"; // String |
+ String questionId = "questionId_example"; // String |
+ String questionIds = "questionIds_example"; // String |
+ Double skip = 3.4D; // Double |
try {
- GetPendingWebhookEventCountResponse result = apiInstance.getPendingWebhookEventCount(tenantId)
- .commentId(commentId)
- .externalId(externalId)
- .eventType(eventType)
- .type(type)
- .domain(domain)
- .attemptCountGT(attemptCountGT)
+ GetQuestionResultsResponse result = apiInstance.getQuestionResults(tenantId)
+ .urlId(urlId)
+ .userId(userId)
+ .startDate(startDate)
+ .questionId(questionId)
+ .questionIds(questionIds)
+ .skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getPendingWebhookEventCount");
+ System.err.println("Exception when calling DefaultApi#getQuestionResults");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4652,16 +6109,16 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **commentId** | **String**| | [optional] |
-| **externalId** | **String**| | [optional] |
-| **eventType** | **String**| | [optional] |
-| **type** | **String**| | [optional] |
-| **domain** | **String**| | [optional] |
-| **attemptCountGT** | **Double**| | [optional] |
+| **urlId** | **String**| | [optional] |
+| **userId** | **String**| | [optional] |
+| **startDate** | **String**| | [optional] |
+| **questionId** | **String**| | [optional] |
+| **questionIds** | **String**| | [optional] |
+| **skip** | **Double**| | [optional] |
### Return type
-[**GetPendingWebhookEventCountResponse**](GetPendingWebhookEventCountResponse.md)
+[**GetQuestionResultsResponse**](GetQuestionResultsResponse.md)
### Authorization
@@ -4678,9 +6135,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getPendingWebhookEvents**
-> GetPendingWebhookEventsResponse getPendingWebhookEvents(tenantId).commentId(commentId).externalId(externalId).eventType(eventType).type(type).domain(domain).attemptCountGT(attemptCountGT).skip(skip).execute();
+
+# **getSSOUserByEmail**
+> GetSSOUserByEmailAPIResponse getSSOUserByEmail(tenantId, email).execute();
@@ -4707,26 +6164,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String commentId = "commentId_example"; // String |
- String externalId = "externalId_example"; // String |
- String eventType = "eventType_example"; // String |
- String type = "type_example"; // String |
- String domain = "domain_example"; // String |
- Double attemptCountGT = 3.4D; // Double |
- Double skip = 3.4D; // Double |
+ String email = "email_example"; // String |
try {
- GetPendingWebhookEventsResponse result = apiInstance.getPendingWebhookEvents(tenantId)
- .commentId(commentId)
- .externalId(externalId)
- .eventType(eventType)
- .type(type)
- .domain(domain)
- .attemptCountGT(attemptCountGT)
- .skip(skip)
+ GetSSOUserByEmailAPIResponse result = apiInstance.getSSOUserByEmail(tenantId, email)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getPendingWebhookEvents");
+ System.err.println("Exception when calling DefaultApi#getSSOUserByEmail");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4741,17 +6185,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **commentId** | **String**| | [optional] |
-| **externalId** | **String**| | [optional] |
-| **eventType** | **String**| | [optional] |
-| **type** | **String**| | [optional] |
-| **domain** | **String**| | [optional] |
-| **attemptCountGT** | **Double**| | [optional] |
-| **skip** | **Double**| | [optional] |
+| **email** | **String**| | |
### Return type
-[**GetPendingWebhookEventsResponse**](GetPendingWebhookEventsResponse.md)
+[**GetSSOUserByEmailAPIResponse**](GetSSOUserByEmailAPIResponse.md)
### Authorization
@@ -4766,11 +6204,10 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
-| **0** | Error | - |
-
-# **getQuestionConfig**
-> GetQuestionConfigResponse getQuestionConfig(tenantId, id).execute();
+
+# **getSSOUserById**
+> GetSSOUserByIdAPIResponse getSSOUserById(tenantId, id).execute();
@@ -4799,11 +6236,11 @@ public class Example {
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
try {
- GetQuestionConfigResponse result = apiInstance.getQuestionConfig(tenantId, id)
+ GetSSOUserByIdAPIResponse result = apiInstance.getSSOUserById(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getQuestionConfig");
+ System.err.println("Exception when calling DefaultApi#getSSOUserById");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4822,7 +6259,7 @@ public class Example {
### Return type
-[**GetQuestionConfigResponse**](GetQuestionConfigResponse.md)
+[**GetSSOUserByIdAPIResponse**](GetSSOUserByIdAPIResponse.md)
### Authorization
@@ -4837,11 +6274,10 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
-| **0** | Error | - |
-
-# **getQuestionConfigs**
-> GetQuestionConfigsResponse getQuestionConfigs(tenantId).skip(skip).execute();
+
+# **getSSOUsers**
+> GetSSOUsersResponse getSSOUsers(tenantId).skip(skip).execute();
@@ -4868,14 +6304,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- Double skip = 3.4D; // Double |
+ Integer skip = 56; // Integer |
try {
- GetQuestionConfigsResponse result = apiInstance.getQuestionConfigs(tenantId)
+ GetSSOUsersResponse result = apiInstance.getSSOUsers(tenantId)
.skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getQuestionConfigs");
+ System.err.println("Exception when calling DefaultApi#getSSOUsers");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4890,11 +6326,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **skip** | **Double**| | [optional] |
+| **skip** | **Integer**| | [optional] |
### Return type
-[**GetQuestionConfigsResponse**](GetQuestionConfigsResponse.md)
+[**GetSSOUsersResponse**](GetSSOUsersResponse.md)
### Authorization
@@ -4909,11 +6345,10 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
-| **0** | Error | - |
-
-# **getQuestionResult**
-> GetQuestionResultResponse getQuestionResult(tenantId, id).execute();
+
+# **getSubscriptions**
+> GetSubscriptionsAPIResponse getSubscriptions(tenantId).userId(userId).execute();
@@ -4940,13 +6375,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String id = "id_example"; // String |
+ String userId = "userId_example"; // String |
try {
- GetQuestionResultResponse result = apiInstance.getQuestionResult(tenantId, id)
+ GetSubscriptionsAPIResponse result = apiInstance.getSubscriptions(tenantId)
+ .userId(userId)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getQuestionResult");
+ System.err.println("Exception when calling DefaultApi#getSubscriptions");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -4961,11 +6397,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **id** | **String**| | |
+| **userId** | **String**| | [optional] |
### Return type
-[**GetQuestionResultResponse**](GetQuestionResultResponse.md)
+[**GetSubscriptionsAPIResponse**](GetSubscriptionsAPIResponse.md)
### Authorization
@@ -4980,11 +6416,10 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
-| **0** | Error | - |
-
-# **getQuestionResults**
-> GetQuestionResultsResponse getQuestionResults(tenantId).urlId(urlId).userId(userId).startDate(startDate).questionId(questionId).questionIds(questionIds).skip(skip).execute();
+
+# **getTenant**
+> GetTenantResponse getTenant(tenantId, id).execute();
@@ -5011,24 +6446,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String urlId = "urlId_example"; // String |
- String userId = "userId_example"; // String |
- String startDate = "startDate_example"; // String |
- String questionId = "questionId_example"; // String |
- String questionIds = "questionIds_example"; // String |
- Double skip = 3.4D; // Double |
+ String id = "id_example"; // String |
try {
- GetQuestionResultsResponse result = apiInstance.getQuestionResults(tenantId)
- .urlId(urlId)
- .userId(userId)
- .startDate(startDate)
- .questionId(questionId)
- .questionIds(questionIds)
- .skip(skip)
+ GetTenantResponse result = apiInstance.getTenant(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getQuestionResults");
+ System.err.println("Exception when calling DefaultApi#getTenant");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5043,16 +6467,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **urlId** | **String**| | [optional] |
-| **userId** | **String**| | [optional] |
-| **startDate** | **String**| | [optional] |
-| **questionId** | **String**| | [optional] |
-| **questionIds** | **String**| | [optional] |
-| **skip** | **Double**| | [optional] |
+| **id** | **String**| | |
### Return type
-[**GetQuestionResultsResponse**](GetQuestionResultsResponse.md)
+[**GetTenantResponse**](GetTenantResponse.md)
### Authorization
@@ -5069,9 +6488,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getSSOUserByEmail**
-> GetSSOUserByEmailAPIResponse getSSOUserByEmail(tenantId, email).execute();
+
+# **getTenantDailyUsages**
+> GetTenantDailyUsagesResponse getTenantDailyUsages(tenantId).yearNumber(yearNumber).monthNumber(monthNumber).dayNumber(dayNumber).skip(skip).execute();
@@ -5098,13 +6517,20 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String email = "email_example"; // String |
+ Double yearNumber = 3.4D; // Double |
+ Double monthNumber = 3.4D; // Double |
+ Double dayNumber = 3.4D; // Double |
+ Double skip = 3.4D; // Double |
try {
- GetSSOUserByEmailAPIResponse result = apiInstance.getSSOUserByEmail(tenantId, email)
+ GetTenantDailyUsagesResponse result = apiInstance.getTenantDailyUsages(tenantId)
+ .yearNumber(yearNumber)
+ .monthNumber(monthNumber)
+ .dayNumber(dayNumber)
+ .skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getSSOUserByEmail");
+ System.err.println("Exception when calling DefaultApi#getTenantDailyUsages");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5119,11 +6545,14 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **email** | **String**| | |
+| **yearNumber** | **Double**| | [optional] |
+| **monthNumber** | **Double**| | [optional] |
+| **dayNumber** | **Double**| | [optional] |
+| **skip** | **Double**| | [optional] |
### Return type
-[**GetSSOUserByEmailAPIResponse**](GetSSOUserByEmailAPIResponse.md)
+[**GetTenantDailyUsagesResponse**](GetTenantDailyUsagesResponse.md)
### Authorization
@@ -5138,10 +6567,11 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
+| **0** | Error | - |
-
-# **getSSOUserById**
-> GetSSOUserByIdAPIResponse getSSOUserById(tenantId, id).execute();
+
+# **getTenantPackage**
+> GetTenantPackageResponse getTenantPackage(tenantId, id).execute();
@@ -5170,11 +6600,11 @@ public class Example {
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
try {
- GetSSOUserByIdAPIResponse result = apiInstance.getSSOUserById(tenantId, id)
+ GetTenantPackageResponse result = apiInstance.getTenantPackage(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getSSOUserById");
+ System.err.println("Exception when calling DefaultApi#getTenantPackage");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5193,7 +6623,7 @@ public class Example {
### Return type
-[**GetSSOUserByIdAPIResponse**](GetSSOUserByIdAPIResponse.md)
+[**GetTenantPackageResponse**](GetTenantPackageResponse.md)
### Authorization
@@ -5208,10 +6638,11 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
+| **0** | Error | - |
-
-# **getSSOUsers**
-> GetSSOUsersResponse getSSOUsers(tenantId).skip(skip).execute();
+
+# **getTenantPackages**
+> GetTenantPackagesResponse getTenantPackages(tenantId).skip(skip).execute();
@@ -5238,14 +6669,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- Integer skip = 56; // Integer |
+ Double skip = 3.4D; // Double |
try {
- GetSSOUsersResponse result = apiInstance.getSSOUsers(tenantId)
+ GetTenantPackagesResponse result = apiInstance.getTenantPackages(tenantId)
.skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getSSOUsers");
+ System.err.println("Exception when calling DefaultApi#getTenantPackages");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5260,11 +6691,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **skip** | **Integer**| | [optional] |
+| **skip** | **Double**| | [optional] |
### Return type
-[**GetSSOUsersResponse**](GetSSOUsersResponse.md)
+[**GetTenantPackagesResponse**](GetTenantPackagesResponse.md)
### Authorization
@@ -5279,10 +6710,11 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
+| **0** | Error | - |
-
-# **getSubscriptions**
-> GetSubscriptionsAPIResponse getSubscriptions(tenantId).userId(userId).execute();
+
+# **getTenantUser**
+> GetTenantUserResponse getTenantUser(tenantId, id).execute();
@@ -5309,14 +6741,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String userId = "userId_example"; // String |
+ String id = "id_example"; // String |
try {
- GetSubscriptionsAPIResponse result = apiInstance.getSubscriptions(tenantId)
- .userId(userId)
+ GetTenantUserResponse result = apiInstance.getTenantUser(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getSubscriptions");
+ System.err.println("Exception when calling DefaultApi#getTenantUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5331,11 +6762,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **userId** | **String**| | [optional] |
+| **id** | **String**| | |
### Return type
-[**GetSubscriptionsAPIResponse**](GetSubscriptionsAPIResponse.md)
+[**GetTenantUserResponse**](GetTenantUserResponse.md)
### Authorization
@@ -5350,10 +6781,11 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
+| **0** | Error | - |
-
-# **getTenant**
-> GetTenantResponse getTenant(tenantId, id).execute();
+
+# **getTenantUsers**
+> GetTenantUsersResponse getTenantUsers(tenantId).skip(skip).execute();
@@ -5380,13 +6812,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String id = "id_example"; // String |
+ Double skip = 3.4D; // Double |
try {
- GetTenantResponse result = apiInstance.getTenant(tenantId, id)
+ GetTenantUsersResponse result = apiInstance.getTenantUsers(tenantId)
+ .skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getTenant");
+ System.err.println("Exception when calling DefaultApi#getTenantUsers");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5401,11 +6834,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **id** | **String**| | |
+| **skip** | **Double**| | [optional] |
### Return type
-[**GetTenantResponse**](GetTenantResponse.md)
+[**GetTenantUsersResponse**](GetTenantUsersResponse.md)
### Authorization
@@ -5422,9 +6855,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getTenantDailyUsages**
-> GetTenantDailyUsagesResponse getTenantDailyUsages(tenantId).yearNumber(yearNumber).monthNumber(monthNumber).dayNumber(dayNumber).skip(skip).execute();
+
+# **getTenants**
+> GetTenantsResponse getTenants(tenantId).meta(meta).skip(skip).execute();
@@ -5451,20 +6884,16 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- Double yearNumber = 3.4D; // Double |
- Double monthNumber = 3.4D; // Double |
- Double dayNumber = 3.4D; // Double |
+ String meta = "meta_example"; // String |
Double skip = 3.4D; // Double |
try {
- GetTenantDailyUsagesResponse result = apiInstance.getTenantDailyUsages(tenantId)
- .yearNumber(yearNumber)
- .monthNumber(monthNumber)
- .dayNumber(dayNumber)
+ GetTenantsResponse result = apiInstance.getTenants(tenantId)
+ .meta(meta)
.skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getTenantDailyUsages");
+ System.err.println("Exception when calling DefaultApi#getTenants");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5479,14 +6908,12 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **yearNumber** | **Double**| | [optional] |
-| **monthNumber** | **Double**| | [optional] |
-| **dayNumber** | **Double**| | [optional] |
+| **meta** | **String**| | [optional] |
| **skip** | **Double**| | [optional] |
### Return type
-[**GetTenantDailyUsagesResponse**](GetTenantDailyUsagesResponse.md)
+[**GetTenantsResponse**](GetTenantsResponse.md)
### Authorization
@@ -5503,9 +6930,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getTenantPackage**
-> GetTenantPackageResponse getTenantPackage(tenantId, id).execute();
+
+# **getTicket**
+> GetTicketResponse getTicket(tenantId, id).userId(userId).execute();
@@ -5533,12 +6960,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
+ String userId = "userId_example"; // String |
try {
- GetTenantPackageResponse result = apiInstance.getTenantPackage(tenantId, id)
+ GetTicketResponse result = apiInstance.getTicket(tenantId, id)
+ .userId(userId)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getTenantPackage");
+ System.err.println("Exception when calling DefaultApi#getTicket");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5554,10 +6983,11 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **id** | **String**| | |
+| **userId** | **String**| | [optional] |
### Return type
-[**GetTenantPackageResponse**](GetTenantPackageResponse.md)
+[**GetTicketResponse**](GetTicketResponse.md)
### Authorization
@@ -5574,9 +7004,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getTenantPackages**
-> GetTenantPackagesResponse getTenantPackages(tenantId).skip(skip).execute();
+
+# **getTickets**
+> GetTicketsResponse getTickets(tenantId).userId(userId).state(state).skip(skip).limit(limit).execute();
@@ -5603,14 +7033,20 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
+ String userId = "userId_example"; // String |
+ Double state = 3.4D; // Double |
Double skip = 3.4D; // Double |
+ Double limit = 3.4D; // Double |
try {
- GetTenantPackagesResponse result = apiInstance.getTenantPackages(tenantId)
+ GetTicketsResponse result = apiInstance.getTickets(tenantId)
+ .userId(userId)
+ .state(state)
.skip(skip)
+ .limit(limit)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getTenantPackages");
+ System.err.println("Exception when calling DefaultApi#getTickets");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5625,11 +7061,14 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
+| **userId** | **String**| | [optional] |
+| **state** | **Double**| | [optional] |
| **skip** | **Double**| | [optional] |
+| **limit** | **Double**| | [optional] |
### Return type
-[**GetTenantPackagesResponse**](GetTenantPackagesResponse.md)
+[**GetTicketsResponse**](GetTicketsResponse.md)
### Authorization
@@ -5646,9 +7085,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getTenantUser**
-> GetTenantUserResponse getTenantUser(tenantId, id).execute();
+
+# **getUser**
+> GetUserResponse getUser(tenantId, id).execute();
@@ -5677,11 +7116,11 @@ public class Example {
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
try {
- GetTenantUserResponse result = apiInstance.getTenantUser(tenantId, id)
+ GetUserResponse result = apiInstance.getUser(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getTenantUser");
+ System.err.println("Exception when calling DefaultApi#getUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5700,7 +7139,7 @@ public class Example {
### Return type
-[**GetTenantUserResponse**](GetTenantUserResponse.md)
+[**GetUserResponse**](GetUserResponse.md)
### Authorization
@@ -5717,9 +7156,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getTenantUsers**
-> GetTenantUsersResponse getTenantUsers(tenantId).skip(skip).execute();
+
+# **getUserBadge**
+> APIGetUserBadgeResponse getUserBadge(tenantId, id).execute();
@@ -5746,14 +7185,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- Double skip = 3.4D; // Double |
+ String id = "id_example"; // String |
try {
- GetTenantUsersResponse result = apiInstance.getTenantUsers(tenantId)
- .skip(skip)
+ APIGetUserBadgeResponse result = apiInstance.getUserBadge(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getTenantUsers");
+ System.err.println("Exception when calling DefaultApi#getUserBadge");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5768,11 +7206,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **skip** | **Double**| | [optional] |
+| **id** | **String**| | |
### Return type
-[**GetTenantUsersResponse**](GetTenantUsersResponse.md)
+[**APIGetUserBadgeResponse**](APIGetUserBadgeResponse.md)
### Authorization
@@ -5789,9 +7227,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getTenants**
-> GetTenantsResponse getTenants(tenantId).meta(meta).skip(skip).execute();
+
+# **getUserBadgeProgressById**
+> APIGetUserBadgeProgressResponse getUserBadgeProgressById(tenantId, id).execute();
@@ -5818,16 +7256,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String meta = "meta_example"; // String |
- Double skip = 3.4D; // Double |
+ String id = "id_example"; // String |
try {
- GetTenantsResponse result = apiInstance.getTenants(tenantId)
- .meta(meta)
- .skip(skip)
+ APIGetUserBadgeProgressResponse result = apiInstance.getUserBadgeProgressById(tenantId, id)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getTenants");
+ System.err.println("Exception when calling DefaultApi#getUserBadgeProgressById");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5842,12 +7277,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **meta** | **String**| | [optional] |
-| **skip** | **Double**| | [optional] |
+| **id** | **String**| | |
### Return type
-[**GetTenantsResponse**](GetTenantsResponse.md)
+[**APIGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md)
### Authorization
@@ -5864,9 +7298,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getTicket**
-> GetTicketResponse getTicket(tenantId, id).userId(userId).execute();
+
+# **getUserBadgeProgressByUserId**
+> APIGetUserBadgeProgressResponse getUserBadgeProgressByUserId(tenantId, userId).execute();
@@ -5893,15 +7327,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String id = "id_example"; // String |
String userId = "userId_example"; // String |
try {
- GetTicketResponse result = apiInstance.getTicket(tenantId, id)
- .userId(userId)
+ APIGetUserBadgeProgressResponse result = apiInstance.getUserBadgeProgressByUserId(tenantId, userId)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getTicket");
+ System.err.println("Exception when calling DefaultApi#getUserBadgeProgressByUserId");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5916,12 +7348,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **id** | **String**| | |
-| **userId** | **String**| | [optional] |
+| **userId** | **String**| | |
### Return type
-[**GetTicketResponse**](GetTicketResponse.md)
+[**APIGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md)
### Authorization
@@ -5938,9 +7369,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getTickets**
-> GetTicketsResponse getTickets(tenantId).userId(userId).state(state).skip(skip).limit(limit).execute();
+
+# **getUserBadgeProgressList**
+> APIGetUserBadgeProgressListResponse getUserBadgeProgressList(tenantId).userId(userId).limit(limit).skip(skip).execute();
@@ -5968,19 +7399,17 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String userId = "userId_example"; // String |
- Double state = 3.4D; // Double |
- Double skip = 3.4D; // Double |
Double limit = 3.4D; // Double |
+ Double skip = 3.4D; // Double |
try {
- GetTicketsResponse result = apiInstance.getTickets(tenantId)
+ APIGetUserBadgeProgressListResponse result = apiInstance.getUserBadgeProgressList(tenantId)
.userId(userId)
- .state(state)
- .skip(skip)
.limit(limit)
+ .skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getTickets");
+ System.err.println("Exception when calling DefaultApi#getUserBadgeProgressList");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -5996,13 +7425,12 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **userId** | **String**| | [optional] |
-| **state** | **Double**| | [optional] |
-| **skip** | **Double**| | [optional] |
| **limit** | **Double**| | [optional] |
+| **skip** | **Double**| | [optional] |
### Return type
-[**GetTicketsResponse**](GetTicketsResponse.md)
+[**APIGetUserBadgeProgressListResponse**](APIGetUserBadgeProgressListResponse.md)
### Authorization
@@ -6019,9 +7447,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getUser**
-> GetUserResponse getUser(tenantId, id).execute();
+
+# **getUserBadges**
+> APIGetUserBadgesResponse getUserBadges(tenantId).userId(userId).badgeId(badgeId).type(type).displayedOnComments(displayedOnComments).limit(limit).skip(skip).execute();
@@ -6048,13 +7476,24 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String id = "id_example"; // String |
+ String userId = "userId_example"; // String |
+ String badgeId = "badgeId_example"; // String |
+ Double type = 3.4D; // Double |
+ Boolean displayedOnComments = true; // Boolean |
+ Double limit = 3.4D; // Double |
+ Double skip = 3.4D; // Double |
try {
- GetUserResponse result = apiInstance.getUser(tenantId, id)
+ APIGetUserBadgesResponse result = apiInstance.getUserBadges(tenantId)
+ .userId(userId)
+ .badgeId(badgeId)
+ .type(type)
+ .displayedOnComments(displayedOnComments)
+ .limit(limit)
+ .skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getUser");
+ System.err.println("Exception when calling DefaultApi#getUserBadges");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6069,11 +7508,16 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **id** | **String**| | |
+| **userId** | **String**| | [optional] |
+| **badgeId** | **String**| | [optional] |
+| **type** | **Double**| | [optional] |
+| **displayedOnComments** | **Boolean**| | [optional] |
+| **limit** | **Double**| | [optional] |
+| **skip** | **Double**| | [optional] |
### Return type
-[**GetUserResponse**](GetUserResponse.md)
+[**APIGetUserBadgesResponse**](APIGetUserBadgesResponse.md)
### Authorization
@@ -6090,9 +7534,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getUserBadge**
-> APIGetUserBadgeResponse getUserBadge(tenantId, id).execute();
+
+# **getVotes**
+> GetVotesResponse getVotes(tenantId, urlId).execute();
@@ -6119,13 +7563,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String id = "id_example"; // String |
+ String urlId = "urlId_example"; // String |
try {
- APIGetUserBadgeResponse result = apiInstance.getUserBadge(tenantId, id)
+ GetVotesResponse result = apiInstance.getVotes(tenantId, urlId)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getUserBadge");
+ System.err.println("Exception when calling DefaultApi#getVotes");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6140,11 +7584,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **id** | **String**| | |
+| **urlId** | **String**| | |
### Return type
-[**APIGetUserBadgeResponse**](APIGetUserBadgeResponse.md)
+[**GetVotesResponse**](GetVotesResponse.md)
### Authorization
@@ -6161,9 +7605,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getUserBadgeProgressById**
-> APIGetUserBadgeProgressResponse getUserBadgeProgressById(tenantId, id).execute();
+
+# **getVotesForUser**
+> GetVotesForUserResponse getVotesForUser(tenantId, urlId).userId(userId).anonUserId(anonUserId).execute();
@@ -6190,13 +7634,17 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String id = "id_example"; // String |
+ String urlId = "urlId_example"; // String |
+ String userId = "userId_example"; // String |
+ String anonUserId = "anonUserId_example"; // String |
try {
- APIGetUserBadgeProgressResponse result = apiInstance.getUserBadgeProgressById(tenantId, id)
+ GetVotesForUserResponse result = apiInstance.getVotesForUser(tenantId, urlId)
+ .userId(userId)
+ .anonUserId(anonUserId)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getUserBadgeProgressById");
+ System.err.println("Exception when calling DefaultApi#getVotesForUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6211,11 +7659,13 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **id** | **String**| | |
+| **urlId** | **String**| | |
+| **userId** | **String**| | [optional] |
+| **anonUserId** | **String**| | [optional] |
### Return type
-[**APIGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md)
+[**GetVotesForUserResponse**](GetVotesForUserResponse.md)
### Authorization
@@ -6232,11 +7682,13 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getUserBadgeProgressByUserId**
-> APIGetUserBadgeProgressResponse getUserBadgeProgressByUserId(tenantId, userId).execute();
+
+# **getWebhookSamplePayloads**
+> GetWebhookSamplePayloadsResponse getWebhookSamplePayloads(tenantId).event(event).limit(limit).execute();
+
+Recent comments in exactly the shape webhook deliveries use, for building integrations (for example Zapier sample data). Every event delivers the same comment object, so `event` only has to be valid.
### Example
```java
@@ -6261,13 +7713,16 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String userId = "userId_example"; // String |
+ WebhookEventName event = WebhookEventName.fromValue("comment-created"); // WebhookEventName |
+ Double limit = 3.4D; // Double |
try {
- APIGetUserBadgeProgressResponse result = apiInstance.getUserBadgeProgressByUserId(tenantId, userId)
+ GetWebhookSamplePayloadsResponse result = apiInstance.getWebhookSamplePayloads(tenantId)
+ .event(event)
+ .limit(limit)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getUserBadgeProgressByUserId");
+ System.err.println("Exception when calling DefaultApi#getWebhookSamplePayloads");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6282,11 +7737,12 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **userId** | **String**| | |
+| **event** | [**WebhookEventName**](.md)| | [optional] [enum: comment-created, comment-updated, comment-deleted] |
+| **limit** | **Double**| | [optional] |
### Return type
-[**APIGetUserBadgeProgressResponse**](APIGetUserBadgeProgressResponse.md)
+[**GetWebhookSamplePayloadsResponse**](GetWebhookSamplePayloadsResponse.md)
### Authorization
@@ -6303,12 +7759,14 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getUserBadgeProgressList**
-> APIGetUserBadgeProgressListResponse getUserBadgeProgressList(tenantId).userId(userId).limit(limit).skip(skip).execute();
+
+# **getWebhooks**
+> GetWebhooksResponse getWebhooks(tenantId).event(event).domain(domain).source(source).skip(skip).execute();
+Lists the webhooks configured for the tenant, both dashboard-managed rows and API subscriptions.
+
### Example
```java
// Import classes:
@@ -6332,18 +7790,20 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String userId = "userId_example"; // String |
- Double limit = 3.4D; // Double |
+ WebhookEventName event = WebhookEventName.fromValue("comment-created"); // WebhookEventName |
+ String domain = "domain_example"; // String |
+ WebhookSource source = WebhookSource.fromValue("dashboard"); // WebhookSource |
Double skip = 3.4D; // Double |
try {
- APIGetUserBadgeProgressListResponse result = apiInstance.getUserBadgeProgressList(tenantId)
- .userId(userId)
- .limit(limit)
+ GetWebhooksResponse result = apiInstance.getWebhooks(tenantId)
+ .event(event)
+ .domain(domain)
+ .source(source)
.skip(skip)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getUserBadgeProgressList");
+ System.err.println("Exception when calling DefaultApi#getWebhooks");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6358,13 +7818,14 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **userId** | **String**| | [optional] |
-| **limit** | **Double**| | [optional] |
+| **event** | [**WebhookEventName**](.md)| | [optional] [enum: comment-created, comment-updated, comment-deleted] |
+| **domain** | **String**| | [optional] |
+| **source** | [**WebhookSource**](.md)| | [optional] [enum: dashboard, api] |
| **skip** | **Double**| | [optional] |
### Return type
-[**APIGetUserBadgeProgressListResponse**](APIGetUserBadgeProgressListResponse.md)
+[**GetWebhooksResponse**](GetWebhooksResponse.md)
### Authorization
@@ -6381,12 +7842,14 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **getUserBadges**
-> APIGetUserBadgesResponse getUserBadges(tenantId).userId(userId).badgeId(badgeId).type(type).displayedOnComments(displayedOnComments).limit(limit).skip(skip).execute();
+
+# **migratePages**
+> QueuePageMigrationJobAPIResponse migratePages(tenantId, migrateAPIPagesData).execute();
+Queues a batch job that moves comments, pages and related records from one urlId or domain to another. \"urlId\" migrations only match the exact urlId. \"domain\" migrations find/replace the value inside every urlId and url. Poll GET /api/v1/batch-jobs/{batchJobId}: once it is done it carries per-migration results and an undoId.
+
### Example
```java
// Import classes:
@@ -6410,24 +7873,13 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String userId = "userId_example"; // String |
- String badgeId = "badgeId_example"; // String |
- Double type = 3.4D; // Double |
- Boolean displayedOnComments = true; // Boolean |
- Double limit = 3.4D; // Double |
- Double skip = 3.4D; // Double |
+ MigrateAPIPagesData migrateAPIPagesData = new MigrateAPIPagesData(); // MigrateAPIPagesData |
try {
- APIGetUserBadgesResponse result = apiInstance.getUserBadges(tenantId)
- .userId(userId)
- .badgeId(badgeId)
- .type(type)
- .displayedOnComments(displayedOnComments)
- .limit(limit)
- .skip(skip)
+ QueuePageMigrationJobAPIResponse result = apiInstance.migratePages(tenantId, migrateAPIPagesData)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getUserBadges");
+ System.err.println("Exception when calling DefaultApi#migratePages");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6442,16 +7894,11 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **userId** | **String**| | [optional] |
-| **badgeId** | **String**| | [optional] |
-| **type** | **Double**| | [optional] |
-| **displayedOnComments** | **Boolean**| | [optional] |
-| **limit** | **Double**| | [optional] |
-| **skip** | **Double**| | [optional] |
+| **migrateAPIPagesData** | [**MigrateAPIPagesData**](MigrateAPIPagesData.md)| | |
### Return type
-[**APIGetUserBadgesResponse**](APIGetUserBadgesResponse.md)
+[**QueuePageMigrationJobAPIResponse**](QueuePageMigrationJobAPIResponse.md)
### Authorization
@@ -6459,18 +7906,17 @@ public class Example {
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
-| **0** | Error | - |
-
-# **getVotes**
-> GetVotesResponse getVotes(tenantId, urlId).execute();
+
+# **patchDomainConfig**
+> PatchDomainConfigResponse patchDomainConfig(tenantId, domainToUpdate, patchDomainConfigParams).execute();
@@ -6497,13 +7943,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String urlId = "urlId_example"; // String |
+ String domainToUpdate = "domainToUpdate_example"; // String |
+ PatchDomainConfigParams patchDomainConfigParams = new PatchDomainConfigParams(); // PatchDomainConfigParams |
try {
- GetVotesResponse result = apiInstance.getVotes(tenantId, urlId)
+ PatchDomainConfigResponse result = apiInstance.patchDomainConfig(tenantId, domainToUpdate, patchDomainConfigParams)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getVotes");
+ System.err.println("Exception when calling DefaultApi#patchDomainConfig");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6518,11 +7965,12 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **urlId** | **String**| | |
+| **domainToUpdate** | **String**| | |
+| **patchDomainConfigParams** | [**PatchDomainConfigParams**](PatchDomainConfigParams.md)| | |
### Return type
-[**GetVotesResponse**](GetVotesResponse.md)
+[**PatchDomainConfigResponse**](PatchDomainConfigResponse.md)
### Authorization
@@ -6530,18 +7978,17 @@ public class Example {
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
-| **0** | Error | - |
-
-# **getVotesForUser**
-> GetVotesForUserResponse getVotesForUser(tenantId, urlId).userId(userId).anonUserId(anonUserId).execute();
+
+# **patchHashTag**
+> UpdateHashTagResponse patchHashTag(tenantId, tag).updateHashTagBody(updateHashTagBody).execute();
@@ -6568,17 +8015,15 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String urlId = "urlId_example"; // String |
- String userId = "userId_example"; // String |
- String anonUserId = "anonUserId_example"; // String |
+ String tag = "tag_example"; // String |
+ UpdateHashTagBody updateHashTagBody = new UpdateHashTagBody(); // UpdateHashTagBody |
try {
- GetVotesForUserResponse result = apiInstance.getVotesForUser(tenantId, urlId)
- .userId(userId)
- .anonUserId(anonUserId)
+ UpdateHashTagResponse result = apiInstance.patchHashTag(tenantId, tag)
+ .updateHashTagBody(updateHashTagBody)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#getVotesForUser");
+ System.err.println("Exception when calling DefaultApi#patchHashTag");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6593,13 +8038,12 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **urlId** | **String**| | |
-| **userId** | **String**| | [optional] |
-| **anonUserId** | **String**| | [optional] |
+| **tag** | **String**| | |
+| **updateHashTagBody** | [**UpdateHashTagBody**](UpdateHashTagBody.md)| | [optional] |
### Return type
-[**GetVotesForUserResponse**](GetVotesForUserResponse.md)
+[**UpdateHashTagResponse**](UpdateHashTagResponse.md)
### Authorization
@@ -6607,7 +8051,7 @@ public class Example {
### HTTP request headers
- - **Content-Type**: Not defined
+ - **Content-Type**: application/json
- **Accept**: application/json
### HTTP response details
@@ -6616,9 +8060,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **patchDomainConfig**
-> PatchDomainConfigResponse patchDomainConfig(tenantId, domainToUpdate, patchDomainConfigParams).execute();
+
+# **patchPage**
+> PatchPageAPIResponse patchPage(tenantId, id, updateAPIPageData).execute();
@@ -6645,14 +8089,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String domainToUpdate = "domainToUpdate_example"; // String |
- PatchDomainConfigParams patchDomainConfigParams = new PatchDomainConfigParams(); // PatchDomainConfigParams |
+ String id = "id_example"; // String |
+ UpdateAPIPageData updateAPIPageData = new UpdateAPIPageData(); // UpdateAPIPageData |
try {
- PatchDomainConfigResponse result = apiInstance.patchDomainConfig(tenantId, domainToUpdate, patchDomainConfigParams)
+ PatchPageAPIResponse result = apiInstance.patchPage(tenantId, id, updateAPIPageData)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#patchDomainConfig");
+ System.err.println("Exception when calling DefaultApi#patchPage");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6667,12 +8111,12 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **domainToUpdate** | **String**| | |
-| **patchDomainConfigParams** | [**PatchDomainConfigParams**](PatchDomainConfigParams.md)| | |
+| **id** | **String**| | |
+| **updateAPIPageData** | [**UpdateAPIPageData**](UpdateAPIPageData.md)| | |
### Return type
-[**PatchDomainConfigResponse**](PatchDomainConfigResponse.md)
+[**PatchPageAPIResponse**](PatchPageAPIResponse.md)
### Authorization
@@ -6688,12 +8132,14 @@ public class Example {
|-------------|-------------|------------------|
| **200** | Ok | - |
-
-# **patchHashTag**
-> UpdateHashTagResponse patchHashTag(tenantId, tag).updateHashTagBody(updateHashTagBody).execute();
+
+# **patchPoll**
+> SavePollResponse patchPoll(tenantId, commentId, commentPollPatch).execute();
+Edit a poll in place, keeping its tallies: change the question, relabel an option, close or reopen it, or change who may see the voters. Options are addressed by id - to add, remove or reorder them, PUT the full list.
+
### Example
```java
// Import classes:
@@ -6717,15 +8163,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String tag = "tag_example"; // String |
- UpdateHashTagBody updateHashTagBody = new UpdateHashTagBody(); // UpdateHashTagBody |
+ String commentId = "commentId_example"; // String |
+ CommentPollPatch commentPollPatch = new CommentPollPatch(); // CommentPollPatch |
try {
- UpdateHashTagResponse result = apiInstance.patchHashTag(tenantId, tag)
- .updateHashTagBody(updateHashTagBody)
+ SavePollResponse result = apiInstance.patchPoll(tenantId, commentId, commentPollPatch)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#patchHashTag");
+ System.err.println("Exception when calling DefaultApi#patchPoll");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6740,12 +8185,12 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **tag** | **String**| | |
-| **updateHashTagBody** | [**UpdateHashTagBody**](UpdateHashTagBody.md)| | [optional] |
+| **commentId** | **String**| | |
+| **commentPollPatch** | [**CommentPollPatch**](CommentPollPatch.md)| | |
### Return type
-[**UpdateHashTagResponse**](UpdateHashTagResponse.md)
+[**SavePollResponse**](SavePollResponse.md)
### Authorization
@@ -6762,9 +8207,9 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
-
-# **patchPage**
-> PatchPageAPIResponse patchPage(tenantId, id, updateAPIPageData).execute();
+
+# **patchSSOUser**
+> PatchSSOUserAPIResponse patchSSOUser(tenantId, id, updateAPISSOUserData).updateComments(updateComments).execute();
@@ -6792,13 +8237,15 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String id = "id_example"; // String |
- UpdateAPIPageData updateAPIPageData = new UpdateAPIPageData(); // UpdateAPIPageData |
+ UpdateAPISSOUserData updateAPISSOUserData = new UpdateAPISSOUserData(); // UpdateAPISSOUserData |
+ Boolean updateComments = true; // Boolean |
try {
- PatchPageAPIResponse result = apiInstance.patchPage(tenantId, id, updateAPIPageData)
+ PatchSSOUserAPIResponse result = apiInstance.patchSSOUser(tenantId, id, updateAPISSOUserData)
+ .updateComments(updateComments)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#patchPage");
+ System.err.println("Exception when calling DefaultApi#patchSSOUser");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6814,11 +8261,12 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **id** | **String**| | |
-| **updateAPIPageData** | [**UpdateAPIPageData**](UpdateAPIPageData.md)| | |
+| **updateAPISSOUserData** | [**UpdateAPISSOUserData**](UpdateAPISSOUserData.md)| | |
+| **updateComments** | **Boolean**| | [optional] |
### Return type
-[**PatchPageAPIResponse**](PatchPageAPIResponse.md)
+[**PatchSSOUserAPIResponse**](PatchSSOUserAPIResponse.md)
### Authorization
@@ -6834,9 +8282,9 @@ public class Example {
|-------------|-------------|------------------|
| **200** | Ok | - |
-
-# **patchSSOUser**
-> PatchSSOUserAPIResponse patchSSOUser(tenantId, id, updateAPISSOUserData).updateComments(updateComments).execute();
+
+# **putDomainConfig**
+> PutDomainConfigResponse putDomainConfig(tenantId, domainToUpdate, updateDomainConfigParams).execute();
@@ -6863,16 +8311,14 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String id = "id_example"; // String |
- UpdateAPISSOUserData updateAPISSOUserData = new UpdateAPISSOUserData(); // UpdateAPISSOUserData |
- Boolean updateComments = true; // Boolean |
+ String domainToUpdate = "domainToUpdate_example"; // String |
+ UpdateDomainConfigParams updateDomainConfigParams = new UpdateDomainConfigParams(); // UpdateDomainConfigParams |
try {
- PatchSSOUserAPIResponse result = apiInstance.patchSSOUser(tenantId, id, updateAPISSOUserData)
- .updateComments(updateComments)
+ PutDomainConfigResponse result = apiInstance.putDomainConfig(tenantId, domainToUpdate, updateDomainConfigParams)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#patchSSOUser");
+ System.err.println("Exception when calling DefaultApi#putDomainConfig");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6887,13 +8333,12 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **id** | **String**| | |
-| **updateAPISSOUserData** | [**UpdateAPISSOUserData**](UpdateAPISSOUserData.md)| | |
-| **updateComments** | **Boolean**| | [optional] |
+| **domainToUpdate** | **String**| | |
+| **updateDomainConfigParams** | [**UpdateDomainConfigParams**](UpdateDomainConfigParams.md)| | |
### Return type
-[**PatchSSOUserAPIResponse**](PatchSSOUserAPIResponse.md)
+[**PutDomainConfigResponse**](PutDomainConfigResponse.md)
### Authorization
@@ -6909,12 +8354,14 @@ public class Example {
|-------------|-------------|------------------|
| **200** | Ok | - |
-
-# **putDomainConfig**
-> PutDomainConfigResponse putDomainConfig(tenantId, domainToUpdate, updateDomainConfigParams).execute();
+
+# **putPoll**
+> SavePollResponse putPoll(tenantId, commentId, commentPollPutInput).replaceVotes(replaceVotes).execute();
+Attach a poll to a comment, or set the full state of the poll it already has. Options are matched by id: an option sent with the id of an existing option keeps its votes (and takes the new label and position), an option sent without an id is added, and existing options left out of the list are removed along with the votes cast on them. Keeping no existing option ids on a poll that has votes deletes all of them, so that needs replaceVotes=true.
+
### Example
```java
// Import classes:
@@ -6938,14 +8385,16 @@ public class Example {
DefaultApi apiInstance = new DefaultApi(defaultClient);
String tenantId = "tenantId_example"; // String |
- String domainToUpdate = "domainToUpdate_example"; // String |
- UpdateDomainConfigParams updateDomainConfigParams = new UpdateDomainConfigParams(); // UpdateDomainConfigParams |
+ String commentId = "commentId_example"; // String |
+ CommentPollPutInput commentPollPutInput = new CommentPollPutInput(); // CommentPollPutInput |
+ Boolean replaceVotes = true; // Boolean |
try {
- PutDomainConfigResponse result = apiInstance.putDomainConfig(tenantId, domainToUpdate, updateDomainConfigParams)
+ SavePollResponse result = apiInstance.putPoll(tenantId, commentId, commentPollPutInput)
+ .replaceVotes(replaceVotes)
.execute();
System.out.println(result);
} catch (ApiException e) {
- System.err.println("Exception when calling DefaultApi#putDomainConfig");
+ System.err.println("Exception when calling DefaultApi#putPoll");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
@@ -6960,12 +8409,13 @@ public class Example {
| Name | Type | Description | Notes |
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
-| **domainToUpdate** | **String**| | |
-| **updateDomainConfigParams** | [**UpdateDomainConfigParams**](UpdateDomainConfigParams.md)| | |
+| **commentId** | **String**| | |
+| **commentPollPutInput** | [**CommentPollPutInput**](CommentPollPutInput.md)| | |
+| **replaceVotes** | **Boolean**| | [optional] |
### Return type
-[**PutDomainConfigResponse**](PutDomainConfigResponse.md)
+[**SavePollResponse**](SavePollResponse.md)
### Authorization
@@ -6980,6 +8430,7 @@ public class Example {
| Status code | Description | Response headers |
|-------------|-------------|------------------|
| **200** | Ok | - |
+| **0** | Error | - |
# **putSSOUser**
@@ -7747,6 +9198,78 @@ public class Example {
| **200** | Ok | - |
| **0** | Error | - |
+
+# **undoPageMigrations**
+> QueuePageMigrationJobAPIResponse undoPageMigrations(tenantId, undoId).execute();
+
+
+
+Queues a batch job that reverses every migration from one migrate-pages job, newest first. Available for 90 days. Records changed since the migration are left alone, so a later edit is never overwritten. Poll GET /api/v1/batch-jobs/{batchJobId} for the restored/skipped counts.
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.auth.*;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.DefaultApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ // Configure API key authorization: api_key
+ ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
+ api_key.setApiKey("YOUR API KEY");
+ // Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
+ //api_key.setApiKeyPrefix("Token");
+
+ DefaultApi apiInstance = new DefaultApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String undoId = "undoId_example"; // String |
+ try {
+ QueuePageMigrationJobAPIResponse result = apiInstance.undoPageMigrations(tenantId, undoId)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling DefaultApi#undoPageMigrations");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **undoId** | **String**| | |
+
+### Return type
+
+[**QueuePageMigrationJobAPIResponse**](QueuePageMigrationJobAPIResponse.md)
+
+### Authorization
+
+[api_key](../README.md#api_key)
+
+### HTTP request headers
+
+ - **Content-Type**: Not defined
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+
# **updateComment**
> APIEmptyResponse updateComment(tenantId, id, updatableCommentParams).contextUserId(contextUserId).doSpamCheck(doSpamCheck).isLive(isLive).execute();
diff --git a/client/docs/DeletePollVoteResponse.md b/client/docs/DeletePollVoteResponse.md
new file mode 100644
index 00000000..e8e11f24
--- /dev/null
+++ b/client/docs/DeletePollVoteResponse.md
@@ -0,0 +1,14 @@
+
+
+# DeletePollVoteResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **APIStatus** | | |
+|**poll** | [**CommentPoll**](CommentPoll.md) | | |
+
+
+
diff --git a/client/docs/EventLogEntry.md b/client/docs/EventLogEntry.md
index d7a09a99..ef42764c 100644
--- a/client/docs/EventLogEntry.md
+++ b/client/docs/EventLogEntry.md
@@ -13,6 +13,7 @@
|**urlId** | **String** | | |
|**broadcastId** | **String** | | |
|**data** | **String** | | |
+|**domain** | **String** | | [optional] |
diff --git a/client/docs/FComment.md b/client/docs/FComment.md
index 38d06245..9036aef4 100644
--- a/client/docs/FComment.md
+++ b/client/docs/FComment.md
@@ -49,6 +49,8 @@
|**hasCode** | **Boolean** | | [optional] |
|**approved** | **Boolean** | | |
|**locale** | **String** | | |
+|**detectedLanguage** | **String** | | [optional] |
+|**translations** | [**Map<String, CommentTranslation>**](CommentTranslation.md) | Construct a type with a set of properties K of type T | [optional] |
|**isDeleted** | **Boolean** | | [optional] |
|**isDeletedUser** | **Boolean** | | [optional] |
|**isBannedUser** | **Boolean** | | [optional] |
@@ -73,6 +75,7 @@
|**autoplayJobId** | **String** | | [optional] |
|**autoplayDelayMS** | **Long** | | [optional] |
|**feedbackIds** | **List<String>** | | [optional] |
+|**poll** | [**CommentPoll**](CommentPoll.md) | | [optional] |
|**logs** | [**List<CommentLogEntry>**](CommentLogEntry.md) | | [optional] |
|**groupIds** | **List<String>** | | [optional] |
|**viewCount** | **Long** | | [optional] |
diff --git a/client/docs/GetBatchJobAPIResponse.md b/client/docs/GetBatchJobAPIResponse.md
new file mode 100644
index 00000000..f8c6111d
--- /dev/null
+++ b/client/docs/GetBatchJobAPIResponse.md
@@ -0,0 +1,16 @@
+
+
+# GetBatchJobAPIResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**reason** | **String** | | [optional] |
+|**code** | **String** | | [optional] |
+|**batchJob** | [**APIBatchJob**](APIBatchJob.md) | | [optional] |
+|**status** | **String** | | |
+
+
+
diff --git a/client/docs/GetBatchJobsAPIResponse.md b/client/docs/GetBatchJobsAPIResponse.md
new file mode 100644
index 00000000..5a4c5c1c
--- /dev/null
+++ b/client/docs/GetBatchJobsAPIResponse.md
@@ -0,0 +1,16 @@
+
+
+# GetBatchJobsAPIResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**reason** | **String** | | [optional] |
+|**code** | **String** | | [optional] |
+|**batchJobs** | [**List<APIBatchJob>**](APIBatchJob.md) | Newest first, 100 per page. | [optional] |
+|**status** | **String** | | |
+
+
+
diff --git a/client/docs/GetMeResponse.md b/client/docs/GetMeResponse.md
new file mode 100644
index 00000000..f9e538e8
--- /dev/null
+++ b/client/docs/GetMeResponse.md
@@ -0,0 +1,20 @@
+
+
+# GetMeResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **APIStatus** | | |
+|**tenantId** | **String** | | |
+|**tenantName** | **String** | | |
+|**authType** | **MeAuthType** | | |
+|**scopes** | **List<OAuthScope>** | | |
+|**userId** | **String** | Only present for OAuth tokens: the user who authorized the application. | [optional] |
+|**username** | **String** | | [optional] |
+|**email** | **String** | | [optional] |
+
+
+
diff --git a/client/docs/GetPageLikesAPIResponse.md b/client/docs/GetPageLikesAPIResponse.md
new file mode 100644
index 00000000..61aae1ab
--- /dev/null
+++ b/client/docs/GetPageLikesAPIResponse.md
@@ -0,0 +1,17 @@
+
+
+# GetPageLikesAPIResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**reason** | **String** | | [optional] |
+|**code** | **String** | | [optional] |
+|**users** | [**List<PageReactUser>**](PageReactUser.md) | Most recent first. Present when includeUserInfo is passed. Capped at 100 reacts. | [optional] |
+|**likeCount** | **Integer** | | [optional] |
+|**status** | **String** | | |
+
+
+
diff --git a/client/docs/GetPageReactsAPIResponse.md b/client/docs/GetPageReactsAPIResponse.md
new file mode 100644
index 00000000..7b5809ba
--- /dev/null
+++ b/client/docs/GetPageReactsAPIResponse.md
@@ -0,0 +1,17 @@
+
+
+# GetPageReactsAPIResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**reason** | **String** | | [optional] |
+|**code** | **String** | | [optional] |
+|**users** | [**List<PageCustomReactUser>**](PageCustomReactUser.md) | One entry per react, most recent first. Present when includeUserInfo is passed. Capped at 100 reacts. | [optional] |
+|**counts** | **Map<String, Double>** | Construct a type with a set of properties K of type T | [optional] |
+|**status** | **String** | | |
+
+
+
diff --git a/client/docs/GetPollResponse.md b/client/docs/GetPollResponse.md
new file mode 100644
index 00000000..8576435d
--- /dev/null
+++ b/client/docs/GetPollResponse.md
@@ -0,0 +1,14 @@
+
+
+# GetPollResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **APIStatus** | | |
+|**poll** | [**CommentPoll**](CommentPoll.md) | | |
+
+
+
diff --git a/client/docs/GetPollVoteResponse.md b/client/docs/GetPollVoteResponse.md
new file mode 100644
index 00000000..46872fe3
--- /dev/null
+++ b/client/docs/GetPollVoteResponse.md
@@ -0,0 +1,14 @@
+
+
+# GetPollVoteResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **APIStatus** | | |
+|**pollVote** | [**PublicPollVote**](PublicPollVote.md) | | |
+
+
+
diff --git a/client/docs/GetPollVotesResponse.md b/client/docs/GetPollVotesResponse.md
new file mode 100644
index 00000000..05896109
--- /dev/null
+++ b/client/docs/GetPollVotesResponse.md
@@ -0,0 +1,14 @@
+
+
+# GetPollVotesResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **APIStatus** | | |
+|**pollVotes** | [**List<PublicPollVote>**](PublicPollVote.md) | | |
+
+
+
diff --git a/client/docs/GetTranslationsResponse.md b/client/docs/GetTranslationsResponse.md
index 904bdea6..5895e160 100644
--- a/client/docs/GetTranslationsResponse.md
+++ b/client/docs/GetTranslationsResponse.md
@@ -7,6 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
+|**locale** | **String** | The locale the translations were resolved for. Clients use it to set text direction. | |
|**translations** | **Map<String, String>** | Construct a type with a set of properties K of type T | |
|**status** | **APIStatus** | | |
diff --git a/client/docs/GetV1PageLikes.md b/client/docs/GetV1PageLikes.md
index 4b41176e..ca392724 100644
--- a/client/docs/GetV1PageLikes.md
+++ b/client/docs/GetV1PageLikes.md
@@ -7,6 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
+|**users** | [**List<PageReactUser>**](PageReactUser.md) | Most recent first. Present when includeUserInfo is passed. Capped at 100 reacts. | [optional] |
|**urlIdWS** | **String** | | |
|**didLike** | **Boolean** | | |
|**commentCount** | **Integer** | | |
diff --git a/client/docs/GetV2PageReacts.md b/client/docs/GetV2PageReacts.md
index 004526b6..c0a7f2b9 100644
--- a/client/docs/GetV2PageReacts.md
+++ b/client/docs/GetV2PageReacts.md
@@ -7,6 +7,7 @@
| Name | Type | Description | Notes |
|------------ | ------------- | ------------- | -------------|
+|**users** | [**List<PageCustomReactUser>**](PageCustomReactUser.md) | One entry per react, most recent first. Present when includeUserInfo is passed. Capped at 100 reacts. | [optional] |
|**reactedIds** | **List<String>** | | [optional] |
|**counts** | **Map<String, Double>** | Construct a type with a set of properties K of type T | [optional] |
|**status** | **APIStatus** | | |
diff --git a/client/docs/GetWebhookSamplePayloadsResponse.md b/client/docs/GetWebhookSamplePayloadsResponse.md
new file mode 100644
index 00000000..8310fc15
--- /dev/null
+++ b/client/docs/GetWebhookSamplePayloadsResponse.md
@@ -0,0 +1,14 @@
+
+
+# GetWebhookSamplePayloadsResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **APIStatus** | | |
+|**payloads** | [**List<WebhookComment>**](WebhookComment.md) | | |
+
+
+
diff --git a/client/docs/GetWebhooksResponse.md b/client/docs/GetWebhooksResponse.md
new file mode 100644
index 00000000..8998e7f3
--- /dev/null
+++ b/client/docs/GetWebhooksResponse.md
@@ -0,0 +1,14 @@
+
+
+# GetWebhooksResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **APIStatus** | | |
+|**webhooks** | [**List<PublicWebhook>**](PublicWebhook.md) | | |
+
+
+
diff --git a/client/docs/ImportedSiteType.md b/client/docs/ImportedSiteType.md
index fd4f1325..4f84bd1c 100644
--- a/client/docs/ImportedSiteType.md
+++ b/client/docs/ImportedSiteType.md
@@ -9,5 +9,7 @@
* `NUMBER_1` (value: `1`)
+* `NUMBER_2` (value: `2`)
+
diff --git a/client/docs/LiveEvent.md b/client/docs/LiveEvent.md
index f473f710..361222e9 100644
--- a/client/docs/LiveEvent.md
+++ b/client/docs/LiveEvent.md
@@ -17,6 +17,8 @@
|**vote** | [**PubSubVote**](PubSubVote.md) | | [optional] |
|**comment** | [**PubSubComment**](PubSubComment.md) | | [optional] |
|**feedPost** | [**FeedPost**](FeedPost.md) | | [optional] |
+|**commentId** | **String** | | [optional] |
+|**poll** | [**PickCommentPollOptionsOrTotalVotesOrClosesAt**](PickCommentPollOptionsOrTotalVotesOrClosesAt.md) | | [optional] |
|**extraInfo** | [**LiveEventExtraInfo**](LiveEventExtraInfo.md) | | [optional] |
|**config** | **Object** | | [optional] |
|**isClosed** | **Boolean** | | [optional] |
diff --git a/client/docs/LiveEventType.md b/client/docs/LiveEventType.md
index f8bd38e6..d1a4b9fe 100644
--- a/client/docs/LiveEventType.md
+++ b/client/docs/LiveEventType.md
@@ -51,5 +51,7 @@
* `QUESTION_RESULT` (value: `"question-result"`)
+* `POLL_UPDATE` (value: `"poll-update"`)
+
diff --git a/client/docs/MeAuthType.md b/client/docs/MeAuthType.md
new file mode 100644
index 00000000..e0647ce2
--- /dev/null
+++ b/client/docs/MeAuthType.md
@@ -0,0 +1,13 @@
+
+
+# MeAuthType
+
+## Enum
+
+
+* `API_KEY` (value: `"api-key"`)
+
+* `OAUTH` (value: `"oauth"`)
+
+
+
diff --git a/client/docs/MigrateAPIPagesData.md b/client/docs/MigrateAPIPagesData.md
new file mode 100644
index 00000000..e2e16bc9
--- /dev/null
+++ b/client/docs/MigrateAPIPagesData.md
@@ -0,0 +1,13 @@
+
+
+# MigrateAPIPagesData
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**migrations** | [**List<PageMigration>**](PageMigration.md) | Run in the order given, so a -> b then b -> c works. At most 100. | |
+
+
+
diff --git a/client/docs/NotificationSkipReason.md b/client/docs/NotificationSkipReason.md
new file mode 100644
index 00000000..98d28d51
--- /dev/null
+++ b/client/docs/NotificationSkipReason.md
@@ -0,0 +1,41 @@
+
+
+# NotificationSkipReason
+
+## Enum
+
+
+* `NUMBER_0` (value: `0`)
+
+* `NUMBER_1` (value: `1`)
+
+* `NUMBER_2` (value: `2`)
+
+* `NUMBER_3` (value: `3`)
+
+* `NUMBER_4` (value: `4`)
+
+* `NUMBER_5` (value: `5`)
+
+* `NUMBER_6` (value: `6`)
+
+* `NUMBER_7` (value: `7`)
+
+* `NUMBER_8` (value: `8`)
+
+* `NUMBER_9` (value: `9`)
+
+* `NUMBER_10` (value: `10`)
+
+* `NUMBER_11` (value: `11`)
+
+* `NUMBER_12` (value: `12`)
+
+* `NUMBER_13` (value: `13`)
+
+* `NUMBER_14` (value: `14`)
+
+* `NUMBER_15` (value: `15`)
+
+
+
diff --git a/client/docs/NotificationType.md b/client/docs/NotificationType.md
index 97a72477..278d40c8 100644
--- a/client/docs/NotificationType.md
+++ b/client/docs/NotificationType.md
@@ -31,5 +31,9 @@
* `NUMBER_10` (value: `10`)
+* `NUMBER_11` (value: `11`)
+
+* `NUMBER_12` (value: `12`)
+
diff --git a/client/docs/OAuthScope.md b/client/docs/OAuthScope.md
new file mode 100644
index 00000000..b40a1737
--- /dev/null
+++ b/client/docs/OAuthScope.md
@@ -0,0 +1,13 @@
+
+
+# OAuthScope
+
+## Enum
+
+
+* `READ` (value: `"read"`)
+
+* `WRITE` (value: `"write"`)
+
+
+
diff --git a/client/docs/PageCustomReactUser.md b/client/docs/PageCustomReactUser.md
new file mode 100644
index 00000000..85ee7beb
--- /dev/null
+++ b/client/docs/PageCustomReactUser.md
@@ -0,0 +1,17 @@
+
+
+# PageCustomReactUser
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**avatarSrc** | **String** | | [optional] |
+|**displayName** | **String** | | [optional] |
+|**username** | **String** | | |
+|**userId** | **String** | | |
+|**reactId** | **String** | | |
+
+
+
diff --git a/client/docs/PageMigration.md b/client/docs/PageMigration.md
new file mode 100644
index 00000000..ca007784
--- /dev/null
+++ b/client/docs/PageMigration.md
@@ -0,0 +1,15 @@
+
+
+# PageMigration
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**from** | **String** | | |
+|**to** | **String** | | |
+|**type** | **PageMigrationType** | | |
+
+
+
diff --git a/client/docs/PageMigrationFailure.md b/client/docs/PageMigrationFailure.md
new file mode 100644
index 00000000..c0eca941
--- /dev/null
+++ b/client/docs/PageMigrationFailure.md
@@ -0,0 +1,18 @@
+
+
+# PageMigrationFailure
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**from** | **String** | | |
+|**to** | **String** | | |
+|**type** | **PageMigrationType** | | |
+|**status** | **APIStatus** | | |
+|**code** | **String** | | |
+|**reason** | **String** | | |
+
+
+
diff --git a/client/docs/PageMigrationSuccess.md b/client/docs/PageMigrationSuccess.md
new file mode 100644
index 00000000..5d9b6862
--- /dev/null
+++ b/client/docs/PageMigrationSuccess.md
@@ -0,0 +1,17 @@
+
+
+# PageMigrationSuccess
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**from** | **String** | | |
+|**to** | **String** | | |
+|**type** | **PageMigrationType** | | |
+|**status** | **APIStatus** | | |
+|**commentsMigrated** | **Integer** | | |
+
+
+
diff --git a/client/docs/PageMigrationType.md b/client/docs/PageMigrationType.md
new file mode 100644
index 00000000..47e5bf36
--- /dev/null
+++ b/client/docs/PageMigrationType.md
@@ -0,0 +1,13 @@
+
+
+# PageMigrationType
+
+## Enum
+
+
+* `URL_ID` (value: `"urlId"`)
+
+* `DOMAIN` (value: `"domain"`)
+
+
+
diff --git a/client/docs/PageMigrationUndoCounts.md b/client/docs/PageMigrationUndoCounts.md
new file mode 100644
index 00000000..42034fc8
--- /dev/null
+++ b/client/docs/PageMigrationUndoCounts.md
@@ -0,0 +1,15 @@
+
+
+# PageMigrationUndoCounts
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**restored** | **Integer** | Records put back to their pre-migration values. | |
+|**skipped** | **Integer** | Records left alone because they changed after the migration, or no longer exist. | |
+|**notRestorable** | **Integer** | Records a page merge or duplicate cleanup deleted during the migration. These cannot be brought back. | |
+
+
+
diff --git a/client/docs/PageReactIncludeUserInfo.md b/client/docs/PageReactIncludeUserInfo.md
new file mode 100644
index 00000000..d709cac6
--- /dev/null
+++ b/client/docs/PageReactIncludeUserInfo.md
@@ -0,0 +1,13 @@
+
+
+# PageReactIncludeUserInfo
+
+## Enum
+
+
+* `PUBLIC` (value: `"public"`)
+
+* `INCLUDE_PRIVATE` (value: `"include-private"`)
+
+
+
diff --git a/client/docs/PageReactUser.md b/client/docs/PageReactUser.md
new file mode 100644
index 00000000..6a4e5421
--- /dev/null
+++ b/client/docs/PageReactUser.md
@@ -0,0 +1,16 @@
+
+
+# PageReactUser
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**avatarSrc** | **String** | | [optional] |
+|**displayName** | **String** | | [optional] |
+|**username** | **String** | | |
+|**userId** | **String** | | |
+
+
+
diff --git a/client/docs/PickCommentPollOptionsOrTotalVotesOrClosesAt.md b/client/docs/PickCommentPollOptionsOrTotalVotesOrClosesAt.md
new file mode 100644
index 00000000..8f7cc07d
--- /dev/null
+++ b/client/docs/PickCommentPollOptionsOrTotalVotesOrClosesAt.md
@@ -0,0 +1,16 @@
+
+
+# PickCommentPollOptionsOrTotalVotesOrClosesAt
+
+From T, pick a set of properties whose keys are in the union K
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**options** | [**List<CommentPollOption>**](CommentPollOption.md) | | |
+|**totalVotes** | **Integer** | | |
+|**closesAt** | **OffsetDateTime** | | [optional] |
+
+
+
diff --git a/client/docs/PollCreationMode.md b/client/docs/PollCreationMode.md
new file mode 100644
index 00000000..1af5eec3
--- /dev/null
+++ b/client/docs/PollCreationMode.md
@@ -0,0 +1,15 @@
+
+
+# PollCreationMode
+
+## Enum
+
+
+* `NUMBER_0` (value: `0`)
+
+* `NUMBER_1` (value: `1`)
+
+* `NUMBER_2` (value: `2`)
+
+
+
diff --git a/client/docs/PollPrivacy.md b/client/docs/PollPrivacy.md
new file mode 100644
index 00000000..dac1195a
--- /dev/null
+++ b/client/docs/PollPrivacy.md
@@ -0,0 +1,15 @@
+
+
+# PollPrivacy
+
+## Enum
+
+
+* `NUMBER_0` (value: `0`)
+
+* `NUMBER_1` (value: `1`)
+
+* `NUMBER_2` (value: `2`)
+
+
+
diff --git a/client/docs/PollVotingMode.md b/client/docs/PollVotingMode.md
new file mode 100644
index 00000000..77df12e0
--- /dev/null
+++ b/client/docs/PollVotingMode.md
@@ -0,0 +1,13 @@
+
+
+# PollVotingMode
+
+## Enum
+
+
+* `NUMBER_0` (value: `0`)
+
+* `NUMBER_1` (value: `1`)
+
+
+
diff --git a/client/docs/PubSubComment.md b/client/docs/PubSubComment.md
index b5e8e67a..a0e5af3e 100644
--- a/client/docs/PubSubComment.md
+++ b/client/docs/PubSubComment.md
@@ -36,6 +36,7 @@
|**isSpam** | **Boolean** | | [optional] |
|**anonUserId** | **String** | | [optional] |
|**feedbackIds** | **List<String>** | | [optional] |
+|**poll** | [**CommentPoll**](CommentPoll.md) | | [optional] |
|**flagCount** | **Integer** | | [optional] |
|**domain** | **String** | | [optional] |
|**url** | **String** | | |
diff --git a/client/docs/PubSubCommentBase.md b/client/docs/PubSubCommentBase.md
index ab90a043..f93ce4c9 100644
--- a/client/docs/PubSubCommentBase.md
+++ b/client/docs/PubSubCommentBase.md
@@ -36,6 +36,7 @@
|**isSpam** | **Boolean** | | [optional] |
|**anonUserId** | **String** | | [optional] |
|**feedbackIds** | **List<String>** | | [optional] |
+|**poll** | [**CommentPoll**](CommentPoll.md) | | [optional] |
|**flagCount** | **Integer** | | [optional] |
|**domain** | **String** | | [optional] |
|**url** | **String** | | |
diff --git a/client/docs/PublicApi.md b/client/docs/PublicApi.md
index fc189e61..b0033894 100644
--- a/client/docs/PublicApi.md
+++ b/client/docs/PublicApi.md
@@ -48,6 +48,7 @@ All URIs are relative to *https://fastcomments.com*
| [**resetUserNotifications**](PublicApi.md#resetUserNotifications) | **POST** /user-notifications/reset | |
| [**searchUsers**](PublicApi.md#searchUsers) | **GET** /user-search/{tenantId} | |
| [**setCommentText**](PublicApi.md#setCommentText) | **POST** /comments/{tenantId}/{commentId}/update-text | |
+| [**translateComments**](PublicApi.md#translateComments) | **POST** /comments/{tenantId}/translations | |
| [**unBlockCommentPublic**](PublicApi.md#unBlockCommentPublic) | **DELETE** /block-from-comment/{commentId} | |
| [**unLockComment**](PublicApi.md#unLockComment) | **POST** /comments/{tenantId}/{commentId}/unlock | |
| [**unPinComment**](PublicApi.md#unPinComment) | **POST** /comments/{tenantId}/{commentId}/unpin | |
@@ -197,7 +198,7 @@ No authorization required
# **createCommentPublic**
-> SaveCommentsResponseWithPresence createCommentPublic(tenantId, urlId, broadcastId, commentData).sessionId(sessionId).sso(sso).execute();
+> SaveCommentsResponseWithPresence createCommentPublic(tenantId, urlId, broadcastId, commentData).sessionId(sessionId).sso(sso).locale(locale).execute();
@@ -222,10 +223,12 @@ public class Example {
CommentData commentData = new CommentData(); // CommentData |
String sessionId = "sessionId_example"; // String |
String sso = "sso_example"; // String |
+ String locale = "locale_example"; // String |
try {
SaveCommentsResponseWithPresence result = apiInstance.createCommentPublic(tenantId, urlId, broadcastId, commentData)
.sessionId(sessionId)
.sso(sso)
+ .locale(locale)
.execute();
System.out.println(result);
} catch (ApiException e) {
@@ -249,6 +252,7 @@ public class Example {
| **commentData** | [**CommentData**](CommentData.md)| | |
| **sessionId** | **String**| | [optional] |
| **sso** | **String**| | [optional] |
+| **locale** | **String**| | [optional] |
### Return type
@@ -341,7 +345,7 @@ No authorization required
# **createV1PageReact**
-> CreateV1PageReact createV1PageReact(tenantId, urlId).title(title).execute();
+> CreateV1PageReact createV1PageReact(tenantId, urlId).title(title).sso(sso).execute();
@@ -363,9 +367,11 @@ public class Example {
String tenantId = "tenantId_example"; // String |
String urlId = "urlId_example"; // String |
String title = "title_example"; // String |
+ String sso = "sso_example"; // String |
try {
CreateV1PageReact result = apiInstance.createV1PageReact(tenantId, urlId)
.title(title)
+ .sso(sso)
.execute();
System.out.println(result);
} catch (ApiException e) {
@@ -386,6 +392,7 @@ public class Example {
| **tenantId** | **String**| | |
| **urlId** | **String**| | |
| **title** | **String**| | [optional] |
+| **sso** | **String**| | [optional] |
### Return type
@@ -408,7 +415,7 @@ No authorization required
# **createV2PageReact**
-> CreateV1PageReact createV2PageReact(tenantId, urlId, id).title(title).execute();
+> CreateV1PageReact createV2PageReact(tenantId, urlId, id).title(title).sso(sso).execute();
@@ -431,9 +438,11 @@ public class Example {
String urlId = "urlId_example"; // String |
String id = "id_example"; // String |
String title = "title_example"; // String |
+ String sso = "sso_example"; // String |
try {
CreateV1PageReact result = apiInstance.createV2PageReact(tenantId, urlId, id)
.title(title)
+ .sso(sso)
.execute();
System.out.println(result);
} catch (ApiException e) {
@@ -455,6 +464,7 @@ public class Example {
| **urlId** | **String**| | |
| **id** | **String**| | |
| **title** | **String**| | [optional] |
+| **sso** | **String**| | [optional] |
### Return type
@@ -695,7 +705,7 @@ No authorization required
# **deleteV1PageReact**
-> CreateV1PageReact deleteV1PageReact(tenantId, urlId).execute();
+> CreateV1PageReact deleteV1PageReact(tenantId, urlId).sso(sso).execute();
@@ -716,8 +726,10 @@ public class Example {
PublicApi apiInstance = new PublicApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String urlId = "urlId_example"; // String |
+ String sso = "sso_example"; // String |
try {
CreateV1PageReact result = apiInstance.deleteV1PageReact(tenantId, urlId)
+ .sso(sso)
.execute();
System.out.println(result);
} catch (ApiException e) {
@@ -737,6 +749,7 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **urlId** | **String**| | |
+| **sso** | **String**| | [optional] |
### Return type
@@ -759,7 +772,7 @@ No authorization required
# **deleteV2PageReact**
-> CreateV1PageReact deleteV2PageReact(tenantId, urlId, id).execute();
+> CreateV1PageReact deleteV2PageReact(tenantId, urlId, id).sso(sso).execute();
@@ -781,8 +794,10 @@ public class Example {
String tenantId = "tenantId_example"; // String |
String urlId = "urlId_example"; // String |
String id = "id_example"; // String |
+ String sso = "sso_example"; // String |
try {
CreateV1PageReact result = apiInstance.deleteV2PageReact(tenantId, urlId, id)
+ .sso(sso)
.execute();
System.out.println(result);
} catch (ApiException e) {
@@ -803,6 +818,7 @@ public class Example {
| **tenantId** | **String**| | |
| **urlId** | **String**| | |
| **id** | **String**| | |
+| **sso** | **String**| | [optional] |
### Return type
@@ -1114,7 +1130,7 @@ No authorization required
# **getCommentsPublic**
-> GetCommentsResponseWithPresencePublicComment getCommentsPublic(tenantId, urlId).page(page).direction(direction).sso(sso).skip(skip).skipChildren(skipChildren).limit(limit).limitChildren(limitChildren).countChildren(countChildren).fetchPageForCommentId(fetchPageForCommentId).includeConfig(includeConfig).countAll(countAll).includei10n(includei10n).locale(locale).modules(modules).isCrawler(isCrawler).includeNotificationCount(includeNotificationCount).asTree(asTree).maxTreeDepth(maxTreeDepth).useFullTranslationIds(useFullTranslationIds).parentId(parentId).searchText(searchText).hashTags(hashTags).userId(userId).customConfigStr(customConfigStr).afterCommentId(afterCommentId).beforeCommentId(beforeCommentId).execute();
+> GetCommentsResponseWithPresencePublicComment getCommentsPublic(tenantId, urlId).page(page).direction(direction).sso(sso).skip(skip).skipChildren(skipChildren).limit(limit).limitChildren(limitChildren).countChildren(countChildren).fetchPageForCommentId(fetchPageForCommentId).includeConfig(includeConfig).countAll(countAll).includei10n(includei10n).locale(locale).modules(modules).isCrawler(isCrawler).includeNotificationCount(includeNotificationCount).asTree(asTree).maxTreeDepth(maxTreeDepth).useFullTranslationIds(useFullTranslationIds).parentId(parentId).searchText(searchText).hashTags(hashTags).userId(userId).customConfigStr(customConfigStr).afterCommentId(afterCommentId).beforeCommentId(beforeCommentId).questionId(questionId).questionValue(questionValue).execute();
@@ -1163,6 +1179,8 @@ public class Example {
String customConfigStr = "customConfigStr_example"; // String |
String afterCommentId = "afterCommentId_example"; // String |
String beforeCommentId = "beforeCommentId_example"; // String |
+ String questionId = "questionId_example"; // String |
+ Integer questionValue = 56; // Integer |
try {
GetCommentsResponseWithPresencePublicComment result = apiInstance.getCommentsPublic(tenantId, urlId)
.page(page)
@@ -1191,6 +1209,8 @@ public class Example {
.customConfigStr(customConfigStr)
.afterCommentId(afterCommentId)
.beforeCommentId(beforeCommentId)
+ .questionId(questionId)
+ .questionValue(questionValue)
.execute();
System.out.println(result);
} catch (ApiException e) {
@@ -1236,6 +1256,8 @@ public class Example {
| **customConfigStr** | **String**| | [optional] |
| **afterCommentId** | **String**| | [optional] |
| **beforeCommentId** | **String**| | [optional] |
+| **questionId** | **String**| | [optional] |
+| **questionValue** | **Integer**| | [optional] |
### Return type
@@ -2423,7 +2445,7 @@ No authorization required
# **getV1PageLikes**
-> GetV1PageLikes getV1PageLikes(tenantId, urlId).execute();
+> GetV1PageLikes getV1PageLikes(tenantId, urlId).sso(sso).includeUserInfo(includeUserInfo).execute();
@@ -2444,8 +2466,12 @@ public class Example {
PublicApi apiInstance = new PublicApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String urlId = "urlId_example"; // String |
+ String sso = "sso_example"; // String |
+ PageReactIncludeUserInfo includeUserInfo = PageReactIncludeUserInfo.fromValue("public"); // PageReactIncludeUserInfo | When set, returns the users who liked the page (avatars and usernames). Only \"public\" is accepted, which omits private profiles.
try {
GetV1PageLikes result = apiInstance.getV1PageLikes(tenantId, urlId)
+ .sso(sso)
+ .includeUserInfo(includeUserInfo)
.execute();
System.out.println(result);
} catch (ApiException e) {
@@ -2465,6 +2491,8 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **urlId** | **String**| | |
+| **sso** | **String**| | [optional] |
+| **includeUserInfo** | [**PageReactIncludeUserInfo**](.md)| When set, returns the users who liked the page (avatars and usernames). Only \"public\" is accepted, which omits private profiles. | [optional] [enum: public, include-private] |
### Return type
@@ -2487,7 +2515,7 @@ No authorization required
# **getV2PageReactUsers**
-> GetV2PageReactUsersResponse getV2PageReactUsers(tenantId, urlId, id).execute();
+> GetV2PageReactUsersResponse getV2PageReactUsers(tenantId, urlId, id).sso(sso).execute();
@@ -2509,8 +2537,10 @@ public class Example {
String tenantId = "tenantId_example"; // String |
String urlId = "urlId_example"; // String |
String id = "id_example"; // String |
+ String sso = "sso_example"; // String |
try {
GetV2PageReactUsersResponse result = apiInstance.getV2PageReactUsers(tenantId, urlId, id)
+ .sso(sso)
.execute();
System.out.println(result);
} catch (ApiException e) {
@@ -2531,6 +2561,7 @@ public class Example {
| **tenantId** | **String**| | |
| **urlId** | **String**| | |
| **id** | **String**| | |
+| **sso** | **String**| | [optional] |
### Return type
@@ -2553,7 +2584,7 @@ No authorization required
# **getV2PageReacts**
-> GetV2PageReacts getV2PageReacts(tenantId, urlId).execute();
+> GetV2PageReacts getV2PageReacts(tenantId, urlId).sso(sso).includeUserInfo(includeUserInfo).execute();
@@ -2574,8 +2605,12 @@ public class Example {
PublicApi apiInstance = new PublicApi(defaultClient);
String tenantId = "tenantId_example"; // String |
String urlId = "urlId_example"; // String |
+ String sso = "sso_example"; // String |
+ PageReactIncludeUserInfo includeUserInfo = PageReactIncludeUserInfo.fromValue("public"); // PageReactIncludeUserInfo | When set, returns the users for each react id (avatars and usernames). Only \"public\" is accepted, which omits private profiles.
try {
GetV2PageReacts result = apiInstance.getV2PageReacts(tenantId, urlId)
+ .sso(sso)
+ .includeUserInfo(includeUserInfo)
.execute();
System.out.println(result);
} catch (ApiException e) {
@@ -2595,6 +2630,8 @@ public class Example {
|------------- | ------------- | ------------- | -------------|
| **tenantId** | **String**| | |
| **urlId** | **String**| | |
+| **sso** | **String**| | [optional] |
+| **includeUserInfo** | [**PageReactIncludeUserInfo**](.md)| When set, returns the users for each react id (avatars and usernames). Only \"public\" is accepted, which omits private profiles. | [optional] [enum: public, include-private] |
### Return type
@@ -3180,6 +3217,80 @@ No authorization required
| **200** | Ok | - |
| **0** | Error | - |
+
+# **translateComments**
+> CommentTranslationsResponse translateComments(tenantId, urlId, commentTranslationsRequest).sso(sso).locale(locale).execute();
+
+
+
+Translates the given comments into the widget locale. Only available when the matching widget customization rule has Comment Translation set to Automatic or Manual.
+
+### Example
+```java
+// Import classes:
+import com.fastcomments.invoker.ApiClient;
+import com.fastcomments.invoker.ApiException;
+import com.fastcomments.invoker.Configuration;
+import com.fastcomments.invoker.models.*;
+import com.fastcomments.api.PublicApi;
+
+public class Example {
+ public static void main(String[] args) {
+ ApiClient defaultClient = Configuration.getDefaultApiClient();
+ defaultClient.setBasePath("https://fastcomments.com");
+
+ PublicApi apiInstance = new PublicApi(defaultClient);
+ String tenantId = "tenantId_example"; // String |
+ String urlId = "urlId_example"; // String |
+ CommentTranslationsRequest commentTranslationsRequest = new CommentTranslationsRequest(); // CommentTranslationsRequest |
+ String sso = "sso_example"; // String |
+ String locale = "locale_example"; // String |
+ try {
+ CommentTranslationsResponse result = apiInstance.translateComments(tenantId, urlId, commentTranslationsRequest)
+ .sso(sso)
+ .locale(locale)
+ .execute();
+ System.out.println(result);
+ } catch (ApiException e) {
+ System.err.println("Exception when calling PublicApi#translateComments");
+ System.err.println("Status code: " + e.getCode());
+ System.err.println("Reason: " + e.getResponseBody());
+ System.err.println("Response headers: " + e.getResponseHeaders());
+ e.printStackTrace();
+ }
+ }
+}
+```
+
+### Parameters
+
+| Name | Type | Description | Notes |
+|------------- | ------------- | ------------- | -------------|
+| **tenantId** | **String**| | |
+| **urlId** | **String**| | |
+| **commentTranslationsRequest** | [**CommentTranslationsRequest**](CommentTranslationsRequest.md)| | |
+| **sso** | **String**| | [optional] |
+| **locale** | **String**| | [optional] |
+
+### Return type
+
+[**CommentTranslationsResponse**](CommentTranslationsResponse.md)
+
+### Authorization
+
+No authorization required
+
+### HTTP request headers
+
+ - **Content-Type**: application/json
+ - **Accept**: application/json
+
+### HTTP response details
+| Status code | Description | Response headers |
+|-------------|-------------|------------------|
+| **200** | Ok | - |
+| **0** | Error | - |
+
# **unBlockCommentPublic**
> UnblockSuccess unBlockCommentPublic(tenantId, commentId, publicBlockFromCommentParams).sso(sso).execute();
diff --git a/client/docs/PublicComment.md b/client/docs/PublicComment.md
index 2d6d5995..81124b06 100644
--- a/client/docs/PublicComment.md
+++ b/client/docs/PublicComment.md
@@ -37,6 +37,7 @@
|**editKey** | **String** | | [optional] |
|**approved** | **Boolean** | | [optional] |
|**isUnread** | **Boolean** | | [optional] |
+|**myPollVotes** | **List<String>** | Ids of the options the current viewer voted for on this comment's poll. Only set when polls are enabled and they have voted. | [optional] |
|**myVoteId** | **String** | | [optional] |
|**isVotedDown** | **Boolean** | | [optional] |
|**isVotedUp** | **Boolean** | | [optional] |
diff --git a/client/docs/PublicPollVote.md b/client/docs/PublicPollVote.md
new file mode 100644
index 00000000..058e7964
--- /dev/null
+++ b/client/docs/PublicPollVote.md
@@ -0,0 +1,21 @@
+
+
+# PublicPollVote
+
+A single vote cast on a comment's poll.
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**id** | **String** | | |
+|**tenantId** | **String** | | |
+|**commentId** | **String** | | |
+|**urlId** | **String** | | |
+|**voterId** | **String** | | |
+|**optionId** | **String** | | |
+|**createdAt** | **OffsetDateTime** | | |
+|**updatedAt** | **OffsetDateTime** | | [optional] |
+
+
+
diff --git a/client/docs/PublicWebhook.md b/client/docs/PublicWebhook.md
new file mode 100644
index 00000000..3aab3a50
--- /dev/null
+++ b/client/docs/PublicWebhook.md
@@ -0,0 +1,34 @@
+
+
+# PublicWebhook
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**id** | **String** | | |
+|**url** | **String** | | |
+|**event** | **WebhookEventName** | | |
+|**domain** | **String** | | |
+|**method** | **WebhookHTTPMethod** | | |
+|**source** | **WebhookSource** | | |
+|**enabled** | **Boolean** | | |
+|**createdAt** | **OffsetDateTime** | | |
+|**lastSuccessAt** | **OffsetDateTime** | | [optional] |
+|**lastFailureAt** | **OffsetDateTime** | | [optional] |
+|**failingSince** | **OffsetDateTime** | | [optional] |
+|**disabledAt** | **OffsetDateTime** | | [optional] |
+|**disabledReason** | [**DisabledReasonEnum**](#DisabledReasonEnum) | | [optional] |
+
+
+
+## Enum: DisabledReasonEnum
+
+| Name | Value |
+|---- | -----|
+| AUTO | "auto" |
+| MANUAL | "manual" |
+
+
+
diff --git a/client/docs/QuestionCondition.md b/client/docs/QuestionCondition.md
new file mode 100644
index 00000000..907a59ac
--- /dev/null
+++ b/client/docs/QuestionCondition.md
@@ -0,0 +1,15 @@
+
+
+# QuestionCondition
+
+A rule evaluated against a question's answer. value is the score for nps/slider/star/emoji/scale, 1 or 0 for thumbs, and the option index for choice/multi.
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**operator** | **QuestionConditionOperator** | | |
+|**value** | **Double** | | |
+
+
+
diff --git a/client/docs/QuestionConditionOperator.md b/client/docs/QuestionConditionOperator.md
new file mode 100644
index 00000000..d4d5fac4
--- /dev/null
+++ b/client/docs/QuestionConditionOperator.md
@@ -0,0 +1,25 @@
+
+
+# QuestionConditionOperator
+
+## Enum
+
+
+* `LT` (value: `"lt"`)
+
+* `LTE` (value: `"lte"`)
+
+* `GT` (value: `"gt"`)
+
+* `GTE` (value: `"gte"`)
+
+* `EQ` (value: `"eq"`)
+
+* `NEQ` (value: `"neq"`)
+
+* `INCLUDES` (value: `"includes"`)
+
+* `EXCLUDES` (value: `"excludes"`)
+
+
+
diff --git a/client/docs/QuestionConfig.md b/client/docs/QuestionConfig.md
index 268a9db0..45c7f03a 100644
--- a/client/docs/QuestionConfig.md
+++ b/client/docs/QuestionConfig.md
@@ -17,16 +17,19 @@
|**createdBy** | **String** | | |
|**usedCount** | **Double** | | |
|**lastUsed** | **OffsetDateTime** | | |
-|**type** | **String** | | |
+|**type** | **String** | One of nps, slider, star, thumbs, choice, multi, emoji, scale. Answers: nps 0-10, slider min-max, star 1-numStars, thumbs 1 (up) or 0 (down), choice = option index, multi = option indexes (values), emoji/scale = option index + 1. | |
|**numStars** | **Double** | | |
|**min** | **Double** | | |
|**max** | **Double** | | |
|**defaultValue** | **Double** | | |
|**labelNegative** | **String** | | |
|**labelPositive** | **String** | | |
-|**customOptions** | [**List<QuestionConfigCustomOptionsInner>**](QuestionConfigCustomOptionsInner.md) | | |
+|**customOptions** | [**List<QuestionConfigCustomOptionsInner>**](QuestionConfigCustomOptionsInner.md) | Option labels for choice, multi, emoji and scale questions. | |
|**subQuestionIds** | **List<String>** | | |
|**alwaysShowSubQuestions** | **Boolean** | | |
+|**subQuestionConditions** | [**List<SubQuestionCondition>**](SubQuestionCondition.md) | Sub-questions listed here only show when this question's answer matches. Others always show. | [optional] |
+|**commentBoxCondition** | [**QuestionCondition**](QuestionCondition.md) | | [optional] |
+|**commentBoxPrompt** | **String** | Placeholder for the comment box when commentBoxCondition reveals it. | [optional] |
|**reportingOrder** | **Double** | | |
diff --git a/client/docs/QuestionResult.md b/client/docs/QuestionResult.md
index a937ff1c..8cf3558e 100644
--- a/client/docs/QuestionResult.md
+++ b/client/docs/QuestionResult.md
@@ -13,7 +13,8 @@
|**anonUserId** | **String** | | |
|**userId** | **String** | | |
|**createdAt** | **OffsetDateTime** | | |
-|**value** | **Integer** | | |
+|**value** | **Integer** | The answer. For multi-choice questions this is the number of selected options and the options are in values. | |
+|**values** | **List<Double>** | Selected option indexes, multi-choice questions only. | [optional] |
|**commentId** | **String** | | [optional] |
|**questionId** | **String** | | |
|**meta** | [**List<MetaItem>**](MetaItem.md) | | [optional] |
diff --git a/client/docs/QueuePageMigrationJobAPIResponse.md b/client/docs/QueuePageMigrationJobAPIResponse.md
new file mode 100644
index 00000000..8c7cc175
--- /dev/null
+++ b/client/docs/QueuePageMigrationJobAPIResponse.md
@@ -0,0 +1,16 @@
+
+
+# QueuePageMigrationJobAPIResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**reason** | **String** | | [optional] |
+|**code** | **String** | | [optional] |
+|**batchJobId** | **String** | Poll GET /api/v1/batch-jobs/{batchJobId} for progress and the result. | [optional] |
+|**status** | **String** | | |
+
+
+
diff --git a/client/docs/RecordStringStringOrNumberOrNumberArrayValue.md b/client/docs/RecordStringStringOrNumberOrNumberArrayValue.md
new file mode 100644
index 00000000..1735361c
--- /dev/null
+++ b/client/docs/RecordStringStringOrNumberOrNumberArrayValue.md
@@ -0,0 +1,12 @@
+
+
+# RecordStringStringOrNumberOrNumberArrayValue
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+
+
+
diff --git a/client/docs/SavePollResponse.md b/client/docs/SavePollResponse.md
new file mode 100644
index 00000000..0b9a7275
--- /dev/null
+++ b/client/docs/SavePollResponse.md
@@ -0,0 +1,14 @@
+
+
+# SavePollResponse
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**status** | **APIStatus** | | |
+|**poll** | [**CommentPoll**](CommentPoll.md) | | |
+
+
+
diff --git a/client/docs/SubQuestionCondition.md b/client/docs/SubQuestionCondition.md
new file mode 100644
index 00000000..e7b7a0f4
--- /dev/null
+++ b/client/docs/SubQuestionCondition.md
@@ -0,0 +1,15 @@
+
+
+# SubQuestionCondition
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**operator** | **QuestionConditionOperator** | | |
+|**value** | **Double** | | |
+|**subQuestionId** | **String** | | |
+
+
+
diff --git a/client/docs/TenantPackage.md b/client/docs/TenantPackage.md
index 7f28ddde..1be73f07 100644
--- a/client/docs/TenantPackage.md
+++ b/client/docs/TenantPackage.md
@@ -63,6 +63,7 @@
|**flexSSOAdminUnit** | **Double** | | [optional] |
|**flexSSOModeratorCostCents** | **Double** | | [optional] |
|**flexSSOModeratorUnit** | **Double** | | [optional] |
+|**flexFreeModerators** | **Double** | | [optional] |
|**isSSOBillingMonthlyActiveUsers** | **Boolean** | | [optional] |
|**hasAIAgents** | **Boolean** | | [optional] |
|**maxAIAgents** | **Double** | | [optional] |
diff --git a/client/docs/UpdateQuestionConfigBody.md b/client/docs/UpdateQuestionConfigBody.md
index e656b3f5..837c3e9a 100644
--- a/client/docs/UpdateQuestionConfigBody.md
+++ b/client/docs/UpdateQuestionConfigBody.md
@@ -10,7 +10,7 @@
|**name** | **String** | | [optional] |
|**question** | **String** | | [optional] |
|**helpText** | **String** | | [optional] |
-|**type** | **String** | | [optional] |
+|**type** | **String** | One of nps, slider, star, thumbs, choice, multi, emoji, scale. | [optional] |
|**numStars** | **Double** | | [optional] |
|**min** | **Double** | | [optional] |
|**max** | **Double** | | [optional] |
@@ -20,6 +20,9 @@
|**customOptions** | [**List<QuestionConfigCustomOptionsInner>**](QuestionConfigCustomOptionsInner.md) | | [optional] |
|**subQuestionIds** | **List<String>** | | [optional] |
|**alwaysShowSubQuestions** | **Boolean** | | [optional] |
+|**subQuestionConditions** | [**List<SubQuestionCondition>**](SubQuestionCondition.md) | | [optional] |
+|**commentBoxCondition** | [**QuestionCondition**](QuestionCondition.md) | | [optional] |
+|**commentBoxPrompt** | **String** | | [optional] |
|**reportingOrder** | **Double** | | [optional] |
diff --git a/client/docs/UpdateQuestionResultBody.md b/client/docs/UpdateQuestionResultBody.md
index 1c6e2950..eca56465 100644
--- a/client/docs/UpdateQuestionResultBody.md
+++ b/client/docs/UpdateQuestionResultBody.md
@@ -11,6 +11,7 @@
|**anonUserId** | **String** | | [optional] |
|**userId** | **String** | | [optional] |
|**value** | **Double** | | [optional] |
+|**values** | **List<Double>** | Selected option indexes for multi-choice questions. | [optional] |
|**commentId** | **String** | | [optional] |
|**questionId** | **String** | | [optional] |
|**meta** | [**List<MetaItem>**](MetaItem.md) | | [optional] |
diff --git a/client/docs/UpdateTenantBody.md b/client/docs/UpdateTenantBody.md
index 59a5002f..51788963 100644
--- a/client/docs/UpdateTenantBody.md
+++ b/client/docs/UpdateTenantBody.md
@@ -14,7 +14,6 @@
|**paymentFrequency** | **Double** | | [optional] |
|**billingInfoValid** | **Boolean** | | [optional] |
|**billingHandledExternally** | **Boolean** | | [optional] |
-|**createdBy** | **String** | | [optional] |
|**isSetup** | **Boolean** | | [optional] |
|**domainConfiguration** | [**List<APIDomainConfiguration>**](APIDomainConfiguration.md) | | [optional] |
|**billingInfo** | [**BillingInfo**](BillingInfo.md) | | [optional] |
diff --git a/client/docs/WebhookComment.md b/client/docs/WebhookComment.md
new file mode 100644
index 00000000..4167cc22
--- /dev/null
+++ b/client/docs/WebhookComment.md
@@ -0,0 +1,41 @@
+
+
+# WebhookComment
+
+
+## Properties
+
+| Name | Type | Description | Notes |
+|------------ | ------------- | ------------- | -------------|
+|**id** | **String** | | |
+|**urlId** | **String** | | |
+|**url** | **String** | | |
+|**userId** | **String** | | |
+|**commenterEmail** | **String** | | |
+|**commenterName** | **String** | | |
+|**comment** | **String** | | |
+|**commentHTML** | **String** | | |
+|**externalId** | **String** | | |
+|**parentId** | **String** | | |
+|**date** | **String** | | |
+|**votes** | **Double** | | |
+|**votesUp** | **Double** | | |
+|**votesDown** | **Double** | | |
+|**verified** | **Boolean** | | |
+|**verifiedDate** | **String** | | |
+|**reviewed** | **Boolean** | | |
+|**avatarSrc** | **String** | | |
+|**isSpam** | **Boolean** | | |
+|**aiDeterminedSpam** | **Boolean** | | |
+|**hasImages** | **Boolean** | | |
+|**pageNumber** | **Double** | | |
+|**pageNumberOF** | **Double** | | |
+|**pageNumberNF** | **Double** | | |
+|**approved** | **Boolean** | | |
+|**locale** | **String** | | |
+|**mentions** | [**List<CommentUserMentionInfo>**](CommentUserMentionInfo.md) | | |
+|**domain** | **String** | | |
+|**moderationGroupIds** | **List<String>** | | |
+
+
+
diff --git a/client/docs/WebhookEventName.md b/client/docs/WebhookEventName.md
new file mode 100644
index 00000000..ddde2835
--- /dev/null
+++ b/client/docs/WebhookEventName.md
@@ -0,0 +1,15 @@
+
+
+# WebhookEventName
+
+## Enum
+
+
+* `COMMENT_CREATED` (value: `"comment-created"`)
+
+* `COMMENT_UPDATED` (value: `"comment-updated"`)
+
+* `COMMENT_DELETED` (value: `"comment-deleted"`)
+
+
+
diff --git a/client/docs/WebhookHTTPMethod.md b/client/docs/WebhookHTTPMethod.md
new file mode 100644
index 00000000..1eb4191a
--- /dev/null
+++ b/client/docs/WebhookHTTPMethod.md
@@ -0,0 +1,15 @@
+
+
+# WebhookHTTPMethod
+
+## Enum
+
+
+* `PUT` (value: `"PUT"`)
+
+* `DELETE` (value: `"DELETE"`)
+
+* `POST` (value: `"POST"`)
+
+
+
diff --git a/client/docs/WebhookSource.md b/client/docs/WebhookSource.md
new file mode 100644
index 00000000..ff7196d5
--- /dev/null
+++ b/client/docs/WebhookSource.md
@@ -0,0 +1,13 @@
+
+
+# WebhookSource
+
+## Enum
+
+
+* `DASHBOARD` (value: `"dashboard"`)
+
+* `API` (value: `"api"`)
+
+
+
diff --git a/client/pom.xml b/client/pom.xml
index ec3db311..97686aa5 100644
--- a/client/pom.xml
+++ b/client/pom.xml
@@ -5,7 +5,7 @@
client
jar
client
- 3.0.0
+ 3.1.0
https://fastcomments.com
FastComments API Client - A SDK for interacting with the FastComments API
diff --git a/client/src/main/java/com/fastcomments/api/DefaultApi.java b/client/src/main/java/com/fastcomments/api/DefaultApi.java
index 84df6073..947048ee 100644
--- a/client/src/main/java/com/fastcomments/api/DefaultApi.java
+++ b/client/src/main/java/com/fastcomments/api/DefaultApi.java
@@ -55,9 +55,13 @@
import com.fastcomments.model.ChangeTicketStateBody;
import com.fastcomments.model.ChangeTicketStateResponse;
import com.fastcomments.model.CombineQuestionResultsWithCommentsResponse;
+import com.fastcomments.model.CommentPollPatch;
+import com.fastcomments.model.CommentPollPutInput;
import com.fastcomments.model.CreateAPIPageData;
import com.fastcomments.model.CreateAPISSOUserData;
import com.fastcomments.model.CreateAPIUserSubscriptionData;
+import com.fastcomments.model.CreateAgentTenantBody;
+import com.fastcomments.model.CreateAgentTenantResponse;
import com.fastcomments.model.CreateCommentParams;
import com.fastcomments.model.CreateEmailTemplateBody;
import com.fastcomments.model.CreateEmailTemplateResponse;
@@ -67,6 +71,8 @@
import com.fastcomments.model.CreateHashTagResponse;
import com.fastcomments.model.CreateModeratorBody;
import com.fastcomments.model.CreateModeratorResponse;
+import com.fastcomments.model.CreatePollVoteBody;
+import com.fastcomments.model.CreatePollVoteResponse;
import com.fastcomments.model.CreateQuestionConfigBody;
import com.fastcomments.model.CreateQuestionConfigResponse;
import com.fastcomments.model.CreateQuestionResultBody;
@@ -81,15 +87,20 @@
import com.fastcomments.model.CreateTicketBody;
import com.fastcomments.model.CreateTicketResponse;
import com.fastcomments.model.CreateUserBadgeParams;
+import com.fastcomments.model.CreateWebhookParams;
+import com.fastcomments.model.CreateWebhookResponse;
import com.fastcomments.model.DeleteCommentResult;
import com.fastcomments.model.DeleteDomainConfigResponse;
import com.fastcomments.model.DeleteHashTagRequestBody;
import com.fastcomments.model.DeletePageAPIResponse;
+import com.fastcomments.model.DeletePollVoteResponse;
import com.fastcomments.model.DeleteSSOUserAPIResponse;
import com.fastcomments.model.DeleteSubscriptionAPIResponse;
import com.fastcomments.model.FeedPost;
import com.fastcomments.model.FlagCommentResponse;
import com.fastcomments.model.GetAuditLogsResponse;
+import com.fastcomments.model.GetBatchJobAPIResponse;
+import com.fastcomments.model.GetBatchJobsAPIResponse;
import com.fastcomments.model.GetCachedNotificationCountResponse;
import com.fastcomments.model.GetDomainConfigResponse;
import com.fastcomments.model.GetDomainConfigsResponse;
@@ -99,14 +110,20 @@
import com.fastcomments.model.GetEmailTemplatesResponse;
import com.fastcomments.model.GetFeedPostsResponse;
import com.fastcomments.model.GetHashTagsResponse;
+import com.fastcomments.model.GetMeResponse;
import com.fastcomments.model.GetModeratorResponse;
import com.fastcomments.model.GetModeratorsResponse;
import com.fastcomments.model.GetNotificationCountResponse;
import com.fastcomments.model.GetNotificationsResponse;
import com.fastcomments.model.GetPageByURLIdAPIResponse;
+import com.fastcomments.model.GetPageLikesAPIResponse;
+import com.fastcomments.model.GetPageReactsAPIResponse;
import com.fastcomments.model.GetPagesAPIResponse;
import com.fastcomments.model.GetPendingWebhookEventCountResponse;
import com.fastcomments.model.GetPendingWebhookEventsResponse;
+import com.fastcomments.model.GetPollResponse;
+import com.fastcomments.model.GetPollVoteResponse;
+import com.fastcomments.model.GetPollVotesResponse;
import com.fastcomments.model.GetQuestionConfigResponse;
import com.fastcomments.model.GetQuestionConfigsResponse;
import com.fastcomments.model.GetQuestionResultResponse;
@@ -127,19 +144,25 @@
import com.fastcomments.model.GetUserResponse;
import com.fastcomments.model.GetVotesForUserResponse;
import com.fastcomments.model.GetVotesResponse;
+import com.fastcomments.model.GetWebhookSamplePayloadsResponse;
+import com.fastcomments.model.GetWebhooksResponse;
+import com.fastcomments.model.MigrateAPIPagesData;
import java.time.OffsetDateTime;
+import com.fastcomments.model.PageReactIncludeUserInfo;
import com.fastcomments.model.PatchDomainConfigParams;
import com.fastcomments.model.PatchDomainConfigResponse;
import com.fastcomments.model.PatchPageAPIResponse;
import com.fastcomments.model.PatchSSOUserAPIResponse;
import com.fastcomments.model.PutDomainConfigResponse;
import com.fastcomments.model.PutSSOUserAPIResponse;
+import com.fastcomments.model.QueuePageMigrationJobAPIResponse;
import com.fastcomments.model.RenderEmailTemplateBody;
import com.fastcomments.model.RenderEmailTemplateResponse;
import com.fastcomments.model.ReplaceTenantPackageBody;
import com.fastcomments.model.ReplaceTenantUserBody;
import com.fastcomments.model.SORTDIR;
import com.fastcomments.model.SaveCommentsBulkResponse;
+import com.fastcomments.model.SavePollResponse;
import com.fastcomments.model.SortDirections;
import com.fastcomments.model.UnBlockFromCommentParams;
import com.fastcomments.model.UnblockSuccess;
@@ -162,6 +185,8 @@
import com.fastcomments.model.UpdateUserBadgeParams;
import com.fastcomments.model.VoteDeleteResponse;
import com.fastcomments.model.VoteResponse;
+import com.fastcomments.model.WebhookEventName;
+import com.fastcomments.model.WebhookSource;
import java.lang.reflect.Type;
import java.util.ArrayList;
@@ -2445,6 +2470,169 @@ public okhttp3.Call executeAsync(final ApiCallback 0 ) {
+ basePath = localBasePaths[localHostIndex];
+ } else {
+ basePath = null;
+ }
+
+ Object localVarPostBody = createAgentTenantBody;
+
+ // create path and map variables
+ String localVarPath = "/api/v1/agent-tenants";
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) {
+ localVarHeaderParams.put("Accept", localVarAccept);
+ }
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
+ if (localVarContentType != null) {
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+ }
+
+ String[] localVarAuthNames = new String[] { };
+ return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call createAgentTenantValidateBeforeCall(@javax.annotation.Nonnull CreateAgentTenantBody createAgentTenantBody, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'createAgentTenantBody' is set
+ if (createAgentTenantBody == null) {
+ throw new ApiException("Missing the required parameter 'createAgentTenantBody' when calling createAgentTenant(Async)");
+ }
+
+ return createAgentTenantCall(createAgentTenantBody, _callback);
+
+ }
+
+
+ private ApiResponse createAgentTenantWithHttpInfo(@javax.annotation.Nonnull CreateAgentTenantBody createAgentTenantBody) throws ApiException {
+ okhttp3.Call localVarCall = createAgentTenantValidateBeforeCall(createAgentTenantBody, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return localVarApiClient.execute(localVarCall, localVarReturnType);
+ }
+
+ private okhttp3.Call createAgentTenantAsync(@javax.annotation.Nonnull CreateAgentTenantBody createAgentTenantBody, final ApiCallback _callback) throws ApiException {
+
+ okhttp3.Call localVarCall = createAgentTenantValidateBeforeCall(createAgentTenantBody, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
+ return localVarCall;
+ }
+
+ public class APIcreateAgentTenantRequest {
+ @javax.annotation.Nonnull
+ private final CreateAgentTenantBody createAgentTenantBody;
+
+ private APIcreateAgentTenantRequest(@javax.annotation.Nonnull CreateAgentTenantBody createAgentTenantBody) {
+ this.createAgentTenantBody = createAgentTenantBody;
+ }
+
+ /**
+ * Build call for createAgentTenant
+ * @param _callback ApiCallback API callback
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
+ return createAgentTenantCall(createAgentTenantBody, _callback);
+ }
+
+ /**
+ * Execute createAgentTenant request
+ * @return CreateAgentTenantResponse
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public CreateAgentTenantResponse execute() throws ApiException {
+ ApiResponse localVarResp = createAgentTenantWithHttpInfo(createAgentTenantBody);
+ return localVarResp.getData();
+ }
+
+ /**
+ * Execute createAgentTenant request with HTTP info returned
+ * @return ApiResponse<CreateAgentTenantResponse>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public ApiResponse executeWithHttpInfo() throws ApiException {
+ return createAgentTenantWithHttpInfo(createAgentTenantBody);
+ }
+
+ /**
+ * Execute createAgentTenant request (asynchronously)
+ * @param _callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
+ return createAgentTenantAsync(createAgentTenantBody, _callback);
+ }
+ }
+
+ /**
+ *
+ * Creates a new trial account for an AI agent without a human signup. No API key is needed to call this. The response contains the tenant id, an API key that works immediately against the REST API and the MCP server, and a claim URL. Give the claim URL to the human you are working for: opening it while logged in to FastComments attaches the account to them. Unclaimed accounts, and their keys, are deleted 72 hours after creation. Until claimed, the account has the standard trial limits.
+ * @param createAgentTenantBody (required)
+ * @return APIcreateAgentTenantRequest
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public APIcreateAgentTenantRequest createAgentTenant(@javax.annotation.Nonnull CreateAgentTenantBody createAgentTenantBody) {
+ return new APIcreateAgentTenantRequest(createAgentTenantBody);
+ }
private okhttp3.Call createEmailTemplateCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateEmailTemplateBody createEmailTemplateBody, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
@@ -3037,7 +3225,7 @@ public okhttp3.Call executeAsync(final ApiCallback _cal
public APIcreateModeratorRequest createModerator(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateModeratorBody createModeratorBody) {
return new APIcreateModeratorRequest(tenantId, createModeratorBody);
}
- private okhttp3.Call createQuestionConfigCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionConfigBody createQuestionConfigBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createPollVoteCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreatePollVoteBody createPollVoteBody, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -3051,10 +3239,10 @@ private okhttp3.Call createQuestionConfigCall(@javax.annotation.Nonnull String t
basePath = null;
}
- Object localVarPostBody = createQuestionConfigBody;
+ Object localVarPostBody = createPollVoteBody;
// create path and map variables
- String localVarPath = "/api/v1/question-configs";
+ String localVarPath = "/api/v1/poll-votes";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -3087,49 +3275,49 @@ private okhttp3.Call createQuestionConfigCall(@javax.annotation.Nonnull String t
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call createQuestionConfigValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionConfigBody createQuestionConfigBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createPollVoteValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreatePollVoteBody createPollVoteBody, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tenantId' is set
if (tenantId == null) {
- throw new ApiException("Missing the required parameter 'tenantId' when calling createQuestionConfig(Async)");
+ throw new ApiException("Missing the required parameter 'tenantId' when calling createPollVote(Async)");
}
- // verify the required parameter 'createQuestionConfigBody' is set
- if (createQuestionConfigBody == null) {
- throw new ApiException("Missing the required parameter 'createQuestionConfigBody' when calling createQuestionConfig(Async)");
+ // verify the required parameter 'createPollVoteBody' is set
+ if (createPollVoteBody == null) {
+ throw new ApiException("Missing the required parameter 'createPollVoteBody' when calling createPollVote(Async)");
}
- return createQuestionConfigCall(tenantId, createQuestionConfigBody, _callback);
+ return createPollVoteCall(tenantId, createPollVoteBody, _callback);
}
- private ApiResponse createQuestionConfigWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionConfigBody createQuestionConfigBody) throws ApiException {
- okhttp3.Call localVarCall = createQuestionConfigValidateBeforeCall(tenantId, createQuestionConfigBody, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ private ApiResponse createPollVoteWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreatePollVoteBody createPollVoteBody) throws ApiException {
+ okhttp3.Call localVarCall = createPollVoteValidateBeforeCall(tenantId, createPollVoteBody, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call createQuestionConfigAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionConfigBody createQuestionConfigBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createPollVoteAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreatePollVoteBody createPollVoteBody, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = createQuestionConfigValidateBeforeCall(tenantId, createQuestionConfigBody, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ okhttp3.Call localVarCall = createPollVoteValidateBeforeCall(tenantId, createPollVoteBody, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
- public class APIcreateQuestionConfigRequest {
+ public class APIcreatePollVoteRequest {
@javax.annotation.Nonnull
private final String tenantId;
@javax.annotation.Nonnull
- private final CreateQuestionConfigBody createQuestionConfigBody;
+ private final CreatePollVoteBody createPollVoteBody;
- private APIcreateQuestionConfigRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionConfigBody createQuestionConfigBody) {
+ private APIcreatePollVoteRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreatePollVoteBody createPollVoteBody) {
this.tenantId = tenantId;
- this.createQuestionConfigBody = createQuestionConfigBody;
+ this.createPollVoteBody = createPollVoteBody;
}
/**
- * Build call for createQuestionConfig
+ * Build call for createPollVote
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -3142,12 +3330,12 @@ private APIcreateQuestionConfigRequest(@javax.annotation.Nonnull String tenantId
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return createQuestionConfigCall(tenantId, createQuestionConfigBody, _callback);
+ return createPollVoteCall(tenantId, createPollVoteBody, _callback);
}
/**
- * Execute createQuestionConfig request
- * @return CreateQuestionConfigResponse
+ * Execute createPollVote request
+ * @return CreatePollVoteResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -3157,14 +3345,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
| 0 | Error | - |
*/
- public CreateQuestionConfigResponse execute() throws ApiException {
- ApiResponse localVarResp = createQuestionConfigWithHttpInfo(tenantId, createQuestionConfigBody);
+ public CreatePollVoteResponse execute() throws ApiException {
+ ApiResponse localVarResp = createPollVoteWithHttpInfo(tenantId, createPollVoteBody);
return localVarResp.getData();
}
/**
- * Execute createQuestionConfig request with HTTP info returned
- * @return ApiResponse<CreateQuestionConfigResponse>
+ * Execute createPollVote request with HTTP info returned
+ * @return ApiResponse<CreatePollVoteResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -3174,12 +3362,12 @@ public CreateQuestionConfigResponse execute() throws ApiException {
| 0 | Error | - |
*/
- public ApiResponse executeWithHttpInfo() throws ApiException {
- return createQuestionConfigWithHttpInfo(tenantId, createQuestionConfigBody);
+ public ApiResponse executeWithHttpInfo() throws ApiException {
+ return createPollVoteWithHttpInfo(tenantId, createPollVoteBody);
}
/**
- * Execute createQuestionConfig request (asynchronously)
+ * Execute createPollVote request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -3191,17 +3379,17 @@ public ApiResponse executeWithHttpInfo() throws Ap
| 0 | Error | - |
*/
- public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return createQuestionConfigAsync(tenantId, createQuestionConfigBody, _callback);
+ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
+ return createPollVoteAsync(tenantId, createPollVoteBody, _callback);
}
}
/**
*
- *
+ * Record a vote on a poll, or move an existing one to a different option. A voter has at most one vote per poll, so calling this again for the same voter moves their vote rather than adding one. This obeys the site's poll settings: if voting is set to logged-in users only, a vote with just an anonUserId is rejected, and anonymous votes are rate limited per IP per poll.
* @param tenantId (required)
- * @param createQuestionConfigBody (required)
- * @return APIcreateQuestionConfigRequest
+ * @param createPollVoteBody (required)
+ * @return APIcreatePollVoteRequest
* @http.response.details
Response Details
@@ -3210,10 +3398,10 @@ public okhttp3.Call executeAsync(final ApiCallback
| 0 | Error | - |
*/
- public APIcreateQuestionConfigRequest createQuestionConfig(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionConfigBody createQuestionConfigBody) {
- return new APIcreateQuestionConfigRequest(tenantId, createQuestionConfigBody);
+ public APIcreatePollVoteRequest createPollVote(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreatePollVoteBody createPollVoteBody) {
+ return new APIcreatePollVoteRequest(tenantId, createPollVoteBody);
}
- private okhttp3.Call createQuestionResultCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionResultBody createQuestionResultBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createQuestionConfigCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionConfigBody createQuestionConfigBody, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -3227,10 +3415,10 @@ private okhttp3.Call createQuestionResultCall(@javax.annotation.Nonnull String t
basePath = null;
}
- Object localVarPostBody = createQuestionResultBody;
+ Object localVarPostBody = createQuestionConfigBody;
// create path and map variables
- String localVarPath = "/api/v1/question-results";
+ String localVarPath = "/api/v1/question-configs";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -3263,49 +3451,49 @@ private okhttp3.Call createQuestionResultCall(@javax.annotation.Nonnull String t
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call createQuestionResultValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionResultBody createQuestionResultBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createQuestionConfigValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionConfigBody createQuestionConfigBody, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tenantId' is set
if (tenantId == null) {
- throw new ApiException("Missing the required parameter 'tenantId' when calling createQuestionResult(Async)");
+ throw new ApiException("Missing the required parameter 'tenantId' when calling createQuestionConfig(Async)");
}
- // verify the required parameter 'createQuestionResultBody' is set
- if (createQuestionResultBody == null) {
- throw new ApiException("Missing the required parameter 'createQuestionResultBody' when calling createQuestionResult(Async)");
+ // verify the required parameter 'createQuestionConfigBody' is set
+ if (createQuestionConfigBody == null) {
+ throw new ApiException("Missing the required parameter 'createQuestionConfigBody' when calling createQuestionConfig(Async)");
}
- return createQuestionResultCall(tenantId, createQuestionResultBody, _callback);
+ return createQuestionConfigCall(tenantId, createQuestionConfigBody, _callback);
}
- private ApiResponse createQuestionResultWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionResultBody createQuestionResultBody) throws ApiException {
- okhttp3.Call localVarCall = createQuestionResultValidateBeforeCall(tenantId, createQuestionResultBody, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ private ApiResponse createQuestionConfigWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionConfigBody createQuestionConfigBody) throws ApiException {
+ okhttp3.Call localVarCall = createQuestionConfigValidateBeforeCall(tenantId, createQuestionConfigBody, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call createQuestionResultAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionResultBody createQuestionResultBody, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createQuestionConfigAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionConfigBody createQuestionConfigBody, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = createQuestionResultValidateBeforeCall(tenantId, createQuestionResultBody, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ okhttp3.Call localVarCall = createQuestionConfigValidateBeforeCall(tenantId, createQuestionConfigBody, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
- public class APIcreateQuestionResultRequest {
+ public class APIcreateQuestionConfigRequest {
@javax.annotation.Nonnull
private final String tenantId;
@javax.annotation.Nonnull
- private final CreateQuestionResultBody createQuestionResultBody;
+ private final CreateQuestionConfigBody createQuestionConfigBody;
- private APIcreateQuestionResultRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionResultBody createQuestionResultBody) {
+ private APIcreateQuestionConfigRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionConfigBody createQuestionConfigBody) {
this.tenantId = tenantId;
- this.createQuestionResultBody = createQuestionResultBody;
+ this.createQuestionConfigBody = createQuestionConfigBody;
}
/**
- * Build call for createQuestionResult
+ * Build call for createQuestionConfig
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -3318,12 +3506,12 @@ private APIcreateQuestionResultRequest(@javax.annotation.Nonnull String tenantId
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return createQuestionResultCall(tenantId, createQuestionResultBody, _callback);
+ return createQuestionConfigCall(tenantId, createQuestionConfigBody, _callback);
}
/**
- * Execute createQuestionResult request
- * @return CreateQuestionResultResponse
+ * Execute createQuestionConfig request
+ * @return CreateQuestionConfigResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -3333,14 +3521,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
| 0 | Error | - |
*/
- public CreateQuestionResultResponse execute() throws ApiException {
- ApiResponse localVarResp = createQuestionResultWithHttpInfo(tenantId, createQuestionResultBody);
+ public CreateQuestionConfigResponse execute() throws ApiException {
+ ApiResponse localVarResp = createQuestionConfigWithHttpInfo(tenantId, createQuestionConfigBody);
return localVarResp.getData();
}
/**
- * Execute createQuestionResult request with HTTP info returned
- * @return ApiResponse<CreateQuestionResultResponse>
+ * Execute createQuestionConfig request with HTTP info returned
+ * @return ApiResponse<CreateQuestionConfigResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -3350,12 +3538,12 @@ public CreateQuestionResultResponse execute() throws ApiException {
| 0 | Error | - |
*/
- public ApiResponse executeWithHttpInfo() throws ApiException {
- return createQuestionResultWithHttpInfo(tenantId, createQuestionResultBody);
+ public ApiResponse executeWithHttpInfo() throws ApiException {
+ return createQuestionConfigWithHttpInfo(tenantId, createQuestionConfigBody);
}
/**
- * Execute createQuestionResult request (asynchronously)
+ * Execute createQuestionConfig request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -3367,8 +3555,8 @@ public ApiResponse executeWithHttpInfo() throws Ap
| 0 | Error | - |
*/
- public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return createQuestionResultAsync(tenantId, createQuestionResultBody, _callback);
+ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
+ return createQuestionConfigAsync(tenantId, createQuestionConfigBody, _callback);
}
}
@@ -3376,8 +3564,8 @@ public okhttp3.Call executeAsync(final ApiCallback
*
*
* @param tenantId (required)
- * @param createQuestionResultBody (required)
- * @return APIcreateQuestionResultRequest
+ * @param createQuestionConfigBody (required)
+ * @return APIcreateQuestionConfigRequest
* @http.response.details
Response Details
@@ -3386,10 +3574,10 @@ public okhttp3.Call executeAsync(final ApiCallback
| 0 | Error | - |
*/
- public APIcreateQuestionResultRequest createQuestionResult(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionResultBody createQuestionResultBody) {
- return new APIcreateQuestionResultRequest(tenantId, createQuestionResultBody);
+ public APIcreateQuestionConfigRequest createQuestionConfig(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionConfigBody createQuestionConfigBody) {
+ return new APIcreateQuestionConfigRequest(tenantId, createQuestionConfigBody);
}
- private okhttp3.Call createSubscriptionCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateAPIUserSubscriptionData createAPIUserSubscriptionData, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createQuestionResultCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionResultBody createQuestionResultBody, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -3403,10 +3591,10 @@ private okhttp3.Call createSubscriptionCall(@javax.annotation.Nonnull String ten
basePath = null;
}
- Object localVarPostBody = createAPIUserSubscriptionData;
+ Object localVarPostBody = createQuestionResultBody;
// create path and map variables
- String localVarPath = "/api/v1/subscriptions";
+ String localVarPath = "/api/v1/question-results";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -3439,25 +3627,201 @@ private okhttp3.Call createSubscriptionCall(@javax.annotation.Nonnull String ten
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call createSubscriptionValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateAPIUserSubscriptionData createAPIUserSubscriptionData, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createQuestionResultValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionResultBody createQuestionResultBody, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tenantId' is set
if (tenantId == null) {
- throw new ApiException("Missing the required parameter 'tenantId' when calling createSubscription(Async)");
+ throw new ApiException("Missing the required parameter 'tenantId' when calling createQuestionResult(Async)");
}
- // verify the required parameter 'createAPIUserSubscriptionData' is set
- if (createAPIUserSubscriptionData == null) {
- throw new ApiException("Missing the required parameter 'createAPIUserSubscriptionData' when calling createSubscription(Async)");
+ // verify the required parameter 'createQuestionResultBody' is set
+ if (createQuestionResultBody == null) {
+ throw new ApiException("Missing the required parameter 'createQuestionResultBody' when calling createQuestionResult(Async)");
}
- return createSubscriptionCall(tenantId, createAPIUserSubscriptionData, _callback);
+ return createQuestionResultCall(tenantId, createQuestionResultBody, _callback);
}
- private ApiResponse createSubscriptionWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateAPIUserSubscriptionData createAPIUserSubscriptionData) throws ApiException {
- okhttp3.Call localVarCall = createSubscriptionValidateBeforeCall(tenantId, createAPIUserSubscriptionData, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ private ApiResponse createQuestionResultWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionResultBody createQuestionResultBody) throws ApiException {
+ okhttp3.Call localVarCall = createQuestionResultValidateBeforeCall(tenantId, createQuestionResultBody, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return localVarApiClient.execute(localVarCall, localVarReturnType);
+ }
+
+ private okhttp3.Call createQuestionResultAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionResultBody createQuestionResultBody, final ApiCallback _callback) throws ApiException {
+
+ okhttp3.Call localVarCall = createQuestionResultValidateBeforeCall(tenantId, createQuestionResultBody, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
+ return localVarCall;
+ }
+
+ public class APIcreateQuestionResultRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
+ @javax.annotation.Nonnull
+ private final CreateQuestionResultBody createQuestionResultBody;
+
+ private APIcreateQuestionResultRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionResultBody createQuestionResultBody) {
+ this.tenantId = tenantId;
+ this.createQuestionResultBody = createQuestionResultBody;
+ }
+
+ /**
+ * Build call for createQuestionResult
+ * @param _callback ApiCallback API callback
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
+ return createQuestionResultCall(tenantId, createQuestionResultBody, _callback);
+ }
+
+ /**
+ * Execute createQuestionResult request
+ * @return CreateQuestionResultResponse
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public CreateQuestionResultResponse execute() throws ApiException {
+ ApiResponse localVarResp = createQuestionResultWithHttpInfo(tenantId, createQuestionResultBody);
+ return localVarResp.getData();
+ }
+
+ /**
+ * Execute createQuestionResult request with HTTP info returned
+ * @return ApiResponse<CreateQuestionResultResponse>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public ApiResponse executeWithHttpInfo() throws ApiException {
+ return createQuestionResultWithHttpInfo(tenantId, createQuestionResultBody);
+ }
+
+ /**
+ * Execute createQuestionResult request (asynchronously)
+ * @param _callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
+ return createQuestionResultAsync(tenantId, createQuestionResultBody, _callback);
+ }
+ }
+
+ /**
+ *
+ *
+ * @param tenantId (required)
+ * @param createQuestionResultBody (required)
+ * @return APIcreateQuestionResultRequest
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public APIcreateQuestionResultRequest createQuestionResult(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateQuestionResultBody createQuestionResultBody) {
+ return new APIcreateQuestionResultRequest(tenantId, createQuestionResultBody);
+ }
+ private okhttp3.Call createSubscriptionCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateAPIUserSubscriptionData createAPIUserSubscriptionData, final ApiCallback _callback) throws ApiException {
+ String basePath = null;
+ // Operation Servers
+ String[] localBasePaths = new String[] { };
+
+ // Determine Base Path to Use
+ if (localCustomBaseUrl != null){
+ basePath = localCustomBaseUrl;
+ } else if ( localBasePaths.length > 0 ) {
+ basePath = localBasePaths[localHostIndex];
+ } else {
+ basePath = null;
+ }
+
+ Object localVarPostBody = createAPIUserSubscriptionData;
+
+ // create path and map variables
+ String localVarPath = "/api/v1/subscriptions";
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) {
+ localVarHeaderParams.put("Accept", localVarAccept);
+ }
+
+ final String[] localVarContentTypes = {
+ "application/json"
+ };
+ final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
+ if (localVarContentType != null) {
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+ }
+
+ String[] localVarAuthNames = new String[] { "api_key" };
+ return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call createSubscriptionValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateAPIUserSubscriptionData createAPIUserSubscriptionData, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling createSubscription(Async)");
+ }
+
+ // verify the required parameter 'createAPIUserSubscriptionData' is set
+ if (createAPIUserSubscriptionData == null) {
+ throw new ApiException("Missing the required parameter 'createAPIUserSubscriptionData' when calling createSubscription(Async)");
+ }
+
+ return createSubscriptionCall(tenantId, createAPIUserSubscriptionData, _callback);
+
+ }
+
+
+ private ApiResponse createSubscriptionWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateAPIUserSubscriptionData createAPIUserSubscriptionData) throws ApiException {
+ okhttp3.Call localVarCall = createSubscriptionValidateBeforeCall(tenantId, createAPIUserSubscriptionData, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
@@ -4677,7 +5041,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback) thro
public APIcreateVoteRequest createVote(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, @javax.annotation.Nonnull String direction) {
return new APIcreateVoteRequest(tenantId, commentId, direction);
}
- private okhttp3.Call deleteCommentCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String contextUserId, @javax.annotation.Nullable Boolean isLive, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createWebhookCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateWebhookParams createWebhookParams, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -4691,11 +5055,10 @@ private okhttp3.Call deleteCommentCall(@javax.annotation.Nonnull String tenantId
basePath = null;
}
- Object localVarPostBody = null;
+ Object localVarPostBody = createWebhookParams;
// create path and map variables
- String localVarPath = "/api/v1/comments/{id}"
- .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString()));
+ String localVarPath = "/api/v1/webhooks";
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -4707,14 +5070,6 @@ private okhttp3.Call deleteCommentCall(@javax.annotation.Nonnull String tenantId
localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
}
- if (contextUserId != null) {
- localVarQueryParams.addAll(localVarApiClient.parameterToPair("contextUserId", contextUserId));
- }
-
- if (isLive != null) {
- localVarQueryParams.addAll(localVarApiClient.parameterToPair("isLive", isLive));
- }
-
final String[] localVarAccepts = {
"application/json"
};
@@ -4724,6 +5079,7 @@ private okhttp3.Call deleteCommentCall(@javax.annotation.Nonnull String tenantId
}
final String[] localVarContentTypes = {
+ "application/json"
};
final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
if (localVarContentType != null) {
@@ -4731,77 +5087,53 @@ private okhttp3.Call deleteCommentCall(@javax.annotation.Nonnull String tenantId
}
String[] localVarAuthNames = new String[] { "api_key" };
- return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ return localVarApiClient.buildCall(basePath, localVarPath, "POST", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteCommentValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String contextUserId, @javax.annotation.Nullable Boolean isLive, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createWebhookValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateWebhookParams createWebhookParams, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tenantId' is set
if (tenantId == null) {
- throw new ApiException("Missing the required parameter 'tenantId' when calling deleteComment(Async)");
+ throw new ApiException("Missing the required parameter 'tenantId' when calling createWebhook(Async)");
}
- // verify the required parameter 'id' is set
- if (id == null) {
- throw new ApiException("Missing the required parameter 'id' when calling deleteComment(Async)");
+ // verify the required parameter 'createWebhookParams' is set
+ if (createWebhookParams == null) {
+ throw new ApiException("Missing the required parameter 'createWebhookParams' when calling createWebhook(Async)");
}
- return deleteCommentCall(tenantId, id, contextUserId, isLive, _callback);
+ return createWebhookCall(tenantId, createWebhookParams, _callback);
}
- private ApiResponse deleteCommentWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String contextUserId, @javax.annotation.Nullable Boolean isLive) throws ApiException {
- okhttp3.Call localVarCall = deleteCommentValidateBeforeCall(tenantId, id, contextUserId, isLive, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ private ApiResponse createWebhookWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateWebhookParams createWebhookParams) throws ApiException {
+ okhttp3.Call localVarCall = createWebhookValidateBeforeCall(tenantId, createWebhookParams, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call deleteCommentAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String contextUserId, @javax.annotation.Nullable Boolean isLive, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call createWebhookAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateWebhookParams createWebhookParams, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = deleteCommentValidateBeforeCall(tenantId, id, contextUserId, isLive, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ okhttp3.Call localVarCall = createWebhookValidateBeforeCall(tenantId, createWebhookParams, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
- public class APIdeleteCommentRequest {
+ public class APIcreateWebhookRequest {
@javax.annotation.Nonnull
private final String tenantId;
@javax.annotation.Nonnull
- private final String id;
- @javax.annotation.Nullable
- private String contextUserId;
- @javax.annotation.Nullable
- private Boolean isLive;
+ private final CreateWebhookParams createWebhookParams;
- private APIdeleteCommentRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ private APIcreateWebhookRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateWebhookParams createWebhookParams) {
this.tenantId = tenantId;
- this.id = id;
- }
-
- /**
- * Set contextUserId
- * @param contextUserId (optional)
- * @return APIdeleteCommentRequest
- */
- public APIdeleteCommentRequest contextUserId(@javax.annotation.Nullable String contextUserId) {
- this.contextUserId = contextUserId;
- return this;
+ this.createWebhookParams = createWebhookParams;
}
/**
- * Set isLive
- * @param isLive (optional)
- * @return APIdeleteCommentRequest
- */
- public APIdeleteCommentRequest isLive(@javax.annotation.Nullable Boolean isLive) {
- this.isLive = isLive;
- return this;
- }
-
- /**
- * Build call for deleteComment
+ * Build call for createWebhook
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -4814,12 +5146,12 @@ public APIdeleteCommentRequest isLive(@javax.annotation.Nullable Boolean isLive)
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return deleteCommentCall(tenantId, id, contextUserId, isLive, _callback);
+ return createWebhookCall(tenantId, createWebhookParams, _callback);
}
/**
- * Execute deleteComment request
- * @return DeleteCommentResult
+ * Execute createWebhook request
+ * @return CreateWebhookResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -4829,14 +5161,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
| 0 | Error | - |
*/
- public DeleteCommentResult execute() throws ApiException {
- ApiResponse localVarResp = deleteCommentWithHttpInfo(tenantId, id, contextUserId, isLive);
+ public CreateWebhookResponse execute() throws ApiException {
+ ApiResponse localVarResp = createWebhookWithHttpInfo(tenantId, createWebhookParams);
return localVarResp.getData();
}
/**
- * Execute deleteComment request with HTTP info returned
- * @return ApiResponse<DeleteCommentResult>
+ * Execute createWebhook request with HTTP info returned
+ * @return ApiResponse<CreateWebhookResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -4846,12 +5178,12 @@ public DeleteCommentResult execute() throws ApiException {
| 0 | Error | - |
*/
- public ApiResponse executeWithHttpInfo() throws ApiException {
- return deleteCommentWithHttpInfo(tenantId, id, contextUserId, isLive);
+ public ApiResponse executeWithHttpInfo() throws ApiException {
+ return createWebhookWithHttpInfo(tenantId, createWebhookParams);
}
/**
- * Execute deleteComment request (asynchronously)
+ * Execute createWebhook request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -4863,17 +5195,17 @@ public ApiResponse executeWithHttpInfo() throws ApiExceptio
| 0 | Error | - |
*/
- public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return deleteCommentAsync(tenantId, id, contextUserId, isLive, _callback);
+ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
+ return createWebhookAsync(tenantId, createWebhookParams, _callback);
}
}
/**
*
- *
+ * Subscribes a URL to a comment event (REST hook subscribe). Subscribing the same URL to the same event and domain again returns the existing subscription. Deliveries are HMAC signed, see the webhooks guide; the legacy `token` header is never sent to API subscriptions.
* @param tenantId (required)
- * @param id (required)
- * @return APIdeleteCommentRequest
+ * @param createWebhookParams (required)
+ * @return APIcreateWebhookRequest
* @http.response.details
Response Details
@@ -4882,10 +5214,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callbac
| 0 | Error | - |
*/
- public APIdeleteCommentRequest deleteComment(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
- return new APIdeleteCommentRequest(tenantId, id);
+ public APIcreateWebhookRequest createWebhook(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull CreateWebhookParams createWebhookParams) {
+ return new APIcreateWebhookRequest(tenantId, createWebhookParams);
}
- private okhttp3.Call deleteDomainConfigCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String domain, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteCommentCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String contextUserId, @javax.annotation.Nullable Boolean isLive, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -4902,8 +5234,216 @@ private okhttp3.Call deleteDomainConfigCall(@javax.annotation.Nonnull String ten
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/api/v1/domain-configs/{domain}"
- .replace("{" + "domain" + "}", localVarApiClient.escapeString(domain.toString()));
+ String localVarPath = "/api/v1/comments/{id}"
+ .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString()));
+
+ List localVarQueryParams = new ArrayList();
+ List localVarCollectionQueryParams = new ArrayList();
+ Map localVarHeaderParams = new HashMap();
+ Map localVarCookieParams = new HashMap();
+ Map localVarFormParams = new HashMap();
+
+ if (tenantId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
+ }
+
+ if (contextUserId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("contextUserId", contextUserId));
+ }
+
+ if (isLive != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("isLive", isLive));
+ }
+
+ final String[] localVarAccepts = {
+ "application/json"
+ };
+ final String localVarAccept = localVarApiClient.selectHeaderAccept(localVarAccepts);
+ if (localVarAccept != null) {
+ localVarHeaderParams.put("Accept", localVarAccept);
+ }
+
+ final String[] localVarContentTypes = {
+ };
+ final String localVarContentType = localVarApiClient.selectHeaderContentType(localVarContentTypes);
+ if (localVarContentType != null) {
+ localVarHeaderParams.put("Content-Type", localVarContentType);
+ }
+
+ String[] localVarAuthNames = new String[] { "api_key" };
+ return localVarApiClient.buildCall(basePath, localVarPath, "DELETE", localVarQueryParams, localVarCollectionQueryParams, localVarPostBody, localVarHeaderParams, localVarCookieParams, localVarFormParams, localVarAuthNames, _callback);
+ }
+
+ @SuppressWarnings("rawtypes")
+ private okhttp3.Call deleteCommentValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String contextUserId, @javax.annotation.Nullable Boolean isLive, final ApiCallback _callback) throws ApiException {
+ // verify the required parameter 'tenantId' is set
+ if (tenantId == null) {
+ throw new ApiException("Missing the required parameter 'tenantId' when calling deleteComment(Async)");
+ }
+
+ // verify the required parameter 'id' is set
+ if (id == null) {
+ throw new ApiException("Missing the required parameter 'id' when calling deleteComment(Async)");
+ }
+
+ return deleteCommentCall(tenantId, id, contextUserId, isLive, _callback);
+
+ }
+
+
+ private ApiResponse deleteCommentWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String contextUserId, @javax.annotation.Nullable Boolean isLive) throws ApiException {
+ okhttp3.Call localVarCall = deleteCommentValidateBeforeCall(tenantId, id, contextUserId, isLive, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ return localVarApiClient.execute(localVarCall, localVarReturnType);
+ }
+
+ private okhttp3.Call deleteCommentAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String contextUserId, @javax.annotation.Nullable Boolean isLive, final ApiCallback _callback) throws ApiException {
+
+ okhttp3.Call localVarCall = deleteCommentValidateBeforeCall(tenantId, id, contextUserId, isLive, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
+ localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
+ return localVarCall;
+ }
+
+ public class APIdeleteCommentRequest {
+ @javax.annotation.Nonnull
+ private final String tenantId;
+ @javax.annotation.Nonnull
+ private final String id;
+ @javax.annotation.Nullable
+ private String contextUserId;
+ @javax.annotation.Nullable
+ private Boolean isLive;
+
+ private APIdeleteCommentRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ this.tenantId = tenantId;
+ this.id = id;
+ }
+
+ /**
+ * Set contextUserId
+ * @param contextUserId (optional)
+ * @return APIdeleteCommentRequest
+ */
+ public APIdeleteCommentRequest contextUserId(@javax.annotation.Nullable String contextUserId) {
+ this.contextUserId = contextUserId;
+ return this;
+ }
+
+ /**
+ * Set isLive
+ * @param isLive (optional)
+ * @return APIdeleteCommentRequest
+ */
+ public APIdeleteCommentRequest isLive(@javax.annotation.Nullable Boolean isLive) {
+ this.isLive = isLive;
+ return this;
+ }
+
+ /**
+ * Build call for deleteComment
+ * @param _callback ApiCallback API callback
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
+ return deleteCommentCall(tenantId, id, contextUserId, isLive, _callback);
+ }
+
+ /**
+ * Execute deleteComment request
+ * @return DeleteCommentResult
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public DeleteCommentResult execute() throws ApiException {
+ ApiResponse localVarResp = deleteCommentWithHttpInfo(tenantId, id, contextUserId, isLive);
+ return localVarResp.getData();
+ }
+
+ /**
+ * Execute deleteComment request with HTTP info returned
+ * @return ApiResponse<DeleteCommentResult>
+ * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public ApiResponse executeWithHttpInfo() throws ApiException {
+ return deleteCommentWithHttpInfo(tenantId, id, contextUserId, isLive);
+ }
+
+ /**
+ * Execute deleteComment request (asynchronously)
+ * @param _callback The callback to be executed when the API call finishes
+ * @return The request call
+ * @throws ApiException If fail to process the API call, e.g. serializing the request body object
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
+ return deleteCommentAsync(tenantId, id, contextUserId, isLive, _callback);
+ }
+ }
+
+ /**
+ *
+ *
+ * @param tenantId (required)
+ * @param id (required)
+ * @return APIdeleteCommentRequest
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
+ | 200 | Ok | - |
+ | 0 | Error | - |
+
+ */
+ public APIdeleteCommentRequest deleteComment(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ return new APIdeleteCommentRequest(tenantId, id);
+ }
+ private okhttp3.Call deleteDomainConfigCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String domain, final ApiCallback _callback) throws ApiException {
+ String basePath = null;
+ // Operation Servers
+ String[] localBasePaths = new String[] { };
+
+ // Determine Base Path to Use
+ if (localCustomBaseUrl != null){
+ basePath = localCustomBaseUrl;
+ } else if ( localBasePaths.length > 0 ) {
+ basePath = localBasePaths[localHostIndex];
+ } else {
+ basePath = null;
+ }
+
+ Object localVarPostBody = null;
+
+ // create path and map variables
+ String localVarPath = "/api/v1/domain-configs/{domain}"
+ .replace("{" + "domain" + "}", localVarApiClient.escapeString(domain.toString()));
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -6322,7 +6862,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback)
public APIdeletePendingWebhookEventRequest deletePendingWebhookEvent(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
return new APIdeletePendingWebhookEventRequest(tenantId, id);
}
- private okhttp3.Call deleteQuestionConfigCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deletePollCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -6339,8 +6879,8 @@ private okhttp3.Call deleteQuestionConfigCall(@javax.annotation.Nonnull String t
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/api/v1/question-configs/{id}"
- .replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString()));
+ String localVarPath = "/api/v1/polls/{commentId}"
+ .replace("{" + "commentId" + "}", localVarApiClient.escapeString(commentId.toString()));
List localVarQueryParams = new ArrayList();
List localVarCollectionQueryParams = new ArrayList();
@@ -6372,49 +6912,49 @@ private okhttp3.Call deleteQuestionConfigCall(@javax.annotation.Nonnull String t
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteQuestionConfigValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deletePollValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tenantId' is set
if (tenantId == null) {
- throw new ApiException("Missing the required parameter 'tenantId' when calling deleteQuestionConfig(Async)");
+ throw new ApiException("Missing the required parameter 'tenantId' when calling deletePoll(Async)");
}
- // verify the required parameter 'id' is set
- if (id == null) {
- throw new ApiException("Missing the required parameter 'id' when calling deleteQuestionConfig(Async)");
+ // verify the required parameter 'commentId' is set
+ if (commentId == null) {
+ throw new ApiException("Missing the required parameter 'commentId' when calling deletePoll(Async)");
}
- return deleteQuestionConfigCall(tenantId, id, _callback);
+ return deletePollCall(tenantId, commentId, _callback);
}
- private ApiResponse deleteQuestionConfigWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) throws ApiException {
- okhttp3.Call localVarCall = deleteQuestionConfigValidateBeforeCall(tenantId, id, null);
+ private ApiResponse deletePollWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId) throws ApiException {
+ okhttp3.Call localVarCall = deletePollValidateBeforeCall(tenantId, commentId, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call deleteQuestionConfigAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deletePollAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = deleteQuestionConfigValidateBeforeCall(tenantId, id, _callback);
+ okhttp3.Call localVarCall = deletePollValidateBeforeCall(tenantId, commentId, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
- public class APIdeleteQuestionConfigRequest {
+ public class APIdeletePollRequest {
@javax.annotation.Nonnull
private final String tenantId;
@javax.annotation.Nonnull
- private final String id;
+ private final String commentId;
- private APIdeleteQuestionConfigRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ private APIdeletePollRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId) {
this.tenantId = tenantId;
- this.id = id;
+ this.commentId = commentId;
}
/**
- * Build call for deleteQuestionConfig
+ * Build call for deletePoll
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -6427,11 +6967,11 @@ private APIdeleteQuestionConfigRequest(@javax.annotation.Nonnull String tenantId
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return deleteQuestionConfigCall(tenantId, id, _callback);
+ return deletePollCall(tenantId, commentId, _callback);
}
/**
- * Execute deleteQuestionConfig request
+ * Execute deletePoll request
* @return APIEmptyResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -6443,12 +6983,12 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public APIEmptyResponse execute() throws ApiException {
- ApiResponse localVarResp = deleteQuestionConfigWithHttpInfo(tenantId, id);
+ ApiResponse localVarResp = deletePollWithHttpInfo(tenantId, commentId);
return localVarResp.getData();
}
/**
- * Execute deleteQuestionConfig request with HTTP info returned
+ * Execute deletePoll request with HTTP info returned
* @return ApiResponse<APIEmptyResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -6460,11 +7000,11 @@ public APIEmptyResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return deleteQuestionConfigWithHttpInfo(tenantId, id);
+ return deletePollWithHttpInfo(tenantId, commentId);
}
/**
- * Execute deleteQuestionConfig request (asynchronously)
+ * Execute deletePoll request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -6477,16 +7017,16 @@ public ApiResponse executeWithHttpInfo() throws ApiException {
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return deleteQuestionConfigAsync(tenantId, id, _callback);
+ return deletePollAsync(tenantId, commentId, _callback);
}
}
/**
*
- *
+ * Remove a poll from its comment, along with every vote cast on it. The comment itself is left alone.
* @param tenantId (required)
- * @param id (required)
- * @return APIdeleteQuestionConfigRequest
+ * @param commentId (required)
+ * @return APIdeletePollRequest
* @http.response.details
Response Details
@@ -6495,10 +7035,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback)
| 0 | Error | - |
*/
- public APIdeleteQuestionConfigRequest deleteQuestionConfig(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
- return new APIdeleteQuestionConfigRequest(tenantId, id);
+ public APIdeletePollRequest deletePoll(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String commentId) {
+ return new APIdeletePollRequest(tenantId, commentId);
}
- private okhttp3.Call deleteQuestionResultCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deletePollVoteCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -6515,7 +7055,7 @@ private okhttp3.Call deleteQuestionResultCall(@javax.annotation.Nonnull String t
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/api/v1/question-results/{id}"
+ String localVarPath = "/api/v1/poll-votes/{id}"
.replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString()));
List localVarQueryParams = new ArrayList();
@@ -6548,49 +7088,49 @@ private okhttp3.Call deleteQuestionResultCall(@javax.annotation.Nonnull String t
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteQuestionResultValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deletePollVoteValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tenantId' is set
if (tenantId == null) {
- throw new ApiException("Missing the required parameter 'tenantId' when calling deleteQuestionResult(Async)");
+ throw new ApiException("Missing the required parameter 'tenantId' when calling deletePollVote(Async)");
}
// verify the required parameter 'id' is set
if (id == null) {
- throw new ApiException("Missing the required parameter 'id' when calling deleteQuestionResult(Async)");
+ throw new ApiException("Missing the required parameter 'id' when calling deletePollVote(Async)");
}
- return deleteQuestionResultCall(tenantId, id, _callback);
+ return deletePollVoteCall(tenantId, id, _callback);
}
- private ApiResponse deleteQuestionResultWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) throws ApiException {
- okhttp3.Call localVarCall = deleteQuestionResultValidateBeforeCall(tenantId, id, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ private ApiResponse deletePollVoteWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) throws ApiException {
+ okhttp3.Call localVarCall = deletePollVoteValidateBeforeCall(tenantId, id, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call deleteQuestionResultAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deletePollVoteAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = deleteQuestionResultValidateBeforeCall(tenantId, id, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ okhttp3.Call localVarCall = deletePollVoteValidateBeforeCall(tenantId, id, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
- public class APIdeleteQuestionResultRequest {
+ public class APIdeletePollVoteRequest {
@javax.annotation.Nonnull
private final String tenantId;
@javax.annotation.Nonnull
private final String id;
- private APIdeleteQuestionResultRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ private APIdeletePollVoteRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
this.tenantId = tenantId;
this.id = id;
}
/**
- * Build call for deleteQuestionResult
+ * Build call for deletePollVote
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -6603,12 +7143,12 @@ private APIdeleteQuestionResultRequest(@javax.annotation.Nonnull String tenantId
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return deleteQuestionResultCall(tenantId, id, _callback);
+ return deletePollVoteCall(tenantId, id, _callback);
}
/**
- * Execute deleteQuestionResult request
- * @return APIEmptyResponse
+ * Execute deletePollVote request
+ * @return DeletePollVoteResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -6618,14 +7158,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
| 0 | Error | - |
*/
- public APIEmptyResponse execute() throws ApiException {
- ApiResponse localVarResp = deleteQuestionResultWithHttpInfo(tenantId, id);
+ public DeletePollVoteResponse execute() throws ApiException {
+ ApiResponse localVarResp = deletePollVoteWithHttpInfo(tenantId, id);
return localVarResp.getData();
}
/**
- * Execute deleteQuestionResult request with HTTP info returned
- * @return ApiResponse<APIEmptyResponse>
+ * Execute deletePollVote request with HTTP info returned
+ * @return ApiResponse<DeletePollVoteResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -6635,12 +7175,12 @@ public APIEmptyResponse execute() throws ApiException {
| 0 | Error | - |
*/
- public ApiResponse executeWithHttpInfo() throws ApiException {
- return deleteQuestionResultWithHttpInfo(tenantId, id);
+ public ApiResponse executeWithHttpInfo() throws ApiException {
+ return deletePollVoteWithHttpInfo(tenantId, id);
}
/**
- * Execute deleteQuestionResult request (asynchronously)
+ * Execute deletePollVote request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -6652,17 +7192,17 @@ public ApiResponse executeWithHttpInfo() throws ApiException {
| 0 | Error | - |
*/
- public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return deleteQuestionResultAsync(tenantId, id, _callback);
+ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
+ return deletePollVoteAsync(tenantId, id, _callback);
}
}
/**
*
- *
+ * Retract a vote. The option it was cast on gives its tally back.
* @param tenantId (required)
* @param id (required)
- * @return APIdeleteQuestionResultRequest
+ * @return APIdeletePollVoteRequest
* @http.response.details
Response Details
@@ -6671,10 +7211,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback)
| 0 | Error | - |
*/
- public APIdeleteQuestionResultRequest deleteQuestionResult(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
- return new APIdeleteQuestionResultRequest(tenantId, id);
+ public APIdeletePollVoteRequest deletePollVote(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ return new APIdeletePollVoteRequest(tenantId, id);
}
- private okhttp3.Call deleteSSOUserCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable Boolean deleteComments, @javax.annotation.Nullable String commentDeleteMode, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteQuestionConfigCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -6691,7 +7231,7 @@ private okhttp3.Call deleteSSOUserCall(@javax.annotation.Nonnull String tenantId
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/api/v1/sso-users/{id}"
+ String localVarPath = "/api/v1/question-configs/{id}"
.replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString()));
List localVarQueryParams = new ArrayList();
@@ -6704,14 +7244,6 @@ private okhttp3.Call deleteSSOUserCall(@javax.annotation.Nonnull String tenantId
localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
}
- if (deleteComments != null) {
- localVarQueryParams.addAll(localVarApiClient.parameterToPair("deleteComments", deleteComments));
- }
-
- if (commentDeleteMode != null) {
- localVarQueryParams.addAll(localVarApiClient.parameterToPair("commentDeleteMode", commentDeleteMode));
- }
-
final String[] localVarAccepts = {
"application/json"
};
@@ -6732,73 +7264,49 @@ private okhttp3.Call deleteSSOUserCall(@javax.annotation.Nonnull String tenantId
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteSSOUserValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable Boolean deleteComments, @javax.annotation.Nullable String commentDeleteMode, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteQuestionConfigValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tenantId' is set
if (tenantId == null) {
- throw new ApiException("Missing the required parameter 'tenantId' when calling deleteSSOUser(Async)");
+ throw new ApiException("Missing the required parameter 'tenantId' when calling deleteQuestionConfig(Async)");
}
// verify the required parameter 'id' is set
if (id == null) {
- throw new ApiException("Missing the required parameter 'id' when calling deleteSSOUser(Async)");
+ throw new ApiException("Missing the required parameter 'id' when calling deleteQuestionConfig(Async)");
}
- return deleteSSOUserCall(tenantId, id, deleteComments, commentDeleteMode, _callback);
+ return deleteQuestionConfigCall(tenantId, id, _callback);
}
- private ApiResponse deleteSSOUserWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable Boolean deleteComments, @javax.annotation.Nullable String commentDeleteMode) throws ApiException {
- okhttp3.Call localVarCall = deleteSSOUserValidateBeforeCall(tenantId, id, deleteComments, commentDeleteMode, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ private ApiResponse deleteQuestionConfigWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) throws ApiException {
+ okhttp3.Call localVarCall = deleteQuestionConfigValidateBeforeCall(tenantId, id, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call deleteSSOUserAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable Boolean deleteComments, @javax.annotation.Nullable String commentDeleteMode, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteQuestionConfigAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = deleteSSOUserValidateBeforeCall(tenantId, id, deleteComments, commentDeleteMode, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ okhttp3.Call localVarCall = deleteQuestionConfigValidateBeforeCall(tenantId, id, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
- public class APIdeleteSSOUserRequest {
+ public class APIdeleteQuestionConfigRequest {
@javax.annotation.Nonnull
private final String tenantId;
@javax.annotation.Nonnull
private final String id;
- @javax.annotation.Nullable
- private Boolean deleteComments;
- @javax.annotation.Nullable
- private String commentDeleteMode;
- private APIdeleteSSOUserRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ private APIdeleteQuestionConfigRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
this.tenantId = tenantId;
this.id = id;
}
/**
- * Set deleteComments
- * @param deleteComments (optional)
- * @return APIdeleteSSOUserRequest
- */
- public APIdeleteSSOUserRequest deleteComments(@javax.annotation.Nullable Boolean deleteComments) {
- this.deleteComments = deleteComments;
- return this;
- }
-
- /**
- * Set commentDeleteMode
- * @param commentDeleteMode (optional)
- * @return APIdeleteSSOUserRequest
- */
- public APIdeleteSSOUserRequest commentDeleteMode(@javax.annotation.Nullable String commentDeleteMode) {
- this.commentDeleteMode = commentDeleteMode;
- return this;
- }
-
- /**
- * Build call for deleteSSOUser
+ * Build call for deleteQuestionConfig
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -6807,45 +7315,48 @@ public APIdeleteSSOUserRequest commentDeleteMode(@javax.annotation.Nullable Stri
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
+ | 0 | Error | - |
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return deleteSSOUserCall(tenantId, id, deleteComments, commentDeleteMode, _callback);
+ return deleteQuestionConfigCall(tenantId, id, _callback);
}
/**
- * Execute deleteSSOUser request
- * @return DeleteSSOUserAPIResponse
+ * Execute deleteQuestionConfig request
+ * @return APIEmptyResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
+ | 0 | Error | - |
*/
- public DeleteSSOUserAPIResponse execute() throws ApiException {
- ApiResponse localVarResp = deleteSSOUserWithHttpInfo(tenantId, id, deleteComments, commentDeleteMode);
+ public APIEmptyResponse execute() throws ApiException {
+ ApiResponse localVarResp = deleteQuestionConfigWithHttpInfo(tenantId, id);
return localVarResp.getData();
}
/**
- * Execute deleteSSOUser request with HTTP info returned
- * @return ApiResponse<DeleteSSOUserAPIResponse>
+ * Execute deleteQuestionConfig request with HTTP info returned
+ * @return ApiResponse<APIEmptyResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
+ | 0 | Error | - |
*/
- public ApiResponse executeWithHttpInfo() throws ApiException {
- return deleteSSOUserWithHttpInfo(tenantId, id, deleteComments, commentDeleteMode);
+ public ApiResponse executeWithHttpInfo() throws ApiException {
+ return deleteQuestionConfigWithHttpInfo(tenantId, id);
}
/**
- * Execute deleteSSOUser request (asynchronously)
+ * Execute deleteQuestionConfig request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -6854,10 +7365,11 @@ public ApiResponse executeWithHttpInfo() throws ApiExc
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
+ | 0 | Error | - |
*/
- public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return deleteSSOUserAsync(tenantId, id, deleteComments, commentDeleteMode, _callback);
+ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
+ return deleteQuestionConfigAsync(tenantId, id, _callback);
}
}
@@ -6866,18 +7378,19 @@ public okhttp3.Call executeAsync(final ApiCallback _ca
*
* @param tenantId (required)
* @param id (required)
- * @return APIdeleteSSOUserRequest
+ * @return APIdeleteQuestionConfigRequest
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
+ | 0 | Error | - |
*/
- public APIdeleteSSOUserRequest deleteSSOUser(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
- return new APIdeleteSSOUserRequest(tenantId, id);
+ public APIdeleteQuestionConfigRequest deleteQuestionConfig(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ return new APIdeleteQuestionConfigRequest(tenantId, id);
}
- private okhttp3.Call deleteSubscriptionCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String userId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteQuestionResultCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -6894,7 +7407,7 @@ private okhttp3.Call deleteSubscriptionCall(@javax.annotation.Nonnull String ten
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/api/v1/subscriptions/{id}"
+ String localVarPath = "/api/v1/question-results/{id}"
.replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString()));
List localVarQueryParams = new ArrayList();
@@ -6907,10 +7420,6 @@ private okhttp3.Call deleteSubscriptionCall(@javax.annotation.Nonnull String ten
localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
}
- if (userId != null) {
- localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId));
- }
-
final String[] localVarAccepts = {
"application/json"
};
@@ -6931,61 +7440,49 @@ private okhttp3.Call deleteSubscriptionCall(@javax.annotation.Nonnull String ten
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteSubscriptionValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String userId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteQuestionResultValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tenantId' is set
if (tenantId == null) {
- throw new ApiException("Missing the required parameter 'tenantId' when calling deleteSubscription(Async)");
+ throw new ApiException("Missing the required parameter 'tenantId' when calling deleteQuestionResult(Async)");
}
// verify the required parameter 'id' is set
if (id == null) {
- throw new ApiException("Missing the required parameter 'id' when calling deleteSubscription(Async)");
+ throw new ApiException("Missing the required parameter 'id' when calling deleteQuestionResult(Async)");
}
- return deleteSubscriptionCall(tenantId, id, userId, _callback);
+ return deleteQuestionResultCall(tenantId, id, _callback);
}
- private ApiResponse deleteSubscriptionWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String userId) throws ApiException {
- okhttp3.Call localVarCall = deleteSubscriptionValidateBeforeCall(tenantId, id, userId, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ private ApiResponse deleteQuestionResultWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) throws ApiException {
+ okhttp3.Call localVarCall = deleteQuestionResultValidateBeforeCall(tenantId, id, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call deleteSubscriptionAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String userId, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteQuestionResultAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = deleteSubscriptionValidateBeforeCall(tenantId, id, userId, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ okhttp3.Call localVarCall = deleteQuestionResultValidateBeforeCall(tenantId, id, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
- public class APIdeleteSubscriptionRequest {
+ public class APIdeleteQuestionResultRequest {
@javax.annotation.Nonnull
private final String tenantId;
@javax.annotation.Nonnull
private final String id;
- @javax.annotation.Nullable
- private String userId;
- private APIdeleteSubscriptionRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ private APIdeleteQuestionResultRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
this.tenantId = tenantId;
this.id = id;
}
/**
- * Set userId
- * @param userId (optional)
- * @return APIdeleteSubscriptionRequest
- */
- public APIdeleteSubscriptionRequest userId(@javax.annotation.Nullable String userId) {
- this.userId = userId;
- return this;
- }
-
- /**
- * Build call for deleteSubscription
+ * Build call for deleteQuestionResult
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -6994,45 +7491,48 @@ public APIdeleteSubscriptionRequest userId(@javax.annotation.Nullable String use
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
+ | 0 | Error | - |
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return deleteSubscriptionCall(tenantId, id, userId, _callback);
+ return deleteQuestionResultCall(tenantId, id, _callback);
}
/**
- * Execute deleteSubscription request
- * @return DeleteSubscriptionAPIResponse
+ * Execute deleteQuestionResult request
+ * @return APIEmptyResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
+ | 0 | Error | - |
*/
- public DeleteSubscriptionAPIResponse execute() throws ApiException {
- ApiResponse localVarResp = deleteSubscriptionWithHttpInfo(tenantId, id, userId);
+ public APIEmptyResponse execute() throws ApiException {
+ ApiResponse localVarResp = deleteQuestionResultWithHttpInfo(tenantId, id);
return localVarResp.getData();
}
/**
- * Execute deleteSubscription request with HTTP info returned
- * @return ApiResponse<DeleteSubscriptionAPIResponse>
+ * Execute deleteQuestionResult request with HTTP info returned
+ * @return ApiResponse<APIEmptyResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
+ | 0 | Error | - |
*/
- public ApiResponse executeWithHttpInfo() throws ApiException {
- return deleteSubscriptionWithHttpInfo(tenantId, id, userId);
+ public ApiResponse executeWithHttpInfo() throws ApiException {
+ return deleteQuestionResultWithHttpInfo(tenantId, id);
}
/**
- * Execute deleteSubscription request (asynchronously)
+ * Execute deleteQuestionResult request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -7041,10 +7541,11 @@ public ApiResponse executeWithHttpInfo() throws A
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
+ | 0 | Error | - |
*/
- public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return deleteSubscriptionAsync(tenantId, id, userId, _callback);
+ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
+ return deleteQuestionResultAsync(tenantId, id, _callback);
}
}
@@ -7053,18 +7554,19 @@ public okhttp3.Call executeAsync(final ApiCallback
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
+ | 0 | Error | - |
*/
- public APIdeleteSubscriptionRequest deleteSubscription(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
- return new APIdeleteSubscriptionRequest(tenantId, id);
+ public APIdeleteQuestionResultRequest deleteQuestionResult(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ return new APIdeleteQuestionResultRequest(tenantId, id);
}
- private okhttp3.Call deleteTenantCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String sure, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteSSOUserCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable Boolean deleteComments, @javax.annotation.Nullable String commentDeleteMode, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -7081,7 +7583,7 @@ private okhttp3.Call deleteTenantCall(@javax.annotation.Nonnull String tenantId,
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/api/v1/tenants/{id}"
+ String localVarPath = "/api/v1/sso-users/{id}"
.replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString()));
List localVarQueryParams = new ArrayList();
@@ -7094,8 +7596,12 @@ private okhttp3.Call deleteTenantCall(@javax.annotation.Nonnull String tenantId,
localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
}
- if (sure != null) {
- localVarQueryParams.addAll(localVarApiClient.parameterToPair("sure", sure));
+ if (deleteComments != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("deleteComments", deleteComments));
+ }
+
+ if (commentDeleteMode != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("commentDeleteMode", commentDeleteMode));
}
final String[] localVarAccepts = {
@@ -7118,111 +7624,120 @@ private okhttp3.Call deleteTenantCall(@javax.annotation.Nonnull String tenantId,
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteTenantValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String sure, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteSSOUserValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable Boolean deleteComments, @javax.annotation.Nullable String commentDeleteMode, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tenantId' is set
if (tenantId == null) {
- throw new ApiException("Missing the required parameter 'tenantId' when calling deleteTenant(Async)");
+ throw new ApiException("Missing the required parameter 'tenantId' when calling deleteSSOUser(Async)");
}
// verify the required parameter 'id' is set
if (id == null) {
- throw new ApiException("Missing the required parameter 'id' when calling deleteTenant(Async)");
+ throw new ApiException("Missing the required parameter 'id' when calling deleteSSOUser(Async)");
}
- return deleteTenantCall(tenantId, id, sure, _callback);
+ return deleteSSOUserCall(tenantId, id, deleteComments, commentDeleteMode, _callback);
}
- private ApiResponse deleteTenantWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String sure) throws ApiException {
- okhttp3.Call localVarCall = deleteTenantValidateBeforeCall(tenantId, id, sure, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ private ApiResponse deleteSSOUserWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable Boolean deleteComments, @javax.annotation.Nullable String commentDeleteMode) throws ApiException {
+ okhttp3.Call localVarCall = deleteSSOUserValidateBeforeCall(tenantId, id, deleteComments, commentDeleteMode, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call deleteTenantAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String sure, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteSSOUserAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable Boolean deleteComments, @javax.annotation.Nullable String commentDeleteMode, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = deleteTenantValidateBeforeCall(tenantId, id, sure, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ okhttp3.Call localVarCall = deleteSSOUserValidateBeforeCall(tenantId, id, deleteComments, commentDeleteMode, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
- public class APIdeleteTenantRequest {
+ public class APIdeleteSSOUserRequest {
@javax.annotation.Nonnull
private final String tenantId;
@javax.annotation.Nonnull
private final String id;
@javax.annotation.Nullable
- private String sure;
+ private Boolean deleteComments;
+ @javax.annotation.Nullable
+ private String commentDeleteMode;
- private APIdeleteTenantRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ private APIdeleteSSOUserRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
this.tenantId = tenantId;
this.id = id;
}
/**
- * Set sure
- * @param sure (optional)
- * @return APIdeleteTenantRequest
+ * Set deleteComments
+ * @param deleteComments (optional)
+ * @return APIdeleteSSOUserRequest
*/
- public APIdeleteTenantRequest sure(@javax.annotation.Nullable String sure) {
- this.sure = sure;
+ public APIdeleteSSOUserRequest deleteComments(@javax.annotation.Nullable Boolean deleteComments) {
+ this.deleteComments = deleteComments;
return this;
}
/**
- * Build call for deleteTenant
- * @param _callback ApiCallback API callback
- * @return Call to execute
- * @throws ApiException If fail to serialize the request body object
- * @http.response.details
-
- Response Details
- | Status Code | Description | Response Headers |
+ * Set commentDeleteMode
+ * @param commentDeleteMode (optional)
+ * @return APIdeleteSSOUserRequest
+ */
+ public APIdeleteSSOUserRequest commentDeleteMode(@javax.annotation.Nullable String commentDeleteMode) {
+ this.commentDeleteMode = commentDeleteMode;
+ return this;
+ }
+
+ /**
+ * Build call for deleteSSOUser
+ * @param _callback ApiCallback API callback
+ * @return Call to execute
+ * @throws ApiException If fail to serialize the request body object
+ * @http.response.details
+
+ Response Details
+ | Status Code | Description | Response Headers |
| 200 | Ok | - |
- | 0 | Error | - |
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return deleteTenantCall(tenantId, id, sure, _callback);
+ return deleteSSOUserCall(tenantId, id, deleteComments, commentDeleteMode, _callback);
}
/**
- * Execute deleteTenant request
- * @return APIEmptyResponse
+ * Execute deleteSSOUser request
+ * @return DeleteSSOUserAPIResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
- | 0 | Error | - |
*/
- public APIEmptyResponse execute() throws ApiException {
- ApiResponse localVarResp = deleteTenantWithHttpInfo(tenantId, id, sure);
+ public DeleteSSOUserAPIResponse execute() throws ApiException {
+ ApiResponse localVarResp = deleteSSOUserWithHttpInfo(tenantId, id, deleteComments, commentDeleteMode);
return localVarResp.getData();
}
/**
- * Execute deleteTenant request with HTTP info returned
- * @return ApiResponse<APIEmptyResponse>
+ * Execute deleteSSOUser request with HTTP info returned
+ * @return ApiResponse<DeleteSSOUserAPIResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
- | 0 | Error | - |
*/
- public ApiResponse executeWithHttpInfo() throws ApiException {
- return deleteTenantWithHttpInfo(tenantId, id, sure);
+ public ApiResponse executeWithHttpInfo() throws ApiException {
+ return deleteSSOUserWithHttpInfo(tenantId, id, deleteComments, commentDeleteMode);
}
/**
- * Execute deleteTenant request (asynchronously)
+ * Execute deleteSSOUser request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -7231,11 +7746,10 @@ public ApiResponse executeWithHttpInfo() throws ApiException {
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
- | 0 | Error | - |
*/
- public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return deleteTenantAsync(tenantId, id, sure, _callback);
+ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
+ return deleteSSOUserAsync(tenantId, id, deleteComments, commentDeleteMode, _callback);
}
}
@@ -7244,19 +7758,18 @@ public okhttp3.Call executeAsync(final ApiCallback _callback)
*
* @param tenantId (required)
* @param id (required)
- * @return APIdeleteTenantRequest
+ * @return APIdeleteSSOUserRequest
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
- | 0 | Error | - |
*/
- public APIdeleteTenantRequest deleteTenant(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
- return new APIdeleteTenantRequest(tenantId, id);
+ public APIdeleteSSOUserRequest deleteSSOUser(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ return new APIdeleteSSOUserRequest(tenantId, id);
}
- private okhttp3.Call deleteTenantPackageCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteSubscriptionCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String userId, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -7273,7 +7786,7 @@ private okhttp3.Call deleteTenantPackageCall(@javax.annotation.Nonnull String te
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/api/v1/tenant-packages/{id}"
+ String localVarPath = "/api/v1/subscriptions/{id}"
.replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString()));
List localVarQueryParams = new ArrayList();
@@ -7286,6 +7799,10 @@ private okhttp3.Call deleteTenantPackageCall(@javax.annotation.Nonnull String te
localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
}
+ if (userId != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("userId", userId));
+ }
+
final String[] localVarAccepts = {
"application/json"
};
@@ -7306,49 +7823,61 @@ private okhttp3.Call deleteTenantPackageCall(@javax.annotation.Nonnull String te
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteTenantPackageValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteSubscriptionValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String userId, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tenantId' is set
if (tenantId == null) {
- throw new ApiException("Missing the required parameter 'tenantId' when calling deleteTenantPackage(Async)");
+ throw new ApiException("Missing the required parameter 'tenantId' when calling deleteSubscription(Async)");
}
// verify the required parameter 'id' is set
if (id == null) {
- throw new ApiException("Missing the required parameter 'id' when calling deleteTenantPackage(Async)");
+ throw new ApiException("Missing the required parameter 'id' when calling deleteSubscription(Async)");
}
- return deleteTenantPackageCall(tenantId, id, _callback);
+ return deleteSubscriptionCall(tenantId, id, userId, _callback);
}
- private ApiResponse deleteTenantPackageWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) throws ApiException {
- okhttp3.Call localVarCall = deleteTenantPackageValidateBeforeCall(tenantId, id, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ private ApiResponse deleteSubscriptionWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String userId) throws ApiException {
+ okhttp3.Call localVarCall = deleteSubscriptionValidateBeforeCall(tenantId, id, userId, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call deleteTenantPackageAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteSubscriptionAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String userId, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = deleteTenantPackageValidateBeforeCall(tenantId, id, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ okhttp3.Call localVarCall = deleteSubscriptionValidateBeforeCall(tenantId, id, userId, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
- public class APIdeleteTenantPackageRequest {
+ public class APIdeleteSubscriptionRequest {
@javax.annotation.Nonnull
private final String tenantId;
@javax.annotation.Nonnull
private final String id;
+ @javax.annotation.Nullable
+ private String userId;
- private APIdeleteTenantPackageRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ private APIdeleteSubscriptionRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
this.tenantId = tenantId;
this.id = id;
}
/**
- * Build call for deleteTenantPackage
+ * Set userId
+ * @param userId (optional)
+ * @return APIdeleteSubscriptionRequest
+ */
+ public APIdeleteSubscriptionRequest userId(@javax.annotation.Nullable String userId) {
+ this.userId = userId;
+ return this;
+ }
+
+ /**
+ * Build call for deleteSubscription
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -7357,48 +7886,45 @@ private APIdeleteTenantPackageRequest(@javax.annotation.Nonnull String tenantId,
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
- | 0 | Error | - |
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return deleteTenantPackageCall(tenantId, id, _callback);
+ return deleteSubscriptionCall(tenantId, id, userId, _callback);
}
/**
- * Execute deleteTenantPackage request
- * @return APIEmptyResponse
+ * Execute deleteSubscription request
+ * @return DeleteSubscriptionAPIResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
- | 0 | Error | - |
*/
- public APIEmptyResponse execute() throws ApiException {
- ApiResponse localVarResp = deleteTenantPackageWithHttpInfo(tenantId, id);
+ public DeleteSubscriptionAPIResponse execute() throws ApiException {
+ ApiResponse localVarResp = deleteSubscriptionWithHttpInfo(tenantId, id, userId);
return localVarResp.getData();
}
/**
- * Execute deleteTenantPackage request with HTTP info returned
- * @return ApiResponse<APIEmptyResponse>
+ * Execute deleteSubscription request with HTTP info returned
+ * @return ApiResponse<DeleteSubscriptionAPIResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
- | 0 | Error | - |
*/
- public ApiResponse executeWithHttpInfo() throws ApiException {
- return deleteTenantPackageWithHttpInfo(tenantId, id);
+ public ApiResponse executeWithHttpInfo() throws ApiException {
+ return deleteSubscriptionWithHttpInfo(tenantId, id, userId);
}
/**
- * Execute deleteTenantPackage request (asynchronously)
+ * Execute deleteSubscription request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -7407,11 +7933,10 @@ public ApiResponse executeWithHttpInfo() throws ApiException {
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
- | 0 | Error | - |
*/
- public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return deleteTenantPackageAsync(tenantId, id, _callback);
+ public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
+ return deleteSubscriptionAsync(tenantId, id, userId, _callback);
}
}
@@ -7420,19 +7945,18 @@ public okhttp3.Call executeAsync(final ApiCallback _callback)
*
* @param tenantId (required)
* @param id (required)
- * @return APIdeleteTenantPackageRequest
+ * @return APIdeleteSubscriptionRequest
* @http.response.details
Response Details
| Status Code | Description | Response Headers |
| 200 | Ok | - |
- | 0 | Error | - |
*/
- public APIdeleteTenantPackageRequest deleteTenantPackage(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
- return new APIdeleteTenantPackageRequest(tenantId, id);
+ public APIdeleteSubscriptionRequest deleteSubscription(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ return new APIdeleteSubscriptionRequest(tenantId, id);
}
- private okhttp3.Call deleteTenantUserCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String deleteComments, @javax.annotation.Nullable String commentDeleteMode, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteTenantCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String sure, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -7449,7 +7973,7 @@ private okhttp3.Call deleteTenantUserCall(@javax.annotation.Nonnull String tenan
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/api/v1/tenant-users/{id}"
+ String localVarPath = "/api/v1/tenants/{id}"
.replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString()));
List localVarQueryParams = new ArrayList();
@@ -7462,12 +7986,8 @@ private okhttp3.Call deleteTenantUserCall(@javax.annotation.Nonnull String tenan
localVarQueryParams.addAll(localVarApiClient.parameterToPair("tenantId", tenantId));
}
- if (deleteComments != null) {
- localVarQueryParams.addAll(localVarApiClient.parameterToPair("deleteComments", deleteComments));
- }
-
- if (commentDeleteMode != null) {
- localVarQueryParams.addAll(localVarApiClient.parameterToPair("commentDeleteMode", commentDeleteMode));
+ if (sure != null) {
+ localVarQueryParams.addAll(localVarApiClient.parameterToPair("sure", sure));
}
final String[] localVarAccepts = {
@@ -7490,73 +8010,61 @@ private okhttp3.Call deleteTenantUserCall(@javax.annotation.Nonnull String tenan
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteTenantUserValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String deleteComments, @javax.annotation.Nullable String commentDeleteMode, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteTenantValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String sure, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tenantId' is set
if (tenantId == null) {
- throw new ApiException("Missing the required parameter 'tenantId' when calling deleteTenantUser(Async)");
+ throw new ApiException("Missing the required parameter 'tenantId' when calling deleteTenant(Async)");
}
// verify the required parameter 'id' is set
if (id == null) {
- throw new ApiException("Missing the required parameter 'id' when calling deleteTenantUser(Async)");
+ throw new ApiException("Missing the required parameter 'id' when calling deleteTenant(Async)");
}
- return deleteTenantUserCall(tenantId, id, deleteComments, commentDeleteMode, _callback);
+ return deleteTenantCall(tenantId, id, sure, _callback);
}
- private ApiResponse deleteTenantUserWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String deleteComments, @javax.annotation.Nullable String commentDeleteMode) throws ApiException {
- okhttp3.Call localVarCall = deleteTenantUserValidateBeforeCall(tenantId, id, deleteComments, commentDeleteMode, null);
+ private ApiResponse deleteTenantWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String sure) throws ApiException {
+ okhttp3.Call localVarCall = deleteTenantValidateBeforeCall(tenantId, id, sure, null);
Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call deleteTenantUserAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String deleteComments, @javax.annotation.Nullable String commentDeleteMode, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteTenantAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, @javax.annotation.Nullable String sure, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = deleteTenantUserValidateBeforeCall(tenantId, id, deleteComments, commentDeleteMode, _callback);
+ okhttp3.Call localVarCall = deleteTenantValidateBeforeCall(tenantId, id, sure, _callback);
Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
- public class APIdeleteTenantUserRequest {
+ public class APIdeleteTenantRequest {
@javax.annotation.Nonnull
private final String tenantId;
@javax.annotation.Nonnull
private final String id;
@javax.annotation.Nullable
- private String deleteComments;
- @javax.annotation.Nullable
- private String commentDeleteMode;
+ private String sure;
- private APIdeleteTenantUserRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ private APIdeleteTenantRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
this.tenantId = tenantId;
this.id = id;
}
/**
- * Set deleteComments
- * @param deleteComments (optional)
- * @return APIdeleteTenantUserRequest
- */
- public APIdeleteTenantUserRequest deleteComments(@javax.annotation.Nullable String deleteComments) {
- this.deleteComments = deleteComments;
- return this;
- }
-
- /**
- * Set commentDeleteMode
- * @param commentDeleteMode (optional)
- * @return APIdeleteTenantUserRequest
+ * Set sure
+ * @param sure (optional)
+ * @return APIdeleteTenantRequest
*/
- public APIdeleteTenantUserRequest commentDeleteMode(@javax.annotation.Nullable String commentDeleteMode) {
- this.commentDeleteMode = commentDeleteMode;
+ public APIdeleteTenantRequest sure(@javax.annotation.Nullable String sure) {
+ this.sure = sure;
return this;
}
/**
- * Build call for deleteTenantUser
+ * Build call for deleteTenant
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -7569,11 +8077,11 @@ public APIdeleteTenantUserRequest commentDeleteMode(@javax.annotation.Nullable S
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return deleteTenantUserCall(tenantId, id, deleteComments, commentDeleteMode, _callback);
+ return deleteTenantCall(tenantId, id, sure, _callback);
}
/**
- * Execute deleteTenantUser request
+ * Execute deleteTenant request
* @return APIEmptyResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -7585,12 +8093,12 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
*/
public APIEmptyResponse execute() throws ApiException {
- ApiResponse localVarResp = deleteTenantUserWithHttpInfo(tenantId, id, deleteComments, commentDeleteMode);
+ ApiResponse localVarResp = deleteTenantWithHttpInfo(tenantId, id, sure);
return localVarResp.getData();
}
/**
- * Execute deleteTenantUser request with HTTP info returned
+ * Execute deleteTenant request with HTTP info returned
* @return ApiResponse<APIEmptyResponse>
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -7602,11 +8110,11 @@ public APIEmptyResponse execute() throws ApiException {
*/
public ApiResponse executeWithHttpInfo() throws ApiException {
- return deleteTenantUserWithHttpInfo(tenantId, id, deleteComments, commentDeleteMode);
+ return deleteTenantWithHttpInfo(tenantId, id, sure);
}
/**
- * Execute deleteTenantUser request (asynchronously)
+ * Execute deleteTenant request (asynchronously)
* @param _callback The callback to be executed when the API call finishes
* @return The request call
* @throws ApiException If fail to process the API call, e.g. serializing the request body object
@@ -7619,7 +8127,7 @@ public ApiResponse executeWithHttpInfo() throws ApiException {
*/
public okhttp3.Call executeAsync(final ApiCallback _callback) throws ApiException {
- return deleteTenantUserAsync(tenantId, id, deleteComments, commentDeleteMode, _callback);
+ return deleteTenantAsync(tenantId, id, sure, _callback);
}
}
@@ -7628,7 +8136,7 @@ public okhttp3.Call executeAsync(final ApiCallback _callback)
*
* @param tenantId (required)
* @param id (required)
- * @return APIdeleteTenantUserRequest
+ * @return APIdeleteTenantRequest
* @http.response.details
Response Details
@@ -7637,10 +8145,10 @@ public okhttp3.Call executeAsync(final ApiCallback _callback)
| 0 | Error | - |
*/
- public APIdeleteTenantUserRequest deleteTenantUser(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
- return new APIdeleteTenantUserRequest(tenantId, id);
+ public APIdeleteTenantRequest deleteTenant(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ return new APIdeleteTenantRequest(tenantId, id);
}
- private okhttp3.Call deleteUserBadgeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteTenantPackageCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
String basePath = null;
// Operation Servers
String[] localBasePaths = new String[] { };
@@ -7657,7 +8165,7 @@ private okhttp3.Call deleteUserBadgeCall(@javax.annotation.Nonnull String tenant
Object localVarPostBody = null;
// create path and map variables
- String localVarPath = "/api/v1/user-badges/{id}"
+ String localVarPath = "/api/v1/tenant-packages/{id}"
.replace("{" + "id" + "}", localVarApiClient.escapeString(id.toString()));
List localVarQueryParams = new ArrayList();
@@ -7690,49 +8198,49 @@ private okhttp3.Call deleteUserBadgeCall(@javax.annotation.Nonnull String tenant
}
@SuppressWarnings("rawtypes")
- private okhttp3.Call deleteUserBadgeValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteTenantPackageValidateBeforeCall(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
// verify the required parameter 'tenantId' is set
if (tenantId == null) {
- throw new ApiException("Missing the required parameter 'tenantId' when calling deleteUserBadge(Async)");
+ throw new ApiException("Missing the required parameter 'tenantId' when calling deleteTenantPackage(Async)");
}
// verify the required parameter 'id' is set
if (id == null) {
- throw new ApiException("Missing the required parameter 'id' when calling deleteUserBadge(Async)");
+ throw new ApiException("Missing the required parameter 'id' when calling deleteTenantPackage(Async)");
}
- return deleteUserBadgeCall(tenantId, id, _callback);
+ return deleteTenantPackageCall(tenantId, id, _callback);
}
- private ApiResponse deleteUserBadgeWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) throws ApiException {
- okhttp3.Call localVarCall = deleteUserBadgeValidateBeforeCall(tenantId, id, null);
- Type localVarReturnType = new TypeToken(){}.getType();
+ private ApiResponse deleteTenantPackageWithHttpInfo(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) throws ApiException {
+ okhttp3.Call localVarCall = deleteTenantPackageValidateBeforeCall(tenantId, id, null);
+ Type localVarReturnType = new TypeToken(){}.getType();
return localVarApiClient.execute(localVarCall, localVarReturnType);
}
- private okhttp3.Call deleteUserBadgeAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
+ private okhttp3.Call deleteTenantPackageAsync(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id, final ApiCallback _callback) throws ApiException {
- okhttp3.Call localVarCall = deleteUserBadgeValidateBeforeCall(tenantId, id, _callback);
- Type localVarReturnType = new TypeToken(){}.getType();
+ okhttp3.Call localVarCall = deleteTenantPackageValidateBeforeCall(tenantId, id, _callback);
+ Type localVarReturnType = new TypeToken(){}.getType();
localVarApiClient.executeAsync(localVarCall, localVarReturnType, _callback);
return localVarCall;
}
- public class APIdeleteUserBadgeRequest {
+ public class APIdeleteTenantPackageRequest {
@javax.annotation.Nonnull
private final String tenantId;
@javax.annotation.Nonnull
private final String id;
- private APIdeleteUserBadgeRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
+ private APIdeleteTenantPackageRequest(@javax.annotation.Nonnull String tenantId, @javax.annotation.Nonnull String id) {
this.tenantId = tenantId;
this.id = id;
}
/**
- * Build call for deleteUserBadge
+ * Build call for deleteTenantPackage
* @param _callback ApiCallback API callback
* @return Call to execute
* @throws ApiException If fail to serialize the request body object
@@ -7745,12 +8253,12 @@ private APIdeleteUserBadgeRequest(@javax.annotation.Nonnull String tenantId, @ja
*/
public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {
- return deleteUserBadgeCall(tenantId, id, _callback);
+ return deleteTenantPackageCall(tenantId, id, _callback);
}
/**
- * Execute deleteUserBadge request
- * @return APIEmptySuccessResponse
+ * Execute deleteTenantPackage request
+ * @return APIEmptyResponse
* @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body
* @http.response.details
@@ -7760,14 +8268,14 @@ public okhttp3.Call buildCall(final ApiCallback _callback) throws ApiException {