
Језик 🇧🇦 Српски (БиХ)
Документација
Почетак
API референца
Употреба
Агрегација
Дневници аудита
Аутентификација
Блокирање из коментара
Провјера блокираних коментара
Коментари
Коментари за корисника
Конфигурације домена
Шаблони е-поште
Дневник догађаја
Објаве фида
Пријави коментар
Гифови
Хештегови
Модерација
Модератори
Број обавештења
Обавештења
Реакције странице
Странице
Чекајући webhook догађаји
Конфигурације питања
Резултати питања
Агрегација резултата питања
SSO корисници
Претплате
Дневна употреба тенанта
Пакети тенанта
Корисници тенанта
Тенанти
Тикети
Преводи
Отпреми слику
Напредак значке корисника
Значке корисника
Корисничка обавештења
Статуси присутности корисника
Претрага корисника
Корисници
Гласови
FastComments C++ SDK
Ово је званични C++ SDK за FastComments.
Званични C++ SDK за FastComments API
Репозиторијум
Requirements 
- C++17 ili noviji
- CMake 3.14 ili noviji
- OpenSSL
- C++ REST SDK (cpprestsdk)
- Boost
- Google Test (automatski se preuzima za testiranje)
Installation 
Install Dependencies
sudo apt install libcpprest-dev libboost-all-dev
Building from Source
mkdir build
cd build
cmake ..
make
Installing
sudo make install
Library Contents
Ova biblioteka sadrži generirani API klijent i SSO alate koji olakšavaju rad s API‑jem.
Public vs Secured APIs
Za API klijent postoje tri klase, DefaultApi, PublicApi i ModerationApi. DefaultApi sadrži metode koje zahtijevaju vaš API ključ, a PublicApi sadrži metode koje se mogu izvesti direktno iz preglednika/mobilnog uređaja/itd. bez autentifikacije. ModerationApi pruža opsežan skup live i brzih API‑ja za moderaciju. Svaka metoda ModerationApi prihvata parametar sso i može se autentifikovati putem SSO‑a ili sesijskog kolačića FastComments.com.
Quick Start 
Korišćenje autentifikovanih API‑ja (DefaultAPI)
Važno:
- Morate postaviti bazni URL (generator cpp‑restsdk ga ne čita iz OpenAPI specifikacije)
- Morate postaviti svoj API ključ u ApiClient prije nego što napravite autentifikovane zahtjeve. Ako to ne učinite, zahtjevi će se završiti 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 bazni URL (odaberite 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 svoj 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 napravite autentifikovane API pozive
return 0;
}
Korišćenje javnih API‑ja (PublicAPI)
Javni endpointi ne zahtijevaju 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 bazni 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);
// Make public API calls
return 0;
}
Korišćenje moderacijskih API‑ja (ModerationApi)
ModerationApi pokreće moderatorsku kontrolnu tablu. Svaka metoda prihvata sso parametar tako da se poziv izvršava u ime moderatora autentifikovanog putem SSO (pogledajte SSO sekciju ispod za način kreiranja tokena):
#include <iostream>
#include "FastCommentsClient/api/ModerationApi.h"
#include "FastCommentsClient/ApiClient.h"
#include "FastCommentsClient/ApiConfiguration.h"
int main() {
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
// OBAVEZNO: Postavite bazni 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::ModerationApi moderationApi(apiClient);
// Proslijedite SSO token moderatora da autentifikujete poziv
auto ssoToken = utility::conversions::to_string_t("YOUR_MODERATOR_SSO_TOKEN");
org::openapitools::client::api::GetCountOptions options;
options.sso = ssoToken;
auto response = moderationApi.getCount(options).get();
return 0;
}
Uobičajeni problemi
- "URI must contain a hostname" greška: Uverite se da pozovete
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"))prije kreiranja ApiClient‑a. Generator cpp‑restsdk ne čita automatski URL servera iz OpenAPI specifikacije. - 401 "missing‑api‑key" greška: Uverite se da pozovete
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_KEY"))prije kreiranja DefaultAPI instance. - Pogrešna API klasa: Koristite
DefaultApiza server‑side autentifikovane zahtjeve,PublicApiza klijentske/javne zahtjeve, iModerationApiza zahtjeve moderacijske kontrolne table (autentifikovane SSO tokenom moderatora).
Making API Calls: Synchronous vs Asynchronous 
All API methods in this SDK return pplx::task<std::shared_ptr<ResponseType>> from the C++ REST SDK. This gives you flexibility in how you handle API responses.
Sinhroni pozivi sa .get()
Use .get() to block the calling thread until the request completes and retrieve the result synchronously:
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);
// Required parameters are positional; optional ones go in the options struct
org::openapitools::client::api::GetCommentsOptions options;
options.urlId = utility::conversions::to_string_t("your-url-id");
// Call .get() to block and get the result synchronously
auto response = api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
options
).get(); // Blocks until the HTTP request completes
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
Asinkroni pozivi sa .then()
Use .then() for non-blocking asynchronous execution with 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);
// Required parameters are positional; optional ones go in the options struct
org::openapitools::client::api::GetCommentsOptions options;
options.urlId = utility::conversions::to_string_t("your-url-id");
// Use .then() for asynchronous callback-based execution
api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
options
).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 asinkronog
The choice depends on your runtime environment and application architecture:
.get() (Sinhrono blokiranje)
- Blocks the calling thread until the HTTP request completes
- Simpler code flow, easier to reason about
- Suitable for dedicated worker threads, batch processing, or command-line tools
- Not suitable for event loops, GUI threads, or single-threaded servers
.then() (Asinkrono neblokirajuće)
- Returns immediately, callback executes when request completes
- Does not block the calling thread
- Required for event-driven architectures, GUI applications, or single-threaded event loops
- Allows chaining multiple operations
- More complex control flow
The SDK's test suite uses .get() exclusively, but this is appropriate for the test environment where blocking is acceptable.
Notes 
ИД-ови емитовања
Видећете да је потребно проследити broadcastId у неким API позивима. Када примите догађаје, добићете овај ID назад, па ћете знати да игноришете догађај ако планирате да оптимистички примените измјене на клијенту
(што ћете вјероватно желети учинити јер пружа најбоље корисничко искуство). Прослиједите овдје UUID. ID треба да буде довољно јединствен да се не појави два пута у току сесије прегледника.
SSO (Једнократна пријава)
За примјере SSO-а, погледајте ниже.
SSO Usage 
Једноставан 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;
}
Сигуран 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;
}
Documentation for fastcomments 
Dokumentacija za API krajnje tačke
All URIs are relative to https://fastcomments.com
| Klasa | Metoda | HTTP zahtev | Opis |
|---|---|---|---|
| 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 | Agregira dokumente grupisanjem (ako je groupBy zadat) i primjenom više operacija. Podržane su različite operacije (npr. sum, countDistinct, avg, itd.). |
| 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 | changeTicketState | PATCH /api/v1/tickets/{id}/state | |
| 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 | createTicket | POST /api/v1/tickets | |
| 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 | req 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 | getTicket | GET /api/v1/tickets/{id} | |
| DefaultApi | getTickets | GET /api/v1/tickets | |
| 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 | updateSubscription | PATCH /api/v1/subscriptions/{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} | |
| ModerationApi | deleteModerationVote | DELETE /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | |
| ModerationApi | getApiComments | GET /auth/my-account/moderate-comments/mod_api/api/comments | |
| ModerationApi | getApiExportStatus | GET /auth/my-account/moderate-comments/mod_api/api/export/status | |
| ModerationApi | getApiIds | GET /auth/my-account/moderate-comments/mod_api/api/ids | |
| ModerationApi | getBanUsersFromComment | GET /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | |
| ModerationApi | getCommentBanStatus | GET /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | |
| ModerationApi | getCommentChildren | GET /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | |
| ModerationApi | getCount | GET /auth/my-account/moderate-comments/mod_api/count | |
| ModerationApi | getCounts | GET /auth/my-account/moderate-comments/banned-users/mod_api/counts | |
| ModerationApi | getLogs | GET /auth/my-account/moderate-comments/mod_api/logs/{commentId} | |
| ModerationApi | getManualBadges | GET /auth/my-account/moderate-comments/mod_api/get-manual-badges | |
| ModerationApi | getManualBadgesForUser | GET /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | |
| ModerationApi | getModerationComment | GET /auth/my-account/moderate-comments/mod_api/comment/{commentId} | |
| ModerationApi | getModerationCommentText | GET /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | |
| ModerationApi | getPreBanSummary | GET /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | |
| ModerationApi | getSearchCommentsSummary | GET /auth/my-account/moderate-comments/mod_api/search/comments/summary | |
| ModerationApi | getSearchPages | GET /auth/my-account/moderate-comments/mod_api/search/pages | |
| ModerationApi | getSearchSites | GET /auth/my-account/moderate-comments/mod_api/search/sites | |
| ModerationApi | getSearchSuggest | GET /auth/my-account/moderate-comments/mod_api/search/suggest | |
| ModerationApi | getSearchUsers | GET /auth/my-account/moderate-comments/mod_api/search/users | |
| ModerationApi | getTrustFactor | GET /auth/my-account/moderate-comments/mod_api/get-trust-factor | |
| ModerationApi | getUserBanPreference | GET /auth/my-account/moderate-comments/mod_api/user-ban-preference | |
| ModerationApi | getUserInternalProfile | GET /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | |
| ModerationApi | postAdjustCommentVotes | POST /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | |
| ModerationApi | postApiExport | POST /auth/my-account/moderate-comments/mod_api/api/export | |
| ModerationApi | postBanUserFromComment | POST /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | |
| ModerationApi | postBanUserUndo | POST /auth/my-account/moderate-comments/mod_api/ban-user/undo | |
| ModerationApi | postBulkPreBanSummary | POST /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | |
| ModerationApi | postCommentsByIds | POST /auth/my-account/moderate-comments/mod_api/comments-by-ids | |
| ModerationApi | postFlagComment | POST /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | |
| ModerationApi | postRemoveComment | POST /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | |
| ModerationApi | postRestoreDeletedComment | POST /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | |
| ModerationApi | postSetCommentApprovalStatus | POST /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | |
| ModerationApi | postSetCommentReviewStatus | POST /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | |
| ModerationApi | postSetCommentSpamStatus | POST /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | |
| ModerationApi | postSetCommentText | POST /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | |
| ModerationApi | postUnFlagComment | POST /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | |
| ModerationApi | postVote | POST /auth/my-account/moderate-comments/mod_api/vote/{commentId} | |
| ModerationApi | putAwardBadge | PUT /auth/my-account/moderate-comments/mod_api/award-badge | |
| ModerationApi | putCloseThread | PUT /auth/my-account/moderate-comments/mod_api/close-thread | |
| ModerationApi | putRemoveBadge | PUT /auth/my-account/moderate-comments/mod_api/remove-badge | |
| ModerationApi | putReopenThread | PUT /auth/my-account/moderate-comments/mod_api/reopen-thread | |
| ModerationApi | setTrustFactor | PUT /auth/my-account/moderate-comments/mod_api/set-trust-factor | |
| 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 | createV1PageReact | POST /page-reacts/v1/likes/{tenantId} | |
| PublicApi | createV2PageReact | POST /page-reacts/v2/{tenantId} | |
| PublicApi | deleteCommentPublic | DELETE /comments/{tenantId}/{commentId} | |
| PublicApi | deleteCommentVote | DELETE /comments/{tenantId}/{commentId}/vote/{voteId} | |
| PublicApi | deleteFeedPostPublic | DELETE /feed-posts/{tenantId}/{postId} | |
| PublicApi | deleteV1PageReact | DELETE /page-reacts/v1/likes/{tenantId} | |
| PublicApi | deleteV2PageReact | DELETE /page-reacts/v2/{tenantId} | |
| PublicApi | flagCommentPublic | POST /flag-comment/{commentId} | |
| PublicApi | getCommentText | GET /comments/{tenantId}/{commentId}/text | |
| PublicApi | getCommentVoteUserNames | GET /comments/{tenantId}/{commentId}/votes | |
| PublicApi | getCommentsForUser | GET /comments-for-user | |
| PublicApi | getCommentsPublic | GET /comments/{tenantId} | req tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | req tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | req tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGifLarge | GET /gifs/get-large/{tenantId} | |
| PublicApi | getGifsSearch | GET /gifs/search/{tenantId} | |
| PublicApi | getGifsTrending | GET /gifs/trending/{tenantId} | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | req tenantId urlId userIdWS |
| PublicApi | getOfflineUsers | GET /pages/{tenantId}/users/offline | Prethodni komentatori na stranici koji NIJE trenutno online. Sortirano po displayName. Koristite ovo nakon što iscrpite /users/online za renderovanje sekcije „Članovi“. Kursor paginacija po commenterName: server prolazi parcijalni {tenantId, urlId, commenterName} indeks od afterName naprijed putem $gt, bez troška $skip. |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | Trenutno‑online posjetioci stranice: ljudi čija je websocket sesija trenutno pretplaćena na stranicu. Vraća anonCount + totalCount (pretplatnici cijele sobe, uključujući anonimne gledaoce koje ne enumeriramo). |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | Lista stranica za tenant. Koristi FChat desktop klijent za popunjavanje liste soba. Potrebno je da enableFChat bude true u razriješenoj prilagođenoj konfiguraciji za svaku stranicu. Stranice koje zahtijevaju SSO filtriraju se prema grupnom pristupu zahtjevnog korisnika. |
| PublicApi | getTranslations | GET /translations/{namespace}/{component} | |
| 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 | getUsersInfo | GET /pages/{tenantId}/users/info | Skupni podaci o korisnicima za tenant. Dati userIds, vrati prikazne informacije iz User / SSOUser. Koristi se od strane widgeta za komentare za obogaćivanje korisnika koji se tek pojave putem događaja prisutnosti. Bez konteksta stranice: privatnost se jednako primjenjuje (privatni profili su maskirani). |
| PublicApi | getV1PageLikes | GET /page-reacts/v1/likes/{tenantId} | |
| PublicApi | getV2PageReactUsers | GET /page-reacts/v2/{tenantId}/list | |
| PublicApi | getV2PageReacts | GET /page-reacts/v2/{tenantId} | |
| PublicApi | lockComment | POST /comments/{tenantId}/{commentId}/lock | |
| PublicApi | logoutPublic | PUT /auth/logout | |
| 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} | Omogući ili onemogući notifikacije za specifičan komentar. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Omogući ili onemogući notifikacije za stranicu. Kada su korisnici pretplaćeni na stranicu, notifikacije se kreiraju za nove root komentare, i također |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Upload i resize slike |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Dokumentacija za modele
- APIAuditLog
- APIBanUserChangeLog
- APIBanUserChangedValues
- APIBannedUser
- APIBannedUserWithMultiMatchInfo
- APIComment
- APICommentBase
- APICommentBase_meta
- APICommentCommonBannedUser
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIModerateGetUserBanPreferencesResponse
- APIModerateUserBanPreferences
- APIPage
- APISSOUser
- APISaveCommentResponse
- APIStatus
- APITenant
- APITenantDailyUsage
- APITicket
- APITicketDetail
- APITicketFile
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfigResponse
- AddDomainConfigResponse_anyOf
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AdjustCommentVotesParams
- AdjustVotesResponse
- AggregateQuestionResultsResponse
- AggregateResponse
- AggregateTimeBucket
- AggregationAPIError
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- AwardUserBadgeResponse
- BanUserFromCommentResult
- BanUserUndoParams
- BannedUserMatch
- BannedUserMatchType
- BannedUserMatch_matchedOnValue
- BillingInfo
- BlockFromCommentParams
- BlockSuccess
- BuildModerationFilterParams
- BuildModerationFilterResponse
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkCreateHashTagsBody
- BulkCreateHashTagsBody_tags_inner
- BulkCreateHashTagsResponse
- BulkCreateHashTagsResponse_results_inner
- BulkPreBanParams
- BulkPreBanSummary
- ChangeCommentPinStatusResponse
- ChangeTicketStateBody
- ChangeTicketStateResponse
- CheckBlockedCommentsResponse
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentLogData
- CommentLogEntry
- CommentLogType
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CommentsByIdsParams
- CreateAPIPageData
- [CreateAPISSOUserData](https://github
aggregate 
Aggregira dokumente grupisanjem (ako je naveden groupBy) i primjenom više operacija.
Podržane su različite operacije (npr. sum, countDistinct, avg, itd.).
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| aggregationRequest | AggregationRequest | Yes | |
| options | const AggregateOptions& | Yes |
Odgovor
Returns: AggregateResponse
Example

getAuditLogs 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetAuditLogsOptions& | Da |
Response
Vraća: GetAuditLogsResponse
Example

logoutPublic 
Odgovor
Vraća: APIEmptyResponse
Primjer

blockFromCommentPublic 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Da | |
| sso | string | Ne |
Odgovor
Vraća: BlockSuccess
Primer

unBlockCommentPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Yes | |
| sso | string | No |
Odgovor
Vraća: UnblockSuccess
Primer

checkedCommentsForBlocked 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentIds | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: CheckBlockedCommentsResponse
Primjer

blockUserFromComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| blockFromCommentParams | BlockFromCommentParams | Da | |
| options | const BlockUserFromCommentOptions& | Da |
Odgovor
Vraća: BlockSuccess
Primer

createCommentPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| broadcastId | string | Da | |
| commentData | CommentData | Da | |
| options | const CreateCommentPublicOptions& | Da |
Odgovor
Returns: SaveCommentsResponseWithPresence
Primjer

deleteComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| options | const DeleteCommentOptions& | Yes |
Odgovor
Vraća: DeleteCommentResult
Primer

deleteCommentPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| options | const DeleteCommentPublicOptions& | Da |
Odgovor
Vraća: PublicAPIDeleteCommentResponse
Primjer

deleteCommentVote 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| voteId | string | Yes | |
| urlId | string | Yes | |
| broadcastId | string | Yes | |
| options | const DeleteCommentVoteOptions& | Yes |
Odgovor
Vraća: VoteDeleteResponse
Primjer

flagComment 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| options | const FlagCommentOptions& | Yes |
Odgovor
Vraća: FlagCommentResponse
Primer

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

getComments 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetCommentsOptions& | Da |
Response
Vraća: APIGetCommentsResponse
Example

getCommentsPublic 
zahtev tenantId urlId
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| options | const GetCommentsPublicOptions& | Da |
Odgovor
Vraća: GetCommentsResponseWithPresence_PublicComment_
Primer

getCommentText 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const GetCommentTextOptions& | Yes |
Odgovor
Vraća: PublicAPIGetCommentTextResponse
Primjer

getCommentVoteUserNames 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| dir | int32_t | Yes | |
| sso | string | No |
Odgovor
Vraća: GetCommentVoteUserNamesSuccessResponse
Primjer

lockComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| sso | string | No |
Odgovor
Vraća: APIEmptyResponse
Primjer

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

saveComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createCommentParams | CreateCommentParams | Da | |
| options | const SaveCommentOptions& | Da |
Odgovor
Vraća: APISaveCommentResponse
Primjer

setCommentText 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Da | |
| options | const SetCommentTextOptions& | Da |
Odgovor
Vraća: PublicAPISetCommentTextResponse
Primjer

unBlockUserFromComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Yes | |
| options | const UnBlockUserFromCommentOptions& | Yes |
Odgovor
Vraća: UnblockSuccess
Primjer

unFlagComment 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| options | const UnFlagCommentOptions& | Yes |
Response
Returns: FlagCommentResponse
Example

unLockComment 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Response
Vraća: APIEmptyResponse
Example

unPinComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| sso | string | No |
Odgovor
Vraća: ChangeCommentPinStatusResponse
Primjer

updateComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updatableCommentParams | UpdatableCommentParams | Da | |
| options | const UpdateCommentOptions& | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

voteComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| urlId | string | Yes | |
| broadcastId | string | Yes | |
| voteBodyParams | VoteBodyParams | Yes | |
| options | const VoteCommentOptions& | Yes |
Odgovor
Vraća: VoteResponse
Primer

getCommentsForUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| options | const GetCommentsForUserOptions& | Da |
Odgovor
Vraća: GetCommentsForUserResponse
Primjer

addDomainConfig 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| addDomainConfigParams | AddDomainConfigParams | Yes |
Odgovor
Vraća: AddDomainConfigResponse
Primer

deleteDomainConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| domain | string | Yes |
Odgovor
Vraća: DeleteDomainConfigResponse
Primjer

getDomainConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| domain | string | Yes |
Odgovor
Vraća: GetDomainConfigResponse
Primjer

getDomainConfigs 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes |
Odgovor
Vraća: GetDomainConfigsResponse
Primer

patchDomainConfig 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| domainToUpdate | string | Yes | |
| patchDomainConfigParams | PatchDomainConfigParams | Yes |
Odgovor
Vraća: PatchDomainConfigResponse
Primer

putDomainConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| domainToUpdate | string | Yes | |
| updateDomainConfigParams | UpdateDomainConfigParams | Yes |
Odgovor
Returns: PutDomainConfigResponse
Primer

createEmailTemplate 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createEmailTemplateBody | CreateEmailTemplateBody | Yes |
Odgovor
Vraća: CreateEmailTemplateResponse
Primjer

deleteEmailTemplate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vraća: APIEmptyResponse
Primer

deleteEmailTemplateRenderError 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| errorId | string | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

getEmailTemplate 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Response
Vraća: GetEmailTemplateResponse
Primer

getEmailTemplateDefinitions 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: GetEmailTemplateDefinitionsResponse
Primjer

getEmailTemplateRenderErrors 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetEmailTemplateRenderErrorsResponse
Primer

getEmailTemplates 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetEmailTemplatesResponse
Primjer

renderEmailTemplate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Da | |
| locale | string | Ne |
Odgovor
Vraća: RenderEmailTemplateResponse
Primer

updateEmailTemplate 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

getEventLog 
req tenantId urlId userIdWS
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userIdWS | string | Da | |
| startTime | int64_t | Da | |
| endTime | int64_t | Ne |
Odgovor
Vraća: GetEventLogResponse
Primer

getGlobalEventLog 
zahtjev tenantId urlId userIdWS
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userIdWS | string | Da | |
| startTime | int64_t | Da | |
| endTime | int64_t | Ne |
Odgovor
Vraća: GetEventLogResponse
Primjer

createFeedPost 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createFeedPostParams | CreateFeedPostParams | Yes | |
| options | const CreateFeedPostOptions& | Yes |
Odgovor
Vraća: CreateFeedPostsResponse
Primjer

createFeedPostPublic 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createFeedPostParams | CreateFeedPostParams | Yes | |
| options | const CreateFeedPostPublicOptions& | Yes |
Odgovor
Returns: CreateFeedPostResponse
Primer

deleteFeedPostPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| postId | string | Yes | |
| options | const DeleteFeedPostPublicOptions& | Yes |
Odgovor
Vraća: DeleteFeedPostPublicResponse
Primer

getFeedPosts 
req tenantId afterId
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetFeedPostsOptions& | Da |
Odgovor
Vraća: GetFeedPostsResponse
Primer

getFeedPostsPublic 
req tenantId afterId
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetFeedPostsPublicOptions& | Yes |
Odgovor
Vraća: PublicFeedPostsResponse
Primjer

getFeedPostsStats 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| postIds | vector<string | Yes | |
| sso | string | No |
Response
Vraća: FeedPostsStatsResponse
Example

getUserReactsPublic 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetUserReactsPublicOptions& | Da |
Odgovor
Vraća: UserReactsResponse
Primer

reactFeedPostPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| postId | string | Yes | |
| reactBodyParams | ReactBodyParams | Yes | |
| options | const ReactFeedPostPublicOptions& | Yes |
Odgovor
Vraća: ReactFeedPostResponse
Primjer

updateFeedPost 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| feedPost | FeedPost | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

updateFeedPostPublic 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Da | |
| updateFeedPostParams | UpdateFeedPostParams | Da | |
| options | const UpdateFeedPostPublicOptions& | Da |
Response
Vraća: CreateFeedPostResponse
Example

flagCommentPublic 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| isFlagged | bool | Yes | |
| sso | string | No |
Odgovor
Vraća: APIEmptyResponse
Primjer

getGifLarge 
Parameters
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| largeInternalURLSanitized | string | Yes |
Response
Vraća: GifGetLargeResponse
Example

getGifsSearch 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| search | string | Yes | |
| options | const GetGifsSearchOptions& | Yes |
Odgovor
Vraća: GetGifsSearchResponse
Primjer

getGifsTrending 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetGifsTrendingOptions& | Da |
Odgovor
Vraća: GetGifsTrendingResponse
Primjer

addHashTag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createHashTagBody | CreateHashTagBody | Da |
Odgovor
Vraća: CreateHashTagResponse
Primjer

addHashTagsBulk 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Yes |
Response
Vraća: BulkCreateHashTagsResponse
Primer

deleteHashTag 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| tag | string | Yes | |
| deleteHashTagRequestBody | DeleteHashTagRequestBody | Yes |
Response
Vraća: APIEmptyResponse
Primer

getHashTags 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| page | double | Ne |
Odgovor
Vraća: GetHashTagsResponse
Primer

patchHashTag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| tag | string | Yes | |
| updateHashTagBody | UpdateHashTagBody | Yes |
Odgovor
Vraća: UpdateHashTagResponse
Primjer

deleteModerationVote 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| voteId | string | Yes | |
| options | const DeleteModerationVoteOptions& | Yes |
Odgovor
Vraća: VoteDeleteResponse
Primjer

getApiComments 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetApiCommentsOptions& | Yes |
Odgovor
Vraća: ModerationAPIGetCommentsResponse
Primer

getApiExportStatus 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetApiExportStatusOptions& | Da |
Odgovor
Vraća: ModerationExportStatusResponse
Primjer

getApiIds 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetApiIdsOptions& | Yes |
Odgovor
Vraća: ModerationAPIGetCommentIdsResponse
Primer

getBanUsersFromComment 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: GetBannedUsersFromCommentResponse
Primer

getCommentBanStatus 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Odgovor
Vraća: GetCommentBanStatusResponse
Primer

getCommentChildren 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: ModerationAPIChildCommentsResponse
Primjer

getCount 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetCountOptions& | Da |
Odgovor
Vraća: ModerationAPICountCommentsResponse
Primer

getCounts 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: GetBannedUsersCountResponse
Primjer

getLogs 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: ModerationAPIGetLogsResponse
Primjer

getManualBadges 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: GetTenantManualBadgesResponse
Primer

getManualBadgesForUser 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetManualBadgesForUserOptions& | Da |
Odgovor
Vraća: GetUserManualBadgesResponse
Primjer

getModerationComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const GetModerationCommentOptions& | Da |
Odgovor
Vraća: ModerationAPICommentResponse
Primer

getModerationCommentText 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Odgovor
Vraća: GetCommentTextResponse
Primer

getPreBanSummary 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const GetPreBanSummaryOptions& | Da |
Odgovor
Vraća: PreBanSummary
Primjer

getSearchCommentsSummary 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetSearchCommentsSummaryOptions& | Yes |
Odgovor
Vraća: ModerationCommentSearchResponse
Primer

getSearchPages 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetSearchPagesOptions& | Yes |
Response
Vraća: ModerationPageSearchResponse
Example

getSearchSites 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetSearchSitesOptions& | Yes |
Odgovor
Vraća: ModerationSiteSearchResponse
Primjer

getSearchSuggest 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetSearchSuggestOptions& | Da |
Odgovor
Vraća: ModerationSuggestResponse
Primer

getSearchUsers 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetSearchUsersOptions& | Da |
Odgovor
Vraća: ModerationUserSearchResponse
Primer

getTrustFactor 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetTrustFactorOptions& | Yes |
Odgovor
Vraća: GetUserTrustFactorResponse
Primjer

getUserBanPreference 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: APIModerateGetUserBanPreferencesResponse
Primer

getUserInternalProfile 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetUserInternalProfileOptions& | Da |
Odgovor
Vraća: GetUserInternalProfileResponse
Primer

postAdjustCommentVotes 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| adjustCommentVotesParams | AdjustCommentVotesParams | Yes | |
| options | const PostAdjustCommentVotesOptions& | Yes |
Odgovor
Vraća: AdjustVotesResponse
Primer

postApiExport 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const PostApiExportOptions& | Yes |
Odgovor
Vraća: ModerationExportResponse
Primer

postBanUserFromComment 
Parameters
| Naziv | Tip | Required | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostBanUserFromCommentOptions& | Yes |
Response
Vraća: BanUserFromCommentResult
Primer

postBanUserUndo 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| banUserUndoParams | BanUserUndoParams | Yes | |
| sso | string | No |
Odgovor
Vraća: APIEmptyResponse
Primer

postBulkPreBanSummary 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| bulkPreBanParams | BulkPreBanParams | Da | |
| options | const PostBulkPreBanSummaryOptions& | Da |
Odgovor
Vraća: BulkPreBanSummary
Primer

postCommentsByIds 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentsByIdsParams | CommentsByIdsParams | Da | |
| sso | string | Ne |
Odgovor
Vraća: ModerationAPIChildCommentsResponse
Primer

postFlagComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const PostFlagCommentOptions& | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

postRemoveComment 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const PostRemoveCommentOptions& | Da |
Odgovor
Vraća: PostRemoveCommentApiResponse
Primjer

postRestoreDeletedComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostRestoreDeletedCommentOptions& | Yes |
Odgovor
Vraća: APIEmptyResponse
Primer

postSetCommentApprovalStatus 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostSetCommentApprovalStatusOptions& | Yes |
Odgovor
Vraća: SetCommentApprovedResponse
Primjer

postSetCommentReviewStatus 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostSetCommentReviewStatusOptions& | Yes |
Odgovor
Vraća: APIEmptyResponse
Primer

postSetCommentSpamStatus 
Parameters
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const PostSetCommentSpamStatusOptions& | Da |
Response
Vraća: APIEmptyResponse
Example

postSetCommentText 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| setCommentTextParams | SetCommentTextParams | Yes | |
| options | const PostSetCommentTextOptions& | Yes |
Odgovor
Vraća: SetCommentTextResponse
Primer

postUnFlagComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostUnFlagCommentOptions& | Yes |
Odgovor
Vraća: APIEmptyResponse
Primer

postVote 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const PostVoteOptions& | Da |
Odgovor
Vraća: VoteResponse
Primjer

putAwardBadge 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| badgeId | string | Yes | |
| options | const PutAwardBadgeOptions& | Yes |
Odgovor
Vraća: AwardUserBadgeResponse
Primjer

putCloseThread 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: APIEmptyResponse
Primer

putRemoveBadge 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| badgeId | string | Da | |
| options | const PutRemoveBadgeOptions& | Da |
Odgovor
Vraća: RemoveUserBadgeResponse
Primjer

putReopenThread 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| sso | string | No |
Odgovor
Vraća: APIEmptyResponse
Primjer

setTrustFactor 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const SetTrustFactorOptions& | Yes |
Odgovor
Vraća: SetUserTrustFactorResponse
Primjer

createModerator 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createModeratorBody | CreateModeratorBody | Yes |
Odgovor
Vraća: CreateModeratorResponse
Primjer

deleteModerator 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| sendEmail | string | Ne |
Odgovor
Vraća: APIEmptyResponse
Primjer

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

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

sendInvite 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| fromName | string | Da |
Response
Vraća: APIEmptyResponse
Example

updateModerator 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateModeratorBody | UpdateModeratorBody | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

deleteNotificationCount 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

getCachedNotificationCount 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetCachedNotificationCountResponse
Primjer

getNotificationCount 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetNotificationCountOptions& | Yes |
Odgovor
Vraća: GetNotificationCountResponse
Primer

getNotifications 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetNotificationsOptions& | Yes |
Odgovor
Vraća: GetNotificationsResponse
Primjer

updateNotification 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateNotificationBody | UpdateNotificationBody | Yes | |
| userId | string | No |
Odgovor
Vraća: APIEmptyResponse
Primjer

createV1PageReact 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| title | string | Ne |
Odgovor
Vraća: CreateV1PageReact
Primjer

createV2PageReact 
Parametri
| Име | Тип | Obavezno | Опис |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| id | string | Da | |
| title | string | Ne |
Одговор
Vraća: CreateV1PageReact
Primer

deleteV1PageReact 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Odgovor
Vraća: CreateV1PageReact
Primjer

deleteV2PageReact 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| id | string | Da |
Odgovor
Vraća: CreateV1PageReact
Primer

getV1PageLikes 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vraća: GetV1PageLikes
Primjer

getV2PageReacts 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vraća: GetV2PageReacts
Primjer

getV2PageReactUsers 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetV2PageReactUsersResponse
Primjer

addPage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPIPageData | CreateAPIPageData | Da |
Odgovor
Vraća: AddPageAPIResponse
Primer

deletePage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vraća: DeletePageAPIResponse
Primjer

getOfflineUsers 
Past commenters on the page who are NOT currently online. Sorted by displayName.
Use this after exhausting /users/online to render a "Members" section.
Cursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName} index from afterName forward via $gt, no $skip cost.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| options | const GetOfflineUsersOptions& | Yes |
Response
Vraća: PageUsersOfflineResponse
Example

