
Sprache 🇩🇪 Deutsch
Dokumentation
Erste Schritte
API-Referenz
Verwendung
Aggregation
Audit-Protokolle
Authentifizierung
Vom Kommentar blockieren
Blockierte Kommentare prüfen
Kommentare
Kommentare für Benutzer
Domain-Konfigurationen
E-Mail-Vorlagen
Ereignisprotokoll
Feed-Beiträge
Kommentar melden
GIFs
Hashtags
Moderation
Moderatoren
Benachrichtigungszähler
Benachrichtigungen
Seiten-Reaktionen
Seiten
Ausstehende Webhook-Ereignisse
Fragekonfigurationen
Frageergebnisse
Aggregation der Frageergebnisse
SSO-Benutzer
Abonnements
Tägliche Nutzung des Mandanten
Mandantenpakete
Mandanten-Benutzer
Mandanten
Tickets
Übersetzungen
Bild hochladen
Fortschritt der Benutzerabzeichen
Benutzerabzeichen
Benutzerbenachrichtigungen
Präsenzstatus der Benutzer
Benutzersuche
Benutzer
Stimmen
FastComments C++ SDK
Dies ist das offizielle C++-SDK für FastComments.
Offizielles C++-SDK für die FastComments-API
Repository
Voraussetzungen 
- C++17 oder später
- CMake 3.14 oder später
- OpenSSL
- C++ REST SDK (cpprestsdk)
- Boost
- Google Test (wird automatisch für Tests heruntergeladen)
Installation 
Install Dependencies
sudo apt install libcpprest-dev libboost-all-dev
Building from Source
mkdir build
cd build
cmake ..
make
Installing
sudo make install
Library Contents
This library contains the generated API client and the SSO utilities to make working with the API easier.
Public vs Secured APIs
For the API client, there are three classes, DefaultApi, PublicApi, and ModerationApi. The DefaultApi contains methods that require your API key, and PublicApi contains
methods that can be made directly from a browser/mobile device/etc without authentication. The ModerationApi provides an extensive suite of live and fast moderation APIs. Every ModerationApi method accepts an sso parameter and can authenticate via SSO or a FastComments.com session cookie.
Schnellstart 
Using Authenticated APIs (DefaultAPI)
Wichtig:
- Sie müssen die Basis-URL festlegen (der cpp-restsdk-Generator liest sie nicht aus der OpenAPI-Spezifikation)
- Sie müssen Ihren API‑Schlüssel im ApiClient setzen, bevor Sie authentifizierte Anfragen senden. Wenn Sie das nicht tun, schlagen die Anfragen mit einem 401‑Fehler fehl.
#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>();
// ERFORDERLICH: Basis-URL festlegen (Region auswählen)
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com")); // US
// ODER: config->setBaseUrl(utility::conversions::to_string_t("https://eu.fastcomments.com")); // EU
// ERFORDERLICH: API-Schlüssel setzen
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);
// Jetzt authentifizierte API-Aufrufe tätigen
return 0;
}
Using Public APIs (PublicAPI)
Öffentliche Endpunkte benötigen keine Authentifizierung:
#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>();
// ERFORDERLICH: Basis-URL festlegen
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);
// Öffentliche API-Aufrufe tätigen
return 0;
}
Using Moderation APIs (ModerationApi)
Die ModerationApi treibt das Moderator‑Dashboard an. Jede Methode akzeptiert einen sso‑Parameter, sodass der Aufruf im Namen eines SSO‑authentifizierten Moderators ausgeführt wird (siehe den SSO‑Abschnitt unten, um zu erfahren, wie man ein Token erstellt):
#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>();
// ERFORDERLICH: Basis-URL festlegen
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);
// Übergeben Sie das SSO-Token des Moderators, um den Aufruf zu authentifizieren
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;
}
Common Issues
- "URI must contain a hostname"-Fehler: Stellen Sie sicher, dass Sie
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"))aufrufen, bevor Sie den ApiClient erstellen. Der cpp-restsdk-Generator liest die Server‑URL nicht automatisch aus der OpenAPI‑Spezifikation. - 401 "missing-api-key"-Fehler: Stellen Sie sicher, dass Sie
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_KEY"))aufrufen, bevor Sie die DefaultAPI‑Instanz erstellen. - Falsche API-Klasse: Verwenden Sie
DefaultApifür serverseitige authentifizierte Anfragen,PublicApifür clientseitige/öffentliche Anfragen undModerationApifür Anfragen des Moderator‑Dashboards (authentifiziert mit einem Moderator‑SSO‑Token).
API-Aufrufe: Synchron vs. Asynchron 
Alle API-Methoden in diesem SDK geben pplx::task<std::shared_ptr<ResponseType>> aus dem C++ REST SDK zurück. Das gibt Ihnen Flexibilität im Umgang mit API‑Antworten.
Synchrone Aufrufe mit .get()
Verwenden Sie .get(), um den aufrufenden Thread zu blockieren, bis die Anfrage abgeschlossen ist, und das Ergebnis synchron abzurufen:
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;
}
Asynchrone Aufrufe mit .then()
Verwenden Sie .then() für nicht‑blockierende asynchrone Ausführung mit Callbacks:
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"));
config->setApiKey(utility::conversions::to_string_t("api_key"),
utility::conversions::to_string_t("YOUR_API_KEY"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::DefaultApi api(apiClient);
// Required parameters are positional; optional ones go in the options struct
org::openapitools::client::api::GetCommentsOptions options;
options.urlId = utility::conversions::to_string_t("your-url-id");
// Use .then() for asynchronous callback-based execution
api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
options
).then([](std::shared_ptr<GetComments_200_response> response) {
// This runs asynchronously when the request completes
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
});
// Execution continues immediately without blocking
std::cout << "Request sent, continuing..." << std::endl;
Auswahl zwischen synchron und asynchron
Die Wahl hängt von Ihrer Laufzeitumgebung und Anwendungsarchitektur ab:
.get() (Synchronous blocking)
- Blockiert den aufrufenden Thread, bis die HTTP‑Anfrage abgeschlossen ist
- Einfacherer Codefluss, leichter nachvollziehbar
- Geeignet für dedizierte Worker‑Threads, Batch‑Verarbeitung oder Kommandozeilen‑Tools
- Nicht geeignet für Ereignisschleifen, GUI‑Threads oder ein‑threadige Server
.then() (Asynchronous non-blocking)
- Gibt sofort zurück, der Callback wird ausgeführt, wenn die Anfrage abgeschlossen ist
- Blockiert den aufrufenden Thread nicht
- Erforderlich für ereignisgesteuerte Architekturen, GUI‑Anwendungen oder ein‑threadige Ereignisschleifen
- Ermöglicht das Verketten mehrerer Operationen
- Komplexerer Kontrollfluss
Die Testsuite des SDK verwendet ausschließlich .get(), was jedoch für die Testumgebung, in der Blockieren akzeptabel ist, passend ist.
Hinweise 
Broadcast-IDs
Sie werden feststellen, dass Sie in einigen API-Aufrufen ein broadcastId übergeben sollen. Wenn Sie Ereignisse empfangen, erhalten Sie diese ID zurück, sodass Sie das Ereignis ignorieren können, wenn Sie vorhaben, Änderungen auf dem Client optimistisch anzuwenden
(was Sie wahrscheinlich tun möchten, da es die beste Benutzererfahrung bietet). Übergeben Sie hier eine UUID. Die ID sollte ausreichend eindeutig sein, damit sie nicht zweimal in einer Browsersitzung auftritt.
SSO (Einmalanmeldung)
Beispiele für SSO finden Sie unten.
SSO-Nutzung 
Einfaches 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;
}
Sicheres 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;
}
Dokumentation für fastcomments 
Dokumentation der API-Endpunkte
All URIs are relative to https://fastcomments.com
| Klasse | Methode | HTTP-Anfrage | Beschreibung |
|---|---|---|---|
| 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 | Aggregiert Dokumente, indem sie (falls groupBy angegeben) gruppiert werden und mehrere Operationen angewendet werden. Verschiedene Operationen (z. B. sum, countDistinct, avg usw.) werden unterstützt. |
| 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 | Früher kommentierende Nutzer der Seite, die derzeit NICHT online sind. Sortiert nach displayName. Verwenden Sie dies, nachdem /users/online erschöpft ist, um einen "Members"-Abschnitt zu rendern. Cursor‑Paginierung nach commenterName: Der Server durchläuft den partiellen {tenantId, urlId, commenterName}-Index ab afterName weiter mittels $gt, ohne $skip‑Kosten. |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | Derzeit online befindliche Betrachter einer Seite: Personen, deren Websocket‑Sitzung gerade für die Seite abonniert ist. Gibt anonCount + totalCount zurück (räumweite Abonnenten, einschließlich anonymer Betrachter, die wir nicht auflisten). |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | Liste der Seiten für einen Tenant. Wird vom FChat‑Desktop‑Client verwendet, um dessen Raumliste zu füllen. Erfordert, dass enableFChat in der aufgelösten benutzerdefinierten Konfiguration jeder Seite auf true gesetzt ist. Seiten, die SSO benötigen, werden anhand des Gruppenzugriffs des anfordernden Benutzers gefiltert. |
| 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 für einen Tenant. Gegeben userIds, Rückgabe von Anzeigedaten aus User / SSOUser. Wird vom Kommentar‑Widget verwendet, um Nutzer zu erweitern, die gerade über ein Presence‑Event erschienen sind. Kein Seiten‑Kontext: Datenschutz wird einheitlich durchgesetzt (private Profile werden maskiert). |
| 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} | Benachrichtigungen für einen konkreten Kommentar aktivieren oder deaktivieren. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Benachrichtigungen für eine Seite aktivieren oder deaktivieren. Wenn Benutzer eine Seite abonnieren, werden Benachrichtigungen für neue Hauptkommentare erstellt, und außerdem |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Bild hochladen und skalieren |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Dokumentation der Modelle
- 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](https://github.com/FastComments/fastcomments-cpp
aggregate 
Aggregiert Dokumente, indem sie (falls groupBy angegeben ist) gruppiert und mehrere Operationen angewendet werden. Verschiedene Operationen (z. B. sum, countDistinct, avg usw.) werden unterstützt.
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| aggregationRequest | AggregationRequest | Ja | |
| options | const AggregateOptions& | Ja |
Antwort
Rückgabe: AggregateResponse
Beispiel

getAuditLogs 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetAuditLogsOptions& | Yes |
Antwort
Rückgabe: GetAuditLogsResponse
Beispiel

logoutPublic 
Antwort
Rückgabe: APIEmptyResponse
Beispiel

blockFromCommentPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Yes | |
| sso | string | No |
Antwort
Rückgabe: BlockSuccess
Beispiel

unBlockCommentPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: UnblockSuccess
Beispiel

checkedCommentsForBlocked 
Parameters
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentIds | string | Yes | |
| sso | string | No |
Response
Rückgabe: CheckBlockedCommentsResponse
Example

blockUserFromComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| blockFromCommentParams | BlockFromCommentParams | Ja | |
| options | const BlockUserFromCommentOptions& | Ja |
Antwort
Rückgabe: BlockSuccess
Beispiel

createCommentPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| broadcastId | string | Ja | |
| commentData | CommentData | Ja | |
| options | const CreateCommentPublicOptions& | Ja |
Antwort
Rückgabe: SaveCommentsResponseWithPresence
Beispiel

deleteComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| options | const DeleteCommentOptions& | Ja |
Antwort
Rückgabe: DeleteCommentResult
Beispiel

deleteCommentPublic 
Parameter
| Name | Type | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| options | const DeleteCommentPublicOptions& | Yes |
Antwort
Rückgabe: PublicAPIDeleteCommentResponse
Beispiel

deleteCommentVote 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| voteId | string | Yes | |
| urlId | string | Yes | |
| broadcastId | string | Yes | |
| options | const DeleteCommentVoteOptions& | Yes |
Antwort
Rückgabe: VoteDeleteResponse
Beispiel

flagComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| options | const FlagCommentOptions& | Yes |
Antwort
Rückgabe: FlagCommentResponse
Beispiel

getComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: APIGetCommentResponse
Beispiel

getComments 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetCommentsOptions& | Yes |
Antwort
Rückgabe: APIGetCommentsResponse
Beispiel

getCommentsPublic 
req tenantId urlId
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| options | const GetCommentsPublicOptions& | Ja |
Antwort
Rückgabe: GetCommentsResponseWithPresence_PublicComment_
Beispiel

getCommentText 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| options | const GetCommentTextOptions& | Ja |
Antwort
Rückgabe: PublicAPIGetCommentTextResponse
Beispiel

getCommentVoteUserNames 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| dir | int32_t | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: GetCommentVoteUserNamesSuccessResponse
Beispiel

lockComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| sso | string | No |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

pinComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| sso | string | No |
Antwort
Rückgabe: ChangeCommentPinStatusResponse
Beispiel

saveComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| createCommentParams | CreateCommentParams | Yes | |
| options | const SaveCommentOptions& | Yes |
Antwort
Rückgabewert: APISaveCommentResponse
Beispiel

setCommentText 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Ja | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Ja | |
| options | const SetCommentTextOptions& | Ja |
Antwort
Returns: PublicAPISetCommentTextResponse
Beispiel

unBlockUserFromComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Ja | |
| options | const UnBlockUserFromCommentOptions& | Ja |
Antwort
Rückgabe: UnblockSuccess
Beispiel

unFlagComment 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| options | const UnFlagCommentOptions& | Ja |
Antwort
Rückgabe: FlagCommentResponse
Beispiel

unLockComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

unPinComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: ChangeCommentPinStatusResponse
Beispiel

updateComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updatableCommentParams | UpdatableCommentParams | Yes | |
| options | const UpdateCommentOptions& | Yes |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

voteComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| urlId | string | Ja | |
| broadcastId | string | Ja | |
| voteBodyParams | VoteBodyParams | Ja | |
| options | const VoteCommentOptions& | Ja |
Antwort
Rückgabe: VoteResponse
Beispiel

getCommentsForUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| options | const GetCommentsForUserOptions& | Ja |
Antwort
Rückgabe: GetCommentsForUserResponse
Beispiel

addDomainConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| addDomainConfigParams | AddDomainConfigParams | Ja |
Antwort
Rückgabe: AddDomainConfigResponse
Beispiel

deleteDomainConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| domain | string | Ja |
Antwort
Rückgabe: DeleteDomainConfigResponse
Beispiel

getDomainConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| domain | string | Ja |
Antwort
Rückgabe: GetDomainConfigResponse
Beispiel

getDomainConfigs 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja |
Antwort
Rückgabe: GetDomainConfigsResponse
Beispiel

patchDomainConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| domainToUpdate | string | Ja | |
| patchDomainConfigParams | PatchDomainConfigParams | Ja |
Antwort
Rückgabe: PatchDomainConfigResponse
Beispiel

putDomainConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| domainToUpdate | string | Ja | |
| updateDomainConfigParams | UpdateDomainConfigParams | Ja |
Antwort
Rückgabe: PutDomainConfigResponse
Beispiel

createEmailTemplate 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createEmailTemplateBody | CreateEmailTemplateBody | Ja |
Antwort
Rückgabe: CreateEmailTemplateResponse
Beispiel

deleteEmailTemplate 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

deleteEmailTemplateRenderError 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| errorId | string | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

getEmailTemplate 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: GetEmailTemplateResponse
Beispiel

getEmailTemplateDefinitions 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja |
Antwort
Rückgabe: GetEmailTemplateDefinitionsResponse
Beispiel

getEmailTemplateRenderErrors 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| skip | double | Nein |
Antwort
Rückgabe: GetEmailTemplateRenderErrorsResponse
Beispiel

getEmailTemplates 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | double | Nein |
Antwort
Rückgabe: GetEmailTemplatesResponse
Beispiel

renderEmailTemplate 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Ja | |
| locale | string | Nein |
Antwort
Rückgabe: RenderEmailTemplateResponse
Beispiel

updateEmailTemplate 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

getEventLog 
req tenantId urlId userIdWS
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| userIdWS | string | Ja | |
| startTime | int64_t | Ja | |
| endTime | int64_t | Nein |
Antwort
Returns: GetEventLogResponse
Beispiel

getGlobalEventLog 
req tenantId urlId userIdWS
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| userIdWS | string | Ja | |
| startTime | int64_t | Ja | |
| endTime | int64_t | Nein |
Antwort
Rückgabe: GetEventLogResponse
Beispiel

createFeedPost 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| createFeedPostParams | CreateFeedPostParams | Yes | |
| options | const CreateFeedPostOptions& | Yes |
Antwort
Rückgabe: CreateFeedPostsResponse
Beispiel

createFeedPostPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createFeedPostParams | CreateFeedPostParams | Ja | |
| options | const CreateFeedPostPublicOptions& | Ja |
Antwort
Rückgabe: CreateFeedPostResponse
Beispiel

deleteFeedPostPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| postId | string | Yes | |
| options | const DeleteFeedPostPublicOptions& | Yes |
Antwort
Rückgabe: DeleteFeedPostPublicResponse
Beispiel

getFeedPosts 
req tenantId afterId
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetFeedPostsOptions& | Ja |
Antwort
Rückgabe: GetFeedPostsResponse
Beispiel

getFeedPostsPublic 
req tenantId afterId
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetFeedPostsPublicOptions& | Ja |
Antwort
Gibt zurück: PublicFeedPostsResponse
Beispiel

getFeedPostsStats 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| postIds | vector<string | Yes | |
| sso | string | No |
Antwort
Rückgabe: FeedPostsStatsResponse
Beispiel

getUserReactsPublic 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetUserReactsPublicOptions& | Yes |
Antwort
Returns: UserReactsResponse
Beispiel

reactFeedPostPublic 
Parameters
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| postId | string | Yes | |
| reactBodyParams | ReactBodyParams | Yes | |
| options | const ReactFeedPostPublicOptions& | Yes |
Response
Rückgabe: ReactFeedPostResponse
Example

updateFeedPost 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| feedPost | FeedPost | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

updateFeedPostPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| postId | string | Yes | |
| updateFeedPostParams | UpdateFeedPostParams | Yes | |
| options | const UpdateFeedPostPublicOptions& | Yes |
Antwort
Rückgabe: CreateFeedPostResponse
Beispiel

flagCommentPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| isFlagged | bool | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

getGifLarge 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| largeInternalURLSanitized | string | Yes |
Antwort
Rückgabe: GifGetLargeResponse
Beispiel

getGifsSearch 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| search | string | Ja | |
| options | const GetGifsSearchOptions& | Ja |
Antwort
Rückgabe: GetGifsSearchResponse
Beispiel

getGifsTrending 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetGifsTrendingOptions& | Ja |
Antwort
Rückgabe: GetGifsTrendingResponse
Beispiel

addHashTag 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| createHashTagBody | CreateHashTagBody | Yes |
Antwort
Rückgabe: CreateHashTagResponse
Beispiel

addHashTagsBulk 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Yes |
Antwort
Rückgabe: BulkCreateHashTagsResponse
Beispiel

deleteHashTag 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| tag | string | Ja | |
| deleteHashTagRequestBody | DeleteHashTagRequestBody | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

getHashTags 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| page | double | Nein |
Antwort
Rückgabe: GetHashTagsResponse
Beispiel

patchHashTag 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| tag | string | Ja | |
| updateHashTagBody | UpdateHashTagBody | Ja |
Antwort
Rückgabe: UpdateHashTagResponse
Beispiel

deleteModerationVote 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| voteId | string | Ja | |
| options | const DeleteModerationVoteOptions& | Ja |
Antwort
Returns: VoteDeleteResponse
Beispiel

getApiComments 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetApiCommentsOptions& | Ja |
Antwort
Rückgabe: ModerationAPIGetCommentsResponse
Beispiel

getApiExportStatus 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetApiExportStatusOptions& | Yes |
Response
Rückgabe: ModerationExportStatusResponse
Example

getApiIds 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetApiIdsOptions& | Yes |
Antwort
Rückgabe: ModerationAPIGetCommentIdsResponse
Beispiel

getBanUsersFromComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Antwort
Rückgabe: GetBannedUsersFromCommentResponse
Beispiel

getCommentBanStatus 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: GetCommentBanStatusResponse
Beispiel

getCommentChildren 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: ModerationAPIChildCommentsResponse
Beispiel

getCount 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetCountOptions& | Yes |
Antwort
Rückgabe: ModerationAPICountCommentsResponse
Beispiel

getCounts 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: GetBannedUsersCountResponse
Beispiel

getLogs 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Antwort
Rückgabe: ModerationAPIGetLogsResponse
Beispiel

getManualBadges 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| sso | string | No |
Antwort
Rückgabe: GetTenantManualBadgesResponse
Beispiel

getManualBadgesForUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetManualBadgesForUserOptions& | Yes |
Antwort
Rückgabe: GetUserManualBadgesResponse
Beispiel

getModerationComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| options | const GetModerationCommentOptions& | Ja |
Antwort
Rückgabe: ModerationAPICommentResponse
Beispiel

getModerationCommentText 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Antwort
Rückgabe: GetCommentTextResponse
Beispiel

getPreBanSummary 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const GetPreBanSummaryOptions& | Yes |
Antwort
Rückgabe: PreBanSummary
Beispiel

getSearchCommentsSummary 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetSearchCommentsSummaryOptions& | Yes |
Antwort
Rückgabe: ModerationCommentSearchResponse
Beispiel

getSearchPages 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetSearchPagesOptions& | Ja |
Antwort
Rückgabe: ModerationPageSearchResponse
Beispiel

getSearchSites 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetSearchSitesOptions& | Ja |
Antwort
Rückgabe: ModerationSiteSearchResponse
Beispiel

getSearchSuggest 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetSearchSuggestOptions& | Ja |
Antwort
Rückgabe: ModerationSuggestResponse
Beispiel

getSearchUsers 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetSearchUsersOptions& | Yes |
Antwort
Rückgabe: ModerationUserSearchResponse
Beispiel

getTrustFactor 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetTrustFactorOptions& | Ja |
Antwort
Rückgabe: GetUserTrustFactorResponse
Beispiel

getUserBanPreference 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: APIModerateGetUserBanPreferencesResponse
Beispiel

getUserInternalProfile 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetUserInternalProfileOptions& | Ja |
Antwort
Rückgabe: GetUserInternalProfileResponse
Beispiel

postAdjustCommentVotes 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| adjustCommentVotesParams | AdjustCommentVotesParams | Yes | |
| options | const PostAdjustCommentVotesOptions& | Yes |
Antwort
Rückgabe: AdjustVotesResponse
Beispiel

postApiExport 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const PostApiExportOptions& | Yes |
Antwort
Rückgabe: ModerationExportResponse
Beispiel

postBanUserFromComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostBanUserFromCommentOptions& | Yes |
Antwort
Rückgabe: BanUserFromCommentResult
Beispiel

postBanUserUndo 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| banUserUndoParams | BanUserUndoParams | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

postBulkPreBanSummary 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| bulkPreBanParams | BulkPreBanParams | Ja | |
| options | const PostBulkPreBanSummaryOptions& | Ja |
Antwort
Rückgabe: BulkPreBanSummary
Beispiel

postCommentsByIds 
Parameters
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentsByIdsParams | CommentsByIdsParams | Yes | |
| sso | string | No |
Response
Rückgabe: ModerationAPIChildCommentsResponse
Beispiel

postFlagComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| options | const PostFlagCommentOptions& | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

postRemoveComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| options | const PostRemoveCommentOptions& | Ja |
Antwort
Rückgabe: PostRemoveCommentApiResponse
Beispiel

postRestoreDeletedComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostRestoreDeletedCommentOptions& | Yes |
Antwort
Returns: APIEmptyResponse
Beispiel

postSetCommentApprovalStatus 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| options | const PostSetCommentApprovalStatusOptions& | Ja |
Antwort
Rückgabe: SetCommentApprovedResponse
Beispiel

postSetCommentReviewStatus 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| options | const PostSetCommentReviewStatusOptions& | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

postSetCommentSpamStatus 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| options | const PostSetCommentSpamStatusOptions& | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

postSetCommentText 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| setCommentTextParams | SetCommentTextParams | Ja | |
| options | const PostSetCommentTextOptions& | Ja |
Antwort
Rückgabe: SetCommentTextResponse
Beispiel

postUnFlagComment 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostUnFlagCommentOptions& | Yes |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

postVote 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| options | const PostVoteOptions& | Ja |
Antwort
Rückgabe: VoteResponse
Beispiel

putAwardBadge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| badgeId | string | Yes | |
| options | const PutAwardBadgeOptions& | Yes |
Antwort
Rückgabe: AwardUserBadgeResponse
Beispiel

putCloseThread 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

putRemoveBadge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| badgeId | string | Ja | |
| options | const PutRemoveBadgeOptions& | Ja |
Antwort
Rückgabe: RemoveUserBadgeResponse
Beispiel

putReopenThread 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

setTrustFactor 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const SetTrustFactorOptions& | Ja |
Antwort
Rückgabe: SetUserTrustFactorResponse
Beispiel

createModerator 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createModeratorBody | CreateModeratorBody | Ja |
Antwort
Rückgabe: CreateModeratorResponse
Beispiel

deleteModerator 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| sendEmail | string | Nein |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

getModerator 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: GetModeratorResponse
Beispiel

getModerators 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| skip | double | No |
Antwort
Rückgabe: GetModeratorsResponse
Beispiel

sendInvite 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| fromName | string | Yes |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

updateModerator 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| updateModeratorBody | UpdateModeratorBody | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

deleteNotificationCount 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

getCachedNotificationCount 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: GetCachedNotificationCountResponse
Beispiel

getNotificationCount 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetNotificationCountOptions& | Ja |
Antwort
Rückgabe: GetNotificationCountResponse
Beispiel

getNotifications 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetNotificationsOptions& | Ja |
Antwort
Rückgabe: GetNotificationsResponse
Beispiel

updateNotification 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| updateNotificationBody | UpdateNotificationBody | Ja | |
| userId | string | Nein |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

createV1PageReact 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| title | string | Nein |
Antwort
Rückgabe: CreateV1PageReact
Beispiel

createV2PageReact 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| id | string | Yes | |
| title | string | No |
Antwort
Rückgabe: CreateV1PageReact
Beispiel

deleteV1PageReact 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Antwort
Rückgabe: CreateV1PageReact
Beispiel

deleteV2PageReact 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: CreateV1PageReact
Beispiel

getV1PageLikes 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Response
Rückgabe: GetV1PageLikes
Beispiel

getV2PageReacts 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Antwort
Rückgabe: GetV2PageReacts
Beispiel

getV2PageReactUsers 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| id | string | Yes |
Antwort
Rückgabe: GetV2PageReactUsersResponse
Beispiel

addPage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createAPIPageData | CreateAPIPageData | Ja |
Antwort
Rückgabe: AddPageAPIResponse
Beispiel

deletePage 
Parameter
| Name | Type | Required | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: DeletePageAPIResponse
Beispiel

getOfflineUsers 
Past commenters on the page who are NOT currently online. Sorted by displayName.
Verwenden Sie dies, nachdem /users/online erschöpft wurde, um einen „Members“-Abschnitt darzustellen.
Cursor-Paginierung auf commenterName: Der Server durchläuft den partiellen {tenantId, urlId, commenterName} Index ab afterName vorwärts mittels $gt, ohne $skip‑Kosten.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| options | const GetOfflineUsersOptions& | Yes |
Response
Returns: PageUsersOfflineResponse
Beispiel

getOnlineUsers 
Derzeit online betrachtende Besucher einer Seite: Personen, deren Websocket‑Sitzung gerade die Seite abonniert.
Gibt anonCount + totalCount zurück (räumweite Abonnenten, einschließlich anonymer Viewer, die wir nicht auflisten).
Parameters
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| options | const GetOnlineUsersOptions& | Ja |
Response
Rückgabe: PageUsersOnlineResponse
Beispiel

getPageByURLId 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Antwort
Rückgabe: GetPageByURLIdAPIResponse
Beispiel

getPages 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja |
Antwort
Rückgabe: GetPagesAPIResponse
Beispiel

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

getUsersInfo 
Bulk‑Benutzerinformationen für einen Mandanten. Angesichts von userIds wird Anzeigedaten von User / SSOUser zurückgegeben.
Wird vom Kommentar‑Widget verwendet, um Benutzer zu erweitern, die gerade über ein Präsenzereignis erschienen sind.
Kein Seitenkontext: Datenschutz wird einheitlich durchgesetzt (private Profile werden maskiert).
Parameters
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| ids | string | Ja |
Response
Returns: PageUsersInfoResponse
Example

patchPage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| updateAPIPageData | UpdateAPIPageData | Ja |
Antwort
Rückgabe: PatchPageAPIResponse
Beispiel

deletePendingWebhookEvent 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

getPendingWebhookEventCount 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetPendingWebhookEventCountOptions& | Ja |
Antwort
Rückgabe: GetPendingWebhookEventCountResponse
Beispiel

getPendingWebhookEvents 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetPendingWebhookEventsOptions& | Yes |
Antwort
Returns: GetPendingWebhookEventsResponse
Beispiel

createQuestionConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createQuestionConfigBody | CreateQuestionConfigBody | Ja |
Antwort
Rückgabe: CreateQuestionConfigResponse
Beispiel

deleteQuestionConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Gibt zurück: APIEmptyResponse
Beispiel

getQuestionConfig 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Response
Rückgabe: GetQuestionConfigResponse
Beispiel

getQuestionConfigs 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | double | Nein |
Antwort
Rückgabe: GetQuestionConfigsResponse
Beispiel

updateQuestionConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

createQuestionResult 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| createQuestionResultBody | CreateQuestionResultBody | Ja |
Antwort
Returns: CreateQuestionResultResponse
Beispiel

deleteQuestionResult 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

getQuestionResult 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: GetQuestionResultResponse
Beispiel

getQuestionResults 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetQuestionResultsOptions& | Ja |
Antwort
Rückgabe: GetQuestionResultsResponse
Beispiel

updateQuestionResult 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| updateQuestionResultBody | UpdateQuestionResultBody | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

aggregateQuestionResults 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const AggregateQuestionResultsOptions& | Ja |
Antwort
Rückgabe: AggregateQuestionResultsResponse
Beispiel

bulkAggregateQuestionResults 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Yes | |
| forceRecalculate | bool | No |
Antwort
Rückgabe: BulkAggregateQuestionResultsResponse
Beispiel

combineCommentsWithQuestionResults 
Parameter
| Name | Type | Required | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const CombineCommentsWithQuestionResultsOptions& | Ja |
Antwort
Rückgabe: CombineQuestionResultsWithCommentsResponse
Beispiel

addSSOUser 
Parameters
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| createAPISSOUserData | CreateAPISSOUserData | Yes |
Response
Rückgabe: AddSSOUserAPIResponse
Example

deleteSSOUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| options | const DeleteSSOUserOptions& | Ja |
Antwort
Rückgabe: DeleteSSOUserAPIResponse
Beispiel

getSSOUserByEmail 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| string | Yes |
Antwort
Rückgabe: GetSSOUserByEmailAPIResponse
Beispiel

getSSOUserById 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Antwort
Rückgabe: GetSSOUserByIdAPIResponse
Beispiel

getSSOUsers 
Parameters
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | int32_t | Nein |
Response
Rückgabe: GetSSOUsersResponse
Beispiel

patchSSOUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| updateAPISSOUserData | UpdateAPISSOUserData | Ja | |
| updateComments | bool | Nein |
Antwort
Rückgabe: PatchSSOUserAPIResponse
Beispiel

putSSOUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| updateAPISSOUserData | UpdateAPISSOUserData | Ja | |
| updateComments | bool | Nein |
Antwort
Rückgabe: PutSSOUserAPIResponse
Beispiel

createSubscription 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Ja |
Antwort
Rückgabe: CreateSubscriptionAPIResponse
Beispiel

deleteSubscription 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| userId | string | No |
Antwort
Rückgabe: DeleteSubscriptionAPIResponse
Beispiel

getSubscriptions 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nein |
Antwort
Rückgabe: GetSubscriptionsAPIResponse
Beispiel

updateSubscription 
Parameter
| Name | Type | Required | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Yes | |
| userId | string | No |
Antwort
Rückgabe: UpdateSubscriptionAPIResponse
Beispiel

getTenantDailyUsages 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetTenantDailyUsagesOptions& | Ja |
Antwort
Rückgabe: GetTenantDailyUsagesResponse
Beispiel

createTenantPackage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createTenantPackageBody | CreateTenantPackageBody | Ja |
Antwort
Rückgabe: CreateTenantPackageResponse
Beispiel

deleteTenantPackage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Rückgabe
Rückgabe: APIEmptyResponse
Beispiel

getTenantPackage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: GetTenantPackageResponse
Beispiel

getTenantPackages 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| skip | double | No |
Antwort
Rückgabe: GetTenantPackagesResponse
Beispiel

replaceTenantPackage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

updateTenantPackage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateTenantPackageBody | UpdateTenantPackageBody | Yes |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

createTenantUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createTenantUserBody | CreateTenantUserBody | Ja |
Antwort
Rückgabe: CreateTenantUserResponse
Beispiel

deleteTenantUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| options | const DeleteTenantUserOptions& | Yes |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

getTenantUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: GetTenantUserResponse
Beispiel

getTenantUsers 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | double | Nein |
Antwort
Gibt zurück: GetTenantUsersResponse
Beispiel

replaceTenantUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| replaceTenantUserBody | ReplaceTenantUserBody | Yes | |
| updateComments | string | No |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

sendLoginLink 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| redirectURL | string | No |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

updateTenantUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateTenantUserBody | UpdateTenantUserBody | Yes | |
| updateComments | string | No |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

createTenant 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createTenantBody | CreateTenantBody | Ja |
Antwort
Rückgabe: CreateTenantResponse
Beispiel

deleteTenant 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| sure | string | No |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

getTenant 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Antwort
Rückgabe: GetTenantResponse
Beispiel

getTenants 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetTenantsOptions& | Ja |
Antwort
Rückgabe: GetTenantsResponse
Beispiel

updateTenant 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| updateTenantBody | UpdateTenantBody | Ja |
Antwort
Rückgabe: APIEmptyResponse
Beispiel

changeTicketState 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Ja | |
| id | string | Ja | |
| changeTicketStateBody | ChangeTicketStateBody | Ja |
Antwort
Rückgabe: ChangeTicketStateResponse
Beispiel

createTicket 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | Yes | |
| createTicketBody | CreateTicketBody | Yes |
Antwort
Rückgabe: CreateTicketResponse
Beispiel

getTicket 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| userId | string | Nein |
Antwort
Rückgabe: GetTicketResponse
Beispiel

getTickets 
Parameter
| Name | Type | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetTicketsOptions& | Yes |
Antwort
Rückgabe: GetTicketsResponse
Beispiel

getTranslations 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| r_namespace | string | Ja | |
| component | string | Ja | |
| options | const GetTranslationsOptions& | Ja |
Antwort
Rückgabe: GetTranslationsResponse
Beispiel

uploadImage 
Upload and resize an image
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| file | HttpContent | Ja | |
| options | const UploadImageOptions& | Ja |
Antwort
Returns: UploadImageResponse
Beispiel

getUserBadgeProgressById 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: APIGetUserBadgeProgressResponse
Beispiel

getUserBadgeProgressByUserId 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | Yes |
Antwort
Rückgabe: APIGetUserBadgeProgressResponse
Beispiel

getUserBadgeProgressList 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetUserBadgeProgressListOptions& | Yes |
Antwort
Gibt zurück: APIGetUserBadgeProgressListResponse
Beispiel

createUserBadge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| createUserBadgeParams | CreateUserBadgeParams | Yes |
Antwort
Rückgabe: APICreateUserBadgeResponse
Beispiel

deleteUserBadge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: APIEmptySuccessResponse
Beispiel

getUserBadge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: APIGetUserBadgeResponse
Beispiel

getUserBadges 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetUserBadgesOptions& | Ja |
Antwort
Rückgabe: APIGetUserBadgesResponse
Beispiel

updateUserBadge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateUserBadgeParams | UpdateUserBadgeParams | Yes |
Antwort
Rückgabe: APIEmptySuccessResponse
Beispiel

getUserNotificationCount 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| sso | string | No |
Antwort
Rückgabe: GetUserNotificationCountResponse
Beispiel

getUserNotifications 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const GetUserNotificationsOptions& | Ja |
Antwort
Rückgabe: GetMyNotificationsResponse
Beispiel

resetUserNotificationCount 
Parameter
| Name | Type | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: ResetUserNotificationsResponse
Beispiel

resetUserNotifications 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| options | const ResetUserNotificationsOptions& | Ja |
Antwort
Rückgabe: ResetUserNotificationsResponse
Beispiel

updateUserNotificationCommentSubscriptionStatus 
Aktivieren oder deaktivieren Sie Benachrichtigungen für einen bestimmten Kommentar.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| notificationId | string | Yes | |
| optedInOrOut | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Response
Rückgabe: UpdateUserNotificationCommentSubscriptionStatusResponse
Beispiel

updateUserNotificationPageSubscriptionStatus 
Enable oder deaktivieren Sie Benachrichtigungen für eine Seite. Wenn Benutzer eine Seite abonniert haben, werden Benachrichtigungen für neue Stammkommentare erstellt und auch
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| url | string | Ja | |
| pageTitle | string | Ja | |
| subscribedOrUnsubscribed | string | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: UpdateUserNotificationPageSubscriptionStatusResponse
Beispiel

updateUserNotificationStatus 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| notificationId | string | Yes | |
| newStatus | string | Yes | |
| sso | string | No |
Antwort
Rückgabe: UpdateUserNotificationStatusResponse
Beispiel

getUserPresenceStatuses 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| urlIdWS | string | Yes | |
| userIds | string | Yes |
Antwort
Rückgabe: GetUserPresenceStatusesResponse
Beispiel

searchUsers 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| options | const SearchUsersOptions& | Ja |
Antwort
Rückgabe: SearchUsersResult
Beispiel

getUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja |
Antwort
Rückgabe: GetUserResponse
Beispiel

createVote 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| direction | string | Ja | |
| options | const CreateVoteOptions& | Ja |
Antwort
Rückgabe: VoteResponse
Beispiel

deleteVote 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Ja | |
| editKey | string | Nein |
Antwort
Rückgabe: VoteDeleteResponse
Beispiel

getVotes 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Response
Returns: GetVotesResponse
Example

getVotesForUser 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| options | const GetVotesForUserOptions& | Yes |
Antwort
Rückgabe: GetVotesForUserResponse
Beispiel

Benötigen Sie Hilfe?
Wenn Sie auf Probleme stoßen oder Fragen zum C++ SDK haben, bitte:
Mitwirken
Beiträge sind willkommen! Bitte besuchen Sie das GitHub-Repository für Richtlinien zur Mitwirkung.