
Langue 🇨🇦 Français (Canada)
Documentation
Prise en main
Référence de l'API
Utilisation
Agrégation
Journaux d'audit
Bloquer depuis un commentaire
Vérifier les commentaires bloqués
Commentaires
Configurations de domaine
Modèles d'e-mail
Journal des événements
Publications du fil
Signaler un commentaire
Mots-clics
Modérateurs
Compte de notifications
Notifications
Pages
Événements webhook en attente
Configurations de question
Résultats de question
Agrégation des résultats de question
Utilisateurs SSO
Abonnements
Utilisation quotidienne du locataire
Forfaits du locataire
Utilisateurs du locataire
Locataires
Téléverser une image
Progression des badges utilisateur
Badges utilisateur
Notifications utilisateur
Statut de présence utilisateur
Recherche d'utilisateurs
Utilisateurs
Votes
FastComments C++ SDK
Ceci est le SDK C++ officiel pour FastComments.
SDK C++ officiel pour l'API FastComments
Dépôt
Exigences 
- 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
Compilation depuis les sources
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 y a deux classes, DefaultAPI et PublicAPI. La DefaultAPI contient des méthodes qui nécessitent votre clé API, et PublicAPI contient des appels API qui peuvent être effectués directement depuis un navigateur/appareil mobile/etc sans authentification.
Démarrage rapide 
Utiliser les 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>();
// REQUIS : Définir l'URL de base (choisissez votre région)
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com")); // États-Unis
// OU : config->setBaseUrl(utility::conversions::to_string_t("https://eu.fastcomments.com")); // UE
// REQUIS : Définir votre clé API
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);
// Maintenant, effectuez des appels API authentifiés
return 0;
}
Utiliser les 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>();
// REQUIS : Définir l'URL de base
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);
// Effectuez des appels API publics
return 0;
}
Problèmes courants
- "URI must contain a hostname" error : 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 à partir de la spécification OpenAPI. - 401 "missing-api-key" error : 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. - Mauvaise classe API : Utilisez
DefaultAPIpour les requêtes authentifiées côté serveur,PublicAPIpour les requêtes côté client/public.
Effectuer des appels d'API : synchrone vs asynchrone 
Toutes les méthodes de l'API dans ce SDK retournent pplx::task<std::shared_ptr<ResponseType>> du C++ REST SDK. Cela vous offre de la flexibilité dans la manière de gérer les réponses de l'API.
Appels synchrones avec .get()
Utilisez .get() pour bloquer le thread appelant jusqu'à ce que la requête se termine 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);
// Appelez .get() pour bloquer et récupérer le résultat de façon synchrone
auto response = api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
boost::none, // page
boost::none, // limit
boost::none, // skip
boost::none, // asTree
boost::none, // skipChildren
boost::none, // limitChildren
boost::none, // maxTreeDepth
utility::conversions::to_string_t("your-url-id"), // urlId
boost::none, // userId
boost::none, // anonUserId
boost::none, // contextUserId
boost::none, // hashTag
boost::none, // parentId
boost::none // direction
).get(); // Bloque jusqu'à ce que la requête HTTP soit terminée
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
Appels asynchrones avec .then()
Utilisez .then() pour une exécution asynchrone non bloquante avec des 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);
// Utilisez .then() pour une exécution asynchrone basée sur des callbacks
api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
boost::none, boost::none, boost::none, boost::none, boost::none,
boost::none, boost::none,
utility::conversions::to_string_t("your-url-id"),
boost::none, boost::none, boost::none, boost::none, boost::none, boost::none
).then([](std::shared_ptr<GetComments_200_response> response) {
// Ceci s'exécute de façon asynchrone lorsque la requête est terminée
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
});
// L'exécution continue immédiatement sans blocage
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() (Bloquant 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
- Non adapté aux boucles d'événements, aux threads d'interface graphique ou aux serveurs mono-thread
.then() (Asynchrone non bloquant)
- Retourne immédiatement, le callback s'exécute lorsque la requête est terminée
- Ne bloque pas le thread appelant
- Requis pour les architectures pilotées par des événements, les applications GUI ou les boucles d'événements mono-thread
- Permet d'enchaî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 API
Toutes les URIs sont relatives à 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 groupant (si groupBy est fourni) et en appliquant plusieurs opérations. Différentes opérations (par exemple somme, countDistinct, moyenne, 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 | 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 | 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 | 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 | 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} | |
| 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 | deleteCommentPublic | DELETE /comments/{tenantId}/{commentId} | |
| PublicApi | deleteCommentVote | DELETE /comments/{tenantId}/{commentId}/vote/{voteId} | |
| PublicApi | deleteFeedPostPublic | DELETE /feed-posts/{tenantId}/{postId} | |
| PublicApi | flagCommentPublic | POST /flag-comment/{commentId} | |
| PublicApi | getCommentText | GET /comments/{tenantId}/{commentId}/text | |
| PublicApi | getCommentVoteUserNames | GET /comments/{tenantId}/{commentId}/votes | |
| 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 | getGlobalEventLog | GET /event-log/global/{tenantId} | req tenantId urlId userIdWS |
| 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 | lockComment | POST /comments/{tenantId}/{commentId}/lock | |
| 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 racines, ainsi que |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Téléverser et redimensionner une image |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Documentation des modèles
- APIAuditLog
- APIComment
- APICommentBase
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIPage
- APISSOUser
- APIStatus
- APITenant
- APITenantDailyUsage
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfig_200_response
- AddDomainConfig_200_response_anyOf
- AddHashTag_200_response
- AddHashTagsBulk_200_response
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AggregateQuestionResultsResponse
- AggregateQuestionResults_200_response
- AggregateTimeBucket
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- BillingInfo
- BlockFromCommentParams
- BlockFromCommentPublic_200_response
- BlockSuccess
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkAggregateQuestionResults_200_response
- BulkCreateHashTagsBody
- BulkCreateHashTagsBody_tags_inner
- BulkCreateHashTagsResponse
- ChangeCommentPinStatusResponse
- CheckBlockedCommentsResponse
- CheckedCommentsForBlocked_200_response
- CombineCommentsWithQuestionResults_200_response
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentLogData
- CommentLogEntry
- CommentLogType
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CreateAPIPageData
- CreateAPISSOUserData
- CreateAPIUserSubscriptionData
- CreateCommentParams
- CreateCommentPublic_200_response
- CreateEmailTemplateBody
- CreateEmailTemplateResponse
- CreateEmailTemplate_200_response
- CreateFeedPostParams
- CreateFeedPostPublic_200_response
- CreateFeedPostResponse
- CreateFeedPost_200_response
- CreateFeedPostsResponse
- CreateHashTagBody
- CreateHashTagResponse
- CreateModeratorBody
- CreateModeratorResponse
- CreateModerator_200_response
- CreateQuestionConfigBody
- CreateQuestionConfigResponse
- CreateQuestionConfig_200_response
- CreateQuestionResultBody
- CreateQuestionResultResponse
- CreateQuestionResult_200_response
- CreateSubscriptionAPIResponse
- CreateTenantBody
- CreateTenantPackageBody
- CreateTenantPackageResponse
- CreateTenantPackage_200_response
- CreateTenantResponse
- CreateTenantUserBody
- CreateTenantUserResponse
- CreateTenantUser_200_response
- CreateTenant_200_response
- CreateUserBadgeParams
- CreateUserBadge_200_response
- CustomConfigParameters
- CustomEmailTemplate
- DeleteCommentAction
- DeleteCommentPublic_200_response
- DeleteCommentResult
- DeleteCommentVote_200_response
- DeleteComment_200_response
- DeleteDomainConfig_200_response
- DeleteFeedPostPublic_200_response
- DeleteFeedPostPublic_200_response_anyOf
- DeleteHashTag_request
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- DeletedCommentResultComment
- DigestEmailFrequency
- EmailTemplateDefinition
- EmailTemplateRenderErrorResponse
- EventLogEntry
- FComment
- FComment_meta
- FeedPost
- FeedPostLink
- FeedPostMediaItem
- FeedPostMediaItemAsset
- FeedPostStats
- FeedPostsStatsResponse
- FindCommentsByRangeItem
- FindCommentsByRangeResponse
- FlagCommentPublic_200_response
- FlagCommentResponse
- FlagComment_200_response
- GetAuditLogsResponse
- GetAuditLogs_200_response
- GetCachedNotificationCountResponse
- GetCachedNotificationCount_200_response
- GetCommentText_200_response
- GetCommentVoteUserNamesSuccessResponse
- GetCommentVoteUserNames_200_response
- GetComment_200_response
- GetCommentsPublic_200_response
- GetCommentsResponseWithPresence_PublicComment_
- GetCommentsResponse_PublicComment_
- GetComments_200_response
- GetDomainConfig_200_response
- GetDomainConfigs_200_response
- GetDomainConfigs_200_response_anyOf
- GetDomainConfigs_200_response_anyOf_1
- GetEmailTemplateDefinitionsResponse
- GetEmailTemplateDefinitions_200_response
- GetEmailTemplateRenderErrorsResponse
- GetEmailTemplateRenderErrors_200_response
- GetEmailTemplateResponse
- GetEmailTemplate_200_response
- GetEmailTemplatesResponse
- GetEmailTemplates_200_response
- GetEventLogResponse
- GetEventLog_200_response
- GetFeedPostsPublic_200_response
- GetFeedPostsResponse
- GetFeedPostsStats_200_response
- GetFeedPosts_200_response
- GetHashTagsResponse
- GetHashTags_200_response
- GetModeratorResponse
- GetModerator_200_response
- GetModeratorsResponse
- GetModerators_200_response
- GetMyNotificationsResponse
- GetNotificationCountResponse
- GetNotificationCount_200_response
- GetNotificationsResponse
- GetNotifications_200_response
- GetPageByURLIdAPIResponse
- GetPagesAPIResponse
- GetPendingWebhookEventCountResponse
- GetPendingWebhookEventCount_200_response
- GetPendingWebhookEventsResponse
- GetPendingWebhookEvents_200_response
- GetPublicFeedPostsResponse
- GetQuestionConfigResponse
- GetQuestionConfig_200_response
- GetQuestionConfigsResponse
- GetQuestionConfigs_200_response
- GetQuestionResultResponse
- GetQuestionResult_200_response
- GetQuestionResultsResponse
- GetQuestionResults_200_response
- GetSSOUserByEmailAPIResponse
- GetSSOUserByIdAPIResponse
- GetSSOUsers_200_response
- GetSubscriptionsAPIResponse
- GetTenantDailyUsagesResponse
- GetTenantDailyUsages_200_response
- GetTenantPackageResponse
- GetTenantPackage_200_response
- GetTenantPackagesResponse
- GetTenantPackages_200_response
- GetTenantResponse
- GetTenantUserResponse
- GetTenantUser_200_response
- GetTenantUsersResponse
- GetTenantUsers_200_response
- GetTenant_200_response
- GetTenantsResponse
- GetTenants_200_response
- GetUserBadgeProgressById_200_response
- GetUserBadgeProgressList_200_response
- GetUserBadge_200_response
- GetUserBadges_200_response
- GetUserNotificationCountResponse
- GetUserNotificationCount_200_response
- GetUserNotifications_200_response
- GetUserPresenceStatusesResponse
- GetUserPresenceStatuses_200_response
- GetUserReactsPublic_200_response
- GetUserResponse
- GetUser_200_response
- GetVotesForUserResponse
- GetVotesForUser_200_response
- GetVotesResponse
- GetVotes_200_response
- GifRating
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- ImportedSiteType
- LiveEvent
- LiveEventType
- LiveEvent_extraInfo
- LockComment_200_response
- MediaAsset
- MetaItem
- Moderator
- NotificationAndCount
- NotificationObjectType
- NotificationType
- PatchDomainConfigParams
- PatchHashTag_200_response
- PatchPageAPIResponse
- PatchSSOUserAPIResponse
- PendingCommentToSyncOutbound
- PinComment_200_response
- PubSubComment
- PubSubCommentBase
- PubSubVote
- PublicAPIDeleteCommentResponse
- PublicAPIGetCommentTextResponse
- PublicAPISetCommentTextResponse
- PublicBlockFromCommentParams
- [PublicComment](https://github.com/FastComments/fastcomments
Agrégation 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| aggregationRequest | AggregationRequest | Oui | |
| parentTenantId | string | Non | |
| includeStats | bool | Non |
Réponse
Retourne : AggregationResponse
Exemple

Récupérer les journaux d'audit 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| limit | double | No | |
| skip | double | No | |
| order | SORT_DIR | No | |
| after | double | No | |
| before | double | No |
Réponse
Retourne : GetAuditLogs_200_response
Exemple

Bloquer depuis un commentaire public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Oui | |
| sso | string | Non |
Réponse
Renvoie : BlockFromCommentPublic_200_response
Exemple

Débloquer un commentaire public 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Oui | |
| sso | string | Non |
Réponse
Renvoie: UnBlockCommentPublic_200_response
Exemple

Vérifier les commentaires bloqués 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentIds | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : CheckedCommentsForBlocked_200_response
Exemple

Bloquer un utilisateur depuis un commentaire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| blockFromCommentParams | BlockFromCommentParams | Oui | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Renvoie: BlockFromCommentPublic_200_response
Exemple

Créer un commentaire (public) 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| broadcastId | string | Oui | |
| commentData | CommentData | Oui | |
| sessionId | string | Non | |
| sso | string | Non |
Réponse
Renvoie : CreateCommentPublic_200_response
Exemple

Supprimer un commentaire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| contextUserId | string | Non | |
| isLive | bool | Non |
Réponse
Retourne : DeleteComment_200_response
Exemple

Supprimer un commentaire (public) 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Oui | |
| editKey | string | Non | |
| sso | string | Non |
Réponse
Renvoie : DeleteCommentPublic_200_response
Exemple

Supprimer le vote d'un commentaire 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| voteId | string | Oui | |
| urlId | string | Oui | |
| broadcastId | string | Oui | |
| editKey | string | Non | |
| sso | string | Non |
Réponse
Retourne: DeleteCommentVote_200_response
Exemple

Signaler un commentaire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Renvoie: FlagComment_200_response
Exemple

Obtenir un commentaire 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie: GetComment_200_response
Exemple

Obtenir des commentaires 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| page | int32_t | Non | |
| limit | int32_t | Non | |
| skip | int32_t | Non | |
| asTree | bool | Non | |
| skipChildren | int32_t | Non | |
| limitChildren | int32_t | Non | |
| maxTreeDepth | int32_t | Non | |
| urlId | string | Non | |
| userId | string | Non | |
| anonUserId | string | Non | |
| contextUserId | string | Non | |
| hashTag | string | Non | |
| parentId | string | Non | |
| direction | SortDirections | Non |
Réponse
Renvoie: GetComments_200_response
Exemple

Obtenir des commentaires (public) 
req tenantId urlId
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| page | int32_t | Non | |
| direction | SortDirections | Non | |
| sso | string | Non | |
| skip | int32_t | Non | |
| skipChildren | int32_t | Non | |
| limit | int32_t | Non | |
| limitChildren | int32_t | Non | |
| countChildren | bool | Non | |
| fetchPageForCommentId | string | Non | |
| includeConfig | bool | Non | |
| countAll | bool | Non | |
| includei10n | bool | Non | |
| locale | string | Non | |
| modules | string | Non | |
| isCrawler | bool | Non | |
| includeNotificationCount | bool | Non | |
| asTree | bool | Non | |
| maxTreeDepth | int32_t | Non | |
| useFullTranslationIds | bool | Non | |
| parentId | string | Non | |
| searchText | string | Non | |
| hashTags | vector<string | Non | |
| userId | string | Non | |
| customConfigStr | string | Non | |
| afterCommentId | string | Non | |
| beforeCommentId | string | Non |
Réponse
Renvoie: GetCommentsPublic_200_response
Exemple

Obtenir le texte d'un commentaire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| editKey | string | Non | |
| sso | string | Non |
Réponse
Renvoie: GetCommentText_200_response
Exemple

Obtenir les noms d'utilisateur ayant voté pour un commentaire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| dir | int32_t | Oui | |
| sso | string | Non |
Réponse
Renvoie : GetCommentVoteUserNames_200_response
Exemple

Verrouiller un commentaire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : LockComment_200_response
Exemple

Épingler un commentaire 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie: PinComment_200_response
Exemple

Enregistrer un commentaire 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createCommentParams | CreateCommentParams | Oui | |
| isLive | bool | Non | |
| doSpamCheck | bool | Non | |
| sendEmails | bool | Non | |
| populateNotifications | bool | Non |
Réponse
Renvoie : SaveComment_200_response
Exemple

Définir le texte d'un commentaire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Oui | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Oui | |
| editKey | string | Non | |
| sso | string | Non |
Réponse
Retourne: SetCommentText_200_response
Exemple

Débloquer un utilisateur depuis un commentaire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Oui | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Retourne: UnBlockCommentPublic_200_response
Exemple

Retirer le signalement d'un commentaire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Renvoie : FlagComment_200_response
Exemple

Déverrouiller un commentaire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : LockComment_200_response
Exemple

Désépingler un commentaire 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : PinComment_200_response
Exemple

Mettre à jour un commentaire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updatableCommentParams | UpdatableCommentParams | Oui | |
| contextUserId | string | Non | |
| doSpamCheck | bool | Non | |
| isLive | bool | Non |
Réponse
Retourne : FlagCommentPublic_200_response
Exemple

Voter pour un commentaire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| urlId | string | Oui | |
| broadcastId | string | Oui | |
| voteBodyParams | VoteBodyParams | Oui | |
| sessionId | string | Non | |
| sso | string | Non |
Réponse
Renvoie : VoteComment_200_response
Exemple

Ajouter une configuration de domaine 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| addDomainConfigParams | AddDomainConfigParams | Oui |
Réponse
Retourne: AddDomainConfig_200_response
Exemple

Supprimer une configuration de domaine 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domain | string | Oui |
Réponse
Renvoie: DeleteDomainConfig_200_response
Exemple

Obtenir une configuration de domaine 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domain | string | Oui |
Réponse
Renvoie : GetDomainConfig_200_response
Exemple

Obtenir les configurations de domaine 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui |
Réponse
Renvoie: GetDomainConfigs_200_response
Exemple

Patcher une configuration de domaine 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domainToUpdate | string | Oui | |
| patchDomainConfigParams | PatchDomainConfigParams | Oui |
Réponse
Renvoie : GetDomainConfig_200_response
Exemple

Remplacer une configuration de domaine 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domainToUpdate | string | Oui | |
| updateDomainConfigParams | UpdateDomainConfigParams | Oui |
Réponse
Renvoie : GetDomainConfig_200_response
Exemple

Créer un modèle d'e-mail 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createEmailTemplateBody | CreateEmailTemplateBody | Oui |
Réponse
Renvoie: CreateEmailTemplate_200_response
Exemple

Supprimer un modèle d'e-mail 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne: FlagCommentPublic_200_response
Exemple

Supprimer une erreur de rendu de modèle d'e-mail 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| errorId | string | Oui |
Réponse
Renvoie: FlagCommentPublic_200_response
Exemple

Obtenir un modèle d'e-mail 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : GetEmailTemplate_200_response
Exemple

Obtenir les définitions de modèles d'e-mail 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui |
Réponse
Retourne: GetEmailTemplateDefinitions_200_response
Exemple

Obtenir les erreurs de rendu des modèles d'e-mail 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| skip | double | Non |
Réponse
Retourne: GetEmailTemplateRenderErrors_200_response
Exemple

Obtenir les modèles d'e-mail 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | double | Non |
Réponse
Renvoie : GetEmailTemplates_200_response
Exemple

Rendre un modèle d'e-mail 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Oui | |
| locale | string | Non |
Réponse
Renvoie: RenderEmailTemplate_200_response
Exemple

Mettre à jour un modèle d'e-mail 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Oui |
Réponse
Renvoie : FlagCommentPublic_200_response
Exemple

Obtenir le journal d'événements 
req tenantId urlId userIdWS
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| userIdWS | string | Oui | |
| startTime | int64_t | Oui | |
| endTime | int64_t | Oui |
Réponse
Renvoie: GetEventLog_200_response
Exemple

Obtenir le journal d'événements global 
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 | Oui |
Réponse
Renvoie: GetEventLog_200_response
Exemple

Créer une publication de fil 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createFeedPostParams | CreateFeedPostParams | Oui | |
| broadcastId | string | Non | |
| isLive | bool | Non | |
| doSpamCheck | bool | Non | |
| skipDupCheck | bool | Non |
Réponse
Retourne: CreateFeedPost_200_response
Exemple

Créer une publication de fil (publique) 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createFeedPostParams | CreateFeedPostParams | Oui | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Retourne : CreateFeedPostPublic_200_response
Exemple

Supprimer une publication de fil (publique) 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postId | string | Oui | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Renvoie : DeleteFeedPostPublic_200_response
Exemple

Obtenir les publications du fil 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| afterId | string | Non | |
| limit | int32_t | Non | |
| tags | vector<string | Non |
Réponse
Renvoie: GetFeedPosts_200_response
Exemple

Obtenir les publications du fil (publiques) 
req tenantId afterId
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| afterId | string | Non | |
| limit | int32_t | Non | |
| tags | vector<string | Non | |
| sso | string | Non | |
| isCrawler | bool | Non | |
| includeUserInfo | bool | Non |
Réponse
Renvoie: GetFeedPostsPublic_200_response
Exemple

Obtenir les statistiques des publications du fil 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postIds | vector<string | Oui | |
| sso | string | Non |
Réponse
Retourne : GetFeedPostsStats_200_response
Exemple

Obtenir les réactions d'un utilisateur (public) 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postIds | vector<string | Non | |
| sso | string | Non |
Réponse
Renvoie : GetUserReactsPublic_200_response
Exemple

Réagir à une publication (publique) 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postId | string | Oui | |
| reactBodyParams | ReactBodyParams | Oui | |
| isUndo | bool | Non | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Renvoie : ReactFeedPostPublic_200_response
Exemple

Mettre à jour une publication du fil 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| feedPost | FeedPost | Oui |
Réponse
Renvoie : FlagCommentPublic_200_response
Exemple

Mettre à jour une publication du fil (publique) 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postId | string | Oui | |
| updateFeedPostParams | UpdateFeedPostParams | Oui | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Renvoie : CreateFeedPostPublic_200_response
Exemple

Signaler un commentaire (public) 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| isFlagged | bool | Oui | |
| sso | string | Non |
Réponse
Retourne : FlagCommentPublic_200_response
Exemple

Ajouter un mot-clic 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Non | |
| createHashTagBody | CreateHashTagBody | Non |
Réponse
Renvoie: AddHashTag_200_response
Exemple

Ajouter des mots-clics en masse 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Non | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Non |
Réponse
Renvoie : AddHashTagsBulk_200_response
Exemple

Supprimer un mot-clic 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tag | string | Oui | |
| tenantId | string | Non | |
| deleteHashTagRequest | DeleteHashTag_request | Non |
Réponse
Renvoie : FlagCommentPublic_200_response
Exemple

Obtenir les mots-clics 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| page | double | Non |
Réponse
Renvoie : GetHashTags_200_response
Exemple

Mettre à jour un mot-clic (patch) 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tag | string | Oui | |
| tenantId | string | Non | |
| updateHashTagBody | UpdateHashTagBody | Non |
Réponse
Renvoie: PatchHashTag_200_response
Exemple

Créer un modérateur 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createModeratorBody | CreateModeratorBody | Oui |
Réponse
Retourne: CreateModerator_200_response
Exemple

Supprimer un modérateur 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| sendEmail | string | Non |
Réponse
Renvoie: FlagCommentPublic_200_response
Exemple

Obtenir un modérateur 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne : GetModerator_200_response
Exemple

Obtenir les modérateurs 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | double | Non |
Réponse
Renvoie : GetModerators_200_response
Exemple

Envoyer une invitation 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| fromName | string | Oui |
Réponse
Renvoie: FlagCommentPublic_200_response
Exemple

Mettre à jour un modérateur 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateModeratorBody | UpdateModeratorBody | Oui |
Réponse
Renvoie : FlagCommentPublic_200_response
Exemple

Supprimer le compteur de notifications 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne : FlagCommentPublic_200_response
Exemple

Obtenir le compteur de notifications mis en cache 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie: GetCachedNotificationCount_200_response
Exemple

Obtenir le compteur de notifications 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| urlId | string | Non | |
| fromCommentId | string | Non | |
| viewed | bool | Non | |
| type | string | Non |
Réponse
Renvoie : GetNotificationCount_200_response
Exemple

Obtenir les notifications 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| urlId | string | Non | |
| fromCommentId | string | Non | |
| viewed | bool | Non | |
| type | string | Non | |
| skip | double | Non |
Réponse
Renvoie: GetNotifications_200_response
Exemple

Mettre à jour une notification 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateNotificationBody | UpdateNotificationBody | Oui | |
| userId | string | Non |
Réponse
Retourne : FlagCommentPublic_200_response
Exemple

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

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

Obtenir une page par URL/ID 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui |
Réponse
Retourne: GetPageByURLIdAPIResponse
Exemple

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

Patcher une page 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateAPIPageData | UpdateAPIPageData | Oui |
Réponse
Renvoie: PatchPageAPIResponse
Exemple

Supprimer un événement webhook en attente 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne: FlagCommentPublic_200_response
Exemple

Obtenir le nombre d'événements webhook en attente 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Non | |
| externalId | string | Non | |
| eventType | string | Non | |
| type | string | Non | |
| domain | string | Non | |
| attemptCountGT | double | Non |
Réponse
Retourne: GetPendingWebhookEventCount_200_response
Exemple

Obtenir les événements webhook en attente 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Non | |
| externalId | string | Non | |
| eventType | string | Non | |
| type | string | Non | |
| domain | string | Non | |
| attemptCountGT | double | Non | |
| skip | double | Non |
Réponse
Renvoie : GetPendingWebhookEvents_200_response
Exemple

Créer une configuration de question 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createQuestionConfigBody | CreateQuestionConfigBody | Oui |
Réponse
Renvoie: CreateQuestionConfig_200_response
Exemple

Supprimer une configuration de question 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne: FlagCommentPublic_200_response
Exemple

Obtenir une configuration de question 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne: GetQuestionConfig_200_response
Exemple

Obtenir les configurations de question 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | double | Non |
Réponse
Renvoie: GetQuestionConfigs_200_response
Exemple

Mettre à jour une configuration de question 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Oui |
Réponse
Retourne : FlagCommentPublic_200_response
Exemple

Créer un résultat de question 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createQuestionResultBody | CreateQuestionResultBody | Oui |
Réponse
Renvoie : CreateQuestionResult_200_response
Exemple

Supprimer un résultat de question 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : FlagCommentPublic_200_response
Exemple

Obtenir un résultat de question 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie: GetQuestionResult_200_response
Exemple

Obtenir les résultats de question 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Non | |
| userId | string | Non | |
| startDate | string | Non | |
| questionId | string | Non | |
| questionIds | string | Non | |
| skip | double | Non |
Réponse
Renvoie: GetQuestionResults_200_response
Exemple

Mettre à jour un résultat de question 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateQuestionResultBody | UpdateQuestionResultBody | Oui |
Réponse
Renvoie : FlagCommentPublic_200_response
Exemple

Agréger les résultats de question 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| questionId | string | Non | |
| questionIds | vector<string | Non | |
| urlId | string | Non | |
| timeBucket | AggregateTimeBucket | Non | |
| startDate | datetime | Non | |
| forceRecalculate | bool | Non |
Réponse
Renvoie : AggregateQuestionResults_200_response
Exemple

Agrégation en masse des résultats de question 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Oui | |
| forceRecalculate | bool | Non |
Réponse
Renvoie: BulkAggregateQuestionResults_200_response
Exemple

Combiner les commentaires avec les résultats de question 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| questionId | string | Non | |
| questionIds | vector<string | Non | |
| urlId | string | Non | |
| startDate | datetime | Non | |
| forceRecalculate | bool | Non | |
| minValue | double | Non | |
| maxValue | double | Non | |
| limit | double | Non |
Réponse
Renvoie : CombineCommentsWithQuestionResults_200_response
Exemple

Ajouter un utilisateur SSO 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createAPISSOUserData | CreateAPISSOUserData | Oui |
Réponse
Retourne: AddSSOUserAPIResponse
Exemple

Supprimer un utilisateur SSO 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| deleteComments | bool | No | |
| commentDeleteMode | string | No |
Réponse
Retourne: DeleteSSOUserAPIResponse
Exemple

Obtenir un utilisateur SSO par courriel 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| string | Oui |
Réponse
Renvoie: GetSSOUserByEmailAPIResponse
Exemple

Obtenir un utilisateur SSO par ID 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne : GetSSOUserByIdAPIResponse
Exemple

Obtenir les utilisateurs SSO 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | int32_t | Non |
Réponse
Retourne: GetSSOUsers_200_response
Exemple

Patcher un utilisateur SSO 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateAPISSOUserData | UpdateAPISSOUserData | Oui | |
| updateComments | bool | Non |
Réponse
Retourne : PatchSSOUserAPIResponse
Exemple

Remplacer/mettre à jour un utilisateur SSO 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateAPISSOUserData | UpdateAPISSOUserData | Oui | |
| updateComments | bool | Non |
Réponse
Retourne: PutSSOUserAPIResponse
Exemple

Créer un abonnement 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Oui |
Response
Renvoie : CreateSubscriptionAPIResponse
Example

Supprimer un abonnement 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| userId | string | Non |
Réponse
Renvoie : DeleteSubscriptionAPIResponse
Exemple

Obtenir les abonnements 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non |
Réponse
Renvoie: GetSubscriptionsAPIResponse
Exemple

Obtenir l'utilisation quotidienne du locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| yearNumber | double | Non | |
| monthNumber | double | Non | |
| dayNumber | double | Non | |
| skip | double | Non |
Réponse
Renvoie: GetTenantDailyUsages_200_response
Exemple

Créer un forfait pour locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createTenantPackageBody | CreateTenantPackageBody | Oui |
Réponse
Renvoie : CreateTenantPackage_200_response
Exemple

Supprimer un forfait de locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie: FlagCommentPublic_200_response
Exemple

Obtenir un forfait de locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie: GetTenantPackage_200_response
Exemple

Obtenir les forfaits du locataire 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | double | Non |
Réponse
Renvoie : GetTenantPackages_200_response
Exemple

Remplacer un forfait de locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Oui |
Réponse
Renvoie: FlagCommentPublic_200_response
Exemple

Mettre à jour un forfait de locataire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateTenantPackageBody | UpdateTenantPackageBody | Oui |
Réponse
Renvoie : FlagCommentPublic_200_response
Exemple

Créer un utilisateur de locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createTenantUserBody | CreateTenantUserBody | Oui |
Réponse
Retourne: CreateTenantUser_200_response
Exemple

Supprimer un utilisateur de locataire 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| deleteComments | string | Non | |
| commentDeleteMode | string | Non |
Réponse
Retourne: FlagCommentPublic_200_response
Exemple

Obtenir un utilisateur de locataire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie: GetTenantUser_200_response
Exemple

Obtenir les utilisateurs du locataire 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | double | Non |
Réponse
Retourne: GetTenantUsers_200_response
Exemple

Remplacer un utilisateur de locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| replaceTenantUserBody | ReplaceTenantUserBody | Oui | |
| updateComments | string | Non |
Réponse
Renvoie : FlagCommentPublic_200_response
Exemple

Envoyer un lien de connexion 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| redirectURL | string | Non |
Réponse
Renvoie: FlagCommentPublic_200_response
Exemple

Mettre à jour un utilisateur de locataire 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateTenantUserBody | UpdateTenantUserBody | Oui | |
| updateComments | string | Non |
Réponse
Renvoie : FlagCommentPublic_200_response
Exemple

Créer un locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createTenantBody | CreateTenantBody | Oui |
Réponse
Renvoie : CreateTenant_200_response
Exemple

Supprimer un locataire 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| sure | string | Non |
Réponse
Retourne: FlagCommentPublic_200_response
Exemple

Obtenir un locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne: GetTenant_200_response
Exemple

Obtenir les locataires 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| meta | string | Non | |
| skip | double | Non |
Réponse
Retourne : GetTenants_200_response
Exemple

Mettre à jour un locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateTenantBody | UpdateTenantBody | Oui |
Réponse
Retourne : FlagCommentPublic_200_response
Exemple

Téléverser une image 
Téléverser et redimensionner une image
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| file | HttpContent | Oui | |
| sizePreset | SizePreset | Non | |
| urlId | string | Non |
Réponse
Renvoie : UploadImageResponse
Exemple

Obtenir la progression du badge utilisateur par ID 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : GetUserBadgeProgressById_200_response
Exemple

Obtenir la progression du badge utilisateur par ID d'utilisateur 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Oui |
Réponse
Renvoie : GetUserBadgeProgressById_200_response
Exemple

Obtenir la liste de progression des badges utilisateur 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| limit | double | Non | |
| skip | double | Non |
Réponse
Renvoie: GetUserBadgeProgressList_200_response
Exemple

Créer un badge utilisateur 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createUserBadgeParams | CreateUserBadgeParams | Oui |
Réponse
Renvoie : CreateUserBadge_200_response
Exemple

Supprimer un badge utilisateur 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : UpdateUserBadge_200_response
Exemple

Obtenir un badge utilisateur 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne : GetUserBadge_200_response
Exemple

Obtenir les badges utilisateur 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| badgeId | string | Non | |
| type | double | Non | |
| displayedOnComments | bool | Non | |
| limit | double | Non | |
| skip | double | Non |
Réponse
Retourne : GetUserBadges_200_response
Exemple

Mettre à jour un badge utilisateur 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateUserBadgeParams | UpdateUserBadgeParams | Oui |
Réponse
Retourne : UpdateUserBadge_200_response
Exemple

Obtenir le nombre de notifications d'un utilisateur 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Retourne : GetUserNotificationCount_200_response
Exemple

Obtenir les notifications d'un utilisateur 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| pageSize | int32_t | Non | |
| afterId | string | Non | |
| includeContext | bool | Non | |
| afterCreatedAt | int64_t | Non | |
| unreadOnly | bool | Non | |
| dmOnly | bool | Non | |
| noDm | bool | Non | |
| includeTranslations | bool | Non | |
| sso | string | Non |
Réponse
Retourne: GetUserNotifications_200_response
Exemple

Réinitialiser le compteur de notifications d'un utilisateur 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : ResetUserNotifications_200_response
Exemple

Réinitialiser les notifications d'un utilisateur 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| afterId | string | Non | |
| afterCreatedAt | int64_t | Non | |
| unreadOnly | bool | Non | |
| dmOnly | bool | Non | |
| noDm | bool | Non | |
| sso | string | Non |
Réponse
Retourne : ResetUserNotifications_200_response
Exemple

Mettre à jour le statut d'abonnement aux commentaires d'un utilisateur 
Activer ou désactiver 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
Retourne : UpdateUserNotificationStatus_200_response
Exemple

Mettre à jour le statut d'abonnement aux pages d'un utilisateur 
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 racines, et aussi
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| url | string | Oui | |
| pageTitle | string | Oui | |
| subscribedOrUnsubscribed | string | Oui | |
| sso | string | Non |
Réponse
Retourne : UpdateUserNotificationStatus_200_response
Exemple

Mettre à jour le statut d'une notification utilisateur 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| notificationId | string | Oui | |
| newStatus | string | Oui | |
| sso | string | Non |
Réponse
Renvoie: UpdateUserNotificationStatus_200_response
Exemple

Obtenir les statuts de présence des utilisateurs 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlIdWS | string | Oui | |
| userIds | string | Oui |
Réponse
Renvoie : GetUserPresenceStatuses_200_response
Exemple

Rechercher des utilisateurs 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| usernameStartsWith | string | Non | |
| mentionGroupIds | vector<string | Non | |
| sso | string | Non |
Réponse
Renvoie : SearchUsers_200_response
Exemple

Obtenir un utilisateur 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne: GetUser_200_response
Exemple

Créer un vote 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| direction | string | Oui | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Renvoie : VoteComment_200_response
Exemple

Supprimer un vote 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| editKey | string | Non |
Réponse
Retourne : DeleteCommentVote_200_response
Exemple

Obtenir les votes 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui |
Réponse
Renvoie : GetVotes_200_response
Exemple

Obtenir les votes pour un utilisateur 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Renvoie : GetVotesForUser_200_response
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.