
Langue 🇨🇦 Français (Canada)
Documentation
Premiers pas
Référence de l'API
Utilisation
Agrégation
Journaux d'audit
Authentification
Bloquer depuis un commentaire
Vérifier les commentaires bloqués
Commentaires
Commentaires pour l'utilisateur
Configurations de domaine
Modèles de courriel
Journal d'événements
Publications
Signaler un commentaire
Gifs
Mots-clics
Modération
Modérateurs
Nombre de notifications
Notifications
Réactions de page
Pages
Événements webhook en attente
Configurations des questions
Résultats des questions
Agrégation des résultats de questions
Utilisateurs SSO
Abonnements
Utilisation quotidienne du locataire
Forfaits du locataire
Utilisateurs du locataire
Locataires
Tickets
Traductions
Téléverser une image
Progression des badges utilisateur
Badges utilisateur
Notifications utilisateur
Statut de présence de l'utilisateur
Recherche d'utilisateurs
Utilisateurs
Votes
SDK Nim de FastComments
Ceci est le SDK Nim officiel pour FastComments.
SDK Nim officiel pour l'API FastComments
Dépôt
Installation 
Utilisation de Nimble
nimble install fastcomments
Compilation à partir des sources
nimble build
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 trois modules API, api_default, api_public et api_moderation. api_default contient des méthodes qui nécessitent votre clé API, et api_public contient des appels API
qui peuvent être effectués directement depuis un navigateur, un appareil mobile, etc. sans authentification. Le module api_moderation contient des méthodes pour le tableau de bord du modérateur.
Les méthodes de api_moderation couvrent la liste, le comptage, la recherche et l'exportation des commentaires et de leurs journaux ; les actions de modération telles que la suppression/restauration de commentaires, le signalement, la définition de l'état de révision/spam/approbation, l'ajustement des votes, et la réouverture/fermeture de fils de discussion ; les bannissements (bannir un utilisateur d'un commentaire, annuler un bannissement, résumés pré-bannissement, état et préférences de bannissement, et décomptes d'utilisateurs bannis) ; et les badges et la confiance (attribuer/retirer un badge, lister les badges manuels, obtenir/définir le facteur de confiance d'un utilisateur, et récupérer le profil interne d'un utilisateur). Chaque méthode de api_moderation accepte un paramètre sso afin que l'appel soit authentifié en tant que modérateur SSO.
Démarrage rapide 
Utilisation des API authentifiées (DefaultAPI)
Important : Les points de terminaison authentifiés exige que votre clé API soit définie en tant qu'en-tête x-api-key.
import httpclient
import fastcomments
import fastcomments/apis/api_default
import fastcomments/models/model_comment_data
let client = newHttpClient()
client.headers["x-api-key"] = "your-api-key"
# Effectuer des appels d'API authentifiés
let (response, httpResponse) = getComments(
httpClient = client,
tenantId = "your-tenant-id",
page = 0,
limit = 0,
skip = 0,
asTree = false,
skipChildren = 0,
limitChildren = 0,
maxTreeDepth = 0,
urlId = "your-url-id",
userId = "",
anonUserId = "",
contextUserId = "",
hashTag = "",
parentId = "",
direction = SortDirections.DESC
)
if response.isSome:
let resp = response.get()
if resp.comments.isSome:
echo "Found ", resp.comments.get().len, " comments"
Utilisation des API publiques (PublicAPI)
Les points de terminaison publics n'exigent pas d'authentification :
import httpclient
import fastcomments
import fastcomments/apis/api_public
let client = newHttpClient()
# Effectuer des appels d'API publics
let (response, httpResponse) = getCommentsPublic(
httpClient = client,
tenantId = "your-tenant-id",
urlId = "your-url-id",
page = 0,
direction = SortDirections.DESC,
sso = "",
skip = 0,
skipChildren = 0,
limit = 0,
limitChildren = 0,
countChildren = false,
fetchPageForCommentId = "",
includeConfig = false,
countAll = false,
includei10n = false,
locale = "",
modules = "",
isCrawler = false,
includeNotificationCount = false,
asTree = false,
maxTreeDepth = 0,
useFullTranslationIds = false,
parentId = "",
searchText = "",
hashTags = @[],
userId = "",
customConfigStr = "",
afterCommentId = "",
beforeCommentId = ""
)
if response.isSome:
let resp = response.get()
if resp.comments.isSome:
echo "Found ", resp.comments.get().len, " comments"
Utilisation des API de modération (ModerationAPI)
Les points de terminaison de modération alimentent le tableau de bord du modérateur et sont authentifiés avec un jeton SSO pour le modérateur en action :
import httpclient
import fastcomments
import fastcomments/apis/api_moderation
let client = newHttpClient()
# Lister les commentaires dans le tableau de bord de modération
let (response, httpResponse) = getApiComments(
httpClient = client,
page = 0,
count = 30,
textSearch = "",
byIPFromComment = "",
filters = "",
searchFilters = "",
sorts = "",
demo = false,
sso = "your-sso-token"
)
if response.isSome:
let resp = response.get()
echo "Found ", resp.comments.len, " comments"
Problèmes courants
- Erreur d'authentification 401 : Assurez-vous de définir l'en-tête
x-api-keysur votre HttpClient avant d'effectuer des requêtes DefaultAPI :client.headers["x-api-key"] = "your-api-key" - Mauvaise classe d'API : Utilisez
api_defaultpour les requêtes authentifiées côté serveur,api_publicpour les requêtes côté client/publiques, etapi_moderationpour les requêtes du tableau de bord du modérateur.
Effectuer des appels API 
Toutes les méthodes d'API dans ce SDK renvoient des tuples de (Option[ResponseType], Response). Le premier élément contient la réponse analysée si la requête réussit, et le deuxième élément est la réponse HTTP brute.
Exemple : Récupération des commentaires
import httpclient
import options
import fastcomments
import fastcomments/apis/api_default
let client = newHttpClient()
client.headers["x-api-key"] = "your-api-key"
let (response, httpResponse) = getComments(
httpClient = client,
tenantId = "your-tenant-id",
page = 0,
limit = 0,
skip = 0,
asTree = false,
skipChildren = 0,
limitChildren = 0,
maxTreeDepth = 0,
urlId = "your-url-id",
userId = "",
anonUserId = "",
contextUserId = "",
hashTag = "",
parentId = "",
direction = SortDirections.DESC
)
if httpResponse.code == Http200:
if response.isSome:
let resp = response.get()
if resp.comments.isSome:
echo "Found ", resp.comments.get().len, " comments"
Remarques 
Identifiants de diffusion
Vous verrez que vous devez transmettre un broadcastId dans certains appels d'API. Lorsque vous recevez des événements, vous recevrez cet ID en retour, ce qui vous permet de savoir quand ignorer l'événement si vous prévoyez d'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
import fastcomments/sso
let user = newSimpleSSOUserData(
userId = "user-123",
email = "user@example.com",
avatar = "https://example.com/avatar.jpg"
)
let sso = newSimple(simpleUserData = user)
let token = sso.createToken()
echo "SSO Token: ", token
SSO sécurisé
import fastcomments/sso
let user = newSecureSSOUserData(
userId = "user-123",
email = "user@example.com",
username = "johndoe",
avatar = "https://example.com/avatar.jpg"
)
let apiKey = "your-api-key"
let sso = newSecure(apiKey = apiKey, secureUserData = user)
let token = sso.createToken()
echo "Secure SSO Token: ", token
Documentation pour fastcomments 
Documentation des points de terminaison d'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 regroupant (si groupBy est fourni) et en appliquant plusieurs opérations. Différentes opérations (ex : sum, countDistinct, avg, etc.) sont supportées. |
| DefaultApi | aggregateQuestionResults | GET /api/v1/question-results-aggregation | |
| DefaultApi | blockUserFromComment | POST /api/v1/comments/{id}/block | |
| DefaultApi | bulkAggregateQuestionResults | POST /api/v1/question-results-aggregation/bulk | |
| DefaultApi | changeTicketState | PATCH /api/v1/tickets/{id}/state | |
| DefaultApi | combineCommentsWithQuestionResults | GET /api/v1/question-results-aggregation/combine/comments | |
| DefaultApi | createEmailTemplate | POST /api/v1/email-templates | |
| DefaultApi | createFeedPost | POST /api/v1/feed-posts | |
| DefaultApi | createModerator | POST /api/v1/moderators | |
| DefaultApi | createQuestionConfig | POST /api/v1/question-configs | |
| DefaultApi | createQuestionResult | POST /api/v1/question-results | |
| DefaultApi | createSubscription | POST /api/v1/subscriptions | |
| DefaultApi | createTenant | POST /api/v1/tenants | |
| DefaultApi | createTenantPackage | POST /api/v1/tenant-packages | |
| DefaultApi | createTenantUser | POST /api/v1/tenant-users | |
| DefaultApi | createTicket | POST /api/v1/tickets | |
| DefaultApi | createUserBadge | POST /api/v1/user-badges | |
| DefaultApi | createVote | POST /api/v1/votes | |
| DefaultApi | deleteComment | DELETE /api/v1/comments/{id} | |
| DefaultApi | deleteDomainConfig | DELETE /api/v1/domain-configs/{domain} | |
| DefaultApi | deleteEmailTemplate | DELETE /api/v1/email-templates/{id} | |
| DefaultApi | deleteEmailTemplateRenderError | DELETE /api/v1/email-templates/{id}/render-errors/{errorId} | |
| DefaultApi | deleteHashTag | DELETE /api/v1/hash-tags/{tag} | |
| DefaultApi | deleteModerator | DELETE /api/v1/moderators/{id} | |
| DefaultApi | deleteNotificationCount | DELETE /api/v1/notification-count/{id} | |
| DefaultApi | deletePage | DELETE /api/v1/pages/{id} | |
| DefaultApi | deletePendingWebhookEvent | DELETE /api/v1/pending-webhook-events/{id} | |
| DefaultApi | deleteQuestionConfig | DELETE /api/v1/question-configs/{id} | |
| DefaultApi | deleteQuestionResult | DELETE /api/v1/question-results/{id} | |
| DefaultApi | deleteSSOUser | DELETE /api/v1/sso-users/{id} | |
| DefaultApi | deleteSubscription | DELETE /api/v1/subscriptions/{id} | |
| DefaultApi | deleteTenant | DELETE /api/v1/tenants/{id} | |
| DefaultApi | deleteTenantPackage | DELETE /api/v1/tenant-packages/{id} | |
| DefaultApi | deleteTenantUser | DELETE /api/v1/tenant-users/{id} | |
| DefaultApi | deleteUserBadge | DELETE /api/v1/user-badges/{id} | |
| DefaultApi | deleteVote | DELETE /api/v1/votes/{id} | |
| DefaultApi | flagComment | POST /api/v1/comments/{id}/flag | |
| DefaultApi | getAuditLogs | GET /api/v1/audit-logs | |
| DefaultApi | getCachedNotificationCount | GET /api/v1/notification-count/{id} | |
| DefaultApi | getComment | GET /api/v1/comments/{id} | |
| DefaultApi | getComments | GET /api/v1/comments | |
| DefaultApi | getDomainConfig | GET /api/v1/domain-configs/{domain} | |
| DefaultApi | getDomainConfigs | GET /api/v1/domain-configs | |
| DefaultApi | getEmailTemplate | GET /api/v1/email-templates/{id} | |
| DefaultApi | getEmailTemplateDefinitions | GET /api/v1/email-templates/definitions | |
| DefaultApi | getEmailTemplateRenderErrors | GET /api/v1/email-templates/{id}/render-errors | |
| DefaultApi | getEmailTemplates | GET /api/v1/email-templates | |
| DefaultApi | getFeedPosts | GET /api/v1/feed-posts | req tenantId afterId |
| DefaultApi | getHashTags | GET /api/v1/hash-tags | |
| DefaultApi | getModerator | GET /api/v1/moderators/{id} | |
| DefaultApi | getModerators | GET /api/v1/moderators | |
| DefaultApi | getNotificationCount | GET /api/v1/notifications/count | |
| DefaultApi | getNotifications | GET /api/v1/notifications | |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPages | GET /api/v1/pages | |
| DefaultApi | getPendingWebhookEventCount | GET /api/v1/pending-webhook-events/count | |
| DefaultApi | getPendingWebhookEvents | GET /api/v1/pending-webhook-events | |
| DefaultApi | getQuestionConfig | GET /api/v1/question-configs/{id} | |
| DefaultApi | getQuestionConfigs | GET /api/v1/question-configs | |
| DefaultApi | getQuestionResult | GET /api/v1/question-results/{id} | |
| DefaultApi | getQuestionResults | GET /api/v1/question-results | |
| DefaultApi | getSSOUserByEmail | GET /api/v1/sso-users/by-email/{email} | |
| DefaultApi | getSSOUserById | GET /api/v1/sso-users/by-id/{id} | |
| DefaultApi | getSSOUsers | GET /api/v1/sso-users | |
| DefaultApi | getSubscriptions | GET /api/v1/subscriptions | |
| DefaultApi | getTenant | GET /api/v1/tenants/{id} | |
| DefaultApi | getTenantDailyUsages | GET /api/v1/tenant-daily-usage | |
| DefaultApi | getTenantPackage | GET /api/v1/tenant-packages/{id} | |
| DefaultApi | getTenantPackages | GET /api/v1/tenant-packages | |
| DefaultApi | getTenantUser | GET /api/v1/tenant-users/{id} | |
| DefaultApi | getTenantUsers | GET /api/v1/tenant-users | |
| DefaultApi | getTenants | GET /api/v1/tenants | |
| DefaultApi | getTicket | GET /api/v1/tickets/{id} | |
| DefaultApi | getTickets | GET /api/v1/tickets | |
| DefaultApi | getUser | GET /api/v1/users/{id} | |
| DefaultApi | getUserBadge | GET /api/v1/user-badges/{id} | |
| DefaultApi | getUserBadgeProgressById | GET /api/v1/user-badge-progress/{id} | |
| DefaultApi | getUserBadgeProgressByUserId | GET /api/v1/user-badge-progress/user/{userId} | |
| DefaultApi | getUserBadgeProgressList | GET /api/v1/user-badge-progress | |
| DefaultApi | getUserBadges | GET /api/v1/user-badges | |
| DefaultApi | getVotes | GET /api/v1/votes | |
| DefaultApi | getVotesForUser | GET /api/v1/votes/for-user | |
| DefaultApi | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | patchHashTag | PATCH /api/v1/hash-tags/{tag} | |
| DefaultApi | patchPage | PATCH /api/v1/pages/{id} | |
| DefaultApi | patchSSOUser | PATCH /api/v1/sso-users/{id} | |
| DefaultApi | putDomainConfig | PUT /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | putSSOUser | PUT /api/v1/sso-users/{id} | |
| DefaultApi | renderEmailTemplate | POST /api/v1/email-templates/render | |
| DefaultApi | replaceTenantPackage | PUT /api/v1/tenant-packages/{id} | |
| DefaultApi | replaceTenantUser | PUT /api/v1/tenant-users/{id} | |
| DefaultApi | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| DefaultApi | sendInvite | POST /api/v1/moderators/{id}/send-invite | |
| DefaultApi | sendLoginLink | POST /api/v1/tenant-users/{id}/send-login-link | |
| DefaultApi | unBlockUserFromComment | POST /api/v1/comments/{id}/un-block | |
| DefaultApi | unFlagComment | POST /api/v1/comments/{id}/un-flag | |
| DefaultApi | updateComment | PATCH /api/v1/comments/{id} | |
| DefaultApi | updateEmailTemplate | PATCH /api/v1/email-templates/{id} | |
| DefaultApi | updateFeedPost | PATCH /api/v1/feed-posts/{id} | |
| DefaultApi | updateModerator | PATCH /api/v1/moderators/{id} | |
| DefaultApi | updateNotification | PATCH /api/v1/notifications/{id} | |
| DefaultApi | updateQuestionConfig | PATCH /api/v1/question-configs/{id} | |
| DefaultApi | updateQuestionResult | PATCH /api/v1/question-results/{id} | |
| DefaultApi | updateSubscription | PATCH /api/v1/subscriptions/{id} | |
| DefaultApi | updateTenant | PATCH /api/v1/tenants/{id} | |
| DefaultApi | updateTenantPackage | PATCH /api/v1/tenant-packages/{id} | |
| DefaultApi | updateTenantUser | PATCH /api/v1/tenant-users/{id} | |
| DefaultApi | updateUserBadge | PUT /api/v1/user-badges/{id} | |
| ModerationApi | deleteModerationVote | DELETE /auth/my-account/moderate-comments/vote/{commentId}/{voteId} | |
| ModerationApi | getApiComments | GET /auth/my-account/moderate-comments/api/comments | |
| ModerationApi | getApiExportStatus | GET /auth/my-account/moderate-comments/api/export/status | |
| ModerationApi | getApiIds | GET /auth/my-account/moderate-comments/api/ids | |
| ModerationApi | getBanUsersFromComment | GET /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} | |
| ModerationApi | getCommentBanStatus | GET /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} | |
| ModerationApi | getCommentChildren | GET /auth/my-account/moderate-comments/comment-children/{commentId} | |
| ModerationApi | getCount | GET /auth/my-account/moderate-comments/count | |
| ModerationApi | getCounts | GET /auth/my-account/moderate-comments/banned-users/counts | |
| ModerationApi | getLogs | GET /auth/my-account/moderate-comments/logs/{commentId} | |
| ModerationApi | getManualBadges | GET /auth/my-account/moderate-comments/get-manual-badges | |
| ModerationApi | getManualBadgesForUser | GET /auth/my-account/moderate-comments/get-manual-badges-for-user | |
| ModerationApi | getModerationComment | GET /auth/my-account/moderate-comments/comment/{commentId} | |
| ModerationApi | getModerationCommentText | GET /auth/my-account/moderate-comments/get-comment-text/{commentId} | |
| ModerationApi | getPreBanSummary | GET /auth/my-account/moderate-comments/pre-ban-summary/{commentId} | |
| ModerationApi | getSearchCommentsSummary | GET /auth/my-account/moderate-comments/search/comments/summary | |
| ModerationApi | getSearchPages | GET /auth/my-account/moderate-comments/search/pages | |
| ModerationApi | getSearchSites | GET /auth/my-account/moderate-comments/search/sites | |
| ModerationApi | getSearchSuggest | GET /auth/my-account/moderate-comments/search/suggest | |
| ModerationApi | getSearchUsers | GET /auth/my-account/moderate-comments/search/users | |
| ModerationApi | getTrustFactor | GET /auth/my-account/moderate-comments/get-trust-factor | |
| ModerationApi | getUserBanPreference | GET /auth/my-account/moderate-comments/user-ban-preference | |
| ModerationApi | getUserInternalProfile | GET /auth/my-account/moderate-comments/get-user-internal-profile | |
| ModerationApi | postAdjustCommentVotes | POST /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} | |
| ModerationApi | postApiExport | POST /auth/my-account/moderate-comments/api/export | |
| ModerationApi | postBanUserFromComment | POST /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} | |
| ModerationApi | postBanUserUndo | POST /auth/my-account/moderate-comments/ban-user/undo | |
| ModerationApi | postBulkPreBanSummary | POST /auth/my-account/moderate-comments/bulk-pre-ban-summary | |
| ModerationApi | postCommentsByIds | POST /auth/my-account/moderate-comments/comments-by-ids | |
| ModerationApi | postFlagComment | POST /auth/my-account/moderate-comments/flag-comment/{commentId} | |
| ModerationApi | postRemoveComment | POST /auth/my-account/moderate-comments/remove-comment/{commentId} | |
| ModerationApi | postRestoreDeletedComment | POST /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} | |
| ModerationApi | postSetCommentApprovalStatus | POST /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} | |
| ModerationApi | postSetCommentReviewStatus | POST /auth/my-account/moderate-comments/set-comment-review-status/{commentId} | |
| ModerationApi | postSetCommentSpamStatus | POST /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} | |
| ModerationApi | postSetCommentText | POST /auth/my-account/moderate-comments/set-comment-text/{commentId} | |
| ModerationApi | postUnFlagComment | POST /auth/my-account/moderate-comments/un-flag-comment/{commentId} | |
| ModerationApi | postVote | POST /auth/my-account/moderate-comments/vote/{commentId} | |
| ModerationApi | putAwardBadge | PUT /auth/my-account/moderate-comments/award-badge | |
| ModerationApi | putCloseThread | PUT /auth/my-account/moderate-comments/close-thread | |
| ModerationApi | putRemoveBadge | PUT /auth/my-account/moderate-comments/remove-badge | |
| ModerationApi | putReopenThread | PUT /auth/my-account/moderate-comments/reopen-thread | |
| ModerationApi | setTrustFactor | PUT /auth/my-account/moderate-comments/set-trust-factor | |
| PublicApi | blockFromCommentPublic | POST /block-from-comment/{commentId} | |
| PublicApi | checkedCommentsForBlocked | GET /check-blocked-comments | |
| PublicApi | createCommentPublic | POST /comments/{tenantId} | |
| PublicApi | createFeedPostPublic | POST /feed-posts/{tenantId} | |
| PublicApi | createV1PageReact | POST /page-reacts/v1/likes/{tenantId} | |
| PublicApi | createV2PageReact | POST /page-reacts/v2/{tenantId} | |
| PublicApi | deleteCommentPublic | DELETE /comments/{tenantId}/{commentId} | |
| PublicApi | deleteCommentVote | DELETE /comments/{tenantId}/{commentId}/vote/{voteId} | |
| PublicApi | deleteFeedPostPublic | DELETE /feed-posts/{tenantId}/{postId} | |
| PublicApi | deleteV1PageReact | DELETE /page-reacts/v1/likes/{tenantId} | |
| PublicApi | deleteV2PageReact | DELETE /page-reacts/v2/{tenantId} | |
| PublicApi | flagCommentPublic | POST /flag-comment/{commentId} | |
| PublicApi | getCommentText | GET /comments/{tenantId}/{commentId}/text | |
| PublicApi | getCommentVoteUserNames | GET /comments/{tenantId}/{commentId}/votes | |
| PublicApi | getCommentsForUser | GET /comments-for-user | |
| PublicApi | getCommentsPublic | GET /comments/{tenantId} | req tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | req tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | req tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGifLarge | GET /gifs/get-large/{tenantId} | |
| PublicApi | getGifsSearch | GET /gifs/search/{tenantId} | |
| PublicApi | getGifsTrending | GET /gifs/trending/{tenantId} | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | req tenantId urlId userIdWS |
| PublicApi | getOfflineUsers | GET /pages/{tenantId}/users/offline | Anciens commentateurs de la page qui NE sont PAS actuellement en ligne. Triés par displayName. Utilisez cette route après avoir épuisé /users/online pour afficher une section « Membres ». Pagination par curseur sur commenterName : le serveur parcourt l’index partiel {tenantId, urlId, commenterName} à partir de afterName vers l’avant via $gt, donc sans coût $skip. |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | Visionneurs actuellement en ligne sur une page : personnes dont la session websocket est abonnée à la page présentement. Retourne anonCount + totalCount (abonnés à la salle incluant les visiteurs anonymes qui ne sont pas énumérés). |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | Liste des pages pour un tenant. Utilisé par le client FChat Desktop pour remplir la liste de salons. Nécessite que enableFChat soit true dans la configuration personnalisée de chaque page. Les pages nécessitant SSO sont filtrées selon les groupes auxquels l’utilisateur demandeur a accès. |
| PublicApi | getTranslations | GET /translations/{namespace}/{component} | |
| PublicApi | getUserNotificationCount | GET /user-notifications/get-count | |
| PublicApi | getUserNotifications | GET /user-notifications | |
| PublicApi | getUserPresenceStatuses | GET /user-presence-status | |
| PublicApi | getUserReactsPublic | GET /feed-posts/{tenantId}/user-reacts | |
| PublicApi | getUsersInfo | GET /pages/{tenantId}/users/info | Informations détaillées par lot sur les utilisateurs pour un tenant. Donnant userIds, retourne des informations d’affichage provenant de User / SSOUser. Utilisé par le widget de commentaires pour enrichir les utilisateurs qui viennent d’apparaître via un événement de présence. Pas de contexte de page : la confidentialité est appliquée uniformément (les profils privés sont masqués). |
| PublicApi | getV1PageLikes | GET /page-reacts/v1/likes/{tenantId} | |
| PublicApi | getV2PageReactUsers | GET /page-reacts/v2/{tenantId}/list | |
| PublicApi | getV2PageReacts | GET /page-reacts/v2/{tenantId} | |
| PublicApi | lockComment | POST /comments/{tenantId}/{commentId}/lock | |
| PublicApi | logoutPublic | PUT /auth/logout | |
| PublicApi | pinComment | POST /comments/{tenantId}/{commentId}/pin | |
| PublicApi | reactFeedPostPublic | POST /feed-posts/{tenantId}/react/{postId} | |
| PublicApi | resetUserNotificationCount | POST /user-notifications/reset-count | |
| PublicApi | resetUserNotifications | POST /user-notifications/reset | |
| PublicApi | searchUsers | GET /user-search/{tenantId} | |
| PublicApi | setCommentText | POST /comments/{tenantId}/{commentId}/update-text | |
| PublicApi | unBlockCommentPublic | DELETE /block-from-comment/{commentId} | |
| PublicApi | unLockComment | POST /comments/{tenantId}/{commentId}/unlock | |
| PublicApi | unPinComment | POST /comments/{tenantId}/{commentId}/unpin | |
| PublicApi | updateFeedPostPublic | PUT /feed-posts/{tenantId}/{postId} | |
| PublicApi | updateUserNotificationCommentSubscriptionStatus | POST /user-notifications/{notificationId}/mark-opted/{optedInOrOut} | Activer ou désactiver les notifications pour un commentaire spécifique. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Activer ou désactiver les notifications pour une page. Lorsque les utilisateurs sont abonnés à une page, des notifications sont créées pour les nouveaux commentaires racine, 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
- APIBanUserChangeLog
- APIBanUserChangedValues
- APIBannedUser
- APIBannedUserWithMultiMatchInfo
- APIComment
- APICommentBase
- APICommentBase_meta
- APICommentCommonBannedUser
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIModerateGetUserBanPreferencesResponse
- APIModerateUserBanPreferences
- APIPage
- APISSOUser
- APISaveCommentResponse
- APIStatus
- APITenant
- APITenantDailyUsage
- APITicket
- APITicketDetail
- APITicketFile
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfigResponse
- AddDomainConfigResponse_anyOf
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AdjustCommentVotesParams
- AdjustVotesResponse
- AggregateQuestionResultsResponse
- AggregateResponse
- AggregateTimeBucket
- AggregationAPIError
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- AwardUserBadgeResponse
- BanUserFromCommentResult
- BanUserUndoParams
- BannedUserMatch
- BannedUserMatchType
- BannedUserMatch_matchedOnValue
- BillingInfo
- BlockFromCommentParams
- BlockSuccess
- BuildModerationFilterParams
- BuildModerationFilterResponse
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkCreateHashTagsBody
- BulkCreateHashTagsBody_tags_inner
- BulkCreateHashTagsResponse
- BulkCreateHashTagsResponse_results_inner
- BulkPreBanParams
- BulkPreBanSummary
- ChangeCommentPinStatusResponse
- ChangeTicketStateBody
- ChangeTicketStateResponse
- CheckBlockedCommentsResponse
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentLogData
- CommentLogEntry
- CommentLogType
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CommentsByIdsParams
- CreateAPIPageData
- CreateAPISSOUserData
- CreateAPIUserSubscriptionData
- CreateCommentParams
- CreateEmailTemplateBody
- CreateEmailTemplateResponse
- CreateFeedPostParams
- CreateFeedPostResponse
- CreateFeedPostsResponse
- CreateHashTagBody
- CreateHashTagResponse
- CreateModeratorBody
- CreateModeratorResponse
- CreateQuestionConfigBody
- CreateQuestionConfigResponse
- CreateQuestionResultBody
- CreateQuestionResultResponse
- CreateSubscriptionAPIResponse
- CreateTenantBody
- CreateTenantPackageBody
- CreateTenantPackageResponse
- CreateTenantResponse
- CreateTenantUserBody
- CreateTenantUserResponse
- CreateTicketBody
- CreateTicketResponse
- CreateUserBadgeParams
- CreateV1PageReact
- CustomConfigParameters
- CustomEmailTemplate
- DeleteCommentAction
- DeleteCommentResult
- DeleteDomainConfigResponse
- DeleteFeedPostPublicResponse
- DeleteHashTagRequestBody
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- DeletedCommentResultComment
- DigestEmailFrequency
aggregate 
Agrège des documents en les groupant (si groupBy est fourni) et en appliquant plusieurs opérations. Différentes opérations (p. ex. sum, countDistinct, avg, etc.) sont prises en charge.
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| aggregationRequest | AggregationRequest | Non | |
| parentTenantId | string | Non | |
| includeStats | bool | Non |
Réponse
Renvoie : Option[AggregateResponse]
Exemple

