
Језик 🇲🇪 Српски (Црна Гора)
Документација
Почетак рада
API референца
Употреба
Агрегација
Дневници ревизије
Блокирање (из коментара)
Провјера блокираних коментара
Коментари
Конфигурације домена
Шаблони е-поште
Дневник догађаја
Објаве фида
Означавање коментара
Хештегови
Модератори
Број обавештења
Обавештења
Странице
Чекајући вебхук догађаји
Конфигурације питања
Резултати питања
Агрегација резултата питања
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 алате који олакшавају рад са API-јем.
Јавни и заштићени API-ји
За API клијент постоје две класе, DefaultAPI и PublicAPI. DefaultAPI садржи методе које захтевају ваш API кључ, а PublicAPI садржи API позиве који се могу извршити директно из прегледача/мобилног уређаја/итд. без аутентификације.
Брзи почетак 
Korišćenje autentifikovanih API-ja (DefaultAPI)
Važno:
- Morate postaviti osnovni URL (cpp-restsdk generator ga ne čita iz OpenAPI specifikacije)
- Morate postaviti vaš API ključ na ApiClient pre pravljenja autentifikovanih zahteva. Ako to ne uradite, zahtevi će propasti sa greškom 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>();
// OBAVEZNO: Postavite osnovni URL (izaberite svoju regiju)
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com")); // US
// ILI: config->setBaseUrl(utility::conversions::to_string_t("https://eu.fastcomments.com")); // EU
// OBAVEZNO: Postavite vaš API ključ
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);
// Sada izvršite autentifikovane API pozive
return 0;
}
Korišćenje javnih API-ja (PublicAPI)
Javne krajnje tačke ne zahtevaju autentifikaciju:
#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>();
// OBAVEZNO: Postavite osnovni 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);
// Izvršite javne API pozive
return 0;
}
Uobičajeni problemi
- Greška "URI must contain a hostname": Uverite se da pozovete
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"))pre nego što kreirate ApiClient. cpp-restsdk generator automatski ne čita URL servera iz OpenAPI specifikacije. - Greška 401 "missing-api-key": Uverite se da pozovete
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_KEY"))pre nego što kreirate DefaultAPI instancu. - Pogrešna API klasa: Koristite
DefaultAPIza autentifikovane zahteve sa serverske strane,PublicAPIza klijentske/javne zahteve.
Извршавање API позива: синхроно и асинхроно 
Sve API metode u ovom SDK-u vraćaju pplx::task<std::shared_ptr<ResponseType>> iz C++ REST SDK-a. Ovo vam daje fleksibilnost u načinu na koji obrađujete API odgovore.
Sinhroni pozivi pomoću .get()
Koristite .get() da blokirate pozivajuću nit dok se zahtjev ne završi i sinhrono dobijete rezultat:
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);
// Call .get() to block and get the result synchronously
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(); // Blocks until the HTTP request completes
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
Asinhroni pozivi pomoću .then()
Koristite .then() za neblokirajuće asinhrono izvršavanje sa povratnim funkcijama:
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);
// Use .then() for asynchronous callback-based execution
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) {
// This runs asynchronously when the request completes
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
});
// Execution continues immediately without blocking
std::cout << "Request sent, continuing..." << std::endl;
Izbor između sinhronog i asinhronog
Izbor zavisi od vašeg runtime okruženja i arhitekture aplikacije:
.get() (Synchronous blocking)
- Blokira pozivajuću nit dok se HTTP zahtjev ne završi
- Jednostavniji tok koda, lakše za razumijevanje
- Pogodno za namjenske radne niti, batch obradu ili alate iz komandne linije
- Nije pogodno za petlje događaja, GUI niti ili servere sa jednom niti
.then() (Asynchronous non-blocking)
- Vraća se odmah, povratna funkcija se izvršava kad se zahtjev završi
- Ne blokira pozivajuću nit
- Potrebno za arhitekture vođene događajima, GUI aplikacije ili petlje događaja u jednoj niti
- Omogućava ulančavanje više operacija
- Složeniji tok kontrole
Testni skup SDK-a koristi .get() isključivo, ali to je prikladno za testno okruženje gdje je blokiranje prihvatljivo.
Напомене 
ID-ови преноса
Видећете да треба да проследите 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 наведен) и примјеном више операција. Подржане су различите операције (нпр. збир, број различитих, просјек, итд.). |
| 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](https://github.com/FastComments
aggregate 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| 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 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentIds | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: CheckedCommentsForBlocked_200_response
Primjer

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

createCommentPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| broadcastId | string | Da | |
| commentData | CommentData | Da | |
| sessionId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: CreateCommentPublic_200_response
Primjer

deleteComment 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| contextUserId | string | Не | |
| isLive | bool | Не |
Одговор
Враћа: DeleteComment_200_response
Пример

deleteCommentPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: DeleteCommentPublic_200_response
Primjer

deleteCommentVote 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| voteId | string | Da | |
| urlId | string | Da | |
| broadcastId | string | Da | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: DeleteCommentVote_200_response
Primer

flagComment 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| userId | string | No | |
| anonUserId | string | No |
Одговор
Враћа: FlagComment_200_response
Пример

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

getComments 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| 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
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| 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 
Параметри
| Име | Тип | Потребно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| editKey | string | Не | |
| sso | string | Не |
Одговор
Враћа: GetCommentText_200_response
Пример

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

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

pinComment 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: PinComment_200_response
Primer

saveComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| createCommentParams | CreateCommentParams | Да | |
| isLive | bool | Не | |
| doSpamCheck | bool | Не | |
| sendEmails | bool | Не | |
| populateNotifications | bool | Не |
Одговор
Враћа: SaveComment_200_response
Пример

setCommentText 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Da | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: SetCommentText_200_response
Primer

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

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

unLockComment 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: LockComment_200_response
Primjer

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

updateComment 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| updatableCommentParams | UpdatableCommentParams | Да | |
| contextUserId | string | Не | |
| doSpamCheck | bool | Не | |
| isLive | bool | Не |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

voteComment 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| urlId | string | Да | |
| broadcastId | string | Да | |
| voteBodyParams | VoteBodyParams | Да | |
| sessionId | string | Не | |
| sso | string | Не |
Одговор
Враћа: VoteComment_200_response
Пример

addDomainConfig 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| 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 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| domainToUpdate | string | Да | |
| updateDomainConfigParams | UpdateDomainConfigParams | Да |
Одговор
Враћа: GetDomainConfig_200_response
Примјер

createEmailTemplate 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| createEmailTemplateBody | CreateEmailTemplateBody | Да |
Одговор
Враћа: CreateEmailTemplate_200_response
Пример

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

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

getEmailTemplate 
Параметри
| Name | Type | Обавезно | Опис |
|---|---|---|---|
| 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
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| urlId | string | Да | |
| userIdWS | string | Да | |
| startTime | int64_t | Да | |
| endTime | int64_t | Да |
Одговор
Враћа: GetEventLog_200_response
Пример

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

createFeedPost 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| createFeedPostParams | CreateFeedPostParams | Да | |
| broadcastId | string | Не | |
| isLive | bool | Не | |
| doSpamCheck | bool | Не | |
| skipDupCheck | bool | Не |
Одговор
Враћа: CreateFeedPost_200_response
Пример

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

deleteFeedPostPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: DeleteFeedPostPublic_200_response
Primjer

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

getFeedPostsPublic 
req tenantId afterId
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| 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 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postIds | vector<string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: GetUserReactsPublic_200_response
Primjer

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

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

updateFeedPostPublic 
Parametri
| Naziv | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| postId | string | Да | |
| updateFeedPostParams | UpdateFeedPostParams | Да | |
| broadcastId | string | Не | |
| sso | string | Не |
Одговор
Враћа: CreateFeedPostPublic_200_response
Пример

flagCommentPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| isFlagged | bool | Da | |
| sso | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

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

addHashTagsBulk 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ne | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Ne |
Odgovor
Vraća: AddHashTagsBulk_200_response
Primer

deleteHashTag 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tag | string | Да | |
| tenantId | string | Не | |
| deleteHashTagRequest | DeleteHashTag_request | Не |
Одговор
Враћа: FlagCommentPublic_200_response
Примјер

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 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да | |
| fromName | string | Да |
Одговор
Враћа: FlagCommentPublic_200_response
Пример

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

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

getCachedNotificationCount 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| 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 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateNotificationBody | UpdateNotificationBody | Da | |
| userId | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

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

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

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

getPages 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: GetPagesAPIResponse
Primjer

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

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

getPendingWebhookEventCount 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | No | |
| externalId | string | No | |
| eventType | string | No | |
| type | string | No | |
| domain | string | No | |
| attemptCountGT | double | No |
Odgovor
Vraća: GetPendingWebhookEventCount_200_response
Primjer

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 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

getQuestionConfig 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| 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 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| id | string | Да |
Одговор
Враћа: GetQuestionResult_200_response
Пример

getQuestionResults 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| 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 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| questionId | string | Ne | |
| questionIds | vector<string | Ne | |
| urlId | string | Ne | |
| timeBucket | AggregateTimeBucket | Ne | |
| startDate | datetime | Ne | |
| forceRecalculate | bool | Ne |
Odgovor
Vraća: AggregateQuestionResults_200_response
Primjer

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

combineCommentsWithQuestionResults 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| 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 | Yes | |
| createAPISSOUserData | CreateAPISSOUserData | Yes |
Одговор
Враћа: AddSSOUserAPIResponse
Примјер

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

getSSOUserByEmail 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| string | Da |
Odgovor
Vraća: GetSSOUserByEmailAPIResponse
Primer

getSSOUserById 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetSSOUserByIdAPIResponse
Primjer

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

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

putSSOUser 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPISSOUserData | UpdateAPISSOUserData | Da | |
| updateComments | bool | Ne |
Odgovor
Vraća: PutSSOUserAPIResponse
Primer

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

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

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

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

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

deleteTenantPackage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

getTenantPackage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetTenantPackage_200_response
Primjer

getTenantPackages 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetTenantPackages_200_response
Primjer

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

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

createTenantUser 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| createTenantUserBody | CreateTenantUserBody | Да |
Одговор
Враћа: CreateTenantUser_200_response
Пример

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

getTenantUser 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Одговор
Враћа: GetTenantUser_200_response
Примјер

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

replaceTenantUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| replaceTenantUserBody | ReplaceTenantUserBody | Da | |
| updateComments | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

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 | Обавезно | 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 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateTenantBody | UpdateTenantBody | Yes |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

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 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| limit | double | Ne | |
| skip | double | Ne |
Response
Vraća: GetUserBadgeProgressList_200_response
Primjer

createUserBadge 
Параметри
| Назив | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Да | |
| createUserBadgeParams | CreateUserBadgeParams | Да |
Одговор
Враћа: CreateUserBadge_200_response
Примјер

deleteUserBadge 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: UpdateUserBadge_200_response
Primjer

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

getUserBadges 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| badgeId | string | Ne | |
| type | double | Ne | |
| displayedOnComments | bool | Ne | |
| limit | double | Ne | |
| skip | double | Ne |
Odgovor
Vraća: GetUserBadges_200_response
Primjer

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

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

getUserNotifications 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| 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 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| afterId | string | Не | |
| afterCreatedAt | int64_t | Не | |
| unreadOnly | bool | Не | |
| dmOnly | bool | Не | |
| noDm | bool | Не | |
| sso | string | Не |
Одговор
Враћа: ResetUserNotifications_200_response
Пример

updateUserNotificationCommentSubscriptionStatus 
Omogući ili onemogući obavještenja za određeni komentar.
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Da | |
| optedInOrOut | string | Da | |
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: UpdateUserNotificationStatus_200_response
Primjer

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

updateUserNotificationStatus 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Da | |
| newStatus | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: UpdateUserNotificationStatus_200_response
Primjer

getUserPresenceStatuses 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| urlIdWS | string | Да | |
| userIds | string | Да |
Одговор
Враћа: 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 
Параметри
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Да | |
| commentId | string | Да | |
| direction | string | Да | |
| userId | string | Не | |
| anonUserId | string | Не |
Одговор
Враћа: VoteComment_200_response
Пример

deleteVote 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| editKey | string | Ne |
Odgovor
Vraća: DeleteCommentVote_200_response
Primjer

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

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

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