Skip to content

Commit 3f2a36c

Browse files
committed
Adding aggregation apis
1 parent 2911edc commit 3f2a36c

50 files changed

Lines changed: 11269 additions & 82 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.openapi-generator/FILES

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ docs/Model/APIStatus.md
1313
docs/Model/AddDomainConfig200Response.md
1414
docs/Model/AddDomainConfig200ResponseAnyOf.md
1515
docs/Model/AddDomainConfigParams.md
16+
docs/Model/AggregateQuestionResults200Response.md
17+
docs/Model/AggregateQuestionResultsResponse.md
18+
docs/Model/AggregateTimeBucket.md
1619
docs/Model/AggregationItem.md
1720
docs/Model/AggregationOpType.md
1821
docs/Model/AggregationOperation.md
@@ -24,9 +27,15 @@ docs/Model/AggregationValue.md
2427
docs/Model/BlockFromCommentParams.md
2528
docs/Model/BlockFromCommentPublic200Response.md
2629
docs/Model/BlockSuccess.md
30+
docs/Model/BulkAggregateQuestionItem.md
31+
docs/Model/BulkAggregateQuestionResults200Response.md
32+
docs/Model/BulkAggregateQuestionResultsRequest.md
33+
docs/Model/BulkAggregateQuestionResultsResponse.md
2734
docs/Model/ChangeCommentPinStatusResponse.md
2835
docs/Model/CheckBlockedCommentsResponse.md
2936
docs/Model/CheckedCommentsForBlocked200Response.md
37+
docs/Model/CombineCommentsWithQuestionResults200Response.md
38+
docs/Model/CombineQuestionResultsWithCommentsResponse.md
3039
docs/Model/CommentData.md
3140
docs/Model/CommentHTMLRenderingMode.md
3241
docs/Model/CommentQuestionResultsRenderingType.md
@@ -55,6 +64,8 @@ docs/Model/FeedPost.md
5564
docs/Model/FeedPostLink.md
5665
docs/Model/FeedPostMediaItem.md
5766
docs/Model/FeedPostMediaItemAsset.md
67+
docs/Model/FindCommentsByRangeItem.md
68+
docs/Model/FindCommentsByRangeResponse.md
5869
docs/Model/FlagComment200Response.md
5970
docs/Model/FlagCommentPublic200Response.md
6071
docs/Model/FlagCommentResponse.md
@@ -91,6 +102,7 @@ docs/Model/LiveEvent.md
91102
docs/Model/LiveEventExtraInfo.md
92103
docs/Model/LiveEventType.md
93104
docs/Model/LockComment200Response.md
105+
docs/Model/MetaItem.md
94106
docs/Model/NotificationAndCount.md
95107
docs/Model/NotificationType.md
96108
docs/Model/PatchDomainConfigParams.md
@@ -113,7 +125,10 @@ docs/Model/PublicBlockFromCommentParams.md
113125
docs/Model/PublicComment.md
114126
docs/Model/QueryPredicate.md
115127
docs/Model/QueryPredicateValue.md
128+
docs/Model/QuestionDatum.md
116129
docs/Model/QuestionRenderingType.md
130+
docs/Model/QuestionResult.md
131+
docs/Model/QuestionResultAggregationOverall.md
117132
docs/Model/QuestionSubQuestionVisibility.md
118133
docs/Model/QuestionWhenSave.md
119134
docs/Model/RecordStringBeforeStringOrNullAfterStringOrNullValue.md
@@ -161,6 +176,9 @@ lib/Model/APIStatus.php
161176
lib/Model/AddDomainConfig200Response.php
162177
lib/Model/AddDomainConfig200ResponseAnyOf.php
163178
lib/Model/AddDomainConfigParams.php
179+
lib/Model/AggregateQuestionResults200Response.php
180+
lib/Model/AggregateQuestionResultsResponse.php
181+
lib/Model/AggregateTimeBucket.php
164182
lib/Model/AggregationItem.php
165183
lib/Model/AggregationOpType.php
166184
lib/Model/AggregationOperation.php
@@ -172,9 +190,15 @@ lib/Model/AggregationValue.php
172190
lib/Model/BlockFromCommentParams.php
173191
lib/Model/BlockFromCommentPublic200Response.php
174192
lib/Model/BlockSuccess.php
193+
lib/Model/BulkAggregateQuestionItem.php
194+
lib/Model/BulkAggregateQuestionResults200Response.php
195+
lib/Model/BulkAggregateQuestionResultsRequest.php
196+
lib/Model/BulkAggregateQuestionResultsResponse.php
175197
lib/Model/ChangeCommentPinStatusResponse.php
176198
lib/Model/CheckBlockedCommentsResponse.php
177199
lib/Model/CheckedCommentsForBlocked200Response.php
200+
lib/Model/CombineCommentsWithQuestionResults200Response.php
201+
lib/Model/CombineQuestionResultsWithCommentsResponse.php
178202
lib/Model/CommentData.php
179203
lib/Model/CommentHTMLRenderingMode.php
180204
lib/Model/CommentQuestionResultsRenderingType.php
@@ -203,6 +227,8 @@ lib/Model/FeedPost.php
203227
lib/Model/FeedPostLink.php
204228
lib/Model/FeedPostMediaItem.php
205229
lib/Model/FeedPostMediaItemAsset.php
230+
lib/Model/FindCommentsByRangeItem.php
231+
lib/Model/FindCommentsByRangeResponse.php
206232
lib/Model/FlagComment200Response.php
207233
lib/Model/FlagCommentPublic200Response.php
208234
lib/Model/FlagCommentResponse.php
@@ -239,6 +265,7 @@ lib/Model/LiveEvent.php
239265
lib/Model/LiveEventExtraInfo.php
240266
lib/Model/LiveEventType.php
241267
lib/Model/LockComment200Response.php
268+
lib/Model/MetaItem.php
242269
lib/Model/ModelInterface.php
243270
lib/Model/NotificationAndCount.php
244271
lib/Model/NotificationType.php
@@ -262,7 +289,10 @@ lib/Model/PublicBlockFromCommentParams.php
262289
lib/Model/PublicComment.php
263290
lib/Model/QueryPredicate.php
264291
lib/Model/QueryPredicateValue.php
292+
lib/Model/QuestionDatum.php
265293
lib/Model/QuestionRenderingType.php
294+
lib/Model/QuestionResult.php
295+
lib/Model/QuestionResultAggregationOverall.php
266296
lib/Model/QuestionSubQuestionVisibility.php
267297
lib/Model/QuestionWhenSave.php
268298
lib/Model/RecordStringBeforeStringOrNullAfterStringOrNullValue.php
@@ -308,6 +338,9 @@ test/Model/APIStatusTest.php
308338
test/Model/AddDomainConfig200ResponseAnyOfTest.php
309339
test/Model/AddDomainConfig200ResponseTest.php
310340
test/Model/AddDomainConfigParamsTest.php
341+
test/Model/AggregateQuestionResults200ResponseTest.php
342+
test/Model/AggregateQuestionResultsResponseTest.php
343+
test/Model/AggregateTimeBucketTest.php
311344
test/Model/AggregationItemTest.php
312345
test/Model/AggregationOpTypeTest.php
313346
test/Model/AggregationOperationTest.php
@@ -319,9 +352,15 @@ test/Model/AggregationValueTest.php
319352
test/Model/BlockFromCommentParamsTest.php
320353
test/Model/BlockFromCommentPublic200ResponseTest.php
321354
test/Model/BlockSuccessTest.php
355+
test/Model/BulkAggregateQuestionItemTest.php
356+
test/Model/BulkAggregateQuestionResults200ResponseTest.php
357+
test/Model/BulkAggregateQuestionResultsRequestTest.php
358+
test/Model/BulkAggregateQuestionResultsResponseTest.php
322359
test/Model/ChangeCommentPinStatusResponseTest.php
323360
test/Model/CheckBlockedCommentsResponseTest.php
324361
test/Model/CheckedCommentsForBlocked200ResponseTest.php
362+
test/Model/CombineCommentsWithQuestionResults200ResponseTest.php
363+
test/Model/CombineQuestionResultsWithCommentsResponseTest.php
325364
test/Model/CommentDataTest.php
326365
test/Model/CommentHTMLRenderingModeTest.php
327366
test/Model/CommentQuestionResultsRenderingTypeTest.php
@@ -350,6 +389,8 @@ test/Model/FeedPostLinkTest.php
350389
test/Model/FeedPostMediaItemAssetTest.php
351390
test/Model/FeedPostMediaItemTest.php
352391
test/Model/FeedPostTest.php
392+
test/Model/FindCommentsByRangeItemTest.php
393+
test/Model/FindCommentsByRangeResponseTest.php
353394
test/Model/FlagComment200ResponseTest.php
354395
test/Model/FlagCommentPublic200ResponseTest.php
355396
test/Model/FlagCommentResponseTest.php
@@ -386,6 +427,7 @@ test/Model/LiveEventExtraInfoTest.php
386427
test/Model/LiveEventTest.php
387428
test/Model/LiveEventTypeTest.php
388429
test/Model/LockComment200ResponseTest.php
430+
test/Model/MetaItemTest.php
389431
test/Model/NotificationAndCountTest.php
390432
test/Model/NotificationTypeTest.php
391433
test/Model/PatchDomainConfigParamsTest.php
@@ -408,7 +450,10 @@ test/Model/PublicBlockFromCommentParamsTest.php
408450
test/Model/PublicCommentTest.php
409451
test/Model/QueryPredicateTest.php
410452
test/Model/QueryPredicateValueTest.php
453+
test/Model/QuestionDatumTest.php
411454
test/Model/QuestionRenderingTypeTest.php
455+
test/Model/QuestionResultAggregationOverallTest.php
456+
test/Model/QuestionResultTest.php
412457
test/Model/QuestionSubQuestionVisibilityTest.php
413458
test/Model/QuestionWhenSaveTest.php
414459
test/Model/RecordStringBeforeStringOrNullAfterStringOrNullValueTest.php

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,10 @@ Class | Method | HTTP request | Description
8181
------------ | ------------- | ------------- | -------------
8282
*DefaultApi* | [**addDomainConfig**](docs/Api/DefaultApi.md#adddomainconfig) | **POST** /api/v1/domain-configs |
8383
*DefaultApi* | [**aggregate**](docs/Api/DefaultApi.md#aggregate) | **POST** /api/v1/aggregate |
84+
*DefaultApi* | [**aggregateQuestionResults**](docs/Api/DefaultApi.md#aggregatequestionresults) | **GET** /api/v1/question-results-aggregation |
8485
*DefaultApi* | [**blockUserFromComment**](docs/Api/DefaultApi.md#blockuserfromcomment) | **POST** /api/v1/comments/{id}/block |
86+
*DefaultApi* | [**bulkAggregateQuestionResults**](docs/Api/DefaultApi.md#bulkaggregatequestionresults) | **POST** /api/v1/question-results-aggregation/bulk |
87+
*DefaultApi* | [**combineCommentsWithQuestionResults**](docs/Api/DefaultApi.md#combinecommentswithquestionresults) | **GET** /api/v1/question-results-aggregation/combine/comments |
8588
*DefaultApi* | [**createFeedPost**](docs/Api/DefaultApi.md#createfeedpost) | **POST** /api/v1/feed-posts |
8689
*DefaultApi* | [**deleteComment**](docs/Api/DefaultApi.md#deletecomment) | **DELETE** /api/v1/comments/{id} |
8790
*DefaultApi* | [**deleteDomainConfig**](docs/Api/DefaultApi.md#deletedomainconfig) | **DELETE** /api/v1/domain-configs/{domain} |
@@ -137,6 +140,9 @@ Class | Method | HTTP request | Description
137140
- [AddDomainConfig200Response](docs/Model/AddDomainConfig200Response.md)
138141
- [AddDomainConfig200ResponseAnyOf](docs/Model/AddDomainConfig200ResponseAnyOf.md)
139142
- [AddDomainConfigParams](docs/Model/AddDomainConfigParams.md)
143+
- [AggregateQuestionResults200Response](docs/Model/AggregateQuestionResults200Response.md)
144+
- [AggregateQuestionResultsResponse](docs/Model/AggregateQuestionResultsResponse.md)
145+
- [AggregateTimeBucket](docs/Model/AggregateTimeBucket.md)
140146
- [AggregationItem](docs/Model/AggregationItem.md)
141147
- [AggregationOpType](docs/Model/AggregationOpType.md)
142148
- [AggregationOperation](docs/Model/AggregationOperation.md)
@@ -148,9 +154,15 @@ Class | Method | HTTP request | Description
148154
- [BlockFromCommentParams](docs/Model/BlockFromCommentParams.md)
149155
- [BlockFromCommentPublic200Response](docs/Model/BlockFromCommentPublic200Response.md)
150156
- [BlockSuccess](docs/Model/BlockSuccess.md)
157+
- [BulkAggregateQuestionItem](docs/Model/BulkAggregateQuestionItem.md)
158+
- [BulkAggregateQuestionResults200Response](docs/Model/BulkAggregateQuestionResults200Response.md)
159+
- [BulkAggregateQuestionResultsRequest](docs/Model/BulkAggregateQuestionResultsRequest.md)
160+
- [BulkAggregateQuestionResultsResponse](docs/Model/BulkAggregateQuestionResultsResponse.md)
151161
- [ChangeCommentPinStatusResponse](docs/Model/ChangeCommentPinStatusResponse.md)
152162
- [CheckBlockedCommentsResponse](docs/Model/CheckBlockedCommentsResponse.md)
153163
- [CheckedCommentsForBlocked200Response](docs/Model/CheckedCommentsForBlocked200Response.md)
164+
- [CombineCommentsWithQuestionResults200Response](docs/Model/CombineCommentsWithQuestionResults200Response.md)
165+
- [CombineQuestionResultsWithCommentsResponse](docs/Model/CombineQuestionResultsWithCommentsResponse.md)
154166
- [CommentData](docs/Model/CommentData.md)
155167
- [CommentHTMLRenderingMode](docs/Model/CommentHTMLRenderingMode.md)
156168
- [CommentQuestionResultsRenderingType](docs/Model/CommentQuestionResultsRenderingType.md)
@@ -179,6 +191,8 @@ Class | Method | HTTP request | Description
179191
- [FeedPostLink](docs/Model/FeedPostLink.md)
180192
- [FeedPostMediaItem](docs/Model/FeedPostMediaItem.md)
181193
- [FeedPostMediaItemAsset](docs/Model/FeedPostMediaItemAsset.md)
194+
- [FindCommentsByRangeItem](docs/Model/FindCommentsByRangeItem.md)
195+
- [FindCommentsByRangeResponse](docs/Model/FindCommentsByRangeResponse.md)
182196
- [FlagComment200Response](docs/Model/FlagComment200Response.md)
183197
- [FlagCommentPublic200Response](docs/Model/FlagCommentPublic200Response.md)
184198
- [FlagCommentResponse](docs/Model/FlagCommentResponse.md)
@@ -215,6 +229,7 @@ Class | Method | HTTP request | Description
215229
- [LiveEventExtraInfo](docs/Model/LiveEventExtraInfo.md)
216230
- [LiveEventType](docs/Model/LiveEventType.md)
217231
- [LockComment200Response](docs/Model/LockComment200Response.md)
232+
- [MetaItem](docs/Model/MetaItem.md)
218233
- [NotificationAndCount](docs/Model/NotificationAndCount.md)
219234
- [NotificationType](docs/Model/NotificationType.md)
220235
- [PatchDomainConfigParams](docs/Model/PatchDomainConfigParams.md)
@@ -237,7 +252,10 @@ Class | Method | HTTP request | Description
237252
- [PublicComment](docs/Model/PublicComment.md)
238253
- [QueryPredicate](docs/Model/QueryPredicate.md)
239254
- [QueryPredicateValue](docs/Model/QueryPredicateValue.md)
255+
- [QuestionDatum](docs/Model/QuestionDatum.md)
240256
- [QuestionRenderingType](docs/Model/QuestionRenderingType.md)
257+
- [QuestionResult](docs/Model/QuestionResult.md)
258+
- [QuestionResultAggregationOverall](docs/Model/QuestionResultAggregationOverall.md)
241259
- [QuestionSubQuestionVisibility](docs/Model/QuestionSubQuestionVisibility.md)
242260
- [QuestionWhenSave](docs/Model/QuestionWhenSave.md)
243261
- [RecordStringBeforeStringOrNullAfterStringOrNullValue](docs/Model/RecordStringBeforeStringOrNullAfterStringOrNullValue.md)

0 commit comments

Comments
 (0)