
Langue 🇫🇷 Français (France)
Documentation
Prise en main
Référence 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 d'événements
Publications de flux
Signaler un commentaire
Hashtags
Modérateurs
Compteur 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
Packages locataires
Utilisateurs locataires
Locataires
Tickets
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
This is the official C++ SDK for FastComments.
Ceci est le SDK C++ officiel pour FastComments.
Official C++ SDK for the FastComments API
SDK C++ officiel pour l'API FastComments
Repository
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
Construire à partir des 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.
APIs publiques vs sécurisées
Pour le client API, il existe deux classes, DefaultAPI et PublicAPI. La DefaultAPI contient des méthodes qui requièrent votre clé API, et PublicAPI contient des appels d'API qui peuvent être effectués directement depuis un navigateur, un 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")); // US
// 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 d'API authentifiés
return 0;
}
Utiliser les API publiques (PublicAPI)
Les endpoints 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
- Erreur « L'URI doit contenir un nom d'hôte » : 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. - Mauvaise classe API : Utilisez
DefaultAPIpour les requêtes authentifiées côté serveur,PublicAPIpour les requêtes côté client/publiques.
Effectuer des appels API : synchrone vs asynchrone 
Toutes les méthodes d'API de ce SDK retournent pplx::task<std::shared_ptr<ResponseType>> provenant du C++ REST SDK. Cela vous offre de la flexibilité dans la façon dont vous traitez les réponses de l'API.
Appels synchrones avec .get()
Utilisez .get() pour bloquer le thread appelant jusqu'à la fin de la requête et récupérer le résultat de manière 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 obtenir 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() (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 travailleurs dédiés, au traitement par lots ou aux outils en ligne de commande
- Ne convient PAS 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
- Nécessaire pour les architectures pilotées par é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(), ce qui est approprié pour l'environnement de test où le blocage est acceptable.
Remarques 
Identifiants de diffusion
Vous verrez que vous devez transmettre un broadcastId dans certains 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 prévoyez d'appliquer les modifications de manière 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 dans une session de navigateur.
SSO (authentification unique)
Pour des exemples de SSO, 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 pour les points de terminaison API
Toutes les URI 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 les documents en les regroupant (si groupBy est fourni) et en appliquant plusieurs opérations. Différentes opérations sont prises en charge (par exemple, sum, countDistinct, avg, etc.). |
| 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} | |
| 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} | Active ou désactive les notifications pour une page. Lorsque les utilisateurs sont abonnés à une page, des notifications sont créées pour les nouveaux commentaires racine, ainsi que |
| 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 pour les modèles
- APIAuditLog
- APIComment
- APICommentBase
- APICommentBase_meta
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIPage
- APISSOUser
- APIStatus
- APITenant
- APITenantDailyUsage
- APITicket
- APITicketDetail
- APITicketFile
- 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
- ChangeTicketStateBody
- ChangeTicketStateResponse
- ChangeTicketState_200_response
- 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
- CreateTicketBody
- CreateTicketResponse
- CreateTicket_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
- GetTicketResponse
- GetTicket_200_response
- GetTicketsResponse
- GetTickets_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
- HeaderAccountNotification
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- ImportedSiteType
- [LiveEvent](https://github.com/FastComments/fastcomments-cpp/blob/master/docs
Agréger 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| aggregationRequest | AggregationRequest | Oui | |
| parentTenantId | string | Non | |
| includeStats | bool | Non |
Réponse
Renvoie: AggregationResponse
Exemple

Obtenir les journaux d'audit 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| limit | double | Non | |
| skip | double | Non | |
| order | SORT_DIR | Non | |
| after | double | Non | |
| before | double | Non |
Réponse
Renvoie: GetAuditLogs_200_response
Exemple

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

Débloquer le commentaire public 
Paramètres
| Nom | Type | Obligatoire | 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
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentIds | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : CheckedCommentsForBlocked_200_response
Exemple

Bloquer un utilisateur à partir d'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
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| contextUserId | string | Non | |
| isLive | bool | Non |
Réponse
Renvoie : DeleteComment_200_response
Exemple

Supprimer le 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
Retourne : DeleteCommentPublic_200_response
Exemple

Supprimer le vote sur commentaire 
Paramètres
| Nom | 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
Renvoie : DeleteCommentVote_200_response
Exemple

Signaler le commentaire 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Renvoie : FlagComment_200_response
Exemple

Obtenir le commentaire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne: GetComment_200_response
Exemple

Obtenir les commentaires 
Paramètres
| Name | Type | Requis | 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 les commentaires publics 
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 du commentaire 
Paramètres
| Name | 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 le 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 le 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

Épingler le 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 le commentaire 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createCommentParams | CreateCommentParams | Oui | |
| isLive | bool | Non | |
| doSpamCheck | bool | Non | |
| sendEmails | bool | Non | |
| populateNotifications | bool | Non |
Response
Renvoie : SaveComment_200_response
Exemple

Définir le texte du 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 à partir d'un commentaire 
Paramètres
| Name | 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 du commentaire 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| userId | string | Non | |
| anonUserId | string | Non |
Response
Renvoie : FlagComment_200_response
Exemple

Déverrouiller le commentaire 
Paramètres
| Name | 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 le commentaire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : PinComment_200_response
Exemple

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

Voter pour le 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
Renvoie : AddDomainConfig_200_response
Exemple

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

Obtenir la configuration de domaine 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domain | string | Oui |
Réponse
Retourne: GetDomainConfig_200_response
Exemple

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

Modifier partiellement la 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 la configuration de domaine 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domainToUpdate | string | Oui | |
| updateDomainConfigParams | UpdateDomainConfigParams | Oui |
Réponse
Retourne : GetDomainConfig_200_response
Exemple

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

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

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

Obtenir le modèle d'e-mail 
Paramètres
| Nom | 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
| Name | 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 | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| skip | double | Non |
Réponse
Renvoie: 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 le modèle d'e-mail 
Paramètres
| Nom | Type | Requis | 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 | Requis | 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 | Requis | 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 flux 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createFeedPostParams | CreateFeedPostParams | Oui | |
| broadcastId | string | Non | |
| isLive | bool | Non | |
| doSpamCheck | bool | Non | |
| skipDupCheck | bool | Non |
Réponse
Renvoie : CreateFeedPost_200_response
Exemple

Créer une publication de flux publique 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createFeedPostParams | CreateFeedPostParams | Oui | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Retourne : CreateFeedPostPublic_200_response
Exemple

Supprimer une publication de flux 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 de flux 
Paramètres
| Nom | Type | Requis | 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 de flux 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 de flux 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postIds | vector<string | Oui | |
| sso | string | Non |
Réponse
Renvoie : GetFeedPostsStats_200_response
Exemple

Obtenir les réactions des utilisateurs (publiques) 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postIds | vector<string | Non | |
| sso | string | Non |
Réponse
Retourne: GetUserReactsPublic_200_response
Exemple

Réagir à une publication de flux publique 
Paramètres
| Name | Type | Required | 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 la publication de flux 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| feedPost | FeedPost | Oui |
Réponse
Renvoie: FlagCommentPublic_200_response
Exemple

Mettre à jour la publication de flux publique 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postId | string | Oui | |
| updateFeedPostParams | UpdateFeedPostParams | Oui | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Retourne : 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 hashtag 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Non | |
| createHashTagBody | CreateHashTagBody | Non |
Réponse
Retourne : AddHashTag_200_response
Exemple

Ajouter des hashtags en masse 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Non | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Non |
Réponse
Retourne : AddHashTagsBulk_200_response
Exemple

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

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

Modifier partiellement un hashtag 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tag | string | Oui | |
| tenantId | string | Non | |
| updateHashTagBody | UpdateHashTagBody | Non |
Réponse
Retourne : PatchHashTag_200_response
Exemple

Créer un modérateur 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createModeratorBody | CreateModeratorBody | Oui |
Réponse
Renvoie : 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 le modérateur 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : GetModerator_200_response
Exemple

Obtenir les modérateurs 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | double | Non |
Réponse
Retourne : GetModerators_200_response
Exemple

Envoyer une invitation 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| fromName | string | Yes |
Réponse
Renvoie : FlagCommentPublic_200_response
Exemple

Mettre à jour le 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 | Requis | 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 nombre 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 la notification 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateNotificationBody | UpdateNotificationBody | Oui | |
| userId | string | Non |
Réponse
Renvoie: FlagCommentPublic_200_response
Exemple

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

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

Obtenir la page par ID d'URL 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Response
Retourne : GetPageByURLIdAPIResponse
Example

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

Modifier partiellement la page 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateAPIPageData | UpdateAPIPageData | Oui |
Réponse
Retourne : PatchPageAPIResponse
Exemple

Supprimer l'événement webhook en attente 
Paramètres
| Nom | Type | Requis | 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 | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Non | |
| externalId | string | Non | |
| eventType | string | Non | |
| type | string | Non | |
| domain | string | Non | |
| attemptCountGT | double | Non |
Réponse
Renvoie: GetPendingWebhookEventCount_200_response
Exemple

Obtenir les é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 | |
| skip | double | Non |
Réponse
Renvoie : GetPendingWebhookEvents_200_response
Exemple

Créer une configuration de question 
Paramètres
| Nom | Type | Requis | 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
Renvoie : FlagCommentPublic_200_response
Exemple

Obtenir la configuration de question 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne : GetQuestionConfig_200_response
Exemple

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

Mettre à jour la 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
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie: FlagCommentPublic_200_response
Exemple

Obtenir le résultat de question 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Retourne: GetQuestionResult_200_response
Exemple

Obtenir les résultats de question 
Paramètres
| Name | 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
Retourne : GetQuestionResults_200_response
Exemple

Mettre à jour le résultat de question 
Paramètres
| Nom | Type | Requis | 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éger en masse les résultats de question 
Paramètres
| Nom | 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
| Name | Type | Requis | 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
Retourne: CombineCommentsWithQuestionResults_200_response
Exemple

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

Supprimer un utilisateur SSO 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| deleteComments | bool | Non | |
| commentDeleteMode | string | Non |
Réponse
Renvoie : DeleteSSOUserAPIResponse
Exemple

Obtenir un utilisateur SSO par e-mail 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| string | Oui |
Réponse
Retourne : GetSSOUserByEmailAPIResponse
Exemple

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

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

Modifier partiellement un utilisateur SSO 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateAPISSOUserData | UpdateAPISSOUserData | Oui | |
| updateComments | bool | Non |
Response
Renvoie : PatchSSOUserAPIResponse
Exemple

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

Créer un abonnement 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Oui |
Réponse
Renvoie : CreateSubscriptionAPIResponse
Exemple

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

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

Mettre à jour l'abonnement 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Oui | |
| userId | string | Non |
Réponse
Renvoie : UpdateSubscriptionAPIResponse
Exemple

Obtenir les utilisations quotidiennes du locataire 
Paramètres
| Name | Type | Required | 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 package locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createTenantPackageBody | CreateTenantPackageBody | Oui |
Réponse
Retourne : CreateTenantPackage_200_response
Exemple

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

Obtenir le package locataire 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie: GetTenantPackage_200_response
Exemple

Obtenir les packages locataires 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | double | Non |
Réponse
Renvoie : GetTenantPackages_200_response
Exemple

Remplacer le package locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Oui |
Réponse
Retourne: FlagCommentPublic_200_response
Exemple

Mettre à jour le package locataire 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateTenantPackageBody | UpdateTenantPackageBody | Oui |
Réponse
Retourne: FlagCommentPublic_200_response
Exemple

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

Supprimer un utilisateur locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| deleteComments | string | Non | |
| commentDeleteMode | string | Non |
Réponse
Renvoie : FlagCommentPublic_200_response
Exemple

Obtenir l'utilisateur locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie: GetTenantUser_200_response
Exemple

Obtenir les utilisateurs locataires 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | double | Non |
Réponse
Renvoie: GetTenantUsers_200_response
Exemple

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

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

Mettre à jour l'utilisateur locataire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateTenantUserBody | UpdateTenantUserBody | Oui | |
| updateComments | string | Non |
Réponse
Retourne : 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 le locataire 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| sure | string | Non |
Réponse
Renvoie : FlagCommentPublic_200_response
Exemple

Obtenir le locataire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie: GetTenant_200_response
Exemple

Obtenir les locataires 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| meta | string | Non | |
| skip | double | Non |
Réponse
Renvoie : GetTenants_200_response
Exemple

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

Modifier l'état du ticket 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Oui | |
| id | string | Oui | |
| changeTicketStateBody | ChangeTicketStateBody | Oui |
Réponse
Retourne : ChangeTicketState_200_response
Exemple

Créer un ticket 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Oui | |
| createTicketBody | CreateTicketBody | Oui |
Réponse
Retourne : CreateTicket_200_response
Exemple

Obtenir le ticket 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| userId | string | Non |
Réponse
Retourne: GetTicket_200_response
Exemple

Obtenir les tickets 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | No | |
| state | double | No | |
| skip | double | No | |
| limit | double | No |
Réponse
Retourne : GetTickets_200_response
Exemple

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

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

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

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

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

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

Obtenir le badge utilisateur 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui |
Réponse
Renvoie : 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
Renvoie : GetUserBadges_200_response
Exemple

Mettre à jour le badge utilisateur 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Oui | |
| updateUserBadgeParams | UpdateUserBadgeParams | Oui |
Réponse
Renvoie: UpdateUserBadge_200_response
Exemple

Obtenir le compteur de notifications utilisateur 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : GetUserNotificationCount_200_response
Exemple

Obtenir les notifications utilisateur 
Paramètres
| Nom | Type | Requis | 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
Renvoie : GetUserNotifications_200_response
Exemple

Réinitialiser le compteur de notifications utilisateur 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : ResetUserNotifications_200_response
Exemple

Réinitialiser les notifications utilisateur 
Paramètres
| Nom | Type | Obligatoire | 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
Renvoie : ResetUserNotifications_200_response
Exemple

Mettre à jour le statut d'abonnement aux commentaires pour les notifications utilisateur 
Activer ou désactiver les notifications pour un commentaire spécifique.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| notificationId | string | Oui | |
| optedInOrOut | string | Oui | |
| commentId | string | Oui | |
| sso | string | Non |
Response
Renvoie : UpdateUserNotificationStatus_200_response
Example

Mettre à jour le statut d'abonnement aux pages pour les notifications 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 racine, et aussi
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| url | string | Oui | |
| pageTitle | string | Oui | |
| subscribedOrUnsubscribed | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : UpdateUserNotificationStatus_200_response
Exemple

Mettre à jour le statut de notification utilisateur 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| notificationId | string | Oui | |
| newStatus | string | Oui | |
| sso | string | Non |
Réponse
Retourne: 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 | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| usernameStartsWith | string | Non | |
| mentionGroupIds | vector<string | Non | |
| sso | string | Non | |
| searchSection | string | Non |
Réponse
Renvoie : SearchUsers_200_response
Exemple

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

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

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

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

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