getAuditLogs 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| limit | float64 | Non | |
| skip | float64 | Non | |
| order | SORTDIR | Non | |
| after | float64 | Non | |
| before | float64 | Non |
Réponse
Renvoie : Option[GetAuditLogsResponse]
Exemple

logoutPublic 
Réponse
Renvoie : Option[APIEmptyResponse]
Exemple

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

unBlockCommentPublic 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Non | |
| sso | string | Non |
Réponse
Retourne : Option[UnblockSuccess]
Exemple

checkedCommentsForBlocked 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentIds | string | Non | |
| sso | string | Non |
Response
Renvoie : Option[CheckBlockedCommentsResponse]
Exemple

blockUserFromComment 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| blockFromCommentParams | BlockFromCommentParams | Non | |
| userId | string | Non | |
| anonUserId | string | Non |
Response
Retourne : Option[BlockSuccess]
Exemple

createCommentPublic 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| broadcastId | string | Non | |
| commentData | CommentData | Non | |
| sessionId | string | Non | |
| sso | string | Non |
Réponse
Retourne : Option[SaveCommentsResponseWithPresence]
Exemple

deleteComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| contextUserId | string | Non | |
| isLive | bool | Non |
Réponse
Retourne : Option[DeleteCommentResult]
Exemple

deleteCommentPublic 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Non | |
| editKey | string | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[PublicAPIDeleteCommentResponse]
Exemple