getOnlineUsers 
Trenutno online gledatelji stranice: ljudi čija je websocket sesija trenutno pretplaćena na stranicu.
Vraća anonCount + totalCount (pretplatnici u cijeloj sobi, uključujući anonimne gledatelje koje ne nabrajamo).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| options | const GetOnlineUsersOptions& | Yes |
Response
Vraća: PageUsersOnlineResponse
Example

getPageByURLId 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Odgovor
Vraća: GetPageByURLIdAPIResponse
Primer

getPages 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: GetPagesAPIResponse
Primjer

getPagesPublic 
List pages for a tenant. Used by the FChat desktop client to populate its room list.
Requires enableFChat to be true on the resolved custom config for each page.
Pages that require SSO are filtered against the requesting user's group access.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetPagesPublicOptions& | Yes |
Response
Returns: GetPublicPagesResponse
Example

getUsersInfo 
Bulk user info for a tenant. Given userIds, return display info from User / SSOUser. Used by the comment widget to enrich users that just appeared via a presence event. No page context: privacy is enforced uniformly (private profiles are masked).
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| ids | string | Da |
Response
Vraća: PageUsersInfoResponse
Primer

patchPage 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPIPageData | UpdateAPIPageData | Da |
Odgovor
Vraća: PatchPageAPIResponse
Primer

