
Језик 🇷🇸 Српски
Документација
Почетак
API референца
Коришћење
Агрегација
Дневници ревизије
Блокирање коментара
Провера блокираних коментара
Коментари
Конфигурације домена
Шаблони имејла
Дневник догађаја
Објаве фида
Означавање коментара
Хештегови
Модератори
Број обавештења
Обавештења
Странице
Нерешени Webhook догађаји
Конфигурације питања
Резултати питања
Агрегација резултата питања
SSO корисници
Претплате
Дневна употреба тенанта
Пакети тенанта
Корисници тенанта
Тенанти
Отпремање слике
Напредак значке корисника
Значке корисника
Обавештења корисника
Статуси присуства корисника
Претрага корисника
Корисници
Гласови
FastComments C++ SDK
Ово је званични C++ SDK за FastComments.
Званични C++ SDK за FastComments API
Репозиторијум
Захтеви 
- C++17 или новији
- CMake 3.14 или новији
- OpenSSL
- C++ REST SDK (cpprestsdk)
- Boost
- Google Test (аутоматски се преузима за тестирање)
Инсталација 
Инсталирање зависности
sudo apt install libcpprest-dev libboost-all-dev
Изградња из извора
mkdir build
cd build
cmake ..
make
Инсталирање
sudo make install
Садржај библиотеке
Ова библиотека садржи генерисан API клијент и SSO алатке које олakшавају рад са API-јем.
Јавни и заштићени API-ји
За API клијента постоје две класе, DefaultAPI и PublicAPI. DefaultAPI садржи методе које захтевају ваш API кључ, а PublicAPI садржи API позиве
који се могу извршити директно из прегледача/мобилног уређаја/итд. без аутентификације.
Брзи почетак 
Коришћење аутентификованих API-ја (DefaultAPI)
Важно:
- Морате поставити базну URL адресу (cpp-restsdk generator не чита га из OpenAPI spec)
- Морате поставити ваш API кључ на ApiClient пре слања аутентификованих захтева. Ако то не урадите, захтеви ће се неуспешно завршити са 401 грешком.
#include <iostream>
#include "FastCommentsClient/api/DefaultApi.h"
#include "FastCommentsClient/ApiClient.h"
#include "FastCommentsClient/ApiConfiguration.h"
int main() {
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
// ОБАВЕЗНО: Поставите базну URL адресу (изаберите ваш регион)
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com")); // US
// ИЛИ: config->setBaseUrl(utility::conversions::to_string_t("https://eu.fastcomments.com")); // EU
// ОБАВЕЗНО: Поставите ваш API кључ
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_API_KEY_HERE"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::DefaultApi api(apiClient);
// Сада правите аутентификоване API позиве
return 0;
}
Коришћење јавних API-ја (PublicAPI)
Јавни endpoints не захтевају аутентификацију:
#include <iostream>
#include "FastCommentsClient/api/PublicApi.h"
#include "FastCommentsClient/ApiClient.h"
#include "FastCommentsClient/ApiConfiguration.h"
int main() {
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
// ОБАВЕЗНО: Поставите базну URL адресу
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::PublicApi publicApi(apiClient);
// Правите јавне API позиве
return 0;
}
Чести проблеми
- "URI must contain a hostname" error: Уверите се да позовете
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"))пре него што креирате ApiClient. The cpp-restsdk generator doesn't automatically read the server URL from the OpenAPI spec. - 401 "missing-api-key" error: Уверите се да позовете
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_KEY"))пре него што креирате DefaultAPI инстанцу. - Wrong API class: Користите
DefaultAPIза серверске аутентификоване захтеве,PublicAPIза клијентске/јавне захтеве.
Слање API позива: синхрони и асинхрони 
Све API методе у овом SDK-у враћају pplx::task<std::shared_ptr<ResponseType>> из C++ REST SDK-а. Ово вам даје флексибилност у начину на који обрађујете одговоре API-ја.
Синхрони позиви помоћу .get()
Користите .get() да бисте блокирали позивачки нит све док захтев не заврши и добили резултат синхроно:
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"));
config->setApiKey(utility::conversions::to_string_t("api_key"),
utility::conversions::to_string_t("YOUR_API_KEY"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::DefaultApi api(apiClient);
// Позовите .get() да бисте блокирали и добили резултат синхроно
auto response = api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
boost::none, // page
boost::none, // limit
boost::none, // skip
boost::none, // asTree
boost::none, // skipChildren
boost::none, // limitChildren
boost::none, // maxTreeDepth
utility::conversions::to_string_t("your-url-id"), // urlId
boost::none, // userId
boost::none, // anonUserId
boost::none, // contextUserId
boost::none, // hashTag
boost::none, // parentId
boost::none // direction
).get(); // Блокира док HTTP захтев не буде завршен
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
Асинхрони позиви помоћу .then()
Користите .then() за не-блокирајуће асинхроно извршавање са повратним позивима (callbacks):
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"));
config->setApiKey(utility::conversions::to_string_t("api_key"),
utility::conversions::to_string_t("YOUR_API_KEY"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::DefaultApi api(apiClient);
// Користите .then() за асинхроно извршавање засновано на повратним позивима
api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
boost::none, boost::none, boost::none, boost::none, boost::none,
boost::none, boost::none,
utility::conversions::to_string_t("your-url-id"),
boost::none, boost::none, boost::none, boost::none, boost::none, boost::none
).then([](std::shared_ptr<GetComments_200_response> response) {
// Ово се извршава асинхроно када захтев буде завршен
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
});
// Извршавање се наставља одмах без блокирања
std::cout << "Request sent, continuing..." << std::endl;
Избор између синхроног и асинхроног
Избор зависи од вашег окружења за извршавање и архитектуре апликације:
.get() (Синхроно, блокирајуће)
- Блокира позивачки нит док HTTP захтев не буде завршен
- Једноставнији ток кода, лакше за разумевање
- Погодно за посвећене радничке нити, пакетну обраду или алате командне линије
- Није погодно за петље догађаја, GUI нити или једнонитне сервере
.then() (Асинхроно, не-блокирајуће)
- Враћа се одмах, повратни позив се извршава када захтев буде завршен
- Не блокира позивачки нит
- Потребно за архитектуре засноване на догађајима, GUI апликације или једнонитне петље догађаја
- Омогућава ланчање више операција
- Сложенији ток контроле
Тестни скуп SDK-а користи искључиво .get(), али то је прикладно за тестно окружење где је блокирање прихватљиво.
Напомене 
Идентификатори емитовања
Видећете да требa да пошаљете broadcastId у неким API позивима. Када примите догађаје, добићете овај ID назад, па ћете знати да игноришете догађај ако планирате да оптимистички примените промене на клијенту (што ћете вероватно желети, јер пружа најбоље искуство). Овде проследите UUID. ID би требало да буде довољно јединствен да се не појави два пута у току једне сесије прегледача.
SSO (Једнократно пријављивање)
За примере SSO-а, погледајте у наставку.
Коришћење SSO 
Jednostavan SSO
#include <fastcomments/sso/fastcomments_sso.hpp>
#include <iostream>
using namespace fastcomments::sso;
int main() {
SimpleSSOUserData user("user-123", "user@example.com", "https://example.com/avatar.jpg");
FastCommentsSSO sso = FastCommentsSSO::newSimple(user);
std::string token = sso.createToken();
std::cout << "SSO Token: " << token << std::endl;
return 0;
}
Siguran SSO
#include <fastcomments/sso/fastcomments_sso.hpp>
#include <iostream>
using namespace fastcomments::sso;
int main() {
SecureSSOUserData user("user-123", "user@example.com", "johndoe", "https://example.com/avatar.jpg");
std::string apiKey = "your-api-key";
FastCommentsSSO sso = FastCommentsSSO::newSecure(apiKey, user);
std::string token = sso.createToken();
std::cout << "Secure SSO Token: " << token << std::endl;
return 0;
}
Документација за FastComments 
Документација за API крајње тачке
Све URI адресу су релативне у односу на https://fastcomments.com
| Класа | Метод | HTTP захтев | Опис |
|---|---|---|---|
| DefaultApi | addDomainConfig | POST /api/v1/domain-configs | |
| DefaultApi | addHashTag | POST /api/v1/hash-tags | |
| DefaultApi | addHashTagsBulk | POST /api/v1/hash-tags/bulk | |
| DefaultApi | addPage | POST /api/v1/pages | |
| DefaultApi | addSSOUser | POST /api/v1/sso-users | |
| DefaultApi | aggregate | POST /api/v1/aggregate | Агрегира документе груписањем (ако је groupBy задат) и применом више операција. Подржане су различите операције (нпр. sum, countDistinct, avg, итд). |
| DefaultApi | aggregateQuestionResults | GET /api/v1/question-results-aggregation | |
| DefaultApi | blockUserFromComment | POST /api/v1/comments/{id}/block | |
| DefaultApi | bulkAggregateQuestionResults | POST /api/v1/question-results-aggregation/bulk | |
| DefaultApi | combineCommentsWithQuestionResults | GET /api/v1/question-results-aggregation/combine/comments | |
| DefaultApi | createEmailTemplate | POST /api/v1/email-templates | |
| DefaultApi | createFeedPost | POST /api/v1/feed-posts | |
| DefaultApi | createModerator | POST /api/v1/moderators | |
| DefaultApi | createQuestionConfig | POST /api/v1/question-configs | |
| DefaultApi | createQuestionResult | POST /api/v1/question-results | |
| DefaultApi | createSubscription | POST /api/v1/subscriptions | |
| DefaultApi | createTenant | POST /api/v1/tenants | |
| DefaultApi | createTenantPackage | POST /api/v1/tenant-packages | |
| DefaultApi | createTenantUser | POST /api/v1/tenant-users | |
| DefaultApi | createUserBadge | POST /api/v1/user-badges | |
| DefaultApi | createVote | POST /api/v1/votes | |
| DefaultApi | deleteComment | DELETE /api/v1/comments/{id} | |
| DefaultApi | deleteDomainConfig | DELETE /api/v1/domain-configs/{domain} | |
| DefaultApi | deleteEmailTemplate | DELETE /api/v1/email-templates/{id} | |
| DefaultApi | deleteEmailTemplateRenderError | DELETE /api/v1/email-templates/{id}/render-errors/{errorId} | |
| DefaultApi | deleteHashTag | DELETE /api/v1/hash-tags/{tag} | |
| DefaultApi | deleteModerator | DELETE /api/v1/moderators/{id} | |
| DefaultApi | deleteNotificationCount | DELETE /api/v1/notification-count/{id} | |
| DefaultApi | deletePage | DELETE /api/v1/pages/{id} | |
| DefaultApi | deletePendingWebhookEvent | DELETE /api/v1/pending-webhook-events/{id} | |
| DefaultApi | deleteQuestionConfig | DELETE /api/v1/question-configs/{id} | |
| DefaultApi | deleteQuestionResult | DELETE /api/v1/question-results/{id} | |
| DefaultApi | deleteSSOUser | DELETE /api/v1/sso-users/{id} | |
| DefaultApi | deleteSubscription | DELETE /api/v1/subscriptions/{id} | |
| DefaultApi | deleteTenant | DELETE /api/v1/tenants/{id} | |
| DefaultApi | deleteTenantPackage | DELETE /api/v1/tenant-packages/{id} | |
| DefaultApi | deleteTenantUser | DELETE /api/v1/tenant-users/{id} | |
| DefaultApi | deleteUserBadge | DELETE /api/v1/user-badges/{id} | |
| DefaultApi | deleteVote | DELETE /api/v1/votes/{id} | |
| DefaultApi | flagComment | POST /api/v1/comments/{id}/flag | |
| DefaultApi | getAuditLogs | GET /api/v1/audit-logs | |
| DefaultApi | getCachedNotificationCount | GET /api/v1/notification-count/{id} | |
| DefaultApi | getComment | GET /api/v1/comments/{id} | |
| DefaultApi | getComments | GET /api/v1/comments | |
| DefaultApi | getDomainConfig | GET /api/v1/domain-configs/{domain} | |
| DefaultApi | getDomainConfigs | GET /api/v1/domain-configs | |
| DefaultApi | getEmailTemplate | GET /api/v1/email-templates/{id} | |
| DefaultApi | getEmailTemplateDefinitions | GET /api/v1/email-templates/definitions | |
| DefaultApi | getEmailTemplateRenderErrors | GET /api/v1/email-templates/{id}/render-errors | |
| DefaultApi | getEmailTemplates | GET /api/v1/email-templates | |
| DefaultApi | getFeedPosts | GET /api/v1/feed-posts | обавезно tenantId afterId |
| DefaultApi | getHashTags | GET /api/v1/hash-tags | |
| DefaultApi | getModerator | GET /api/v1/moderators/{id} | |
| DefaultApi | getModerators | GET /api/v1/moderators | |
| DefaultApi | getNotificationCount | GET /api/v1/notifications/count | |
| DefaultApi | getNotifications | GET /api/v1/notifications | |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPages | GET /api/v1/pages | |
| DefaultApi | getPendingWebhookEventCount | GET /api/v1/pending-webhook-events/count | |
| DefaultApi | getPendingWebhookEvents | GET /api/v1/pending-webhook-events | |
| DefaultApi | getQuestionConfig | GET /api/v1/question-configs/{id} | |
| DefaultApi | getQuestionConfigs | GET /api/v1/question-configs | |
| DefaultApi | getQuestionResult | GET /api/v1/question-results/{id} | |
| DefaultApi | getQuestionResults | GET /api/v1/question-results | |
| DefaultApi | getSSOUserByEmail | GET /api/v1/sso-users/by-email/{email} | |
| DefaultApi | getSSOUserById | GET /api/v1/sso-users/by-id/{id} | |
| DefaultApi | getSSOUsers | GET /api/v1/sso-users | |
| DefaultApi | getSubscriptions | GET /api/v1/subscriptions | |
| DefaultApi | getTenant | GET /api/v1/tenants/{id} | |
| DefaultApi | getTenantDailyUsages | GET /api/v1/tenant-daily-usage | |
| DefaultApi | getTenantPackage | GET /api/v1/tenant-packages/{id} | |
| DefaultApi | getTenantPackages | GET /api/v1/tenant-packages | |
| DefaultApi | getTenantUser | GET /api/v1/tenant-users/{id} | |
| DefaultApi | getTenantUsers | GET /api/v1/tenant-users | |
| DefaultApi | getTenants | GET /api/v1/tenants | |
| DefaultApi | getUser | GET /api/v1/users/{id} | |
| DefaultApi | getUserBadge | GET /api/v1/user-badges/{id} | |
| DefaultApi | getUserBadgeProgressById | GET /api/v1/user-badge-progress/{id} | |
| DefaultApi | getUserBadgeProgressByUserId | GET /api/v1/user-badge-progress/user/{userId} | |
| DefaultApi | getUserBadgeProgressList | GET /api/v1/user-badge-progress | |
| DefaultApi | getUserBadges | GET /api/v1/user-badges | |
| DefaultApi | getVotes | GET /api/v1/votes | |
| DefaultApi | getVotesForUser | GET /api/v1/votes/for-user | |
| DefaultApi | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | patchHashTag | PATCH /api/v1/hash-tags/{tag} | |
| DefaultApi | patchPage | PATCH /api/v1/pages/{id} | |
| DefaultApi | patchSSOUser | PATCH /api/v1/sso-users/{id} | |
| DefaultApi | putDomainConfig | PUT /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | putSSOUser | PUT /api/v1/sso-users/{id} | |
| DefaultApi | renderEmailTemplate | POST /api/v1/email-templates/render | |
| DefaultApi | replaceTenantPackage | PUT /api/v1/tenant-packages/{id} | |
| DefaultApi | replaceTenantUser | PUT /api/v1/tenant-users/{id} | |
| DefaultApi | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| DefaultApi | sendInvite | POST /api/v1/moderators/{id}/send-invite | |
| DefaultApi | sendLoginLink | POST /api/v1/tenant-users/{id}/send-login-link | |
| DefaultApi | unBlockUserFromComment | POST /api/v1/comments/{id}/un-block | |
| DefaultApi | unFlagComment | POST /api/v1/comments/{id}/un-flag | |
| DefaultApi | updateComment | PATCH /api/v1/comments/{id} | |
| DefaultApi | updateEmailTemplate | PATCH /api/v1/email-templates/{id} | |
| DefaultApi | updateFeedPost | PATCH /api/v1/feed-posts/{id} | |
| DefaultApi | updateModerator | PATCH /api/v1/moderators/{id} | |
| DefaultApi | updateNotification | PATCH /api/v1/notifications/{id} | |
| DefaultApi | updateQuestionConfig | PATCH /api/v1/question-configs/{id} | |
| DefaultApi | updateQuestionResult | PATCH /api/v1/question-results/{id} | |
| DefaultApi | updateTenant | PATCH /api/v1/tenants/{id} | |
| DefaultApi | updateTenantPackage | PATCH /api/v1/tenant-packages/{id} | |
| DefaultApi | updateTenantUser | PATCH /api/v1/tenant-users/{id} | |
| DefaultApi | updateUserBadge | PUT /api/v1/user-badges/{id} | |
| PublicApi | blockFromCommentPublic | POST /block-from-comment/{commentId} | |
| PublicApi | checkedCommentsForBlocked | GET /check-blocked-comments | |
| PublicApi | createCommentPublic | POST /comments/{tenantId} | |
| PublicApi | createFeedPostPublic | POST /feed-posts/{tenantId} | |
| PublicApi | deleteCommentPublic | DELETE /comments/{tenantId}/{commentId} | |
| PublicApi | deleteCommentVote | DELETE /comments/{tenantId}/{commentId}/vote/{voteId} | |
| PublicApi | deleteFeedPostPublic | DELETE /feed-posts/{tenantId}/{postId} | |
| PublicApi | flagCommentPublic | POST /flag-comment/{commentId} | |
| PublicApi | getCommentText | GET /comments/{tenantId}/{commentId}/text | |
| PublicApi | getCommentVoteUserNames | GET /comments/{tenantId}/{commentId}/votes | |
| PublicApi | getCommentsPublic | GET /comments/{tenantId} | обавезно tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | обавезно tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | обавезно tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | обавезно tenantId urlId userIdWS |
| PublicApi | getUserNotificationCount | GET /user-notifications/get-count | |
| PublicApi | getUserNotifications | GET /user-notifications | |
| PublicApi | getUserPresenceStatuses | GET /user-presence-status | |
| PublicApi | getUserReactsPublic | GET /feed-posts/{tenantId}/user-reacts | |
| PublicApi | lockComment | POST /comments/{tenantId}/{commentId}/lock | |
| PublicApi | pinComment | POST /comments/{tenantId}/{commentId}/pin | |
| PublicApi | reactFeedPostPublic | POST /feed-posts/{tenantId}/react/{postId} | |
| PublicApi | resetUserNotificationCount | POST /user-notifications/reset-count | |
| PublicApi | resetUserNotifications | POST /user-notifications/reset | |
| PublicApi | searchUsers | GET /user-search/{tenantId} | |
| PublicApi | setCommentText | POST /comments/{tenantId}/{commentId}/update-text | |
| PublicApi | unBlockCommentPublic | DELETE /block-from-comment/{commentId} | |
| PublicApi | unLockComment | POST /comments/{tenantId}/{commentId}/unlock | |
| PublicApi | unPinComment | POST /comments/{tenantId}/{commentId}/unpin | |
| PublicApi | updateFeedPostPublic | PUT /feed-posts/{tenantId}/{postId} | |
| PublicApi | updateUserNotificationCommentSubscriptionStatus | POST /user-notifications/{notificationId}/mark-opted/{optedInOrOut} | Активирајте или деактивирајте обавештења за одређени коментар. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Активирајте или деактивирајте обавештења за страницу. Када су корисници претплаћени на страницу, обавештења се креирају за нове коренске коментаре, као и |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Отпремите и промените величину слике |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Документација за Моделе
- APIAuditLog
- APIComment
- APICommentBase
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIPage
- APISSOUser
- APIStatus
- APITenant
- APITenantDailyUsage
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfig_200_response
- AddDomainConfig_200_response_anyOf
- AddHashTag_200_response
- AddHashTagsBulk_200_response
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AggregateQuestionResultsResponse
- AggregateQuestionResults_200_response
- AggregateTimeBucket
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- BillingInfo
- BlockFromCommentParams
- BlockFromCommentPublic_200_response
- BlockSuccess
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkAggregateQuestionResults_200_response
- BulkCreateHashTagsBody
- BulkCreateHashTagsBody_tags_inner
- BulkCreateHashTagsResponse
- ChangeCommentPinStatusResponse
- CheckBlockedCommentsResponse
- CheckedCommentsForBlocked_200_response
- CombineCommentsWithQuestionResults_200_response
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentLogData
- CommentLogEntry
- CommentLogType
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CreateAPIPageData
- CreateAPISSOUserData
- CreateAPIUserSubscriptionData
- CreateCommentParams
- CreateCommentPublic_200_response
- CreateEmailTemplateBody
- CreateEmailTemplateResponse
- CreateEmailTemplate_200_response
- CreateFeedPostParams
- CreateFeedPostPublic_200_response
- CreateFeedPostResponse
- CreateFeedPost_200_response
- CreateFeedPostsResponse
- CreateHashTagBody
- CreateHashTagResponse
- CreateModeratorBody
- CreateModeratorResponse
- CreateModerator_200_response
- CreateQuestionConfigBody
- CreateQuestionConfigResponse
- CreateQuestionConfig_200_response
- CreateQuestionResultBody
- CreateQuestionResultResponse
- CreateQuestionResult_200_response
- CreateSubscriptionAPIResponse
- CreateTenantBody
- CreateTenantPackageBody
- CreateTenantPackageResponse
- CreateTenantPackage_200_response
- CreateTenantResponse
- CreateTenantUserBody
- CreateTenantUserResponse
- CreateTenantUser_200_response
- CreateTenant_200_response
- CreateUserBadgeParams
- CreateUserBadge_200_response
- CustomConfigParameters
- CustomEmailTemplate
- DeleteCommentAction
- DeleteCommentPublic_200_response
- DeleteCommentResult
- DeleteCommentVote_200_response
- DeleteComment_200_response
- DeleteDomainConfig_200_response
- DeleteFeedPostPublic_200_response
- DeleteFeedPostPublic_200_response_anyOf
- DeleteHashTag_request
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- DeletedCommentResultComment
- DigestEmailFrequency
- EmailTemplateDefinition
- EmailTemplateRenderErrorResponse
- EventLogEntry
- FComment
- FComment_meta
- FeedPost
- FeedPostLink
- FeedPostMediaItem
- FeedPostMediaItemAsset
- FeedPostStats
- FeedPostsStatsResponse
- FindCommentsByRangeItem
- FindCommentsByRangeResponse
- FlagCommentPublic_200_response
- FlagCommentResponse
- FlagComment_200_response
- GetAuditLogsResponse
- GetAuditLogs_200_response
- GetCachedNotificationCountResponse
- GetCachedNotificationCount_200_response
- GetCommentText_200_response
- GetCommentVoteUserNamesSuccessResponse
- GetCommentVoteUserNames_200_response
- GetComment_200_response
- GetCommentsPublic_200_response
- GetCommentsResponseWithPresence_PublicComment_
- GetCommentsResponse_PublicComment_
- GetComments_200_response
- GetDomainConfig_200_response
- GetDomainConfigs_200_response
- GetDomainConfigs_200_response_anyOf
- GetDomainConfigs_200_response_anyOf_1
- GetEmailTemplateDefinitionsResponse
- GetEmailTemplateDefinitions_200_response
- GetEmailTemplateRenderErrorsResponse
- GetEmailTemplateRenderErrors_200_response
- GetEmailTemplateResponse
- GetEmailTemplate_200_response
- GetEmailTemplatesResponse
- GetEmailTemplates_200_response
- GetEventLogResponse
- GetEventLog_200_response
- GetFeedPostsPublic_200_response
- GetFeedPostsResponse
- GetFeedPostsStats_200_response
- GetFeedPosts_200_response
- GetHashTagsResponse
- GetHashTags_200_response
- GetModeratorResponse
- GetModerator_200_response
- GetModeratorsResponse
- GetModerators_200_response
- GetMyNotificationsResponse
- GetNotificationCountResponse
- GetNotificationCount_200_response
- GetNotificationsResponse
- GetNotifications_200_response
- GetPageByURLIdAPIResponse
- GetPagesAPIResponse
- GetPendingWebhookEventCountResponse
- GetPendingWebhookEventCount_200_response
- GetPendingWebhookEventsResponse
- GetPendingWebhookEvents_200_response
- GetPublicFeedPostsResponse
- GetQuestionConfigResponse
- GetQuestionConfig_200_response
- GetQuestionConfigsResponse
- GetQuestionConfigs_200_response
- GetQuestionResultResponse
- GetQuestionResult_200_response
- GetQuestionResultsResponse
- GetQuestionResults_200_response
- GetSSOUserByEmailAPIResponse
- GetSSOUserByIdAPIResponse
- GetSSOUsers_200_response
- GetSubscriptionsAPIResponse
- GetTenantDailyUsagesResponse
- GetTenantDailyUsages_200_response
- GetTenantPackageResponse
- GetTenantPackage_200_response
- GetTenantPackagesResponse
- GetTenantPackages_200_response
- GetTenantResponse
- GetTenantUserResponse
- GetTenantUser_200_response
- GetTenantUsersResponse
- GetTenantUsers_200_response
- GetTenant_200_response
- GetTenantsResponse
- GetTenants_200_response
- GetUserBadgeProgressById_200_response
- GetUserBadgeProgressList_200_response
- GetUserBadge_200_response
- GetUserBadges_200_response
- GetUserNotificationCountResponse
- GetUserNotificationCount_200_response
- GetUserNotifications_200_response
- GetUserPresenceStatusesResponse
- GetUserPresenceStatuses_200_response
- GetUserReactsPublic_200_response
- GetUserResponse
- GetUser_200_response
- GetVotesForUserResponse
- GetVotesForUser_200_response
- GetVotesResponse
- GetVotes_200_response
- GifRating
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- ImportedSiteType
- LiveEvent
- LiveEventType
- LiveEvent_extraInfo
- LockComment_200_response
- MediaAsset
- MetaItem
- Moderator
- NotificationAndCount
- NotificationObjectType
- NotificationType
- PatchDomainConfigParams
- PatchHashTag_200_response
- PatchPageAPIResponse
- PatchSSOUserAPIResponse
- PendingCommentToSyncOutbound
- PinComment_200_response
- PubSubComment
- PubSubCommentBase
- PubSubVote
- PublicAPIDeleteCommentResponse
- PublicAPIGetCommentTextResponse
- [PublicAPISetCommentTextResponse
aggregate 
Параметри
| Име | Тип | Потребно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| aggregationRequest | AggregationRequest | Да | |
| parentTenantId | string | Не | |
| includeStats | bool | Не |
Одговор
Враћа: AggregationResponse
Пример

getAuditLogs 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| limit | double | Не | |
| skip | double | Не | |
| order | SORT_DIR | Не | |
| after | double | Не | |
| before | double | Не |
Одговор
Враћа: GetAuditLogs_200_response
Пример

blockFromCommentPublic 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Да | |
| sso | string | Не |
Одговор
Враћа: BlockFromCommentPublic_200_response
Пример

unBlockCommentPublic 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Да | |
| sso | string | Не |
Одговор
Враћа: UnBlockCommentPublic_200_response
Пример

checkedCommentsForBlocked 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| commentIds | string | Да | |
| sso | string | Не |
Одговор
Враћа: CheckedCommentsForBlocked_200_response
Пример

blockUserFromComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| blockFromCommentParams | BlockFromCommentParams | Да | |
| userId | string | Не | |
| anonUserId | string | Не |
Одговор
Враћа: BlockFromCommentPublic_200_response
Пример

createCommentPublic 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| urlId | string | Да | |
| broadcastId | string | Да | |
| commentData | CommentData | Да | |
| sessionId | string | Не | |
| sso | string | Не |
Одговор
Враћа: CreateCommentPublic_200_response
Пример

deleteComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| contextUserId | string | Не | |
| isLive | bool | Не |
Одговор
Враћа: DeleteComment_200_response
Пример

deleteCommentPublic 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| editKey | string | No | |
| sso | string | No |
Одговор
Враћа: DeleteCommentPublic_200_response
Пример

deleteCommentVote 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| voteId | string | Да | |
| urlId | string | Да | |
| broadcastId | string | Да | |
| editKey | string | Не | |
| sso | string | Не |
Одговор
Враћа: DeleteCommentVote_200_response
Пример

flagComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| userId | string | Не | |
| anonUserId | string | Не |
Одговор
Враћа: FlagComment_200_response
Пример

getComment 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetComment_200_response
Пример

getComments 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| page | int32_t | No | |
| limit | int32_t | No | |
| skip | int32_t | No | |
| asTree | bool | No | |
| skipChildren | int32_t | No | |
| limitChildren | int32_t | No | |
| maxTreeDepth | int32_t | No | |
| urlId | string | No | |
| userId | string | No | |
| anonUserId | string | No | |
| contextUserId | string | No | |
| hashTag | string | No | |
| parentId | string | No | |
| direction | SortDirections | No |
Одговор
Враћа: GetComments_200_response
Пример

getCommentsPublic 
req tenantId urlId
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| urlId | string | Да | |
| page | int32_t | Не | |
| direction | SortDirections | Не | |
| sso | string | Не | |
| skip | int32_t | Не | |
| skipChildren | int32_t | Не | |
| limit | int32_t | Не | |
| limitChildren | int32_t | Не | |
| countChildren | bool | Не | |
| fetchPageForCommentId | string | Не | |
| includeConfig | bool | Не | |
| countAll | bool | Не | |
| includei10n | bool | Не | |
| locale | string | Не | |
| modules | string | Не | |
| isCrawler | bool | Не | |
| includeNotificationCount | bool | Не | |
| asTree | bool | Не | |
| maxTreeDepth | int32_t | Не | |
| useFullTranslationIds | bool | Не | |
| parentId | string | Не | |
| searchText | string | Не | |
| hashTags | vector<string | Не | |
| userId | string | Не | |
| customConfigStr | string | Не | |
| afterCommentId | string | Не | |
| beforeCommentId | string | Не |
Одговор
Враћа: GetCommentsPublic_200_response
Пример

getCommentText 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| editKey | string | Не | |
| sso | string | Не |
Одговор
Враћа: GetCommentText_200_response
Пример

getCommentVoteUserNames 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| dir | int32_t | Да | |
| sso | string | Не |
Одговор
Враћа: GetCommentVoteUserNames_200_response
Пример

lockComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| broadcastId | string | Да | |
| sso | string | Не |
Одговор
Враћа: LockComment_200_response
Пример

pinComment 
Parametri
| Name | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| sso | string | No |
Odgovor
Vraća: PinComment_200_response
Primer

saveComment 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| createCommentParams | CreateCommentParams | Да | |
| isLive | bool | Не | |
| doSpamCheck | bool | Не | |
| sendEmails | bool | Не | |
| populateNotifications | bool | Не |
Одговор
Враћа: SaveComment_200_response
Пример

setCommentText 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| broadcastId | string | Да | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Да | |
| editKey | string | Не | |
| sso | string | Не |
Одговор
Враћа: SetCommentText_200_response
Пример

unBlockUserFromComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Да | |
| userId | string | Не | |
| anonUserId | string | Не |
Одговор
Враћа: UnBlockCommentPublic_200_response
Пример

unFlagComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| userId | string | Не | |
| anonUserId | string | Не |
Одговор
Враћа: FlagComment_200_response
Пример

unLockComment 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| broadcastId | string | Да | |
| sso | string | Не |
Одговор
Враћа: LockComment_200_response
Пример

unPinComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| broadcastId | string | Да | |
| sso | string | Не |
Одговор
Враћа: PinComment_200_response
Пример

updateComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updatableCommentParams | UpdatableCommentParams | Да | |
| contextUserId | string | Не | |
| doSpamCheck | bool | Не | |
| isLive | bool | Не |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

voteComment 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| urlId | string | Да | |
| broadcastId | string | Да | |
| voteBodyParams | VoteBodyParams | Да | |
| sessionId | string | Не | |
| sso | string | Не |
Одговор
Враћа: VoteComment_200_response
Пример

addDomainConfig 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| addDomainConfigParams | AddDomainConfigParams | Да |
Одговор
Враћа: AddDomainConfig_200_response
Пример

deleteDomainConfig 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| domain | string | Да |
Одговор
Враћа: DeleteDomainConfig_200_response
Пример

getDomainConfig 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| domain | string | Да |
Одговор
Враћа: GetDomainConfig_200_response
Пример

getDomainConfigs 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да |
Одговор
Враћа: GetDomainConfigs_200_response
Пример

patchDomainConfig 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| domainToUpdate | string | Да | |
| patchDomainConfigParams | PatchDomainConfigParams | Да |
Одговор
Враћа: GetDomainConfig_200_response
Пример

putDomainConfig 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| domainToUpdate | string | Да | |
| updateDomainConfigParams | UpdateDomainConfigParams | Да |
Одговор
Враћа: GetDomainConfig_200_response
Пример

createEmailTemplate 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| createEmailTemplateBody | CreateEmailTemplateBody | Да |
Одговор
Враћа: CreateEmailTemplate_200_response
Пример

deleteEmailTemplate 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

deleteEmailTemplateRenderError 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| errorId | string | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

getEmailTemplate 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetEmailTemplate_200_response
Пример

getEmailTemplateDefinitions 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да |
Одговор
Враћа: GetEmailTemplateDefinitions_200_response
Пример

getEmailTemplateRenderErrors 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| skip | double | Не |
Одговор
Враћа: GetEmailTemplateRenderErrors_200_response
Пример

getEmailTemplates 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| skip | double | Не |
Одговор
Враћа: GetEmailTemplates_200_response
Пример

renderEmailTemplate 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Да | |
| locale | string | Не |
Одговор
Враћа: RenderEmailTemplate_200_response
Пример

updateEmailTemplate 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

getEventLog 
req tenantId urlId userIdWS
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| urlId | string | Да | |
| userIdWS | string | Да | |
| startTime | int64_t | Да | |
| endTime | int64_t | Да |
Одговор
Враћа: GetEventLog_200_response
Пример

getGlobalEventLog 
req tenantId urlId userIdWS
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| urlId | string | Да | |
| userIdWS | string | Да | |
| startTime | int64_t | Да | |
| endTime | int64_t | Да |
Одговор
Враћа: GetEventLog_200_response
Пример

createFeedPost 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| createFeedPostParams | CreateFeedPostParams | Да | |
| broadcastId | string | Не | |
| isLive | bool | Не | |
| doSpamCheck | bool | Не | |
| skipDupCheck | bool | Не |
Одговор
Враћа: CreateFeedPost_200_response
Пример

createFeedPostPublic 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| createFeedPostParams | CreateFeedPostParams | Да | |
| broadcastId | string | Не | |
| sso | string | Не |
Одговор
Враћа: CreateFeedPostPublic_200_response
Пример

deleteFeedPostPublic 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| postId | string | Да | |
| broadcastId | string | Не | |
| sso | string | Не |
Одговор
Враћа: DeleteFeedPostPublic_200_response
Пример

getFeedPosts 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| afterId | string | Не | |
| limit | int32_t | Не | |
| tags | vector<string | Не |
Одговор
Враћа: GetFeedPosts_200_response
Пример

getFeedPostsPublic 
req tenantId afterId
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| afterId | string | Не | |
| limit | int32_t | Не | |
| tags | vector<string | Не | |
| sso | string | Не | |
| isCrawler | bool | Не | |
| includeUserInfo | bool | Не |
Одговор
Враћа: GetFeedPostsPublic_200_response
Пример

getFeedPostsStats 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| postIds | vector<string | Да | |
| sso | string | Не |
Одговор
Враћа: GetFeedPostsStats_200_response
Пример

getUserReactsPublic 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| postIds | vector<string | Не | |
| sso | string | Не |
Одговор
Враћа: GetUserReactsPublic_200_response
Пример

reactFeedPostPublic 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| postId | string | Да | |
| reactBodyParams | ReactBodyParams | Да | |
| isUndo | bool | Не | |
| broadcastId | string | Не | |
| sso | string | Не |
Одговор
Враћа: ReactFeedPostPublic_200_response
Пример

updateFeedPost 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| feedPost | FeedPost | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

updateFeedPostPublic 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| postId | string | Да | |
| updateFeedPostParams | UpdateFeedPostParams | Да | |
| broadcastId | string | Не | |
| sso | string | Не |
Одговор
Враћа: CreateFeedPostPublic_200_response
Пример

flagCommentPublic 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| isFlagged | bool | Да | |
| sso | string | Не |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

addHashTag 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Не | |
| createHashTagBody | CreateHashTagBody | Не |
Одговор
Враћа: AddHashTag_200_response
Пример

addHashTagsBulk 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Не | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Не |
Одговор
Враћа: AddHashTagsBulk_200_response
Пример

deleteHashTag 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tag | string | Da | |
| tenantId | string | Ne | |
| deleteHashTagRequest | DeleteHashTag_request | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

getHashTags 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| page | double | Не |
Одговор
Враћа: GetHashTags_200_response
Пример

patchHashTag 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tag | string | Да | |
| tenantId | string | Не | |
| updateHashTagBody | UpdateHashTagBody | Не |
Одговор
Враћа: PatchHashTag_200_response
Пример

createModerator 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| createModeratorBody | CreateModeratorBody | Да |
Одговор
Враћа: CreateModerator_200_response
Пример

deleteModerator 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| sendEmail | string | Не |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

getModerator 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetModerator_200_response
Пример

getModerators 
Параметри
| Име | Тип | Потребно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| skip | double | Не |
Одговор
Враћа: GetModerators_200_response
Пример

sendInvite 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| fromName | string | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Примeр

updateModerator 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateModeratorBody | UpdateModeratorBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

deleteNotificationCount 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

getCachedNotificationCount 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetCachedNotificationCount_200_response
Пример

getNotificationCount 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| userId | string | Не | |
| urlId | string | Не | |
| fromCommentId | string | Не | |
| viewed | bool | Не | |
| type | string | Не |
Одговор
Враћа: GetNotificationCount_200_response
Пример

getNotifications 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| userId | string | Не | |
| urlId | string | Не | |
| fromCommentId | string | Не | |
| viewed | bool | Не | |
| type | string | Не | |
| skip | double | Не |
Одговор
Враћа: GetNotifications_200_response
Пример

updateNotification 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updateNotificationBody | UpdateNotificationBody | Да | |
| userId | string | Не |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

addPage 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| createAPIPageData | CreateAPIPageData | Да |
Одговор
Враћа: AddPageAPIResponse
Пример

deletePage 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: DeletePageAPIResponse
Пример

getPageByURLId 
Параметри
| Назив | Тип | Потребно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| urlId | string | Да |
Одговор
Враћа: GetPageByURLIdAPIResponse
Пример

getPages 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да |
Одговор
Враћа: GetPagesAPIResponse
Пример

patchPage 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updateAPIPageData | UpdateAPIPageData | Да |
Одговор
Враћа: PatchPageAPIResponse
Пример

deletePendingWebhookEvent 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

getPendingWebhookEventCount 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Не | |
| externalId | string | Не | |
| eventType | string | Не | |
| type | string | Не | |
| domain | string | Не | |
| attemptCountGT | double | Не |
Одговор
Враћа: GetPendingWebhookEventCount_200_response
Пример

getPendingWebhookEvents 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Не | |
| externalId | string | Не | |
| eventType | string | Не | |
| type | string | Не | |
| domain | string | Не | |
| attemptCountGT | double | Не | |
| skip | double | Не |
Одговор
Враћа: GetPendingWebhookEvents_200_response
Пример

createQuestionConfig 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| createQuestionConfigBody | CreateQuestionConfigBody | Да |
Враћа
Враћа: CreateQuestionConfig_200_response
Пример

deleteQuestionConfig 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

getQuestionConfig 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetQuestionConfig_200_response
Пример

getQuestionConfigs 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| skip | double | Не |
Одговор
Враћа: GetQuestionConfigs_200_response
Пример

updateQuestionConfig 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

createQuestionResult 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| createQuestionResultBody | CreateQuestionResultBody | Да |
Одговор
Враћа: CreateQuestionResult_200_response
Пример

deleteQuestionResult 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

getQuestionResult 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetQuestionResult_200_response
Пример

getQuestionResults 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| urlId | string | Не | |
| userId | string | Не | |
| startDate | string | Не | |
| questionId | string | Не | |
| questionIds | string | Не | |
| skip | double | Не |
Одговор
Враћа: GetQuestionResults_200_response
Пример

updateQuestionResult 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updateQuestionResultBody | UpdateQuestionResultBody | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

aggregateQuestionResults 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| questionId | string | Не | |
| questionIds | vector<string | Не | |
| urlId | string | Не | |
| timeBucket | AggregateTimeBucket | Не | |
| startDate | datetime | Не | |
| forceRecalculate | bool | Не |
Одговор
Враћа: AggregateQuestionResults_200_response
Пример

bulkAggregateQuestionResults 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Да | |
| forceRecalculate | bool | Не |
Одговор
Враћа: BulkAggregateQuestionResults_200_response
Пример

combineCommentsWithQuestionResults 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| questionId | string | Не | |
| questionIds | vector<string | Не | |
| urlId | string | Не | |
| startDate | datetime | Не | |
| forceRecalculate | bool | Не | |
| minValue | double | Не | |
| maxValue | double | Не | |
| limit | double | Не |
Одговор
Враћа: CombineCommentsWithQuestionResults_200_response
Пример

addSSOUser 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| createAPISSOUserData | CreateAPISSOUserData | Да |
Одговор
Враћа: AddSSOUserAPIResponse
Пример

deleteSSOUser 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| deleteComments | bool | Не | |
| commentDeleteMode | string | Не |
Одговор
Враћа: DeleteSSOUserAPIResponse
Пример

getSSOUserByEmail 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| string | Да |
Одговор
Враћа: GetSSOUserByEmailAPIResponse
Пример

getSSOUserById 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetSSOUserByIdAPIResponse
Пример

getSSOUsers 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| skip | int32_t | Не |
Одговор
Враћа: GetSSOUsers_200_response
Пример

patchSSOUser 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updateAPISSOUserData | UpdateAPISSOUserData | Да | |
| updateComments | bool | Не |
Одговор
Враћа: PatchSSOUserAPIResponse
Пример

putSSOUser 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updateAPISSOUserData | UpdateAPISSOUserData | Да | |
| updateComments | bool | Не |
Одговор
Враћа: PutSSOUserAPIResponse
Primer

createSubscription 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Да |
Одговор
Враћа: CreateSubscriptionAPIResponse
Пример

deleteSubscription 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| userId | string | Ne |
Odgovor
Vraća: DeleteSubscriptionAPIResponse
Primer

getSubscriptions 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| userId | string | Не |
Одговор
Враћа: GetSubscriptionsAPIResponse
Пример

getTenantDailyUsages 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| yearNumber | double | Не | |
| monthNumber | double | Не | |
| dayNumber | double | Не | |
| skip | double | Не |
Одговор
Враћа: GetTenantDailyUsages_200_response
Пример

createTenantPackage 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| createTenantPackageBody | CreateTenantPackageBody | Yes |
Одговор
Враћа: CreateTenantPackage_200_response
Пример

deleteTenantPackage 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Vraća: FlagCommentPublic_200_response
Пример

getTenantPackage 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetTenantPackage_200_response
Пример

getTenantPackages 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| skip | double | Не |
Одговор
Враћа: GetTenantPackages_200_response
Пример

replaceTenantPackage 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

updateTenantPackage 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updateTenantPackageBody | UpdateTenantPackageBody | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

createTenantUser 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| createTenantUserBody | CreateTenantUserBody | Да |
Одговор
Враћа: CreateTenantUser_200_response
Пример

deleteTenantUser 
Параметри
| Name | Type | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| deleteComments | string | Не | |
| commentDeleteMode | string | Не |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

getTenantUser 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Response
Враћа: GetTenantUser_200_response
Пример

getTenantUsers 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| skip | double | Не |
Одговор
Враћа: GetTenantUsers_200_response
Пример

replaceTenantUser 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| replaceTenantUserBody | ReplaceTenantUserBody | Да | |
| updateComments | string | Не |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

sendLoginLink 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| redirectURL | string | Не |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

updateTenantUser 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updateTenantUserBody | UpdateTenantUserBody | Да | |
| updateComments | string | Не |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

createTenant 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| createTenantBody | CreateTenantBody | Да |
Одговор
Враћа: CreateTenant_200_response
Пример

deleteTenant 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| sure | string | Не |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

getTenant 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetTenant_200_response
Пример

getTenants 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| meta | string | Не | |
| skip | double | Не |
Одговор
Враћа: GetTenants_200_response
Пример

updateTenant 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updateTenantBody | UpdateTenantBody | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

uploadImage 
Отпреми и промени величину слике
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| file | HttpContent | Да | |
| sizePreset | SizePreset | Не | |
| urlId | string | Не |
Одговор
Враћа: UploadImageResponse
Пример

getUserBadgeProgressById 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetUserBadgeProgressById_200_response
Пример

getUserBadgeProgressByUserId 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| userId | string | Да |
Одговор
Враћа: GetUserBadgeProgressById_200_response
Пример

getUserBadgeProgressList 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| userId | string | Не | |
| limit | double | Не | |
| skip | double | Не |
Одговор
Враћа: GetUserBadgeProgressList_200_response
Пример

createUserBadge 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| createUserBadgeParams | CreateUserBadgeParams | Да |
Одговор
Враћа: CreateUserBadge_200_response
Пример

deleteUserBadge 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: UpdateUserBadge_200_response
Пример

getUserBadge 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetUserBadge_200_response
Пример

getUserBadges 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| userId | string | Не | |
| badgeId | string | Не | |
| type | double | Не | |
| displayedOnComments | bool | Не | |
| limit | double | Не | |
| skip | double | Не |
Одговор
Враћа: GetUserBadges_200_response
Пример

updateUserBadge 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updateUserBadgeParams | UpdateUserBadgeParams | Да |
Одговор
Враћа: UpdateUserBadge_200_response
Пример

getUserNotificationCount 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| sso | string | Не |
Одговор
Враћа: GetUserNotificationCount_200_response
Пример

getUserNotifications 
Параметри
| Име | Type | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| pageSize | int32_t | Не | |
| afterId | string | Не | |
| includeContext | bool | Не | |
| afterCreatedAt | int64_t | Не | |
| unreadOnly | bool | Не | |
| dmOnly | bool | Не | |
| noDm | bool | Не | |
| includeTranslations | bool | Не | |
| sso | string | Не |
Одговор
Враћа: GetUserNotifications_200_response
Пример

resetUserNotificationCount 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| sso | string | Не |
Враћа
Враћа: ResetUserNotifications_200_response
Пример

resetUserNotifications 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| afterId | string | Не | |
| afterCreatedAt | int64_t | Не | |
| unreadOnly | bool | Не | |
| dmOnly | bool | Не | |
| noDm | bool | Не | |
| sso | string | Не |
Одговор
Враћа: ResetUserNotifications_200_response
Пример

updateUserNotificationCommentSubscriptionStatus 
Омогући или онемогући обавештења за конкретан коментар.
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| notificationId | string | Да | |
| optedInOrOut | string | Да | |
| commentId | string | Да | |
| sso | string | Не |
Одговор
Враћа: UpdateUserNotificationStatus_200_response
Пример

updateUserNotificationPageSubscriptionStatus 
Омогућите или онемогућите обавештења за страницу. Када су корисници претплаћени на страницу, креирају се обавештења за нове коментаре највишег нивоа, и такође
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| urlId | string | Да | |
| url | string | Да | |
| pageTitle | string | Да | |
| subscribedOrUnsubscribed | string | Да | |
| sso | string | Не |
Response
Враћа: UpdateUserNotificationStatus_200_response
Example

updateUserNotificationStatus 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| notificationId | string | Да | |
| newStatus | string | Да | |
| sso | string | Не |
Враћа:
Returns: UpdateUserNotificationStatus_200_response
Пример

getUserPresenceStatuses 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| urlIdWS | string | Yes | |
| userIds | string | Yes |
Одговор
Враћа: GetUserPresenceStatuses_200_response
Пример

searchUsers 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| urlId | string | Да | |
| usernameStartsWith | string | Не | |
| mentionGroupIds | vector<string | Не | |
| sso | string | Не |
Одговор
Враћа: SearchUsers_200_response
Пример

getUser 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetUser_200_response
Пример

createVote 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| direction | string | Да | |
| userId | string | Не | |
| anonUserId | string | Не |
Одговор
Враћа: VoteComment_200_response
Пример

deleteVote 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| editKey | string | Не |
Одговор
Враћа: DeleteCommentVote_200_response
Пример

getVotes 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| urlId | string | Да |
Одговор
Враћа: GetVotes_200_response
Пример

getVotesForUser 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| urlId | string | Да | |
| userId | string | Не | |
| anonUserId | string | Не |
Одговор
Враћа: GetVotesForUser_200_response
Пример

Треба помоћ?
Ако наиђете на било какве проблеме или имате питања везана за C++ SDK, молимо вас:
Допринос
Доприноси су добродошли! Посетите GitHub репозиторијум за смернице о доприносу.