
Jezik 🇸🇮 Slovenščina
Dokumentacija
Začetek
Referenca API
Uporaba
Agregacija
Dnevniki revizije
Avtentikacija
Blokiranje iz komentarja
Preverjanje blokiranih komentarjev
Komentarji
Komentarji za uporabnika
Nastavitve domene
E-poštne predloge
Dnevnik dogodkov
Objave vira
Označi komentar
GIFi
Hashtagi
Moderacija
Moderatorji
Število obvestil
Obvestila
Reakcije strani
Strani
Čakajoči webhook dogodki
Konfiguracije vprašanj
Rezultati vprašanj
Agregacija rezultatov vprašanj
SSO uporabniki
Naročnine
Dnevna uporaba najemnika
Paketi najemnika
Uporabniki najemnika
Najemniki
Vstopnice
Prevodi
Naloži sliko
Napredek značke uporabnika
Značke uporabnikov
Uporabniška obvestila
Status prisotnosti uporabnika
Iskanje uporabnikov
Uporabniki
Glasovi
FastComments SDK za C++
To je uradni C++ SDK za FastComments.
Uradni C++ SDK za API FastComments
Repozitorij
Zahteve 
- C++17 ali novejša
- CMake 3.14 ali novejša
- OpenSSL
- C++ REST SDK (cpprestsdk)
- Boost
- Google Test (samodejno prenesen za testiranje)
Namestitev 
Namestitev odvisnosti
sudo apt install libcpprest-dev libboost-all-dev
Gradnja iz izvorne kode
mkdir build
cd build
cmake ..
make
Namestitev
sudo make install
Vsebina knjižnice
Ta knjižnica vsebuje ustvarjen odjemalec API-ja in orodja SSO, ki olajšajo delo z API-jem.
Javni in zavarovani API-ji
Za odjemalca API obstajajo trije razredi, DefaultApi, PublicApi in ModerationApi. DefaultApi vsebuje metode, ki zahtevajo vaš API ključ, PublicApi pa metode, ki jih je mogoče izvajati neposredno iz brskalnika/naprave mobilnega telefona/itd brez avtentikacije. ModerationApi nudi obsežen nabor živih in hitrih moderacijskih API-jev. Vsaka metoda ModerationApi sprejme parameter sso in se lahko avtenticira prek SSO ali piškotka seje FastComments.com.
Hitri začetek 
Uporaba avtenticiranih API-jev (DefaultAPI)
Pomembno:
- Morate nastaviti osnovni URL (cpp‑restsdk generator ga ne prebere iz OpenAPI specifikacije)
- Morate nastaviti svoj API ključ v ApiClient pred izvedbo avtenticiranih zahtev. Če tega ne storite, bodo zahteve neuspešne z napako 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>();
// OBVEZNO: Nastavi osnovni URL (izberi svojo regijo)
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com")); // US
// ALI: config->setBaseUrl(utility::conversions::to_string_t("https://eu.fastcomments.com")); // EU
// OBVEZNO: Nastavi 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);
// Zdaj izvedi avtenticirane klice API
return 0;
}
Uporaba javnih API-jev (PublicAPI)
Javni končni naslovi ne zahtevajo avtentikacije:
#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>();
// OBVEZNO: Nastavi 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);
// Izvedi javne klice API
return 0;
}
Uporaba moderacijskih API-jev (ModerationApi)
ModerationApi poganja nadzorno ploščo moderatorjev. Vsaka metoda sprejme parameter sso, tako da se klic izvede v imenu moderatorja, avtenticiranega prek SSO (glejte sekcijo SSO spodaj za ustvarjanje žetona):
#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>();
// OBVEZNO: Nastavi 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);
// Posreduj SSO žeton moderatorja, da overiš klic
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;
}
Pogoste težave
- Napaka “URI must contain a hostname”: Prepričajte se, da pred ustvarjanjem
ApiClientpokličeteconfig->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com")). Generator cpp‑restsdk ne prebere samodejno URL‑ja strežnika iz OpenAPI specifikacije. - Napaka 401 “missing-api-key”: Prepričajte se, da pred ustvarjanjem instance
DefaultAPIpokličeteconfig->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_KEY")). - Napačen API razred: Uporabite
DefaultApiza strežniške avtenticirane zahteve,PublicApiza odjemalske/javne zahteve inModerationApiza zahteve nadzorne plošče moderatorja (avtenticirane s SSO žetonom moderatorja).
Klici API: sinhroni proti asinhronim 
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 klici z .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);
// Zahtevani parametri so pozicijski; neobvezni grejo v strukturo možnosti
org::openapitools::client::api::GetCommentsOptions options;
options.urlId = utility::conversions::to_string_t("your-url-id");
// Pokličite .get(), da blokirate in pridobite rezultat sinhrono
auto response = api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
options
).get(); // Blokira, dokler HTTP zahteva ne zaključi
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
Asinhroni klici z .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);
// Zahtevani parametri so pozicijski; neobvezni grejo v strukturo možnosti
org::openapitools::client::api::GetCommentsOptions options;
options.urlId = utility::conversions::to_string_t("your-url-id");
// Uporabite .then() za asinhrono izvajanje s povratnimi klici
api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
options
).then([](std::shared_ptr<GetComments_200_response> response) {
// To se izvede asinhrono, ko se zahteva zaključi
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
});
// Izvajanje se takoj nadaljuje brez blokiranja
std::cout << "Request sent, continuing..." << std::endl;
Izbira med sinhronim in asinhronim
The choice depends on your runtime environment and application architecture:
.get() (Synchronous blocking)
- Blokira klicno nit, dokler HTTP zahteva ne zaključi
- Preprostejši potek kode, lažje razumljiv
- Primeren za namenjene delovne niti, paketna obdelovanja ali orodja v ukazni vrstici
- Ni primerno za zanke dogodkov, GUI niti ali enovratne strežnike
.then() (Asynchronous non-blocking)
- Vrne takoj, povratni klic se izvede, ko se zahteva zaključi
- Ne blokira klicne niti
- Potrebno za dogodkovno usmerjene arhitekture, GUI aplikacije ali enovratne zanke dogodkov
- Omogoča zaporedno povezovanje več operacij
- Bolj zapleten potek nadzora
The SDK's test suite uses .get() exclusively, but this is appropriate for the test environment where blocking is acceptable.
Opombe 
Broadcast Ids
Videli boste, da morate v nekaterih klicih API posredovati broadcastId. Ko prejmete dogodke, boste dobili ta ID nazaj, tako da veste, da lahko dogodek ignorirate, če nameravate optimistično uporabiti spremembe na odjemalcu
(kar boste verjetno želeli storiti, saj zagotavlja najboljšo izkušnjo). Posredujte UUID tukaj. ID naj bo dovolj edinstven, da se ne pojavi dvakrat v brskalniški seji.
SSO (Enotna prijava)
Za primere SSO glejte spodaj.
Uporaba SSO 
Preprost 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;
}
Varen 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 končne točke
All URIs are relative to https://fastcomments.com
| Klasa | Metoda | HTTP zahteva | 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 z njihovim grupiranjem (če je naveden groupBy) in uporabo več operacij. Podprte so različne operacije (npr. sum, countDistinct, avg, …). |
| DefaultApi | aggregateQuestionResults | GET /api/v1/question-results-aggregation | |
| DefaultApi | blockUserFromComment | POST /api/v1/comments/{id}/block | |
| DefaultApi | bulkAggregateQuestionResults | POST /api/v1/question-results-aggregation/bulk | |
| DefaultApi | 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 | Prejšnji komentatorji na strani, KI NISO trenutno online. Razvrščeni po displayName. Uporabite po izčrpavanju /users/online, da prikažete razdelek “Člani”. Kursorska paginacija po commenterName: strežnik sprehaja delni indeks {tenantId, urlId, commenterName} od afterName naprej z $gt, brez stroška $skip. |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | Trenutno‑online gledalci strani: ljudje, katerih WebSocket seja je trenutno naročena na stran. Vrne anonCount + totalCount (vsi naročniki sobe, vključno z anonimnimi gledalci, ki jih ne naštejemo). |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | Seznam strani za najemnika. Uporablja ga namizni odjemalec FChat za napolnitev seznama sob. Zahteva, da je enableFChat nastavljeno na true v razrešenem prilagojenem nastavitvenem objektu za vsako stran. Strani, ki zahtevajo SSO, so filtrirane glede na grupni dostop zahtevajočega uporabnika. |
| 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 | Paketirani podatki o uporabnikih za najemnika. Podan seznam userIds vrne prikazne podatke iz User / SSOUser. Uporablja widget za komentarje, da obogati uporabnike, ki se pravkar pojavijo preko dogodka prisotnosti. Brez kontekstne strani: zasebni profili so maskirani, da se ohrani zasebnost. |
| 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} | Omogoči ali onemogoči obvestila za določen komentar. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Omogoči ali onemogoči obvestila za stran. Ko so uporabniki naročeni na stran, se ustvarijo obvestila za nove korenske komentarje, in tudi |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Naloži in spremeni velikost 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
- CreateAPIUserSubscriptionData
- CreateCommentParams
- [CreateEmailTemplateBody](https://github.com/FastComments/fastcomments-cpp/blob/master/docs/Models/Create
aggregate 
Aggregira dokumente z grupiranjem (če je podan parameter groupBy) in uporabo več operacij. Podprte so različne operacije (npr. sum, countDistinct, avg itd.).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| aggregationRequest | AggregationRequest | Yes | |
| options | const AggregateOptions& | Yes |
Response
Returns: AggregateResponse
Example

getAuditLogs 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetAuditLogsOptions& | Yes |
Odgovor
Vrne: GetAuditLogsResponse
Primer

logoutPublic 
Odgovor
Vrne: APIEmptyResponse
Primer

blockFromCommentPublic 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Yes | |
| sso | string | No |
Odgovor
Vrne: BlockSuccess
Primer

unBlockCommentPublic 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Da | |
| sso | string | Ne |
Odgovor
Vrne: UnblockSuccess
Primer

checkedCommentsForBlocked 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentIds | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: CheckBlockedCommentsResponse
Primer

blockUserFromComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| blockFromCommentParams | BlockFromCommentParams | Yes | |
| options | const BlockUserFromCommentOptions& | Yes |
Odgovor
Vrne: BlockSuccess
Primer

createCommentPublic 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| broadcastId | string | Yes | |
| commentData | CommentData | Yes | |
| options | const CreateCommentPublicOptions& | Yes |
Odgovor
Vrne: SaveCommentsResponseWithPresence
Primer

deleteComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| options | const DeleteCommentOptions& | Da |
Odgovor
Returns: DeleteCommentResult
Primer

deleteCommentPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| options | const DeleteCommentPublicOptions& | Da |
Odgovor
Vrne: PublicAPIDeleteCommentResponse
Primer

deleteCommentVote 
Parameters
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| voteId | string | Yes | |
| urlId | string | Yes | |
| broadcastId | string | Yes | |
| options | const DeleteCommentVoteOptions& | Yes |
Response
Vrne: VoteDeleteResponse
Primer

flagComment 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| options | const FlagCommentOptions& | Da |
Odgovor
Vrne: FlagCommentResponse
Primer

getComment 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vrne: APIGetCommentResponse
Primer

getComments 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetCommentsOptions& | Da |
Odgovor
Vrne: APIGetCommentsResponse
Primer

getCommentsPublic 
zahteva tenantId urlId
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| options | const GetCommentsPublicOptions& | Da |
Odgovor
Vrne: GetCommentsResponseWithPresence_PublicComment_
Primer

getCommentText 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const GetCommentTextOptions& | Da |
Odgovor
Vrne: PublicAPIGetCommentTextResponse
Primer

getCommentVoteUserNames 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| dir | int32_t | Da | |
| sso | string | Ne |
Odgovor
Vrne: GetCommentVoteUserNamesSuccessResponse
Primer

lockComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: APIEmptyResponse
Primer

pinComment 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| sso | string | No |
Response
Vrne: ChangeCommentPinStatusResponse
Primer

saveComment 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| createCommentParams | CreateCommentParams | Yes | |
| options | const SaveCommentOptions& | Yes |
Response
Vrne: APISaveCommentResponse
Example

setCommentText 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Yes | |
| options | const SetCommentTextOptions& | Yes |
Odgovor
Vrne: PublicAPISetCommentTextResponse
Primer

unBlockUserFromComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Da | |
| options | const UnBlockUserFromCommentOptions& | Da |
Odgovor
Vrne: UnblockSuccess
Primer

unFlagComment 
Parametri
| Ime | Tip | Potrebno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| options | const UnFlagCommentOptions& | Da |
Odgovor
Vrne: FlagCommentResponse
Primer

unLockComment 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Response
Vrne: APIEmptyResponse
Example

unPinComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| sso | string | No |
Odgovor
Vrne: ChangeCommentPinStatusResponse
Primer

updateComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updatableCommentParams | UpdatableCommentParams | Da | |
| options | const UpdateCommentOptions& | Da |
Odgovor
Vrne: APIEmptyResponse
Primer

voteComment 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| urlId | string | Yes | |
| broadcastId | string | Yes | |
| voteBodyParams | VoteBodyParams | Yes | |
| options | const VoteCommentOptions& | Yes |
Response
Vrne: VoteResponse
Example

getCommentsForUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| options | const GetCommentsForUserOptions& | Yes |
Odgovor
Vrne: GetCommentsForUserResponse
Primer

addDomainConfig 
Parametri
| Ime | Tip | Potrebno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| addDomainConfigParams | AddDomainConfigParams | Da |
Odgovor
Vrne: AddDomainConfigResponse
Primer

deleteDomainConfig 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Da |
Odgovor
Vrne: DeleteDomainConfigResponse
Primer

getDomainConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Da |
Odgovor
Vrne: GetDomainConfigResponse
Primer

getDomainConfigs 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes |
Odgovor
Vrne: GetDomainConfigsResponse
Primer

patchDomainConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| domainToUpdate | string | Yes | |
| patchDomainConfigParams | PatchDomainConfigParams | Yes |
Odgovor
Vrne: PatchDomainConfigResponse
Primer

putDomainConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domainToUpdate | string | Da | |
| updateDomainConfigParams | UpdateDomainConfigParams | Da |
Odgovor
Vrne: PutDomainConfigResponse
Primer

createEmailTemplate 
Parametri
| Ime | Tip | Potrebno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createEmailTemplateBody | CreateEmailTemplateBody | Yes |
Odgovor
Returns: CreateEmailTemplateResponse
Primer

deleteEmailTemplate 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vrne: APIEmptyResponse
Primer

deleteEmailTemplateRenderError 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| errorId | string | Da |
Odgovor
Vrne: APIEmptyResponse
Primer

getEmailTemplate 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vrne: GetEmailTemplateResponse
Primer

getEmailTemplateDefinitions 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vrne: GetEmailTemplateDefinitionsResponse
Primer

getEmailTemplateRenderErrors 
Parameters
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| skip | double | Ne |
Response
Vrne: GetEmailTemplateRenderErrorsResponse
Example

getEmailTemplates 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odziv
Vrne: GetEmailTemplatesResponse
Primer

renderEmailTemplate 
Parameters
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Da | |
| locale | string | Ne |
Odgovor
Vrne: RenderEmailTemplateResponse
Primer

updateEmailTemplate 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Yes |
Odgovor
Vrne: APIEmptyResponse
Primer

getEventLog 
req tenantId urlId userIdWS
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| userIdWS | string | Yes | |
| startTime | int64_t | Yes | |
| endTime | int64_t | No |
Odgovor
Vrne: GetEventLogResponse
Primer

getGlobalEventLog 
req tenantId urlId userIdWS
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userIdWS | string | Da | |
| startTime | int64_t | Da | |
| endTime | int64_t | Ne |
Odziv
Vrne: GetEventLogResponse
Primer

createFeedPost 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createFeedPostParams | CreateFeedPostParams | Yes | |
| options | const CreateFeedPostOptions& | Yes |
Response
Vrne: CreateFeedPostsResponse
Example

createFeedPostPublic 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createFeedPostParams | CreateFeedPostParams | Da | |
| options | const CreateFeedPostPublicOptions& | Da |
Odziv
Vrne: CreateFeedPostResponse
Primer

deleteFeedPostPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Da | |
| options | const DeleteFeedPostPublicOptions& | Da |
Odgovor
Vrne: DeleteFeedPostPublicResponse
Primer

getFeedPosts 
req tenantId afterId
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetFeedPostsOptions& | Da |
Odgovor
Vrne: GetFeedPostsResponse
Primer

getFeedPostsPublic 
req tenantId afterId
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetFeedPostsPublicOptions& | Da |
Odgovor
Vrne: PublicFeedPostsResponse
Primer

getFeedPostsStats 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| postIds | vector<string | Yes | |
| sso | string | No |
Odziv
Vračajo: FeedPostsStatsResponse
Primer

getUserReactsPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetUserReactsPublicOptions& | Da |
Odgovor
Vrne: UserReactsResponse
Primer

reactFeedPostPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Da | |
| reactBodyParams | ReactBodyParams | Da | |
| options | const ReactFeedPostPublicOptions& | Da |
Odgovor
Vrne: ReactFeedPostResponse
Primer

updateFeedPost 
Parametri
| Ime | Tip | Potrebno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| feedPost | FeedPost | Yes |
Odgovor
Vrne: APIEmptyResponse
Primer

updateFeedPostPublic 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| postId | string | Yes | |
| updateFeedPostParams | UpdateFeedPostParams | Yes | |
| options | const UpdateFeedPostPublicOptions& | Yes |
Odgovor
Vrne: CreateFeedPostResponse
Primer

flagCommentPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| isFlagged | bool | Yes | |
| sso | string | No |
Odgovor
Vrne: APIEmptyResponse
Primer

getGifLarge 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| largeInternalURLSanitized | string | Da |
Odgovor
Vrne: GifGetLargeResponse
Primer

getGifsSearch 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| search | string | Yes | |
| options | const GetGifsSearchOptions& | Yes |
Odgovor
Vrne: GetGifsSearchResponse
Primer

getGifsTrending 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetGifsTrendingOptions& | Da |
Odgovor
Vrne: GetGifsTrendingResponse
Primer

addHashTag 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createHashTagBody | CreateHashTagBody | Yes |
Odziv
Vrne: CreateHashTagResponse
Primer

addHashTagsBulk 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Yes |
Odgovor
Vrne: BulkCreateHashTagsResponse
Primer

deleteHashTag 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| tag | string | Yes | |
| deleteHashTagRequestBody | DeleteHashTagRequestBody | Yes |
Odgovor
Vrne: APIEmptyResponse
Primer

getHashTags 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| page | double | Ne |
Odgovor
Vrne: GetHashTagsResponse
Primer

patchHashTag 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| tag | string | Yes | |
| updateHashTagBody | UpdateHashTagBody | Yes |
Odgovor
Vrne: UpdateHashTagResponse
Primer

deleteModerationVote 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| voteId | string | Da | |
| options | const DeleteModerationVoteOptions& | Da |
Odgovor
Vrne: VoteDeleteResponse
Primer

getApiComments 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetApiCommentsOptions& | Da |
Odgovor
Vrne: ModerationAPIGetCommentsResponse
Primer

getApiExportStatus 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetApiExportStatusOptions& | Da |
Odgovor
Vrne: ModerationExportStatusResponse
Primer

getApiIds 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetApiIdsOptions& | Yes |
Odgovor
Vrne: ModerationAPIGetCommentIdsResponse
Primer

getBanUsersFromComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| sso | string | Ne |
Odziv
Vrne: GetBannedUsersFromCommentResponse
Primer

getCommentBanStatus 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Response
Returns: GetCommentBanStatusResponse
Primer

getCommentChildren 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| sso | string | Ne |
Odziv
Vrne: ModerationAPIChildCommentsResponse
Primer

getCount 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetCountOptions& | Yes |
Odgovor
Vrne: ModerationAPICountCommentsResponse
Primer

getCounts 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: GetBannedUsersCountResponse
Primer

getLogs 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Odgovor
Vrnitev: ModerationAPIGetLogsResponse
Primer

getManualBadges 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: GetTenantManualBadgesResponse
Primer

getManualBadgesForUser 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetManualBadgesForUserOptions& | Da |
Odgovor
Vrne: GetUserManualBadgesResponse
Primer

getModerationComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const GetModerationCommentOptions& | Yes |
Odgovor
Vrne: ModerationAPICommentResponse
Primer

getModerationCommentText 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: GetCommentTextResponse
Primer

getPreBanSummary 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const GetPreBanSummaryOptions& | Yes |
Odgovor
Vrne: PreBanSummary
Primer

getSearchCommentsSummary 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetSearchCommentsSummaryOptions& | Yes |
Odgovor
Vrne: ModerationCommentSearchResponse
Primer

getSearchPages 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetSearchPagesOptions& | Da |
Odgovor
Vrne: ModerationPageSearchResponse
Primer

getSearchSites 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetSearchSitesOptions& | Yes |
Odziv
Vrne: ModerationSiteSearchResponse
Primer

getSearchSuggest 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetSearchSuggestOptions& | Da |
Odgovor
Vrne: ModerationSuggestResponse
Primer

getSearchUsers 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetSearchUsersOptions& | Da |
Odziv
Vrne: ModerationUserSearchResponse
Primer

getTrustFactor 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetTrustFactorOptions& | Da |
Odgovor
Vrne: GetUserTrustFactorResponse
Primer

getUserBanPreference 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odziv
Vrne: APIModerateGetUserBanPreferencesResponse
Primer

getUserInternalProfile 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetUserInternalProfileOptions& | Yes |
Odgovor
Vrne: GetUserInternalProfileResponse
Primer

postAdjustCommentVotes 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| adjustCommentVotesParams | AdjustCommentVotesParams | Da | |
| options | const PostAdjustCommentVotesOptions& | Da |
Odgovor
Vrne: AdjustVotesResponse
Primer

postApiExport 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| options | const PostApiExportOptions& | Da |
Odgovor
Vrne: ModerationExportResponse
Primer

postBanUserFromComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const PostBanUserFromCommentOptions& | Da |
Vrne
Vrne: BanUserFromCommentResult
Primer

postBanUserUndo 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| banUserUndoParams | BanUserUndoParams | Da | |
| sso | string | Ne |
Odgovor
Vrne: APIEmptyResponse
Primer

postBulkPreBanSummary 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| bulkPreBanParams | BulkPreBanParams | Da | |
| options | const PostBulkPreBanSummaryOptions& | Da |
Odgovor
Vrne: BulkPreBanSummary
Primer

postCommentsByIds 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentsByIdsParams | CommentsByIdsParams | Yes | |
| sso | string | No |
Response
Vrne: ModerationAPIChildCommentsResponse
Example

postFlagComment 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostFlagCommentOptions& | Yes |
Odgovor
Returns: APIEmptyResponse
Primer

postRemoveComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const PostRemoveCommentOptions& | Da |
Odgovor
Vrne: PostRemoveCommentApiResponse
Primer

postRestoreDeletedComment 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const PostRestoreDeletedCommentOptions& | Da |
Odziv
Vrne: APIEmptyResponse
Primer

postSetCommentApprovalStatus 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostSetCommentApprovalStatusOptions& | Yes |
Odgovor
Vrne: SetCommentApprovedResponse
Primer

postSetCommentReviewStatus 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const PostSetCommentReviewStatusOptions& | Da |
Odgovor
Vrne: APIEmptyResponse
Primer

postSetCommentSpamStatus 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostSetCommentSpamStatusOptions& | Yes |
Odgovor
Vrne: APIEmptyResponse
Primer

postSetCommentText 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| setCommentTextParams | SetCommentTextParams | Yes | |
| options | const PostSetCommentTextOptions& | Yes |
Odziv
Vrne: SetCommentTextResponse
Primer

postUnFlagComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| options | const PostUnFlagCommentOptions& | Da |
Odgovor
Vrne: APIEmptyResponse
Primer

postVote 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostVoteOptions& | Yes |
Odgovor
Vrne: VoteResponse
Primer

putAwardBadge 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| badgeId | string | Yes | |
| options | const PutAwardBadgeOptions& | Yes |
Odziv
Vrne: AwardUserBadgeResponse
Primer

putCloseThread 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: APIEmptyResponse
Primer

putRemoveBadge 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| badgeId | string | Da | |
| options | const PutRemoveBadgeOptions& | Da |
Odgovor
Vrne: RemoveUserBadgeResponse
Primer

putReopenThread 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| sso | string | No |
Odgovor
Vrne: APIEmptyResponse
Primer

setTrustFactor 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const SetTrustFactorOptions& | Da |
Response
Vrne: SetUserTrustFactorResponse
Primer

createModerator 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createModeratorBody | CreateModeratorBody | Da |
Odgovor
Vrne: CreateModeratorResponse
Primer

deleteModerator 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| sendEmail | string | No |
Odgovor
Vrne: APIEmptyResponse
Primer

getModerator 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odziv
Vrne: GetModeratorResponse
Primer

getModerators 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| skip | double | No |
Odgovor
Vrne: GetModeratorsResponse
Primer

sendInvite 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| fromName | string | Da |
Odgovor
Vrne: APIEmptyResponse
Primer

updateModerator 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateModeratorBody | UpdateModeratorBody | Yes |
Odgovor
Vrne: APIEmptyResponse
Primer

deleteNotificationCount 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vrne: APIEmptyResponse
Primer

getCachedNotificationCount 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odziv
Vrne: GetCachedNotificationCountResponse
Primer

getNotificationCount 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetNotificationCountOptions& | Yes |
Odgovor
Vrne: GetNotificationCountResponse
Primer

getNotifications 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetNotificationsOptions& | Da |
Odgovor
Vrne: GetNotificationsResponse
Primer

updateNotification 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateNotificationBody | UpdateNotificationBody | Da | |
| userId | string | Ne |
Odziv
Vrne: APIEmptyResponse
Primer

createV1PageReact 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| title | string | Ne |
Odgovor
Vrne: CreateV1PageReact
Primer

createV2PageReact 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| id | string | Yes | |
| title | string | No |
Odgovor
Vrne: CreateV1PageReact
Primer

deleteV1PageReact 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vrne: CreateV1PageReact
Primer

deleteV2PageReact 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| id | string | Yes |
Odgovor
Vrne: CreateV1PageReact
Primer

getV1PageLikes 
Parametri
| Ime | Tip | Potrebno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Odgovor
Vrne: GetV1PageLikes
Primer

getV2PageReacts 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Odgovor
Vrne: GetV2PageReacts
Primer

getV2PageReactUsers 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| id | string | Yes |
Odziv
Vrne: GetV2PageReactUsersResponse
Primer

addPage 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createAPIPageData | CreateAPIPageData | Yes |
Odgovor
Returns: AddPageAPIResponse
Primer

deletePage 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Returns: DeletePageAPIResponse
Primer

getOfflineUsers 
Prejšnji komentatorji na strani, KI NI TRENUTNO online. Razvrščeni po displayName.
Uporabite to po izčrpanju /users/online za izris odseka "Members".
Cursor paginiranje po commenterName: strežnik hodi po delnem {tenantId, urlId, commenterName} indeksu od afterName naprej preko $gt, brez stroška $skip.
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| options | const GetOfflineUsersOptions& | Yes |
Odgovor
Vrne: PageUsersOfflineResponse
Primer

getOnlineUsers 
Currently-online viewers of a page: people whose websocket session is subscribed to the page right now. Trenutno prisotni gledalci strani: ljudje, katerih sejo WebSocket je v tem trenutku naročena na stran.
Returns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate). Vrne anonCount + totalCount (naročniki po celotni sobi, vključno z anonimnimi gledalci, ki jih ne naštejemo).
Parameters
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| options | const GetOnlineUsersOptions& | Da |
Response
Vrne: PageUsersOnlineResponse
Example