deletePendingWebhookEvent 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

getPendingWebhookEventCount 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetPendingWebhookEventCountOptions& | Da |
Odgovor
Vraća: GetPendingWebhookEventCountResponse
Primjer

getPendingWebhookEvents 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetPendingWebhookEventsOptions& | Yes |
Odgovor
Vraća: GetPendingWebhookEventsResponse
Primjer

createQuestionConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createQuestionConfigBody | CreateQuestionConfigBody | Yes |
Odgovor
Vraća: CreateQuestionConfigResponse
Primjer

deleteQuestionConfig 
Parameters
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

getQuestionConfig 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetQuestionConfigResponse
Primjer

getQuestionConfigs 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| skip | double | No |
Odgovor
Vraća: GetQuestionConfigsResponse
Primer

updateQuestionConfig 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

createQuestionResult 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionResultBody | CreateQuestionResultBody | Da |
Odgovor
Vraća: CreateQuestionResultResponse
Primjer

deleteQuestionResult 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vraća: APIEmptyResponse
Primer

getQuestionResult 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vraća: GetQuestionResultResponse
Primer

getQuestionResults 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetQuestionResultsOptions& | Da |
Odgovor
Vraća: GetQuestionResultsResponse
Primjer

updateQuestionResult 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateQuestionResultBody | UpdateQuestionResultBody | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