deleteCommentVote 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| voteId | string | Non | |
| urlId | string | Oui | |
| broadcastId | string | Non | |
| editKey | string | Non | |
| sso | string | Non |
Réponse
Retourne: Option[VoteDeleteResponse]
Exemple

flagComment 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Renvoie : Option[FlagCommentResponse]
Exemple

getComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: Option[APIGetCommentResponse]
Exemple

getComments 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| page | int | Non | |
| limit | int | Non | |
| skip | int | Non | |
| asTree | bool | Non | |
| skipChildren | int | Non | |
| limitChildren | int | Non | |
| maxTreeDepth | int | Non | |
| urlId | string | Oui | |
| userId | string | Non | |
| anonUserId | string | Non | |
| contextUserId | string | Non | |
| hashTag | string | Non | |
| parentId | string | Non | |
| direction | SortDirections | Non | |
| fromDate | int64 | Non | |
| toDate | int64 | Non |
Réponse
Retourne : Option[APIGetCommentsResponse]
Exemple

getCommentsPublic 
req tenantId urlId
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| page | int | Non | |
| direction | SortDirections | Non | |
| sso | string | Non | |
| skip | int | Non | |
| skipChildren | int | Non | |
| limit | int | Non | |
| limitChildren | int | 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 | int | Non | |
| useFullTranslationIds | bool | Non | |
| parentId | string | Non | |
| searchText | string | Non | |
| hashTags | seq[string] | Non | |
| userId | string | Non | |
| customConfigStr | string | Non | |
| afterCommentId | string | Non | |
| beforeCommentId | string | Non |
Réponse
Renvoie : Option[GetCommentsResponseWithPresencePublicComment]
Exemple