getPageByURLId 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Odgovor
Vrne: GetPageByURLIdAPIResponse
Primer

getPages 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vrne: GetPagesAPIResponse
Primer

getPagesPublic 
Naštej strani za najemnika. Uporablja ga namizni odjemalec FChat za napolnitev seznama sob.
Zahteva, da je enableFChat nastavljen na true v razrešenih prilagojenih nastavitvah za vsako stran.
Strani, ki zahtevajo SSO, so filtrirane glede na skupinski dostop zahtevanega uporabnika.
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetPagesPublicOptions& | Yes |
Odgovor
Vrne: GetPublicPagesResponse
Primer

getUsersInfo 
Masovni podatki o uporabniku za najemnika. Glede na userIds vrne prikazne informacije iz User / SSOUser.
Uporablja se v pripomočku za komentarje za obogatitev uporabnikov, ki so se pravkar pojavili preko dogodka prisotnosti.
Brez konteksta strani: zasebnost je dosledno uveljavljena (zasebni profili so maskirani).
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| ids | string | Da |
Response
Returns: PageUsersInfoResponse
Example

patchPage 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPIPageData | UpdateAPIPageData | Da |
Odziv
Vrne: PatchPageAPIResponse
Primer

deletePendingWebhookEvent 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odziv
Vrne: APIEmptyResponse
Primer

