
Jezik 🇷🇸 Srpski (Latinica)
Dokumentacija
Početak rada
API referenca
Korišćenje
Agregacija
Dnevnici audita
Autentifikacija
Blokiranje iz komentara
Provera blokiranih komentara
Komentari
Komentari za korisnika
Konfiguracije domena
Šabloni e-pošte
Dnevnik događaja
Objave u feedu
Označavanje komentara
Gifovi
Hashtagovi
Moderacija
Moderatori
Broj obaveštenja
Obaveštenja
Reakcije na stranici
Stranice
Webhook događaji na čekanju
Konfiguracije pitanja
Rezultati pitanja
Agregacija rezultata pitanja
SSO korisnici
Pretplate
Dnevna upotreba tenanta
Paketi tenanta
Korisnici tenanta
Tenanti
Tiketi
Prevodi
Otpremanje slike
Napredak korisničkih bedževa
Korisnički bedževi
Korisnička obaveštenja
Status prisutnosti korisnika
Pretraga korisnika
Korisnici
Glasovi
FastComments C++ SDK
Ovo je zvanični C++ SDK za FastComments.
Zvanični C++ SDK za FastComments API
Repozitorijum
Zahtevi 
- C++17 ili noviji
- CMake 3.14 ili noviji
- OpenSSL
- C++ REST SDK (cpprestsdk)
- Boost
- Google Test (automatski preuzet za testiranje)
Instalacija 
Instalacija zavisnosti
sudo apt install libcpprest-dev libboost-all-dev
Izgradnja iz izvornog koda
mkdir build
cd build
cmake ..
make
Instalacija
sudo make install
Sadržaj biblioteke
Ova biblioteka sadrži generisani API klijent i SSO alate koji olakšavaju rad sa API‑jem.
Javni vs zaštićeni API‑ji
Za API klijent postoje tri klase, DefaultApi, PublicApi i ModerationApi. DefaultApi sadrži metode koje zahtevaju vaš API ključ, a PublicApi sadrži metode koje se mogu pozvati direktno iz pregledača/mobilnog uređaja/ipd. bez autentifikacije. ModerationApi pruža opsežan skup API‑ja za brzu i trenutnu moderaciju. Svaka metoda ModerationApi prihvata sso parametar i može se autentifikovati putem SSO‑a ili sesijskog kolačića na FastComments.com.
Brzi početak 
Korišćenje autentifikovanih API-ja (DefaultAPI)
Važno:
- Morate postaviti osnovni URL (cpp-restsdk generator ga ne čita iz OpenAPI specifikacije)
- Morate postaviti svoj API ključ na ApiClient pre nego što napravite autentifikovane zahteve. 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>();
// OBLIGATNO: Postavite osnovni URL (odaberite vašu regiju)
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com")); // SAD
// ILI: config->setBaseUrl(utility::conversions::to_string_t("https://eu.fastcomments.com")); // EU
// OBLIGATNO: 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 krajnji ostvarivači 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>();
// OBLIGATNO: 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);
// Napravite javne API pozive
return 0;
}
Korišćenje Moderacionih API-ja (ModerationApi)
ModerationApi pokreće moderatorsku kontrolnu tablu. Svaki metod 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>();
// OBLIGATNO: 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::ModerationApi moderationApi(apiClient);
// Prosledite 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
- Greška "URI must contain a hostname": Proverite da pozovete
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"))pre kreiranja ApiClient‑a. cpp-restsdk generator ne čita automatski URL servera iz OpenAPI specifikacije. - Greška 401 "missing-api-key": Proverite da pozovete
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_KEY"))pre kreiranja DefaultAPI instance. - Pogrešna API klasa: Koristite
DefaultApiza server‑side autentifikovane zahteve,PublicApiza klijentske/javne zahteve, iModerationApiza zahteve moderatorske kontrolne table (autentifikovane SSO tokenom moderatora).
Pozivi ka API-ju: sinhrono vs asinhrono 
Sve API metode u ovom SDK‑u vraćaju pplx::task<std::shared_ptr<ResponseType>> iz C++ REST SDK‑a. Ovo vam pruža fleksibilnost u načinu na koji obrađujete API odgovore.
Sinhroni pozivi sa .get()
Koristite .get() da blokirate nit koja poziva dok se zahtev ne završi i da 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);
// 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()
Koristite .then() za neblokirajuću asinkronu izvršavanje sa povratnim pozivima (callback-ovima):
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
Izbor zavisi od vašeg runtime okruženja i arhitekture aplikacije:
.get() (Sinhrono blokiranje)
- Blokira nit koja poziva dok HTTP zahtev ne bude završen
- Jednostavniji tok koda, lakše je razumeti
- Pogodno za posvećene radne niti, obradu u batch režimu ili komandno‑linijske alate
- Nije pogodno za petlje događaja, GUI niti ili jednonitne servere
.then() (Asinkrono neblokirajuće)
- Vraća se odmah, povratni poziv se izvršava kada zahtev bude završen
- Ne blokira nit koja poziva
- Potrebno za arhitekture bazirane na događajima, GUI aplikacije ili jednonitne petlje događaja
- Omogućava lančanje više operacija
- Kompleksniji tok kontrole
Testni skup SDK‑a koristi isključivo .get(), ali to je odgovarajuće za testno okruženje gde je blokiranje prihvatljivo.
Beleške 
Broadcast ID-jevi
Videćete da treba da prosledite broadcastId u nekim API pozivima. Kada primite događaje, dobićete ovaj ID nazad, tako da znate da ignorišete događaj ako planirate da optimistično primenite promene na klijentu
(što verovatno želite da uradite jer pruža najbolje iskustvo). Ovde prosledite UUID. ID bi trebalo da bude dovoljno jedinstven da se ne pojavi dva puta u jednoj sesiji pregledača.
SSO (Jedinstvena prijava)
Za SSO primere, pogledajte ispod.
Korišćenje 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;
}
Dokumentacija za FastComments 
Dokumentacija za API krajnje tačke
Svi URI‑i su relativni u odnosu na https://fastcomments.com
| Class | Method | HTTP request | Description |
|---|---|---|---|
| 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 naveden parametar groupBy) i primenom 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 NISU trenutno online. Sortirano po displayName. Koristite ovo nakon što iscrpite /users/online da biste prikazali odeljak "Members". Kursorska paginacija po commenterName: server prolazi kroz parcijalni indeks {tenantId, urlId, commenterName} od afterName napred putem $gt, bez $skip troška. |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | Trenutno online posetioci stranice: osobe čija je websocket sesija pretplaćena na stranicu u ovom momentu. Vraća anonCount + totalCount (pretplatnici na celu sobu, uključujući anonimne posetioce koje ne izlistavamo). |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | Lista stranica za tenant. Koristi FChat desktop klijent da popuni listu soba. Zahteva da enableFChat bude true u razrešenom prilagođenom konfiguraciji za svaku stranicu. Stranice koje zahtevaju SSO filtriraju se prema grupnom pristupu korisnika koji zahteva. |
| 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 | 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). |
| 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 obaveštenja za određeni komentar. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Omogući ili onemogući obaveštenja za stranicu. Kada su korisnici pretplaćeni na stranicu, obaveštenja se kreiraju za nove korenske komentare, i takođe |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Upload and resize an image |
| 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](https://github.com/F
aggregate 
Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations. Different operations (e.g. sum, countDistinct, avg, etc.) are supported.
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| aggregationRequest | AggregationRequest | Yes | |
| options | const AggregateOptions& | Yes |
Odgovor
Returns: AggregateResponse
Primer

getAuditLogs 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetAuditLogsOptions& | Da |
Odgovor
Vraća: GetAuditLogsResponse
Primer

logoutPublic 
Odgovor
Vraća: APIEmptyResponse
Primer

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

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

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

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

createCommentPublic 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| broadcastId | string | Da | |
| commentData | CommentData | Da | |
| options | const CreateCommentPublicOptions& | Da |
Response
Vraća: SaveCommentsResponseWithPresence
Example

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 | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| options | const DeleteCommentPublicOptions& | Yes |
Odgovor
Vraća: PublicAPIDeleteCommentResponse
Primer

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
Primer

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

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

getComments 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetCommentsOptions& | Yes |
Odgovor
Vraća: APIGetCommentsResponse
Primer

getCommentsPublic 
req tenantId urlId
Parametri
| Ime | 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
Primer

getCommentVoteUserNames 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| dir | int32_t | Da | |
| sso | string | Ne |
Odgovor
Vraća: GetCommentVoteUserNamesSuccessResponse
Primer

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

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

saveComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| createCommentParams | CreateCommentParams | Yes | |
| options | const SaveCommentOptions& | Yes |
Odgovor
Vraća: APISaveCommentResponse
Primer

setCommentText 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Yes | |
| options | const SetCommentTextOptions& | Yes |
Odgovor
Vraća: PublicAPISetCommentTextResponse
Primer

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

unFlagComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| options | const UnFlagCommentOptions& | Yes |
Odgovor
Vraća: FlagCommentResponse
Primer

unLockComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: APIEmptyResponse
Primer

unPinComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: ChangeCommentPinStatusResponse
Primer

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

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

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

addDomainConfig 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| addDomainConfigParams | AddDomainConfigParams | Da |
Odgovor
Vraća: AddDomainConfigResponse
Primer

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

getDomainConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| domain | string | Yes |
Odgovor
Returns: GetDomainConfigResponse
Primer

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

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

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

createEmailTemplate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createEmailTemplateBody | CreateEmailTemplateBody | Da |
Odgovor
Vraća: CreateEmailTemplateResponse
Primer

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

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

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

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

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

getEmailTemplates 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| skip | double | No |
Response
Returns: GetEmailTemplatesResponse
Example

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

updateEmailTemplate 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Da |
Odgovor
Vraća: APIEmptyResponse
Primer

getEventLog 
req tenantId urlId userIdWS
Parametri
| Ime | 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 
req tenantId urlId userIdWS
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| userIdWS | string | Yes | |
| startTime | int64_t | Yes | |
| endTime | int64_t | No |
Odgovor
Vraća: GetEventLogResponse
Primer

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

createFeedPostPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createFeedPostParams | CreateFeedPostParams | Yes | |
| options | const CreateFeedPostPublicOptions& | Yes |
Odgovor
Vraća: CreateFeedPostResponse
Primer

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

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

getFeedPostsPublic 
req tenantId afterId
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetFeedPostsPublicOptions& | Da |
Odgovor
Vraća: PublicFeedPostsResponse
Primer

getFeedPostsStats 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| postIds | vector<string | Yes | |
| sso | string | No |
Odgovor
Vraća: FeedPostsStatsResponse
Primer

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

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

updateFeedPost 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| feedPost | FeedPost | Yes |
Odgovor
Vraća: APIEmptyResponse
Primer

updateFeedPostPublic 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| postId | string | Yes | |
| updateFeedPostParams | UpdateFeedPostParams | Yes | |
| options | const UpdateFeedPostPublicOptions& | Yes |
Odgovor
Vraća: CreateFeedPostResponse
Primer

flagCommentPublic 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| isFlagged | bool | Yes | |
| sso | string | No |
Odgovor
Vraća: APIEmptyResponse
Primer

getGifLarge 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| largeInternalURLSanitized | string | Yes |
Odgovor
Vraća: GifGetLargeResponse
Primer

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

getGifsTrending 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetGifsTrendingOptions& | Yes |
Odgovor
Vraća: GetGifsTrendingResponse
Primer

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

addHashTagsBulk 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Yes |
Odgovor
Vraća: BulkCreateHashTagsResponse
Primer

deleteHashTag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| tag | string | Da | |
| deleteHashTagRequestBody | DeleteHashTagRequestBody | Da |
Odgovor
Vraća: APIEmptyResponse
Primer

getHashTags 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| page | double | Ne |
Odgovor
Vraća: GetHashTagsResponse
Primer

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

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

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

getApiExportStatus 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetApiExportStatusOptions& | Yes |
Odgovor
Vraća: ModerationExportStatusResponse
Primer

getApiIds 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetApiIdsOptions& | Yes |
Odgovor
Returns: ModerationAPIGetCommentIdsResponse
Primer

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

getCommentBanStatus 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: GetCommentBanStatusResponse
Primer

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

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

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

getLogs 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Odgovor
Vraća: ModerationAPIGetLogsResponse
Primer

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

getManualBadgesForUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetManualBadgesForUserOptions& | Yes |
Odgovor
Vraća: GetUserManualBadgesResponse
Primer

getModerationComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const GetModerationCommentOptions& | Da |
Odgovor
Vraća: ModerationAPICommentResponse
Primer

getModerationCommentText 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| 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
Primer

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

getSearchPages 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetSearchPagesOptions& | Da |
Odgovor
Vraća: ModerationPageSearchResponse
Primer

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

getSearchSuggest 
Parameters
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetSearchSuggestOptions& | Da |
Response
Vraća: ModerationSuggestResponse
Example

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
Primer

getUserBanPreference 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| sso | string | No |
Odgovor
Returns: APIModerateGetUserBanPreferencesResponse
Primer

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

postAdjustCommentVotes 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| adjustCommentVotesParams | AdjustCommentVotesParams | Da | |
| options | const PostAdjustCommentVotesOptions& | Da |
Odgovor
Vraća: AdjustVotesResponse
Primer

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

postBanUserFromComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const PostBanUserFromCommentOptions& | Da |
Odgovor
Vraća: BanUserFromCommentResult
Primer

postBanUserUndo 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| banUserUndoParams | BanUserUndoParams | Da | |
| sso | string | Ne |
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
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentsByIdsParams | CommentsByIdsParams | Da | |
| sso | string | Ne |
Odgovor
Vraća: ModerationAPIChildCommentsResponse
Primer

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

postRemoveComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostRemoveCommentOptions& | Yes |
Odgovor
Vraća: PostRemoveCommentApiResponse
Primer

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
Primer

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

postSetCommentSpamStatus 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostSetCommentSpamStatusOptions& | Yes |
Odgovor
Vraća: APIEmptyResponse
Primer

postSetCommentText 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| 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 | Da | |
| commentId | string | Da | |
| options | const PostUnFlagCommentOptions& | Da |
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
Primer

putAwardBadge 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| badgeId | string | Da | |
| options | const PutAwardBadgeOptions& | Da |
Odgovor
Vraća: AwardUserBadgeResponse
Primer

putCloseThread 
Parametri
| Ime | 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
Primer

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

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

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

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

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

getModerators 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| skip | double | No |
Odgovor
Vraća: GetModeratorsResponse
Primer

sendInvite 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| fromName | string | Yes |
Odgovor
Vraća: APIEmptyResponse
Primer

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

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

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

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

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

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

createV1PageReact 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| title | string | Ne |
Response
Vraća: CreateV1PageReact
Example

createV2PageReact 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| id | string | Da | |
| title | string | Ne |
Odgovor
Vraća: CreateV1PageReact
Primer

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

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
Returns: GetV1PageLikes
Primer

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

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

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 | Da | |
| id | string | Da |
Odgovor
Vraća: DeletePageAPIResponse
Primer

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 pretplaćena na stranicu upravo sada.
Vraća anonCount + totalCount (pretplatnici u cijeloj sobi, uključujući anonimne gledaoce koje ne nabrajamo).
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| options | const GetOnlineUsersOptions& | Da |
Odgovor
Vraća: PageUsersOnlineResponse
Primer

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
Primer

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.
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetPagesPublicOptions& | Yes |
Odgovor
Vraća: GetPublicPagesResponse
Primer

getUsersInfo 
Skup informacija o korisnicima za najamnika. Dati userIds, vraća informacije za prikaz iz User / SSOUser.
Koristi se u vidžetu komentara za obogaćivanje korisnika koji su upravo pojavili putem događaja prisustva.
Bez konteksta stranice: privatnost se primenjuje uniformno (privatni profili su maskirani).
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| ids | string | Yes |
Odgovor
Vraća: PageUsersInfoResponse
Primer

patchPage 
Parameters
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPIPageData | UpdateAPIPageData | Da |
Response
Vraća: PatchPageAPIResponse
Example

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

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

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

createQuestionConfig 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionConfigBody | CreateQuestionConfigBody | Da |
Response
Vraća: CreateQuestionConfigResponse
Example

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

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

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

updateQuestionConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Yes |
Odgovor
Returns: APIEmptyResponse
Primer

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

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

getQuestionResult 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetQuestionResultResponse
Primer

getQuestionResults 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetQuestionResultsOptions& | Da |
Odgovor
Vraća: GetQuestionResultsResponse
Primer

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

aggregateQuestionResults 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const AggregateQuestionResultsOptions& | Da |
Odgovor
Vraća: AggregateQuestionResultsResponse
Primer

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

combineCommentsWithQuestionResults 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const CombineCommentsWithQuestionResultsOptions& | Yes |
Odgovor
Vraća: CombineQuestionResultsWithCommentsResponse
Primer

addSSOUser 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| createAPISSOUserData | CreateAPISSOUserData | Da |
Odgovor
Vraća: AddSSOUserAPIResponse
Primer

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

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

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

getSSOUsers 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| skip | int32_t | No |
Odgovor
Vraća: GetSSOUsersResponse
Primer

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

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 | Da | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Da |
Odgovor
Vraća: CreateSubscriptionAPIResponse
Primer

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

getSubscriptions 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | No |
Odgovor
Vraća: GetSubscriptionsAPIResponse
Primer

updateSubscription 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Yes | |
| userId | string | No |
Odgovor
Vraća: UpdateSubscriptionAPIResponse
Primer

getTenantDailyUsages 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetTenantDailyUsagesOptions& | Da |
Response
Vraća: GetTenantDailyUsagesResponse
Primer

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

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

getTenantPackage 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vraća: GetTenantPackageResponse
Primer

getTenantPackages 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| skip | double | No |
Odgovor
Vraća: GetTenantPackagesResponse
Primer

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

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

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

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

getTenantUser 
Parameters
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Response
Vraća: GetTenantUserResponse
Primer

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

replaceTenantUser 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| replaceTenantUserBody | ReplaceTenantUserBody | Da | |
| updateComments | string | Ne |
Odgovor
Returns: APIEmptyResponse
Primer

sendLoginLink 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| redirectURL | string | Ne |
Odgovor
Vraća: APIEmptyResponse
Primer

updateTenantUser 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateTenantUserBody | UpdateTenantUserBody | Da | |
| updateComments | string | Ne |
Odgovor
Vraća: APIEmptyResponse
Primer

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

deleteTenant 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| sure | string | Ne |
Odgovor
Vraća: APIEmptyResponse
Primer

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

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

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

changeTicketState 
Parametri
| Naziv | 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 | Da | |
| userId | string | Da | |
| createTicketBody | CreateTicketBody | Da |
Odgovor
Vraća: CreateTicketResponse
Primer

getTicket 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| userId | string | No |
Odgovor
Vraća: GetTicketResponse
Primer

getTickets 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetTicketsOptions& | Da |
Odgovor
Vraća: GetTicketsResponse
Primer

getTranslations 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| r_namespace | string | Yes | |
| component | string | Yes | |
| options | const GetTranslationsOptions& | Yes |
Odgovor
Vraća: GetTranslationsResponse
Primer

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

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

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

getUserBadgeProgressList 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetUserBadgeProgressListOptions& | Da |
Odgovor
Vraća: APIGetUserBadgeProgressListResponse
Primer

createUserBadge 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createUserBadgeParams | CreateUserBadgeParams | Da |
Odgovor
Vraća: APICreateUserBadgeResponse
Primer

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

getUserBadge 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vraća: APIGetUserBadgeResponse
Primer

getUserBadges 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetUserBadgesOptions& | Yes |
Odgovor
Returns: APIGetUserBadgesResponse
Primer

updateUserBadge 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| 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
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetUserNotificationsOptions& | Da |
Odgovor
Vraća: GetMyNotificationsResponse
Primer

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

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

updateUserNotificationCommentSubscriptionStatus 
Omogući ili onemogući obaveštenja 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
Primer

updateUserNotificationPageSubscriptionStatus 
Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| url | string | Yes | |
| pageTitle | string | Yes | |
| subscribedOrUnsubscribed | string | Yes | |
| sso | string | No |
Response
Vraća: UpdateUserNotificationPageSubscriptionStatusResponse
Primer

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

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 | Da | |
| id | string | Da |
Odgovor
Vraća: GetUserResponse
Primer

createVote 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| direction | string | Yes | |
| options | const CreateVoteOptions& | Yes |
Odgovor
Vraća: VoteResponse
Primer

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

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

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

Trebate pomoć?
Ako naiđete na bilo kakve probleme ili imate pitanja u vezi C++ SDK-a, molimo:
Doprinosi
Doprinosi su dobrodošli! Molimo posetite GitHub repozitorijum za smernice o doprinosu.