aggregateQuestionResults 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const AggregateQuestionResultsOptions& | Da |
Response
Vraća: AggregateQuestionResultsResponse
Primjer

bulkAggregateQuestionResults 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Da | |
| forceRecalculate | bool | Ne |
Odgovor
Vraća: BulkAggregateQuestionResultsResponse
Primjer

combineCommentsWithQuestionResults 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const CombineCommentsWithQuestionResultsOptions& | Da |
Odgovor
Vraća: CombineQuestionResultsWithCommentsResponse
Primjer

addSSOUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createAPISSOUserData | CreateAPISSOUserData | Yes |
Odgovor
Vraća: AddSSOUserAPIResponse
Primer

deleteSSOUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| options | const DeleteSSOUserOptions& | Da |
Odgovor
Vraća: DeleteSSOUserAPIResponse
Primjer

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

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

getSSOUsers 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | int32_t | Ne |
Odgovor
Vraća: GetSSOUsersResponse
Primjer

patchSSOUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPISSOUserData | UpdateAPISSOUserData | Da | |
| updateComments | bool | Ne |
Odgovor
Returns: PatchSSOUserAPIResponse
Primjer

putSSOUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateAPISSOUserData | UpdateAPISSOUserData | Yes | |
| updateComments | bool | No |
Odgovor
Vraća: PutSSOUserAPIResponse
Primer