getPendingWebhookEventCount 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetPendingWebhookEventCountOptions& | Da |
Odgovor
Vrne: GetPendingWebhookEventCountResponse
Primer

getPendingWebhookEvents 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetPendingWebhookEventsOptions& | Yes |
Odgovor
Vrne: GetPendingWebhookEventsResponse
Primer

createQuestionConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionConfigBody | CreateQuestionConfigBody | Da |
Odgovor
Vrne: CreateQuestionConfigResponse
Primer

deleteQuestionConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Returns: APIEmptyResponse
Primer

getQuestionConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vrne: GetQuestionConfigResponse
Primer

getQuestionConfigs 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vrne: GetQuestionConfigsResponse
Primer

updateQuestionConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Yes |
Odgovor
Vrne: APIEmptyResponse
Primer

createQuestionResult 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| createQuestionResultBody | CreateQuestionResultBody | Yes |
Odgovor
Vrne: CreateQuestionResultResponse
Primer

deleteQuestionResult 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odziv
Vrne: APIEmptyResponse
Primer

getQuestionResult 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vrne: GetQuestionResultResponse
Primer

getQuestionResults 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetQuestionResultsOptions& | Da |
Odgovor
Vrne: GetQuestionResultsResponse
Primer

updateQuestionResult 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateQuestionResultBody | UpdateQuestionResultBody | Yes |
Odgovor
Vrne: APIEmptyResponse
Primer