getCommentText 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| editKey | string | No | |
| sso | string | No |
Réponse
Renvoie : Option[PublicAPIGetCommentTextResponse]
Exemple

getCommentVoteUserNames 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| dir | int | Non | |
| sso | string | Non |
Réponse
Retourne: Option[GetCommentVoteUserNamesSuccessResponse]
Exemple

lockComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Retourne : Option[APIEmptyResponse]
Exemple

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

saveComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createCommentParams | CreateCommentParams | Non | |
| isLive | bool | Non | |
| doSpamCheck | bool | Non | |
| sendEmails | bool | Non | |
| populateNotifications | bool | Non |
Réponse
Retourne : Option[APISaveCommentResponse]
Exemple

saveCommentsBulk 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createCommentParams | seq[CreateCommentParams] | Non | |
| isLive | bool | Non | |
| doSpamCheck | bool | Non | |
| sendEmails | bool | Non | |
| populateNotifications | bool): (Option[seq[SaveCommentsBulkResponse]] | Non | |
| id | string | Non | |
| fromName | string | Non |
Réponse
Retourne : Option[APIEmptyResponse]
Exemple

setCommentText 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Non | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Non | |
| editKey | string | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[PublicAPISetCommentTextResponse]
Exemple

unBlockUserFromComment 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Non | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Renvoie: Option[UnblockSuccess]
Exemple

unFlagComment 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Renvoie : Option[FlagCommentResponse]
Exemple

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

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

updateComment 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updatableCommentParams | UpdatableCommentParams | Non | |
| contextUserId | string | Non | |
| doSpamCheck | bool | Non | |
| isLive | bool | Non |
Réponse
Retourne : Option[APIEmptyResponse]
Exemple

voteComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| urlId | string | Oui | |
| broadcastId | string | Non | |
| voteBodyParams | VoteBodyParams | Non | |
| sessionId | string | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[VoteResponse]
Exemple

getCommentsForUser 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| userId | string | Non | |
| direction | SortDirections | Non | |
| repliesToUserId | string | Non | |
| page | float64 | Non | |
| includei10n | bool | Non | |
| locale | string | Non | |
| isCrawler | bool | Non |
Réponse
Retourne : Option[GetCommentsForUserResponse]
Exemple

addDomainConfig 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| addDomainConfigParams | AddDomainConfigParams | Non |
Réponse
Renvoie: Option[AddDomainConfigResponse]
Exemple

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

getDomainConfig 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domain | string | Non |
Réponse
Retourne : Option[GetDomainConfigResponse]
Exemple

getDomainConfigs 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui |
Réponse
Renvoie : Option[GetDomainConfigsResponse]
Exemple

patchDomainConfig 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domainToUpdate | string | Non | |
| patchDomainConfigParams | PatchDomainConfigParams | Non |
Réponse
Renvoie : Option[PatchDomainConfigResponse]
Exemple

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

createEmailTemplate 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createEmailTemplateBody | CreateEmailTemplateBody | Non |
Réponse
Retourne: Option[CreateEmailTemplateResponse]
Exemple

deleteEmailTemplate 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie : Option[APIEmptyResponse]
Exemple

deleteEmailTemplateRenderError 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| errorId | string | Non |
Réponse
Retourne: Option[APIEmptyResponse]
Exemple

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

getEmailTemplateDefinitions 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui |
Réponse
Renvoie: Option[GetEmailTemplateDefinitionsResponse]
Exemple

getEmailTemplateRenderErrors 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| skip | float64 | Non |
Réponse
Renvoie: Option[GetEmailTemplateRenderErrorsResponse]
Exemple

getEmailTemplates 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | float64 | Non |
Réponse
Renvoie : Option[GetEmailTemplatesResponse]
Exemple

renderEmailTemplate 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Non | |
| locale | string | Non |
Réponse
Renvoie : Option[RenderEmailTemplateResponse]
Exemple

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

getEventLog 
req tenantId urlId userIdWS
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| userIdWS | string | Non | |
| startTime | int64 | Non | |
| endTime | int64 | Non |
Réponse
Retourne: Option[GetEventLogResponse]
Exemple

getGlobalEventLog 
req tenantId urlId userIdWS
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| userIdWS | string | Non | |
| startTime | int64 | Non | |
| endTime | int64 | Non |
Réponse
Renvoie: Option[GetEventLogResponse]
Exemple

createFeedPost 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createFeedPostParams | CreateFeedPostParams | Non | |
| broadcastId | string | Non | |
| isLive | bool | Non | |
| doSpamCheck | bool | Non | |
| skipDupCheck | bool | Non |
Réponse
Renvoie: Option[CreateFeedPostsResponse]
Exemple

createFeedPostPublic 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createFeedPostParams | CreateFeedPostParams | Non | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[CreateFeedPostResponse]
Exemple

deleteFeedPostPublic 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postId | string | Non | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Retourne : Option[DeleteFeedPostPublicResponse]
Exemple

getFeedPosts 
req tenantId afterId
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| afterId | string | Non | |
| limit | int | Non | |
| tags | seq[string] | Non |
Réponse
Renvoie: Option[GetFeedPostsResponse]
Exemple

getFeedPostsPublic 
req tenantId afterId
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| afterId | string | Non | |
| limit | int | Non | |
| tags | seq[string] | Non | |
| sso | string | Non | |
| isCrawler | bool | Non | |
| includeUserInfo | bool | Non |
Réponse
Renvoie: Option[PublicFeedPostsResponse]
Exemple

getFeedPostsStats 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postIds | seq[string] | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[FeedPostsStatsResponse]
Exemple

getUserReactsPublic 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postIds | seq[string] | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[UserReactsResponse]
Exemple

reactFeedPostPublic 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postId | string | Non | |
| reactBodyParams | ReactBodyParams | Non | |
| isUndo | bool | Non | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[ReactFeedPostResponse]
Exemple

updateFeedPost 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| feedPost | FeedPost | Non |
Réponse
Retourne : Option[APIEmptyResponse]
Exemple

updateFeedPostPublic 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postId | string | Non | |
| updateFeedPostParams | UpdateFeedPostParams | Non | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[CreateFeedPostResponse]
Exemple

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

getGifLarge 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| largeInternalURLSanitized | string | Non |
Réponse
Renvoie : Option[GifGetLargeResponse]
Exemple

getGifsSearch 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| search | string | Non | |
| locale | string | Non | |
| rating | string | Non | |
| page | float64 | Non |
Réponse
Renvoie: Option[GetGifsSearchResponse]
Exemple

getGifsTrending 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| locale | string | Non | |
| rating | string | Non | |
| page | float64 | Non |
Réponse
Renvoie : Option[GetGifsTrendingResponse]
Exemple

addHashTag 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createHashTagBody | CreateHashTagBody | Non |
Réponse
Renvoie: Option[CreateHashTagResponse]
Exemple

addHashTagsBulk 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Non |
Réponse
Renvoie: Option[BulkCreateHashTagsResponse]
Exemple

deleteHashTag 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tag | string | Non | |
| tenantId | string | Oui | |
| deleteHashTagRequestBody | DeleteHashTagRequestBody | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

getHashTags 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| page | float64 | Non |
Réponse
Renvoie: Option[GetHashTagsResponse]
Exemple

patchHashTag 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tag | string | Non | |
| tenantId | string | Oui | |
| updateHashTagBody | UpdateHashTagBody | Non |
Réponse
Renvoie : Option[UpdateHashTagResponse]
Exemple

deleteModerationVote 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Yes | |
| voteId | string | No | |
| sso | string | No |
Réponse
Retourne : Option[VoteDeleteResponse]
Exemple

getApiComments 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| page | float64 | Non | |
| count | float64 | Non | |
| textSearch | string | Non | |
| byIPFromComment | string | Non | |
| filters | string | Non | |
| searchFilters | string | Non | |
| sorts | string | Non | |
| demo | bool | Non | |
| sso | string | Non |
Réponse
Retourne : Option[ModerationAPIGetCommentsResponse]
Exemple

getApiExportStatus 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| batchJobId | string | Non | |
| sso | string | Non |
Réponse
Retourne: Option[ModerationExportStatusResponse]
Exemple

getApiIds 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| textSearch | string | Non | |
| byIPFromComment | string | Non | |
| filters | string | Non | |
| searchFilters | string | Non | |
| afterId | string | Non | |
| demo | bool | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[ModerationAPIGetCommentIdsResponse]
Exemple

getBanUsersFromComment 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Retourne : Option[GetBannedUsersFromCommentResponse]
Exemple

getCommentBanStatus 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie: Option[GetCommentBanStatusResponse]
Exemple

getCommentChildren 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Retourne: Option[ModerationAPIChildCommentsResponse]
Exemple

getCount 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| textSearch | string | Non | |
| byIPFromComment | string | Non | |
| filter | string | Non | |
| searchFilters | string | Non | |
| demo | bool | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[ModerationAPICountCommentsResponse]
Exemple

getCounts 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| sso | string | Non |
Response
Renvoie : Option[GetBannedUsersCountResponse]
Exemple

getLogs 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : Option[ModerationAPIGetLogsResponse]
Exemple

getManualBadges 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| sso | string | Non |
Réponse
Retourne : Option[GetTenantManualBadgesResponse]
Exemple

getManualBadgesForUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| badgesUserId | string | Non | |
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : Option[GetUserManualBadgesResponse]
Exemple

getModerationComment 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| includeEmail | bool | Non | |
| includeIP | bool | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[ModerationAPICommentResponse]
Exemple

getModerationCommentText 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : Option[GetCommentTextResponse]
Exemple

getPreBanSummary 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| includeByUserIdAndEmail | bool | Non | |
| includeByIP | bool | Non | |
| includeByEmailDomain | bool | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[PreBanSummary]
Exemple

getSearchCommentsSummary 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| value | string | Non | |
| filters | string | Non | |
| searchFilters | string | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[ModerationCommentSearchResponse]
Exemple

getSearchPages 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| value | string | Non | |
| sso | string | Non |
Réponse
Retourne : Option[ModerationPageSearchResponse]
Exemple

getSearchSites 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| value | string | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[ModerationSiteSearchResponse]
Exemple

getSearchSuggest 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| textSearch | string | Non | |
| sso | string | Non |
Réponse
Retourne: Option[ModerationSuggestResponse]
Exemple

getSearchUsers 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| value | string | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[ModerationUserSearchResponse]
Exemple

getTrustFactor 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| userId | string | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[GetUserTrustFactorResponse]
Exemple

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

getUserInternalProfile 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Retourne: Option[GetUserInternalProfileResponse]
Exemple

postAdjustCommentVotes 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| adjustCommentVotesParams | AdjustCommentVotesParams | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[AdjustVotesResponse]
Exemple

postApiExport 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| textSearch | string | Non | |
| byIPFromComment | string | Non | |
| filters | string | Non | |
| searchFilters | string | Non | |
| sorts | string | Non | |
| sso | string | Non |
Réponse
Retourne: Option[ModerationExportResponse]
Exemple

postBanUserFromComment 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| banEmail | bool | Non | |
| banEmailDomain | bool | Non | |
| banIP | bool | Non | |
| deleteAllUsersComments | bool | Non | |
| bannedUntil | string | Non | |
| isShadowBan | bool | Non | |
| updateId | string | Non | |
| banReason | string | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[BanUserFromCommentResult]
Exemple

postBanUserUndo 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| banUserUndoParams | BanUserUndoParams | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[APIEmptyResponse]
Exemple

postBulkPreBanSummary 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| bulkPreBanParams | BulkPreBanParams | Non | |
| includeByUserIdAndEmail | bool | Non | |
| includeByIP | bool | Non | |
| includeByEmailDomain | bool | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[BulkPreBanSummary]
Exemple

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

postFlagComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

postRemoveComment 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Retourne: Option[PostRemoveCommentResponse]
Exemple

postRestoreDeletedComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

postSetCommentApprovalStatus 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| approved | bool | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[SetCommentApprovedResponse]
Exemple

postSetCommentReviewStatus 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| commentId | string | Oui | |
| reviewed | bool | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[APIEmptyResponse]
Exemple

postSetCommentSpamStatus 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| spam | bool | Non | |
| permNotSpam | bool | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[APIEmptyResponse]
Exemple

postSetCommentText 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| setCommentTextParams | SetCommentTextParams | Non | |
| sso | string | Non |
Réponse
Retourne: Option[SetCommentTextResponse]
Exemple

postUnFlagComment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Retourne : Option[APIEmptyResponse]
Exemple

postVote 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| commentId | string | Oui | |
| direction | string | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[VoteResponse]
Exemple

putAwardBadge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| badgeId | string | Non | |
| userId | string | Non | |
| commentId | string | Oui | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Retourne: Option[AwardUserBadgeResponse]
Exemple

putCloseThread 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| urlId | string | Oui | |
| sso | string | Non |
Réponse
Retourne: Option[APIEmptyResponse]
Exemple

putRemoveBadge 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| badgeId | string | Non | |
| userId | string | Non | |
| commentId | string | Oui | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Retourne: Option[RemoveUserBadgeResponse]
Exemple

putReopenThread 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| urlId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

setTrustFactor 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| userId | string | Non | |
| trustFactor | string | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[SetUserTrustFactorResponse]
Exemple

createModerator 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createModeratorBody | CreateModeratorBody | Non |
Réponse
Renvoie: Option[CreateModeratorResponse]
Exemple

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

getModerator 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Retourne: Option[GetModeratorResponse]
Exemple

getModerators 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | float64 | Non |
Réponse
Renvoie : Option[GetModeratorsResponse]
Exemple

updateModerator 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateModeratorBody | UpdateModeratorBody | Non |
Réponse
Retourne: Option[APIEmptyResponse]
Exemple

deleteNotificationCount 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Retourne: Option[APIEmptyResponse]
Exemple

getCachedNotificationCount 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie : Option[GetCachedNotificationCountResponse]
Exemple

getNotificationCount 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | No | |
| urlId | string | Yes | |
| fromCommentId | string | No | |
| viewed | bool | No |
Réponse
Renvoie: Option[GetNotificationCountResponse]
Exemple

getNotifications 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| urlId | string | Oui | |
| fromCommentId | string | Non | |
| viewed | bool | Non | |
| skip | float64 | Non |
Réponse
Retourne : Option[GetNotificationsResponse]
Exemple

updateNotification 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateNotificationBody | UpdateNotificationBody | Non | |
| userId | string | Non |
Réponse
Retourne : Option[APIEmptyResponse]
Exemple

createV1PageReact 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| title | string | Non |
Réponse
Renvoie : Option[CreateV1PageReact]
Exemple

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

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

deleteV2PageReact 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| id | string | Non |
Réponse
Retourne: Option[CreateV1PageReact]
Exemple

getV1PageLikes 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui |
Réponse
Retourne : Option[GetV1PageLikes]
Exemple

getV2PageReacts 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui |
Réponse
Retourne: Option[GetV2PageReacts]
Exemple

getV2PageReactUsers 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| id | string | Non |
Réponse
Retourne : Option[GetV2PageReactUsersResponse]
Exemple

addPage 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createAPIPageData | CreateAPIPageData | Non |
Réponse
Retourne : Option[AddPageAPIResponse]
Exemple

deletePage 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Retourne: Option[DeletePageAPIResponse]
Exemple

getOfflineUsers 
Commentateurs précédents sur la page qui NE sont PAS actuellement en ligne. Triés par displayName. Utilisez ceci après avoir épuisé /users/online pour afficher une section «Membres». Pagination par curseur sur commenterName : le serveur parcourt l'index partiel {tenantId, urlId, commenterName} index depuis afterName vers l'avant via $gt, sans coût lié à $skip.
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| afterName | string | Non | |
| afterUserId | string | Non |
Réponse
Renvoie : Option[PageUsersOfflineResponse]
Exemple

getOnlineUsers 
Visiteurs actuellement en ligne d'une page : personnes dont la session websocket est abonnée à la page en ce moment. Renvoie anonCount + totalCount (abonnés à l'échelle de la salle, y compris les visiteurs anonymes que nous n'énumérons pas).
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| afterName | string | Non | |
| afterUserId | string | Non |
Réponse
Retourne: Option[PageUsersOnlineResponse]
Exemple

getPageByURLId 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui |
Réponse
Retourne: Option[GetPageByURLIdAPIResponse]
Exemple

getPages 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui |
Réponse
Renvoie: Option[GetPagesAPIResponse]
Exemple

getPagesPublic 
Lister les pages d'un locataire. Utilisé par le client de bureau FChat pour remplir sa liste de salles.
Requiert que enableFChat soit true dans la configuration personnalisée résolue pour chaque page.
Les pages nécessitant SSO sont filtrées en fonction de l'accès aux groupes de l'utilisateur demandeur.
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| cursor | string | Non | |
| limit | int | Non | |
| q | string | Non | |
| sortBy | PagesSortBy | Non | |
| hasComments | bool | Non |
Réponse
Retourne : Option[GetPublicPagesResponse]
Exemple

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

patchPage 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateAPIPageData | UpdateAPIPageData | Non |
Réponse
Renvoie : Option[PatchPageAPIResponse]
Exemple

deletePendingWebhookEvent 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

getPendingWebhookEventCount 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| externalId | string | Non | |
| eventType | string | Non | |
| domain | string | Non | |
| attemptCountGT | float64 | Non |
Réponse
Retourne: Option[GetPendingWebhookEventCountResponse]
Exemple

getPendingWebhookEvents 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| externalId | string | Non | |
| eventType | string | Non | |
| domain | string | Non | |
| attemptCountGT | float64 | Non | |
| skip | float64 | Non |
Réponse
Retourne : Option[GetPendingWebhookEventsResponse]
Exemple

createQuestionConfig 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createQuestionConfigBody | CreateQuestionConfigBody | Non |
Réponse
Renvoie : Option[CreateQuestionConfigResponse]
Exemple

deleteQuestionConfig 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie : Option[APIEmptyResponse]
Exemple

getQuestionConfig 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie : Option[GetQuestionConfigResponse]
Exemple

getQuestionConfigs 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | float64 | Non |
Réponse
Renvoie : Option[GetQuestionConfigsResponse]
Exemple

updateQuestionConfig 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Non |
Réponse
Retourne: Option[APIEmptyResponse]
Exemple

createQuestionResult 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createQuestionResultBody | CreateQuestionResultBody | Non |
Réponse
Renvoie : Option[CreateQuestionResultResponse]
Exemple

deleteQuestionResult 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

getQuestionResult 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: Option[GetQuestionResultResponse]
Exemple

getQuestionResults 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| userId | string | No | |
| startDate | string | No | |
| questionId | string | No | |
| questionIds | string | No | |
| skip | float64 | Non |
Réponse
Renvoie : Option[GetQuestionResultsResponse]
Exemple

updateQuestionResult 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateQuestionResultBody | UpdateQuestionResultBody | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

aggregateQuestionResults 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| questionId | string | Non | |
| questionIds | seq[string] | Non | |
| urlId | string | Oui | |
| timeBucket | AggregateTimeBucket | Non | |
| startDate | string | Non | |
| forceRecalculate | bool | Non |
Réponse
Retourne : Option[AggregateQuestionResultsResponse]
Exemple

bulkAggregateQuestionResults 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Non | |
| forceRecalculate | bool | Non |
Réponse
Renvoie : Option[BulkAggregateQuestionResultsResponse]
Exemple

combineCommentsWithQuestionResults 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| questionId | string | Non | |
| questionIds | seq[string] | Non | |
| urlId | string | Oui | |
| startDate | string | Non | |
| forceRecalculate | bool | Non | |
| minValue | float64 | Non | |
| maxValue | float64 | Non | |
| limit | float64 | Non |
Réponse
Renvoie : Option[CombineQuestionResultsWithCommentsResponse]
Exemple

addSSOUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createAPISSOUserData | CreateAPISSOUserData | Non |
Réponse
Retourne: Option[AddSSOUserAPIResponse]
Exemple

deleteSSOUser 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| deleteComments | bool | Non | |
| commentDeleteMode | string | Non |
Réponse
Renvoie : Option[DeleteSSOUserAPIResponse]
Exemple

getSSOUserByEmail 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| string | Non |
Réponse
Renvoie: Option[GetSSOUserByEmailAPIResponse]
Exemple

getSSOUserById 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: Option[GetSSOUserByIdAPIResponse]
Exemple

getSSOUsers 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | int | Non |
Réponse
Renvoie: Option[GetSSOUsersResponse]
Exemple

patchSSOUser 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateAPISSOUserData | UpdateAPISSOUserData | Non | |
| updateComments | bool | Non |
Réponse
Retourne: Option[PatchSSOUserAPIResponse]
Exemple

putSSOUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateAPISSOUserData | UpdateAPISSOUserData | Non | |
| updateComments | bool | Non |
Réponse
Renvoie : Option[PutSSOUserAPIResponse]
Exemple

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

deleteSubscription 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| userId | string | Non |
Réponse
Renvoie : Option[DeleteSubscriptionAPIResponse]
Exemple

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

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

getTenantDailyUsages 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| yearNumber | float64 | Non | |
| monthNumber | float64 | Non | |
| dayNumber | float64 | Non | |
| skip | float64 | Non |
Réponse
Renvoie : Option[GetTenantDailyUsagesResponse]
Exemple

createTenantPackage 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createTenantPackageBody | CreateTenantPackageBody | Non |
Réponse
Renvoie : Option[CreateTenantPackageResponse]
Exemple

deleteTenantPackage 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Retourne : Option[APIEmptyResponse]
Exemple

getTenantPackage 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: Option[GetTenantPackageResponse]
Exemple

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

replaceTenantPackage 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Non |
Réponse
Retourne : Option[APIEmptyResponse]
Exemple

updateTenantPackage 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateTenantPackageBody | UpdateTenantPackageBody | Non |
Réponse
Renvoie : Option[APIEmptyResponse]
Exemple

createTenantUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createTenantUserBody | CreateTenantUserBody | Non |
Réponse
Retourne: Option[CreateTenantUserResponse]
Exemple

deleteTenantUser 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| deleteComments | string | Non | |
| commentDeleteMode | string | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

getTenantUser 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Retourne : Option[GetTenantUserResponse]
Exemple

getTenantUsers 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | float64 | Non |
Réponse
Retourne : Option[GetTenantUsersResponse]
Exemple

replaceTenantUser 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| replaceTenantUserBody | ReplaceTenantUserBody | Non | |
| updateComments | string | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

sendLoginLink 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| redirectURL | string | Non |
Réponse
Retourne: Option[APIEmptyResponse]
Exemple

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

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

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

getTenant 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie : Option[GetTenantResponse]
Exemple

getTenants 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| meta | string | Non | |
| skip | float64 | Non |
Réponse
Renvoie: Option[GetTenantsResponse]
Exemple

updateTenant 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateTenantBody | UpdateTenantBody | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

changeTicketState 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| id | string | Non | |
| changeTicketStateBody | ChangeTicketStateBody | Non |
Response
Retourne : Option[ChangeTicketStateResponse]
Exemple

createTicket 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| createTicketBody | CreateTicketBody | Non |
Réponse
Renvoie : Option[CreateTicketResponse]
Exemple

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

getTickets 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| state | float64 | Non | |
| skip | float64 | Non | |
| limit | float64 | Non |
Réponse
Retourne : Option[GetTicketsResponse]
Exemple

getTranslations 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| namespace | string | Non | |
| component | string | Non | |
| locale | string | Non | |
| useFullTranslationIds | bool | Non |
Réponse
Renvoie: Option[GetTranslationsResponse]
Exemple

uploadImage 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| file | string | Non | |
| sizePreset | SizePreset | Non | |
| urlId | string | Oui |
Réponse
Renvoie : Option[UploadImageResponse]
Exemple

getUserBadgeProgressById 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: Option[APIGetUserBadgeProgressResponse]
Exemple

getUserBadgeProgressByUserId 
Parameters
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non |
Réponse
Renvoie: Option[APIGetUserBadgeProgressResponse]
Exemple

getUserBadgeProgressList 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| limit | float64 | Non | |
| skip | float64 | Non |
Réponse
Renvoie : Option[APIGetUserBadgeProgressListResponse]
Exemple

createUserBadge 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createUserBadgeParams | CreateUserBadgeParams | Non |
Réponse
Renvoie : Option[APICreateUserBadgeResponse]
Exemple

deleteUserBadge 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Retourne : Option[APIEmptySuccessResponse]
Exemple

getUserBadge 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: Option[APIGetUserBadgeResponse]
Exemple

getUserBadges 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| badgeId | string | Non | |
| displayedOnComments | bool | Non | |
| limit | float64 | Non | |
| skip | float64 | Non |
Réponse
Renvoie : Option[APIGetUserBadgesResponse]
Exemple

updateUserBadge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateUserBadgeParams | UpdateUserBadgeParams | Non |
Réponse
Retourne : Option[APIEmptySuccessResponse]
Exemple

getUserNotificationCount 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie: Option[GetUserNotificationCountResponse]
Exemple

getUserNotifications 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| pageSize | int | Non | |
| afterId | string | Non | |
| includeContext | bool | Non | |
| afterCreatedAt | int64 | Non | |
| unreadOnly | bool | Non | |
| dmOnly | bool | Non | |
| noDm | bool | Non | |
| includeTranslations | bool | Non | |
| includeTenantNotifications | bool | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[GetMyNotificationsResponse]
Exemple

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

resetUserNotifications 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| afterId | string | Non | |
| afterCreatedAt | int64 | Non | |
| unreadOnly | bool | Non | |
| dmOnly | bool | Non | |
| noDm | bool | Non | |
| sso | string | Non |
Réponse
Retourne: Option[ResetUserNotificationsResponse]
Exemple

updateUserNotificationCommentSubscriptionStatus 
Activer ou désactiver les notifications pour un commentaire spécifique.
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| notificationId | string | Non | |
| optedInOrOut | string | Non | |
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie: Option[UpdateUserNotificationCommentSubscriptionStatusResponse]
Exemple

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

updateUserNotificationStatus 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| notificationId | string | Non | |
| newStatus | string | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[UpdateUserNotificationStatusResponse]
Exemple

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

searchUsers 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| usernameStartsWith | string | Non | |
| mentionGroupIds | seq[string] | Non | |
| sso | string | Non | |
| searchSection | string | Non |
Réponse
Renvoie: Option[SearchUsersResult]
Exemple

getUser 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie : Option[GetUserResponse]
Exemple

createVote 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| direction | string | Non | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Retourne: Option[VoteResponse]
Exemple

deleteVote 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| editKey | string | Non |
Réponse
Retourne : Option[VoteDeleteResponse]
Exemple

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

getVotesForUser 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Renvoie : Option[GetVotesForUserResponse]
Exemple

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