createSubscription 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Yes |
Odgovor
Vraća: CreateSubscriptionAPIResponse
Primjer

deleteSubscription 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| userId | string | Ne |
Odgovor
Vraća: DeleteSubscriptionAPIResponse
Primjer

getSubscriptions 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne |
Response
Vraća: GetSubscriptionsAPIResponse
Example

updateSubscription 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Yes | |
| userId | string | No |
Odgovor
Returns: UpdateSubscriptionAPIResponse
Primjer

getTenantDailyUsages 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetTenantDailyUsagesOptions& | Da |
Odgovor
Vraća: GetTenantDailyUsagesResponse
Primjer

createTenantPackage 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantPackageBody | CreateTenantPackageBody | Da |
Odgovor
Vraća: CreateTenantPackageResponse
Primjer

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

getTenantPackage 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetTenantPackageResponse
Primer

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

replaceTenantPackage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

updateTenantPackage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateTenantPackageBody | UpdateTenantPackageBody | Da |
Odgovor
Vraća: APIEmptyResponse
Primer

createTenantUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantUserBody | CreateTenantUserBody | Da |
Odgovor
Vraća: CreateTenantUserResponse
Primjer

deleteTenantUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| options | const DeleteTenantUserOptions& | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

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

getTenantUsers 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetTenantUsersResponse
Primjer

replaceTenantUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| replaceTenantUserBody | ReplaceTenantUserBody | Yes | |
| updateComments | string | No |
Odgovor
Vraća: APIEmptyResponse
Primer

sendLoginLink 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| redirectURL | string | No |
Odgovor
Vraća: APIEmptyResponse
Primjer

updateTenantUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateTenantUserBody | UpdateTenantUserBody | Da | |
| updateComments | string | Ne |
Odgovor
Vraća: APIEmptyResponse
Primjer

createTenant 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantBody | CreateTenantBody | Da |
Odgovor
Vraća: CreateTenantResponse
Primjer

deleteTenant 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| sure | string | No |
Response
Vraća: APIEmptyResponse
Example

getTenant 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetTenantResponse
Primer

getTenants 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetTenantsOptions& | Da |
Odgovor
Vraća: GetTenantsResponse
Primjer

updateTenant 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateTenantBody | UpdateTenantBody | Da |
Odgovor
Vraća: APIEmptyResponse
Primer

changeTicketState 
Parameters
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Da | |
| id | string | Da | |
| changeTicketStateBody | ChangeTicketStateBody | Da |
Odgovor
Vraća: ChangeTicketStateResponse
Primer

createTicket 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | Yes | |
| createTicketBody | CreateTicketBody | Yes |
Odgovor
Vraća: CreateTicketResponse
Primjer