aggregateQuestionResults 
Params
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const AggregateQuestionResultsOptions& | Yes |
Odgovor
Vrne: AggregateQuestionResultsResponse
Primer

bulkAggregateQuestionResults 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Yes | |
| forceRecalculate | bool | No |
Odgovor
Vrne: BulkAggregateQuestionResultsResponse
Primer

combineCommentsWithQuestionResults 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const CombineCommentsWithQuestionResultsOptions& | Da |
Odgovor
Vrne: CombineQuestionResultsWithCommentsResponse
Primer

addSSOUser 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPISSOUserData | CreateAPISSOUserData | Da |
Odgovor
Vrne: AddSSOUserAPIResponse
Primer

deleteSSOUser 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| options | const DeleteSSOUserOptions& | Yes |
Odgovor
Vrne: DeleteSSOUserAPIResponse
Primer

getSSOUserByEmail 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| string | Yes |
Odgovor
Returns: GetSSOUserByEmailAPIResponse
Primer

getSSOUserById 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vrne: GetSSOUserByIdAPIResponse
Primer

getSSOUsers 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | int32_t | Ne |
Odgovor
Vrne: GetSSOUsersResponse
Primer

patchSSOUser 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateAPISSOUserData | UpdateAPISSOUserData | Yes | |
| updateComments | bool | No |
Odgovor
Vrne: PatchSSOUserAPIResponse
Primer

putSSOUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPISSOUserData | UpdateAPISSOUserData | Da | |
| updateComments | bool | Ne |
Odziv
Vrne: PutSSOUserAPIResponse
Primer

createSubscription 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Da |
Odgovor
Vrne: CreateSubscriptionAPIResponse
Primer

deleteSubscription 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| userId | string | No |
Odgovor
Vrne: DeleteSubscriptionAPIResponse
Primer

getSubscriptions 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne |
Odgovor
Vrne: GetSubscriptionsAPIResponse
Primer

updateSubscription 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Yes | |
| userId | string | No |
Response
Vrne: UpdateSubscriptionAPIResponse
Primer

getTenantDailyUsages 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetTenantDailyUsagesOptions& | Da |
Odgovor
Vrne: GetTenantDailyUsagesResponse
Primer

createTenantPackage 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantPackageBody | CreateTenantPackageBody | Da |
Odgovor
Vrne: CreateTenantPackageResponse
Primer

deleteTenantPackage 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vrne: APIEmptyResponse
Primer

getTenantPackage 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Response
Vrne: GetTenantPackageResponse
Example

getTenantPackages 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vrne: GetTenantPackagesResponse
Primer

replaceTenantPackage 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Yes |
Odgovor
Vrne: APIEmptyResponse
Primer

