
Langue 🇨🇦 Français (Canada)
Documentation
Premiers pas
Référence API
Utilisation
Agrégation
Journaux d'audit
Authentification
Blocage par commentaire
Vérifier les commentaires bloqués
Commentaires
Commentaires pour l'utilisateur
Configurations de domaine
Modèles d'e-mail
Journal des événements
Publications
Signaler un commentaire
GIFs
Mots-clics
Modération
Modérateurs
Nombre de notifications
Notifications
Réactions de page
Pages
Événements webhook en attente
Configurations de questions
Résultats de questions
Agrégation des résultats de questions
Utilisateurs SSO
Abonnements
Utilisation quotidienne du locataire
Forfaits du locataire
Utilisateurs du locataire
Locataires
Tickets
Traductions
Téléverser une image
Progression des badges utilisateur
Badges utilisateur
Notifications utilisateur
Statut de présence de l'utilisateur
Recherche d'utilisateurs
Utilisateurs
Votes
SDK C++ de FastComments
Ceci est le SDK C++ officiel pour FastComments.
SDK C++ officiel pour l'API FastComments
Dépôt
Prérequis 
- C++17 ou version ultérieure
- CMake 3.14 ou version ultérieure
- OpenSSL
- C++ REST SDK (cpprestsdk)
- Boost
- Google Test (téléchargé automatiquement pour les tests)
Installation 
Installer les dépendances
sudo apt install libcpprest-dev libboost-all-dev
Compiler à partir du code source
mkdir build
cd build
cmake ..
make
Installation
sudo make install
Contenu de la bibliothèque
Cette bibliothèque contient le client API généré et les utilitaires SSO pour faciliter le travail avec l’API.
API publiques vs sécurisées
Pour le client API, il existe trois classes, DefaultApi, PublicApi et ModerationApi. Le DefaultApi contient des méthodes qui nécessitent votre clé API, et le PublicApi contient
des méthodes qui peuvent être appelées directement depuis un navigateur/appareil mobile/etc. sans authentification. Le ModerationApi fournit une suite étendue d’API de modération en direct et rapides. Chaque méthode du ModerationApi accepte un paramètre sso et peut s’authentifier via SSO ou un cookie de session FastComments.com.
Démarrage rapide 
Utilisation des API authentifiées (DefaultAPI)
Important :
- Vous devez définir l’URL de base (le générateur cpp‑restsdk ne la lit pas depuis la spécification OpenAPI)
- Vous devez définir votre clé API sur l'ApiClient avant d’effectuer des requêtes authentifiées. Sinon, les requêtes échoueront avec une erreur 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>();
// REQUIRED: Set the base URL (choose your region)
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com")); // US
// OR: config->setBaseUrl(utility::conversions::to_string_t("https://eu.fastcomments.com")); // EU
// REQUIRED: Set your API key
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);
// Now make authenticated API calls
return 0;
}
Utilisation des API publiques (PublicAPI)
Les points de terminaison publics ne nécessitent pas d’authentification :
#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>();
// REQUIRED: Set the base URL
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::PublicApi publicApi(apiClient);
// Make public API calls
return 0;
}
Utilisation des API de modération (ModerationApi)
L'ModerationApi alimente le tableau de bord du modérateur. Chaque méthode accepte un paramètre sso afin que l’appel s’exécute au nom d’un modérateur authentifié via SSO (voir la section SSO ci‑dessous pour savoir comment créer un jeton) :
#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>();
// REQUIRED: Set the base 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);
// Pass the moderator's SSO token to authenticate the call
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;
}
Problèmes courants
- Erreur « URI must contain a hostname » : Assurez‑vous d’appeler
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"))avant de créer l'ApiClient. Le générateur cpp‑restsdk ne lit pas automatiquement l’URL du serveur depuis la spécification OpenAPI. - Erreur 401 « missing‑api‑key » : Assurez‑vous d’appeler
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_KEY"))avant de créer l’instance DefaultAPI. - Classe API incorrecte : Utilisez
DefaultApipour les requêtes authentifiées côté serveur,PublicApipour les requêtes côté client/public, etModerationApipour les requêtes du tableau de bord du modérateur (authentifiées avec un jeton SSO de modérateur).
Appels d'API : synchrones vs asynchrones 
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.
Appels synchrones avec .get()
Utilisez .get() pour bloquer le thread appelant jusqu'à ce que la requête soit terminée et récupérer le résultat de façon synchrone :
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;
}
Appels asynchrones avec .then()
Utilisez .then() pour une exécution asynchrone sans blocage avec des rappels :
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;
Choisir entre synchrone et asynchrone
Le choix dépend de votre environnement d'exécution et de l'architecture de votre application :
.get() (blocage synchrone)
- Bloque le thread appelant jusqu'à ce que la requête HTTP soit terminée
- Flux de code plus simple, plus facile à comprendre
- Convient aux threads de travail dédiés, au traitement par lots ou aux outils en ligne de commande
- Pas approprié pour les boucles d'événements, les threads d'interface graphique ou les serveurs monothreads
.then() (asynchrone sans blocage)
- Retourne immédiatement, le rappel s'exécute lorsque la requête est terminée
- Ne bloque pas le thread appelant
- Nécessaire pour les architectures réactives, les applications graphiques ou les boucles d'événements monothreads
- Permet de chaîner plusieurs opérations
- Flux de contrôle plus complexe
La suite de tests du SDK utilise exclusivement .get(), mais cela convient à l'environnement de test où le blocage est acceptable.
Remarques 
Identifiants de diffusion
Vous verrez qu'il faut transmettre un broadcastId dans certaines appels d'API. Lorsque vous recevez des événements, vous récupérerez cet ID, ce qui vous permet d'ignorer l'événement si vous comptez appliquer des modifications de façon optimiste côté client
(ce que vous voudrez probablement faire, car cela offre la meilleure expérience). Transmettez un UUID ici. L'ID doit être suffisamment unique pour ne pas apparaître deux fois au cours d'une session de navigateur.
SSO (Authentification unique)
Pour des exemples d'authentification unique, voir ci‑dessous.
Utilisation du SSO 
SSO simple
#include <fastcomments/sso/fastcomments_sso.hpp>
#include <iostream>
using namespace fastcomments::sso;
int main() {
SimpleSSOUserData user("user-123", "user@example.com", "https://example.com/avatar.jpg");
FastCommentsSSO sso = FastCommentsSSO::newSimple(user);
std::string token = sso.createToken();
std::cout << "SSO Token: " << token << std::endl;
return 0;
}
SSO sécurisé
#include <fastcomments/sso/fastcomments_sso.hpp>
#include <iostream>
using namespace fastcomments::sso;
int main() {
SecureSSOUserData user("user-123", "user@example.com", "johndoe", "https://example.com/avatar.jpg");
std::string apiKey = "your-api-key";
FastCommentsSSO sso = FastCommentsSSO::newSecure(apiKey, user);
std::string token = sso.createToken();
std::cout << "Secure SSO Token: " << token << std::endl;
return 0;
}
Documentation pour FastComments 
Documentation des points de terminaison d'API
All URIs are relative to https://fastcomments.com
| Classe | Méthode | Requête HTTP | Description |
|---|---|---|---|
| DefaultApi | addDomainConfig | POST /api/v1/domain-configs | |
| DefaultApi | addHashTag | POST /api/v1/hash-tags | |
| DefaultApi | addHashTagsBulk | POST /api/v1/hash-tags/bulk | |
| DefaultApi | addPage | POST /api/v1/pages | |
| DefaultApi | addSSOUser | POST /api/v1/sso-users | |
| DefaultApi | aggregate | POST /api/v1/aggregate | Agrège des documents en les regroupant (si groupBy est fourni) et en appliquant plusieurs opérations. Différentes opérations (par ex. sum, countDistinct, avg, etc.) sont prises en charge. |
| 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 | Commentaires précédents sur la page qui ne sont PAS actuellement en ligne. Triés par displayName. Utilisez ceci après avoir épuisé /users/online pour rendre une section "Members". Pagination par curseur sur commenterName : le serveur parcourt l'index partiel {tenantId, urlId, commenterName} à partir de afterName vers l'avant via $gt, aucun coût $skip. |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | Visiteurs actuellement en ligne d’une page : les personnes dont la session websocket est abonnée à la page en ce moment. Retourne anonCount + totalCount (abonnés à la salle, y compris les visionneurs anonymes que nous n'énumérons pas). |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | Liste les pages d’un locataire. Utilisé par le client de bureau FChat pour remplir sa liste de salles. Nécessite que enableFChat soit vrai dans la configuration personnalisée résolue pour chaque page. Les pages nécessitant SSO sont filtrées en fonction de l’accès au groupe de l’utilisateur demandeur. |
| 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 | Informations d’utilisateur en masse pour un locataire. Donnés userIds, retourne les informations d’affichage depuis User / SSOUser. Utilisé par le widget de commentaire pour enrichir les utilisateurs qui viennent d’apparaître via un événement de présence. Aucun contexte de page : la confidentialité est appliquée uniformément (les profils privés sont masqués). |
| 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} | Activer ou désactiver les notifications pour un commentaire spécifique. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Activer ou désactiver les notifications pour une page. Lorsque les utilisateurs sont abonnés à une page, des notifications sont créées pour les nouveaux commentaires racine, et aussi |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Télécharger et redimensionner une image |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Documentation des modèles
- 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
- [BuildModerationFilter
aggregate 
Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations. Different operations (e.g. sum, countDistinct, avg, etc.) are supported.
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| aggregationRequest | AggregationRequest | Yes | |
| options | const AggregateOptions& | Yes |
Réponse
Renvoie: AggregateResponse
Exemple

getAuditLogs 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetAuditLogsOptions& | Yes |
Réponse
Renvoie : GetAuditLogsResponse
Exemple

logoutPublic 
Réponse
Renvoie : APIEmptyResponse
Exemple

blockFromCommentPublic 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Oui | |
| sso | string | Non |
Réponse
Renvoie : BlockSuccess
Exemple

unBlockCommentPublic 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Oui | |
| sso | string | Non |
Réponse
Renvoie : UnblockSuccess
Exemple

checkedCommentsForBlocked 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentIds | string | Yes | |
| sso | string | No |
Réponse
Retourne : CheckBlockedCommentsResponse
Exemple

blockUserFromComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| blockFromCommentParams | BlockFromCommentParams | Yes | |
| options | const BlockUserFromCommentOptions& | Yes |
Réponse
Returns: BlockSuccess
Exemple

createCommentPublic 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| broadcastId | string | Oui | |
| commentData | CommentData | Oui | |
| options | const CreateCommentPublicOptions& | Oui |
Réponse
Renvoie : SaveCommentsResponseWithPresence
Exemple

deleteComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| options | const DeleteCommentOptions& | Oui |
Réponse
Retourne : DeleteCommentResult
Exemple

deleteCommentPublic 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Oui | |
| options | const DeleteCommentPublicOptions& | Oui |
Réponse
Retourne : PublicAPIDeleteCommentResponse
Exemple

deleteCommentVote 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| voteId | string | Oui | |
| urlId | string | Oui | |
| broadcastId | string | Oui | |
| options | const DeleteCommentVoteOptions& | Oui |
Réponse
Renvoie : VoteDeleteResponse
Exemple

flagComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| options | const FlagCommentOptions& | Yes |
Réponse
Renvoie : FlagCommentResponse
Exemple

getComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne : APIGetCommentResponse
Exemple

getComments 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetCommentsOptions& | Yes |
Réponse
Retourne : APIGetCommentsResponse
Exemple

getCommentsPublic 
req tenantId urlId
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| options | const GetCommentsPublicOptions& | Oui |
Réponse
Renvoie : GetCommentsResponseWithPresence_PublicComment_
Exemple

getCommentText 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const GetCommentTextOptions& | Yes |
Réponse
Renvoie : PublicAPIGetCommentTextResponse
Exemple

getCommentVoteUserNames 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| dir | int32_t | Yes | |
| sso | string | No |
Réponse
Renvoie : GetCommentVoteUserNamesSuccessResponse
Exemple

lockComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| sso | string | No |
Réponse
Retourne : APIEmptyResponse
Exemple

pinComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| sso | string | No |
Réponse
Retourne : ChangeCommentPinStatusResponse
Exemple

saveComment 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createCommentParams | CreateCommentParams | Oui | |
| options | const SaveCommentOptions& | Oui |
Réponse
Retourne : APISaveCommentResponse
Exemple

setCommentText 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Yes | |
| options | const SetCommentTextOptions& | Yes |
Réponse
Renvoie : PublicAPISetCommentTextResponse
Exemple

unBlockUserFromComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Oui | |
| options | const UnBlockUserFromCommentOptions& | Oui |
Réponse
Retourne : UnblockSuccess
Exemple

unFlagComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| options | const UnFlagCommentOptions& | Oui |
Réponse
Renvoie : FlagCommentResponse
Exemple

unLockComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : APIEmptyResponse
Exemple

unPinComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : ChangeCommentPinStatusResponse
Exemple

updateComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updatableCommentParams | UpdatableCommentParams | Yes | |
| options | const UpdateCommentOptions& | Yes |
Réponse
Retourne : APIEmptyResponse
Exemple

voteComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| urlId | string | Oui | |
| broadcastId | string | Oui | |
| voteBodyParams | VoteBodyParams | Oui | |
| options | const VoteCommentOptions& | Oui |
Réponse
Renvoie : VoteResponse
Exemple

getCommentsForUser 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| options | const GetCommentsForUserOptions& | Oui |
Réponse
Renvoie : GetCommentsForUserResponse
Exemple

addDomainConfig 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| addDomainConfigParams | AddDomainConfigParams | Oui |
Réponse
Renvoie : AddDomainConfigResponse
Exemple

deleteDomainConfig 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domain | string | Oui |
Réponse
Renvoie: DeleteDomainConfigResponse
Exemple

getDomainConfig 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domain | string | Oui |
Réponse
Renvoie : GetDomainConfigResponse
Exemple

getDomainConfigs 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui |
Réponse
Renvoie : GetDomainConfigsResponse
Exemple

patchDomainConfig 
Parameters
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domainToUpdate | string | Oui | |
| patchDomainConfigParams | PatchDomainConfigParams | Oui |
Réponse
Retourne : PatchDomainConfigResponse
Exemple

putDomainConfig 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domainToUpdate | string | Oui | |
| updateDomainConfigParams | UpdateDomainConfigParams | Oui |
Réponse
Renvoie : PutDomainConfigResponse
Exemple

createEmailTemplate 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| createEmailTemplateBody | CreateEmailTemplateBody | Yes |
Réponse
Retourne : CreateEmailTemplateResponse
Exemple

deleteEmailTemplate 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : APIEmptyResponse
Exemple

deleteEmailTemplateRenderError 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| errorId | string | Yes |
Réponse
Retourne : APIEmptyResponse
Exemple

getEmailTemplate 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : GetEmailTemplateResponse
Exemple

getEmailTemplateDefinitions 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui |
Réponse
Retourne : GetEmailTemplateDefinitionsResponse
Exemple

getEmailTemplateRenderErrors 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| skip | double | No |
Response
Returns: GetEmailTemplateRenderErrorsResponse
Example

getEmailTemplates 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | double | Non |
Réponse
Renvoie : GetEmailTemplatesResponse
Exemple

renderEmailTemplate 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Oui | |
| locale | string | Non |
Réponse
Retourne : RenderEmailTemplateResponse
Exemple

updateEmailTemplate 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Oui |
Réponse
Renvoie : APIEmptyResponse
Exemple

getEventLog 
req tenantId urlId userIdWS
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| userIdWS | string | Oui | |
| startTime | int64_t | Oui | |
| endTime | int64_t | Non |
Réponse
Returns: GetEventLogResponse
Exemple

getGlobalEventLog 
req tenantId urlId userIdWS
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| userIdWS | string | Yes | |
| startTime | int64_t | Yes | |
| endTime | int64_t | No |
Réponse
Renvoie : GetEventLogResponse
Exemple

createFeedPost 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| createFeedPostParams | CreateFeedPostParams | Yes | |
| options | const CreateFeedPostOptions& | Yes |
Réponse
Retourne : CreateFeedPostsResponse
Exemple

createFeedPostPublic 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| createFeedPostParams | CreateFeedPostParams | Yes | |
| options | const CreateFeedPostPublicOptions& | Yes |
Réponse
Renvoie : CreateFeedPostResponse
Exemple

deleteFeedPostPublic 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postId | string | Oui | |
| options | const DeleteFeedPostPublicOptions& | Oui |
Réponse
Retourne : DeleteFeedPostPublicResponse
Exemple

getFeedPosts 
req tenantId afterId
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetFeedPostsOptions& | Oui |
Réponse
Renvoie : GetFeedPostsResponse
Exemple

getFeedPostsPublic 
req tenantId afterId
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetFeedPostsPublicOptions& | Yes |
Réponse
Retourne : PublicFeedPostsResponse
Exemple

getFeedPostsStats 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postIds | vector<string | Oui | |
| sso | string | Non |
Réponse
Renvoie : FeedPostsStatsResponse
Exemple

getUserReactsPublic 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetUserReactsPublicOptions& | Oui |
Réponse
Renvoie : UserReactsResponse
Exemple

reactFeedPostPublic 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| postId | string | Yes | |
| reactBodyParams | ReactBodyParams | Yes | |
| options | const ReactFeedPostPublicOptions& | Yes |
Réponse
Renvoie : ReactFeedPostResponse
Exemple

updateFeedPost 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| feedPost | FeedPost | Yes |
Réponse
Retourne : APIEmptyResponse
Exemple

updateFeedPostPublic 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postId | string | Oui | |
| updateFeedPostParams | UpdateFeedPostParams | Oui | |
| options | const UpdateFeedPostPublicOptions& | Oui |
Réponse
Renvoie : CreateFeedPostResponse
Exemple

flagCommentPublic 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| isFlagged | bool | Oui | |
| sso | string | Non |
Réponse
Renvoie : APIEmptyResponse
Exemple

getGifLarge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| largeInternalURLSanitized | string | Oui |
Réponse
Renvoie : GifGetLargeResponse
Exemple

getGifsSearch 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| search | string | Oui | |
| options | const GetGifsSearchOptions& | Oui |
Réponse
Renvoie : GetGifsSearchResponse
Exemple

getGifsTrending 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetGifsTrendingOptions& | Oui |
Réponse
Retourne : GetGifsTrendingResponse
Exemple

addHashTag 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createHashTagBody | CreateHashTagBody | Oui |
Réponse
Renvoie : CreateHashTagResponse
Exemple

addHashTagsBulk 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Yes |
Réponse
Renvoie : BulkCreateHashTagsResponse
Exemple

deleteHashTag 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| tag | string | Oui | |
| deleteHashTagRequestBody | DeleteHashTagRequestBody | Oui |
Réponse
Retourne : APIEmptyResponse
Exemple

getHashTags 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| page | double | Non |
Réponse
Renvoie : GetHashTagsResponse
Exemple

patchHashTag 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| tag | string | Yes | |
| updateHashTagBody | UpdateHashTagBody | Yes |
Réponse
Renvoie : UpdateHashTagResponse
Exemple

deleteModerationVote 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| voteId | string | Oui | |
| options | const DeleteModerationVoteOptions& | Oui |
Réponse
Retourne : VoteDeleteResponse
Exemple

getApiComments 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetApiCommentsOptions& | Yes |
Réponse
Renvoie : ModerationAPIGetCommentsResponse
Exemple

getApiExportStatus 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetApiExportStatusOptions& | Oui |
Réponse
Renvoie : ModerationExportStatusResponse
Exemple

getApiIds 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetApiIdsOptions& | Yes |
Réponse
Renvoie : ModerationAPIGetCommentIdsResponse
Exemple

getBanUsersFromComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : GetBannedUsersFromCommentResponse
Exemple

getCommentBanStatus 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Retourne : GetCommentBanStatusResponse
Exemple

getCommentChildren 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Retourne : ModerationAPIChildCommentsResponse
Exemple

getCount 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetCountOptions& | Oui |
Réponse
Renvoie : ModerationAPICountCommentsResponse
Exemple

getCounts 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Retourne : GetBannedUsersCountResponse
Exemple

getLogs 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : ModerationAPIGetLogsResponse
Exemple

getManualBadges 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Retourne : GetTenantManualBadgesResponse
Exemple

getManualBadgesForUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetManualBadgesForUserOptions& | Oui |
Réponse
Renvoie : GetUserManualBadgesResponse
Exemple

getModerationComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const GetModerationCommentOptions& | Yes |
Réponse
Retourne : ModerationAPICommentResponse
Exemple

getModerationCommentText 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : GetCommentTextResponse
Exemple

getPreBanSummary 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| options | const GetPreBanSummaryOptions& | Oui |
Réponse
Renvoie : PreBanSummary
Exemple

getSearchCommentsSummary 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetSearchCommentsSummaryOptions& | Oui |
Réponse
Renvoie : ModerationCommentSearchResponse
Exemple

getSearchPages 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetSearchPagesOptions& | Oui |
Réponse
Retourne : ModerationPageSearchResponse
Exemple

getSearchSites 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetSearchSitesOptions& | Oui |
Réponse
Retourne : ModerationSiteSearchResponse
Exemple

getSearchSuggest 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetSearchSuggestOptions& | Yes |
Réponse
Renvoie : ModerationSuggestResponse
Exemple

getSearchUsers 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetSearchUsersOptions& | Yes |
Réponse
Retourne : ModerationUserSearchResponse
Exemple

getTrustFactor 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetTrustFactorOptions& | Oui |
Réponse
Retourne : GetUserTrustFactorResponse
Exemple

getUserBanPreference 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : APIModerateGetUserBanPreferencesResponse
Exemple

getUserInternalProfile 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetUserInternalProfileOptions& | Oui |
Réponse
Renvoie : GetUserInternalProfileResponse
Exemple

postAdjustCommentVotes 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| adjustCommentVotesParams | AdjustCommentVotesParams | Oui | |
| options | const PostAdjustCommentVotesOptions& | Oui |
Réponse
Renvoie : AdjustVotesResponse
Exemple

postApiExport 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const PostApiExportOptions& | Yes |
Réponse
Retourne : ModerationExportResponse
Exemple

postBanUserFromComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| options | const PostBanUserFromCommentOptions& | Oui |
Réponse
Renvoie : BanUserFromCommentResult
Exemple

postBanUserUndo 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| banUserUndoParams | BanUserUndoParams | Oui | |
| sso | string | Non |
Réponse
Renvoie : APIEmptyResponse
Exemple

postBulkPreBanSummary 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| bulkPreBanParams | BulkPreBanParams | Oui | |
| options | const PostBulkPreBanSummaryOptions& | Oui |
Réponse
Renvoie : BulkPreBanSummary
Exemple

postCommentsByIds 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentsByIdsParams | CommentsByIdsParams | Oui | |
| sso | string | Non |
Réponse
Renvoie : ModerationAPIChildCommentsResponse
Exemple

postFlagComment 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostFlagCommentOptions& | Yes |
Réponse
Renvoie : APIEmptyResponse
Exemple

postRemoveComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostRemoveCommentOptions& | Yes |
Réponse
Renvoie : PostRemoveCommentApiResponse
Exemple

postRestoreDeletedComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostRestoreDeletedCommentOptions& | Yes |
Réponse
Renvoie : APIEmptyResponse
Exemple

postSetCommentApprovalStatus 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| options | const PostSetCommentApprovalStatusOptions& | Oui |
Réponse
Renvoie : SetCommentApprovedResponse
Exemple

postSetCommentReviewStatus 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| options | const PostSetCommentReviewStatusOptions& | Oui |
Réponse
Retourne : APIEmptyResponse
Exemple

postSetCommentSpamStatus 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostSetCommentSpamStatusOptions& | Yes |
Réponse
Renvoie : APIEmptyResponse
Exemple

postSetCommentText 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| setCommentTextParams | SetCommentTextParams | Yes | |
| options | const PostSetCommentTextOptions& | Yes |
Réponse
Renvoie : SetCommentTextResponse
Exemple

postUnFlagComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| options | const PostUnFlagCommentOptions& | Oui |
Réponse
Retourne : APIEmptyResponse
Exemple

postVote 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostVoteOptions& | Yes |
Réponse
Renvoie : VoteResponse
Exemple

putAwardBadge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| badgeId | string | Yes | |
| options | const PutAwardBadgeOptions& | Yes |
Réponse
Renvoie : AwardUserBadgeResponse
Exemple

putCloseThread 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| sso | string | No |
Réponse
Renvoie : APIEmptyResponse
Exemple

putRemoveBadge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| badgeId | string | Oui | |
| options | const PutRemoveBadgeOptions& | Oui |
Réponse
Renvoie : RemoveUserBadgeResponse
Exemple

putReopenThread 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : APIEmptyResponse
Exemple

setTrustFactor 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const SetTrustFactorOptions& | Oui |
Réponse
Renvoie : SetUserTrustFactorResponse
Exemple

createModerator 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| createModeratorBody | CreateModeratorBody | Yes |
Réponse
Retourne : CreateModeratorResponse
Exemple

deleteModerator 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| sendEmail | string | Non |
Réponse
Renvoie : APIEmptyResponse
Exemple

getModerator 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : GetModeratorResponse
Exemple

getModerators 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | double | Non |
Réponse
Renvoie : GetModeratorsResponse
Exemple

sendInvite 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| fromName | string | Oui |
Réponse
Renvoie : APIEmptyResponse
Exemple

updateModerator 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateModeratorBody | UpdateModeratorBody | Oui |
Réponse
Retourne : APIEmptyResponse
Exemple

deleteNotificationCount 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : APIEmptyResponse
Exemple

getCachedNotificationCount 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : GetCachedNotificationCountResponse
Exemple

getNotificationCount 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetNotificationCountOptions& | Oui |
Réponse
Renvoie : GetNotificationCountResponse
Exemple

getNotifications 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetNotificationsOptions& | Oui |
Réponse
Renvoie : GetNotificationsResponse
Exemple

updateNotification 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateNotificationBody | UpdateNotificationBody | Yes | |
| userId | string | No |
Réponse
Renvoie : APIEmptyResponse
Exemple

createV1PageReact 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| title | string | No |
Réponse
Renvoie : CreateV1PageReact
Exemple

createV2PageReact 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| id | string | Oui | |
| title | string | Non |
Réponse
Renvoie : CreateV1PageReact
Exemple

deleteV1PageReact 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui |
Réponse
Retourne : CreateV1PageReact
Exemple

deleteV2PageReact 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| id | string | Yes |
Réponse
Renvoie : CreateV1PageReact
Exemple

getV1PageLikes 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Réponse
Renvoie : GetV1PageLikes
Exemple

getV2PageReacts 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui |
Réponse
Renvoie : GetV2PageReacts
Exemple

getV2PageReactUsers 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : GetV2PageReactUsersResponse
Exemple

addPage 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createAPIPageData | CreateAPIPageData | Oui |
Réponse
Renvoie : AddPageAPIResponse
Exemple

deletePage 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : DeletePageAPIResponse
Exemple

getOfflineUsers 
Commentateurs passés sur la page qui ne sont PAS actuellement en ligne. Triés par displayName.
Utilisez ceci après avoir épuisé /users/online pour afficher une section « Membres ».
Pagination par curseur sur commenterName : le serveur parcourt la partie {tenantId, urlId, commenterName}
index à partir de afterName en avançant via $gt, aucun coût $skip.
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| options | const GetOfflineUsersOptions& | Oui |
Réponse
Renvoie : PageUsersOfflineResponse
Exemple

getOnlineUsers 
Actuellement‑en‑ligne les visualiseurs d’une page : les personnes dont la session websocket est abonnée à la page à l’instant présent.
Renvoie anonCount + totalCount (abonnés à toute la salle, incluant les visualiseurs anonymes que nous n’énumérons pas).
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| options | const GetOnlineUsersOptions& | Yes |
Réponse
Renvoie : PageUsersOnlineResponse
Exemple

getPageByURLId 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Réponse
Returns: GetPageByURLIdAPIResponse
Exemple

getPages 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui |
Réponse
Renvoie : GetPagesAPIResponse
Exemple

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
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetPagesPublicOptions& | Oui |
Réponse
Renvoie : GetPublicPagesResponse
Exemple

getUsersInfo 
Informations d'utilisateurs en masse pour un locataire. Étant donné des userIds, renvoie les informations d'affichage du User / SSOUser. Utilisé par le widget de commentaire pour enrichir les utilisateurs qui viennent d'apparaître via un événement de présence. Pas de contexte de page : la confidentialité est appliquée uniformément (les profils privés sont masqués).
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| ids | string | Oui |
Réponse
Renvoie : PageUsersInfoResponse
Exemple

patchPage 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateAPIPageData | UpdateAPIPageData | Oui |
Réponse
Renvoie : PatchPageAPIResponse
Exemple

deletePendingWebhookEvent 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : APIEmptyResponse
Exemple

getPendingWebhookEventCount 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetPendingWebhookEventCountOptions& | Oui |
Réponse
Renvoie : GetPendingWebhookEventCountResponse
Exemple

getPendingWebhookEvents 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetPendingWebhookEventsOptions& | Oui |
Réponse
Retourne : GetPendingWebhookEventsResponse
Exemple

createQuestionConfig 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createQuestionConfigBody | CreateQuestionConfigBody | Oui |
Réponse
Renvoie : CreateQuestionConfigResponse
Exemple

deleteQuestionConfig 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne : APIEmptyResponse
Exemple

getQuestionConfig 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : GetQuestionConfigResponse
Exemple

getQuestionConfigs 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| skip | double | No |
Réponse
Renvoie : GetQuestionConfigsResponse
Exemple

updateQuestionConfig 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Oui |
Réponse
Retourne : APIEmptyResponse
Exemple

createQuestionResult 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createQuestionResultBody | CreateQuestionResultBody | Oui |
Réponse
Renvoie : CreateQuestionResultResponse
Exemple

deleteQuestionResult 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne : APIEmptyResponse
Exemple

getQuestionResult 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : GetQuestionResultResponse
Exemple

getQuestionResults 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetQuestionResultsOptions& | Oui |
Réponse
Retourne : GetQuestionResultsResponse
Exemple

updateQuestionResult 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateQuestionResultBody | UpdateQuestionResultBody | Oui |
Réponse
Renvoie : APIEmptyResponse
Exemple

aggregateQuestionResults 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const AggregateQuestionResultsOptions& | Oui |
Réponse
Retourne : AggregateQuestionResultsResponse
Exemple

bulkAggregateQuestionResults 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Yes | |
| forceRecalculate | bool | No |
Réponse
Renvoie : BulkAggregateQuestionResultsResponse
Exemple

combineCommentsWithQuestionResults 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const CombineCommentsWithQuestionResultsOptions& | Oui |
Réponse
Retourne : CombineQuestionResultsWithCommentsResponse
Exemple

addSSOUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| createAPISSOUserData | CreateAPISSOUserData | Yes |
Réponse
Renvoie : AddSSOUserAPIResponse
Exemple

deleteSSOUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| options | const DeleteSSOUserOptions& | Oui |
Réponse
Renvoie : DeleteSSOUserAPIResponse
Exemple

getSSOUserByEmail 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| string | Oui |
Réponse
Retourne : GetSSOUserByEmailAPIResponse
Exemple

getSSOUserById 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : GetSSOUserByIdAPIResponse
Exemple

getSSOUsers 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | int32_t | Non |
Réponse
Retourne : GetSSOUsersResponse
Exemple

patchSSOUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateAPISSOUserData | UpdateAPISSOUserData | Yes | |
| updateComments | bool | No |
Réponse
Renvoie : PatchSSOUserAPIResponse
Exemple

putSSOUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateAPISSOUserData | UpdateAPISSOUserData | Yes | |
| updateComments | bool | No |
Réponse
Retourne : PutSSOUserAPIResponse
Exemple

createSubscription 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Oui |
Réponse
Renvoie : CreateSubscriptionAPIResponse
Exemple

deleteSubscription 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| userId | string | Non |
Réponse
Retourne : DeleteSubscriptionAPIResponse
Exemple

getSubscriptions 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non |
Réponse
Retourne : GetSubscriptionsAPIResponse
Exemple

updateSubscription 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Oui | |
| userId | string | Non |
Réponse
Retourne : UpdateSubscriptionAPIResponse
Exemple

getTenantDailyUsages 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetTenantDailyUsagesOptions& | Oui |
Réponse
Retourne : GetTenantDailyUsagesResponse
Exemple

createTenantPackage 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createTenantPackageBody | CreateTenantPackageBody | Oui |
Réponse
Retourne : CreateTenantPackageResponse
Exemple

deleteTenantPackage 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Réponse
Renvoie : APIEmptyResponse
Exemple

getTenantPackage 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne : GetTenantPackageResponse
Exemple

getTenantPackages 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | double | Non |
Réponse
Renvoie : GetTenantPackagesResponse
Exemple

replaceTenantPackage 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Oui |
Réponse
Retourne : APIEmptyResponse
Exemple

updateTenantPackage 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateTenantPackageBody | UpdateTenantPackageBody | Yes |
Réponse
Returns: APIEmptyResponse
Exemple

createTenantUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createTenantUserBody | CreateTenantUserBody | Oui |
Réponse
Renvoie : CreateTenantUserResponse
Exemple

deleteTenantUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| options | const DeleteTenantUserOptions& | Oui |
Réponse
Retourne : APIEmptyResponse
Exemple

getTenantUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : GetTenantUserResponse
Exemple

getTenantUsers 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | double | Non |
Réponse
Renvoie : GetTenantUsersResponse
Exemple

replaceTenantUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| replaceTenantUserBody | ReplaceTenantUserBody | Yes | |
| updateComments | string | No |
Réponse
Renvoie : APIEmptyResponse
Exemple

sendLoginLink 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| redirectURL | string | Non |
Réponse
Renvoie : APIEmptyResponse
Exemple

updateTenantUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateTenantUserBody | UpdateTenantUserBody | Oui | |
| updateComments | string | Non |
Réponse
Retourne : APIEmptyResponse
Exemple

createTenant 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createTenantBody | CreateTenantBody | Oui |
Réponse
Retourne: CreateTenantResponse
Exemple

deleteTenant 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| sure | string | Non |
Réponse
Renvoie : APIEmptyResponse
Exemple

getTenant 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Réponse
Retourne : GetTenantResponse
Exemple

getTenants 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetTenantsOptions& | Oui |
Réponse
Retourne : GetTenantsResponse
Exemple

updateTenant 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateTenantBody | UpdateTenantBody | Yes |
Réponse
Renvoie : APIEmptyResponse
Exemple

changeTicketState 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | Yes | |
| id | string | Yes | |
| changeTicketStateBody | ChangeTicketStateBody | Yes |
Réponse
Renvoie : ChangeTicketStateResponse
Exemple

createTicket 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Oui | |
| createTicketBody | CreateTicketBody | Oui |
Réponse
Retourne: CreateTicketResponse
Exemple

getTicket 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| userId | string | Non |
Réponse
Renvoie : GetTicketResponse
Exemple

getTickets 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetTicketsOptions& | Oui |
Réponse
Renvoie : GetTicketsResponse
Exemple

getTranslations 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| r_namespace | string | Oui | |
| component | string | Oui | |
| options | const GetTranslationsOptions& | Oui |
Réponse
Renvoie : GetTranslationsResponse
Exemple

uploadImage 
Téléverser et redimensionner une image
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| file | HttpContent | Yes | |
| options | const UploadImageOptions& | Yes |
Réponse
Retourne : UploadImageResponse
Exemple

getUserBadgeProgressById 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : APIGetUserBadgeProgressResponse
Exemple

getUserBadgeProgressByUserId 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Oui |
Réponse
Retourne : APIGetUserBadgeProgressResponse
Exemple

getUserBadgeProgressList 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetUserBadgeProgressListOptions& | Oui |
Réponse
Renvoie : APIGetUserBadgeProgressListResponse
Exemple

createUserBadge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createUserBadgeParams | CreateUserBadgeParams | Oui |
Réponse
Renvoie : APICreateUserBadgeResponse
Exemple

deleteUserBadge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Réponse
Retourne : APIEmptySuccessResponse
Exemple

getUserBadge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : APIGetUserBadgeResponse
Exemple

getUserBadges 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetUserBadgesOptions& | Oui |
Réponse
Retourne : APIGetUserBadgesResponse
Exemple

updateUserBadge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateUserBadgeParams | UpdateUserBadgeParams | Yes |
Réponse
Renvoie : APIEmptySuccessResponse
Exemple

getUserNotificationCount 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Retourne : GetUserNotificationCountResponse
Exemple

getUserNotifications 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| options | const GetUserNotificationsOptions& | Oui |
Réponse
Renvoie : GetMyNotificationsResponse
Exemple

resetUserNotificationCount 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Retourne : ResetUserNotificationsResponse
Exemple

resetUserNotifications 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const ResetUserNotificationsOptions& | Yes |
Response
Retourne : ResetUserNotificationsResponse
Example

updateUserNotificationCommentSubscriptionStatus 
Activez ou désactivez les notifications pour un commentaire spécifique.
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| notificationId | string | Oui | |
| optedInOrOut | string | Oui | |
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : UpdateUserNotificationCommentSubscriptionStatusResponse
Exemple

updateUserNotificationPageSubscriptionStatus 
Activer ou désactiver les notifications pour une page. Lorsque les utilisateurs sont abonnés à une page, des notifications sont créées pour les nouveaux commentaires racine, et aussi
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| url | string | Yes | |
| pageTitle | string | Yes | |
| subscribedOrUnsubscribed | string | Yes | |
| sso | string | No |
Réponse
Renvoie : UpdateUserNotificationPageSubscriptionStatusResponse
Exemple

updateUserNotificationStatus 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| notificationId | string | Yes | |
| newStatus | string | Yes | |
| sso | string | No |
Réponse
Retourne : UpdateUserNotificationStatusResponse
Exemple

getUserPresenceStatuses 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlIdWS | string | Oui | |
| userIds | string | Oui |
Réponse
Renvoie : GetUserPresenceStatusesResponse
Exemple

searchUsers 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| options | const SearchUsersOptions& | Oui |
Réponse
Retourne : SearchUsersResult
Exemple

getUser 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Réponse
Renvoie : GetUserResponse
Exemple

createVote 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| direction | string | Oui | |
| options | const CreateVoteOptions& | Oui |
Réponse
Renvoie : VoteResponse
Exemple

deleteVote 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| editKey | string | No |
Réponse
Retourne : VoteDeleteResponse
Exemple

getVotes 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui |
Réponse
Renvoie : GetVotesResponse
Exemple

getVotesForUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| options | const GetVotesForUserOptions& | Oui |
Réponse
Renvoie : GetVotesForUserResponse
Exemple

Besoin d'aide ?
Si vous rencontrez des problèmes ou avez des questions concernant le SDK C++, veuillez :
Contribuer
Les contributions sont les bienvenues ! Veuillez consulter le dépôt GitHub pour les directives de contribution.