getTicket 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| userId | string | Ne |
Odgovor
Vraća: GetTicketResponse
Primjer

getTickets 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetTicketsOptions& | Yes |
Odgovor
Vraća: GetTicketsResponse
Primjer

getTranslations 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| r_namespace | string | Da | |
| component | string | Da | |
| options | const GetTranslationsOptions& | Da |
Odgovor
Vraća: GetTranslationsResponse
Primer

uploadImage 
Upload and resize an image
Parameters
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| file | HttpContent | Da | |
| options | const UploadImageOptions& | Da |
Response
Vraća: UploadImageResponse
Example

getUserBadgeProgressById 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vraća: APIGetUserBadgeProgressResponse
Primjer

getUserBadgeProgressByUserId 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Da |
Odgovor
Vraća: APIGetUserBadgeProgressResponse
Primer

getUserBadgeProgressList 
Параметри
| Име | Тип | Обавезно | Опис |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetUserBadgeProgressListOptions& | Yes |
Одговор
Враћа: APIGetUserBadgeProgressListResponse
Пример

createUserBadge 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createUserBadgeParams | CreateUserBadgeParams | Yes |
Odgovor
Vraća: APICreateUserBadgeResponse
Primjer

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

getUserBadge 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vraća: APIGetUserBadgeResponse
Primjer