updateTenantPackage 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateTenantPackageBody | UpdateTenantPackageBody | Da |
Odziv
Vrne: APIEmptyResponse
Primer

createTenantUser 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantUserBody | CreateTenantUserBody | Da |
Odgovor
Vrne: CreateTenantUserResponse
Primer

deleteTenantUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| options | const DeleteTenantUserOptions& | Da |
Odgovor
Vrne: APIEmptyResponse
Primer

getTenantUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vrne: GetTenantUserResponse
Primer

getTenantUsers 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vrne: GetTenantUsersResponse
Primer

replaceTenantUser 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| replaceTenantUserBody | ReplaceTenantUserBody | Yes | |
| updateComments | string | No |
Odgovor
Vrne: APIEmptyResponse
Primer

sendLoginLink 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| redirectURL | string | Ne |
Response
Vrne: APIEmptyResponse
Example

updateTenantUser 
Parameters
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateTenantUserBody | UpdateTenantUserBody | Yes | |
| updateComments | string | No |
Response
Vrne: APIEmptyResponse
Example

createTenant 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantBody | CreateTenantBody | Da |
Odziv
Vrnitev: CreateTenantResponse
Primer

deleteTenant 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| sure | string | No |
Odgovor
Vrne: APIEmptyResponse
Primer