getUserBadges 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetUserBadgesOptions& | Da |
Odgovor
Vraća: APIGetUserBadgesResponse
Primjer

updateUserBadge 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateUserBadgeParams | UpdateUserBadgeParams | Yes |
Odgovor
Vraća: APIEmptySuccessResponse
Primer

getUserNotificationCount 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: GetUserNotificationCountResponse
Primer

getUserNotifications 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetUserNotificationsOptions& | Yes |
Odgovor
Vraća: GetMyNotificationsResponse
Primer

resetUserNotificationCount 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| sso | string | No |
Odgovor
Vraća: ResetUserNotificationsResponse
Primjer

resetUserNotifications 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const ResetUserNotificationsOptions& | Da |
Odgovor
Vraća: ResetUserNotificationsResponse
Primer

updateUserNotificationCommentSubscriptionStatus 
Omogući ili onemogući obavijesti za određeni komentar.
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Da | |
| optedInOrOut | string | Da | |
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: UpdateUserNotificationCommentSubscriptionStatusResponse
Primjer

updateUserNotificationPageSubscriptionStatus 
Omogućite ili onemogućite obavijesti za stranicu. Kada su korisnici pretplaćeni na stranicu, obavijesti se kreiraju za nove glavne komentare, i takođe
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| url | string | Yes | |
| pageTitle | string | Yes | |
| subscribedOrUnsubscribed | string | Yes | |
| sso | string | No |
Response
Vraća: UpdateUserNotificationPageSubscriptionStatusResponse
Example

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

getUserPresenceStatuses 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlIdWS | string | Yes | |
| userIds | string | Yes |
Odgovor
Vraća: GetUserPresenceStatusesResponse
Primer

searchUsers 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| options | const SearchUsersOptions& | Da |
Odgovor
Vraća: SearchUsersResult
Primer

getUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vraća: GetUserResponse
Primjer

createVote 
Parameters
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| direction | string | Da | |
| options | const CreateVoteOptions& | Da |
Odgovor
Vraća: VoteResponse
Primjer

deleteVote 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| editKey | string | No |
Odgovor
Vraća: VoteDeleteResponse
Primjer

getVotes 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vraća: GetVotesResponse
Primer

getVotesForUser 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| options | const GetVotesForUserOptions& | Yes |
Odgovor
Vraća: GetVotesForUserResponse
Primjer

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