getTenant 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Response
Returns: GetTenantResponse
Example

getTenants 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetTenantsOptions& | Yes |
Odgovor
Vrne: GetTenantsResponse
Primer

updateTenant 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateTenantBody | UpdateTenantBody | Yes |
Odgovor
Vrne: APIEmptyResponse
Primer

changeTicketState 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | Yes | |
| id | string | Yes | |
| changeTicketStateBody | ChangeTicketStateBody | Yes |
Odgovor
Vrne: ChangeTicketStateResponse
Primer

createTicket 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | Yes | |
| createTicketBody | CreateTicketBody | Yes |
Odgovor
Vrne: CreateTicketResponse
Primer

getTicket 
Parametri
| Ime | Tip | Potrebno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| userId | string | No |
Odgovor
Vrne: GetTicketResponse
Primer

getTickets 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetTicketsOptions& | Da |
Odgovor
Vrne: GetTicketsResponse
Primer

getTranslations 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| r_namespace | string | Yes | |
| component | string | Yes | |
| options | const GetTranslationsOptions& | Yes |
Odgovor
Vrne: GetTranslationsResponse
Primer

uploadImage 
Naloži in spremeni velikost slike
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| file | HttpContent | Yes | |
| options | const UploadImageOptions& | Yes |
Odgovor
Returns: UploadImageResponse
Primer

getUserBadgeProgressById 
Parametri
| Ime | Tip | Potrebno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odziv
Vrne: APIGetUserBadgeProgressResponse
Primer

getUserBadgeProgressByUserId 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | Yes |
Odziv
Vrne: APIGetUserBadgeProgressResponse
Primer

getUserBadgeProgressList 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetUserBadgeProgressListOptions& | Yes |
Odgovor
Vrne: APIGetUserBadgeProgressListResponse
Primer

createUserBadge 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createUserBadgeParams | CreateUserBadgeParams | Da |
Odgovor
Vrne: APICreateUserBadgeResponse
Primer

deleteUserBadge 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vrne: APIEmptySuccessResponse
Primer

getUserBadge 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odgovor
Vrne: APIGetUserBadgeResponse
Primer

getUserBadges 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetUserBadgesOptions& | Yes |
Odgovor
Vrne: APIGetUserBadgesResponse
Primer

updateUserBadge 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateUserBadgeParams | UpdateUserBadgeParams | Da |
Odgovor
Vrne: APIEmptySuccessResponse
Primer

getUserNotificationCount 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: GetUserNotificationCountResponse
Primer

getUserNotifications 
Parametri
| Ime | Tip | Potrebno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const GetUserNotificationsOptions& | Da |
Odgovor
Vrne: GetMyNotificationsResponse
Primer

resetUserNotificationCount 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| sso | string | No |
Odgovor
Vrne: ResetUserNotificationsResponse
Primer

resetUserNotifications 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| options | const ResetUserNotificationsOptions& | Da |
Odgovor
Vrne: ResetUserNotificationsResponse
Primer

updateUserNotificationCommentSubscriptionStatus 
Omogočite ali onemogočite obvestila za določen komentar.
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| notificationId | string | Yes | |
| optedInOrOut | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Odgovor
Vrne: UpdateUserNotificationCommentSubscriptionStatusResponse
Primer

updateUserNotificationPageSubscriptionStatus 
Omogoči ali onemogoči obvestila za stran. Ko so uporabniki naročeni na stran, se ustvarjajo obvestila za nove korenske komentarje, ter tudi
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| url | string | Yes | |
| pageTitle | string | Yes | |
| subscribedOrUnsubscribed | string | Yes | |
| sso | string | No |
Odgovor
Vrne: UpdateUserNotificationPageSubscriptionStatusResponse
Primer

updateUserNotificationStatus 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| notificationId | string | Yes | |
| newStatus | string | Yes | |
| sso | string | No |
Odgovor
Vrne: UpdateUserNotificationStatusResponse
Primer

getUserPresenceStatuses 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlIdWS | string | Yes | |
| userIds | string | Yes |
Odgovor
Vrne: GetUserPresenceStatusesResponse
Primer

searchUsers 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| options | const SearchUsersOptions& | Da |
Odgovor
Vrne: SearchUsersResult
Primer

getUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vrne: GetUserResponse
Primer

createVote 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| direction | string | Da | |
| options | const CreateVoteOptions& | Da |
Odgovor
Vrne: VoteResponse
Primer

deleteVote 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| editKey | string | No |
Odgovor
Vrne: VoteDeleteResponse
Primer

getVotes 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vrne: GetVotesResponse
Primer

getVotesForUser 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| options | const GetVotesForUserOptions& | Da |
Odgovor
Vrne: GetVotesForUserResponse
Primer

Potrebujete pomoč?
Če naletite na težave ali imate vprašanja glede C++ SDK, prosimo:
Prispevanje
Prispevki so dobrodošli! Prosimo, obiščite GitHub repozitorij za smernice za prispevanje.