
Langue 🇫🇷 Français (France)
Documentation
Premiers pas
Référence API
Utilisation
Agrégation
Journaux d'audit
Authentification
Blocage depuis un commentaire
Vérifier les commentaires bloqués
Commentaires
Commentaires pour l'utilisateur
Configurations de domaine
Modèles d'e-mail
Journal des événements
Publications du fil
Signaler un commentaire
GIFs
Hashtags
Modération
Modérateurs
Nombre de notifications
Notifications
Réactions de page
Pages
Événements webhook en attente
Configurations de question
Résultats des questions
Agrégation des résultats des 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
Statuts de présence des utilisateurs
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 depuis les sources
nimble build
Contenu de la bibliothèque
Cette bibliothèque contient le client API généré et les utilitaires SSO pour faciliter l'utilisation de l'API.
APIs publiques vs sécurisées
Pour le client API, il y a trois modules API, api_default, api_public et api_moderation. Le 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/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'export des commentaires et de leurs journaux ; les actions de modération telles que la suppression/restauration de commentaires, le signalement, la définition du statut revue/spam/approbation, l'ajustement des votes et la réouverture/fermeture de fils ; les bannissements (bannir un utilisateur d'un commentaire, annuler un bannissement, résumés pré-bannissement, statut et préférences de bannissement, et nombre d'utilisateurs bannis) ; et les badges & confiance (attribution/suppression d'un badge, liste des badges manuels, obtenir/définir le facteur de confiance d'un utilisateur, et récupération du 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 endpoints authentifiés exigent que votre clé API soit définie dans l'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 endpoints publics ne requièrent 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 endpoints de modération alimentent le tableau de bord des modérateurs et s'authentifient avec un token SSO pour le modérateur agissant :
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/public, etapi_moderationpour le tableau de bord des modérateurs.
Appels d'API 
Toutes les méthodes d'API de ce SDK renvoient des tuples de (Option[ResponseType], Response). Le premier élément contient la réponse parsée si elle a réussi, 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"
Notes 
Identifiants de diffusion
Vous verrez que vous devez passer un broadcastId dans certaines requêtes API. Lorsque vous recevrez des événements, vous récupérerez cet ID, ce qui vous permettra d'ignorer l'événement si vous comptez appliquer les changements de façon optimiste côté client (ce que vous voudrez probablement faire car cela offre la meilleure expérience). Passez un UUID ici. L'ID doit être suffisamment unique pour ne pas se produire deux fois dans une session de navigateur.
SSO (Authentification unique)
Pour des exemples de SSO, voir ci-dessous.
Utilisation 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 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 (par exemple sum, countDistinct, avg, etc.) sont prises en charge. |
| DefaultApi | aggregateQuestionResults | GET /api/v1/question-results-aggregation | |
| DefaultApi | blockUserFromComment | POST /api/v1/comments/{id}/block | |
| DefaultApi | bulkAggregateQuestionResults | POST /api/v1/question-results-aggregation/bulk | |
| DefaultApi | changeTicketState | PATCH /api/v1/tickets/{id}/state | |
| DefaultApi | combineCommentsWithQuestionResults | GET /api/v1/question-results-aggregation/combine/comments | |
| DefaultApi | createEmailTemplate | POST /api/v1/email-templates | |
| DefaultApi | createFeedPost | POST /api/v1/feed-posts | |
| DefaultApi | createModerator | POST /api/v1/moderators | |
| DefaultApi | createQuestionConfig | POST /api/v1/question-configs | |
| DefaultApi | createQuestionResult | POST /api/v1/question-results | |
| DefaultApi | createSubscription | POST /api/v1/subscriptions | |
| DefaultApi | createTenant | POST /api/v1/tenants | |
| DefaultApi | createTenantPackage | POST /api/v1/tenant-packages | |
| DefaultApi | createTenantUser | POST /api/v1/tenant-users | |
| DefaultApi | createTicket | POST /api/v1/tickets | |
| DefaultApi | createUserBadge | POST /api/v1/user-badges | |
| DefaultApi | createVote | POST /api/v1/votes | |
| DefaultApi | deleteComment | DELETE /api/v1/comments/{id} | |
| DefaultApi | deleteDomainConfig | DELETE /api/v1/domain-configs/{domain} | |
| DefaultApi | deleteEmailTemplate | DELETE /api/v1/email-templates/{id} | |
| DefaultApi | deleteEmailTemplateRenderError | DELETE /api/v1/email-templates/{id}/render-errors/{errorId} | |
| DefaultApi | deleteHashTag | DELETE /api/v1/hash-tags/{tag} | |
| DefaultApi | deleteModerator | DELETE /api/v1/moderators/{id} | |
| DefaultApi | deleteNotificationCount | DELETE /api/v1/notification-count/{id} | |
| DefaultApi | deletePage | DELETE /api/v1/pages/{id} | |
| DefaultApi | deletePendingWebhookEvent | DELETE /api/v1/pending-webhook-events/{id} | |
| DefaultApi | deleteQuestionConfig | DELETE /api/v1/question-configs/{id} | |
| DefaultApi | deleteQuestionResult | DELETE /api/v1/question-results/{id} | |
| DefaultApi | deleteSSOUser | DELETE /api/v1/sso-users/{id} | |
| DefaultApi | deleteSubscription | DELETE /api/v1/subscriptions/{id} | |
| DefaultApi | deleteTenant | DELETE /api/v1/tenants/{id} | |
| DefaultApi | deleteTenantPackage | DELETE /api/v1/tenant-packages/{id} | |
| DefaultApi | deleteTenantUser | DELETE /api/v1/tenant-users/{id} | |
| DefaultApi | deleteUserBadge | DELETE /api/v1/user-badges/{id} | |
| DefaultApi | deleteVote | DELETE /api/v1/votes/{id} | |
| DefaultApi | flagComment | POST /api/v1/comments/{id}/flag | |
| DefaultApi | getAuditLogs | GET /api/v1/audit-logs | |
| DefaultApi | getCachedNotificationCount | GET /api/v1/notification-count/{id} | |
| DefaultApi | getComment | GET /api/v1/comments/{id} | |
| DefaultApi | getComments | GET /api/v1/comments | |
| DefaultApi | getDomainConfig | GET /api/v1/domain-configs/{domain} | |
| DefaultApi | getDomainConfigs | GET /api/v1/domain-configs | |
| DefaultApi | getEmailTemplate | GET /api/v1/email-templates/{id} | |
| DefaultApi | getEmailTemplateDefinitions | GET /api/v1/email-templates/definitions | |
| DefaultApi | getEmailTemplateRenderErrors | GET /api/v1/email-templates/{id}/render-errors | |
| DefaultApi | getEmailTemplates | GET /api/v1/email-templates | |
| DefaultApi | getFeedPosts | GET /api/v1/feed-posts | req tenantId afterId |
| DefaultApi | getHashTags | GET /api/v1/hash-tags | |
| DefaultApi | getModerator | GET /api/v1/moderators/{id} | |
| DefaultApi | getModerators | GET /api/v1/moderators | |
| DefaultApi | getNotificationCount | GET /api/v1/notifications/count | |
| DefaultApi | getNotifications | GET /api/v1/notifications | |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPages | GET /api/v1/pages | |
| DefaultApi | getPendingWebhookEventCount | GET /api/v1/pending-webhook-events/count | |
| DefaultApi | getPendingWebhookEvents | GET /api/v1/pending-webhook-events | |
| DefaultApi | getQuestionConfig | GET /api/v1/question-configs/{id} | |
| DefaultApi | getQuestionConfigs | GET /api/v1/question-configs | |
| DefaultApi | getQuestionResult | GET /api/v1/question-results/{id} | |
| DefaultApi | getQuestionResults | GET /api/v1/question-results | |
| DefaultApi | getSSOUserByEmail | GET /api/v1/sso-users/by-email/{email} | |
| DefaultApi | getSSOUserById | GET /api/v1/sso-users/by-id/{id} | |
| DefaultApi | getSSOUsers | GET /api/v1/sso-users | |
| DefaultApi | getSubscriptions | GET /api/v1/subscriptions | |
| DefaultApi | getTenant | GET /api/v1/tenants/{id} | |
| DefaultApi | getTenantDailyUsages | GET /api/v1/tenant-daily-usage | |
| DefaultApi | getTenantPackage | GET /api/v1/tenant-packages/{id} | |
| DefaultApi | getTenantPackages | GET /api/v1/tenant-packages | |
| DefaultApi | getTenantUser | GET /api/v1/tenant-users/{id} | |
| DefaultApi | getTenantUsers | GET /api/v1/tenant-users | |
| DefaultApi | getTenants | GET /api/v1/tenants | |
| DefaultApi | getTicket | GET /api/v1/tickets/{id} | |
| DefaultApi | getTickets | GET /api/v1/tickets | |
| DefaultApi | getUser | GET /api/v1/users/{id} | |
| DefaultApi | getUserBadge | GET /api/v1/user-badges/{id} | |
| DefaultApi | getUserBadgeProgressById | GET /api/v1/user-badge-progress/{id} | |
| DefaultApi | getUserBadgeProgressByUserId | GET /api/v1/user-badge-progress/user/{userId} | |
| DefaultApi | getUserBadgeProgressList | GET /api/v1/user-badge-progress | |
| DefaultApi | getUserBadges | GET /api/v1/user-badges | |
| DefaultApi | getVotes | GET /api/v1/votes | |
| DefaultApi | getVotesForUser | GET /api/v1/votes/for-user | |
| DefaultApi | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | patchHashTag | PATCH /api/v1/hash-tags/{tag} | |
| DefaultApi | patchPage | PATCH /api/v1/pages/{id} | |
| DefaultApi | patchSSOUser | PATCH /api/v1/sso-users/{id} | |
| DefaultApi | putDomainConfig | PUT /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | putSSOUser | PUT /api/v1/sso-users/{id} | |
| DefaultApi | renderEmailTemplate | POST /api/v1/email-templates/render | |
| DefaultApi | replaceTenantPackage | PUT /api/v1/tenant-packages/{id} | |
| DefaultApi | replaceTenantUser | PUT /api/v1/tenant-users/{id} | |
| DefaultApi | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| DefaultApi | sendInvite | POST /api/v1/moderators/{id}/send-invite | |
| DefaultApi | sendLoginLink | POST /api/v1/tenant-users/{id}/send-login-link | |
| DefaultApi | unBlockUserFromComment | POST /api/v1/comments/{id}/un-block | |
| DefaultApi | unFlagComment | POST /api/v1/comments/{id}/un-flag | |
| DefaultApi | updateComment | PATCH /api/v1/comments/{id} | |
| DefaultApi | updateEmailTemplate | PATCH /api/v1/email-templates/{id} | |
| DefaultApi | updateFeedPost | PATCH /api/v1/feed-posts/{id} | |
| DefaultApi | updateModerator | PATCH /api/v1/moderators/{id} | |
| DefaultApi | updateNotification | PATCH /api/v1/notifications/{id} | |
| DefaultApi | updateQuestionConfig | PATCH /api/v1/question-configs/{id} | |
| DefaultApi | updateQuestionResult | PATCH /api/v1/question-results/{id} | |
| DefaultApi | updateSubscription | PATCH /api/v1/subscriptions/{id} | |
| DefaultApi | updateTenant | PATCH /api/v1/tenants/{id} | |
| DefaultApi | updateTenantPackage | PATCH /api/v1/tenant-packages/{id} | |
| DefaultApi | updateTenantUser | PATCH /api/v1/tenant-users/{id} | |
| DefaultApi | updateUserBadge | PUT /api/v1/user-badges/{id} | |
| ModerationApi | deleteModerationVote | DELETE /auth/my-account/moderate-comments/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 | Commentateurs passés sur la page qui ne sont PAS actuellement en ligne. Triés par displayName. Utilisez ceci après avoir parcouru /users/online pour afficher une section « Membres ». Pagination par curseur sur commenterName : le serveur parcourt l'index partiel {tenantId, urlId, commenterName} de afterName vers l’avant via $gt, sans coût $skip. |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | Personnes actuellement en ligne sur une page : personnes dont la session websocket est actuellement abonnée à la page. Retourne anonCount + totalCount (abonnés à la salle, incluant les utilisateurs anonymes qui ne sont pas énumérés). |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | Liste les pages pour un locataire. Utilisé par le client de bureau FChat pour remplir sa liste de salles. Nécessite que enableFChat soit défini à true dans la configuration personnalisée résolue pour chaque page. Les pages nécessitant SSO sont filtrées selon les groupes de l'utilisateur demandeur. |
| PublicApi | getTranslations | GET /translations/{namespace}/{component} | |
| PublicApi | getUserNotificationCount | GET /user-notifications/get-count | |
| PublicApi | getUserNotifications | GET /user-notifications | |
| PublicApi | getUserPresenceStatuses | GET /user-presence-status | |
| PublicApi | getUserReactsPublic | GET /feed-posts/{tenantId}/user-reacts | |
| PublicApi | getUsersInfo | GET /pages/{tenantId}/users/info | Informations utilisateur en masse pour un locataire. Données les userIds, retourne les informations d’affichage de User / SSOUser. Utilisé par le widget de commentaires pour enrichir les utilisateurs apparus suite à un événement de présence. Pas de contexte de page : la confidentialité est appliquée uniformément (profils privés 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écharger et redimensionner une image |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Documentation des Modèles
- APIAuditLog
- APIBanUserChangeLog
- APIBanUserChangedValues
- APIBannedUser
- APIBannedUserWithMultiMatchInfo
- APIComment
- APICommentBase
- APICommentBase_meta
- APICommentCommonBannedUser
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIModerateGetUserBanPreferencesResponse
- APIModerateUserBanPreferences
- APIPage
- APISSOUser
- APISaveCommentResponse
- APIStatus
- APITenant
- APITenantDailyUsage
- APITicket
- APITicketDetail
- APITicketFile
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfigResponse
- AddDomainConfigResponse_anyOf
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AdjustCommentVotesParams
- AdjustVotesResponse
- AggregateQuestionResultsResponse
- AggregateResponse
- AggregateTimeBucket
- AggregationAPIError
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- AwardUserBadgeResponse
- BanUserFromCommentResult
- BanUserUndoParams
- BannedUserMatch
- BannedUserMatchType
- BannedUserMatch_matchedOnValue
- BillingInfo
- BlockFromCommentParams
- BlockSuccess
- 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
- [EmailTemplateDefinition](
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
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| aggregationRequest | AggregationRequest | Non | |
| parentTenantId | string | Non | |
| includeStats | bool | Non |
Réponse
Renvoie : Option[AggregateResponse]
Exemple

getAuditLogs 
Paramètres
| Nom | Type | Obligatoire | 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
Retourne : Option[BlockSuccess]
Exemple

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

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

blockUserFromComment 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| blockFromCommentParams | BlockFromCommentParams | No | |
| userId | string | No | |
| anonUserId | string | No |
Réponse
Renvoie : Option[BlockSuccess]
Exemple

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

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

deleteCommentPublic 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Non | |
| editKey | string | Non | |
| sso | string | Non |
Réponse
Retourne : 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
Renvoie: Option[VoteDeleteResponse]
Exemple

flagComment 
Paramètres
| Nom | Type | Obligatoire | 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
Retourne : Option[APIGetCommentResponse]
Exemple

getComments 
Paramètres
| Nom | Type | Requis | 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
Renvoie : Option[APIGetCommentsResponse]
Exemple

getCommentsPublic 
req tenantId urlId
Paramètres
| Name | Type | Required | 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 | Oui | |
| commentId | string | Oui | |
| editKey | string | Non | |
| sso | string | Non |
Réponse
Retourne : Option[PublicAPIGetCommentTextResponse]
Exemple

getCommentVoteUserNames 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| dir | int | No | |
| sso | string | No |
Réponse
Renvoie: Option[GetCommentVoteUserNamesSuccessResponse]
Exemple

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

pinComment 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Retourne : 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 | Requis | 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
Renvoie : Option[APIEmptyResponse]
Exemple

setCommentText 
Paramètres
| Nom | Type | Requis | 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 | Obligatoire | 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
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Renvoie: Option[FlagCommentResponse]
Exemple

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

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

updateComment 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updatableCommentParams | UpdatableCommentParams | Non | |
| contextUserId | string | Non | |
| doSpamCheck | bool | Non | |
| isLive | bool | Non |
Réponse
Renvoie : 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
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| userId | string | No | |
| direction | SortDirections | No | |
| repliesToUserId | string | No | |
| page | float64 | No | |
| includei10n | bool | No | |
| locale | string | No | |
| isCrawler | bool | No |
Réponse
Retourne : Option[GetCommentsForUserResponse]
Exemple

addDomainConfig 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| addDomainConfigParams | AddDomainConfigParams | Non |
Réponse
Retourne : 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 | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domain | string | Non |
Réponse
Renvoie: Option[GetDomainConfigResponse]
Exemple

getDomainConfigs 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui |
Réponse
Retourne: 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
Retourne: Option[PutDomainConfigResponse]
Exemple

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

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

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

getEmailTemplate 
Paramètres
| Name | Type | Required | 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
Retourne : Option[GetEmailTemplateDefinitionsResponse]
Exemple

getEmailTemplateRenderErrors 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| skip | float64 | Non |
Réponse
Retourne: 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
| Name | Type | Required | 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
Retourne : 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 | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| userIdWS | string | Non | |
| startTime | int64 | Non | |
| endTime | int64 | Non |
Réponse
Retourne : 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 | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postId | string | Non | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Renvoie: 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
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postIds | seq[string] | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[FeedPostsStatsResponse]
Exemple

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

reactFeedPostPublic 
Paramètres
| Nom | 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 | Yes | |
| id | string | No | |
| feedPost | FeedPost | No |
Réponse
Retourne: Option[APIEmptyResponse]
Exemple

updateFeedPostPublic 
Paramètres
| Nom | Type | Obligatoire | 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
Renvoie : Option[APIEmptyResponse]
Exemple

getGifLarge 
Paramètres
| Nom | Type | Obligatoire | 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
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createHashTagBody | CreateHashTagBody | Non |
Réponse
Renvoie: Option[CreateHashTagResponse]
Exemple

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

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

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

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

deleteModerationVote 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| commentId | string | Oui | |
| voteId | string | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[VoteDeleteResponse]
Exemple

getApiComments 
Paramètres
| Name | 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
Renvoie: Option[ModerationAPIGetCommentsResponse]
Exemple

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

getApiIds 
Paramètres
| Name | 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
| Name | Type | Required | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : Option[GetBannedUsersFromCommentResponse]
Exemple

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

getCommentChildren 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : 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
| Nom | Type | Requis | Description |
|---|---|---|---|
| sso | string | Non |
Réponse
Renvoie : Option[GetBannedUsersCountResponse]
Exemple

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

getManualBadges 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| sso | string | No |
Réponse
Retourne: Option[GetTenantManualBadgesResponse]
Exemple

getManualBadgesForUser 
Paramètres
| Nom | Type | Requis | 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 | Required | 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
Retourne: Option[PreBanSummary]
Exemple

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

getSearchPages 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| value | string | Non | |
| sso | string | Non |
Réponse
Renvoie: 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
Renvoie : 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 | Requis | 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 | Obligatoire | Description |
|---|---|---|---|
| commentId | string | Oui | |
| adjustCommentVotesParams | AdjustCommentVotesParams | Non | |
| sso | string | Non |
Réponse
Retourne: Option[AdjustVotesResponse]
Exemple

postApiExport 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| textSearch | string | Non | |
| byIPFromComment | string | Non | |
| filters | string | Non | |
| searchFilters | string | Non | |
| sorts | string | Non | |
| sso | string | Non |
Réponse
Renvoie : 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
| Name | Type | Requis | Description |
|---|---|---|---|
| banUserUndoParams | BanUserUndoParams | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[APIEmptyResponse]
Exemple

postBulkPreBanSummary 
Paramètres
| Nom | 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
| Name | Type | Required | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

postRemoveComment 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : 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 | Obligatoire | 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 | Obligatoire | Description |
|---|---|---|---|
| commentId | string | Oui | |
| spam | bool | Non | |
| permNotSpam | bool | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

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

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

postVote 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| commentId | string | Oui | |
| direction | string | Non | |
| sso | string | Non |
Response
Renvoie: Option[VoteResponse]
Exemple

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

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

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

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

setTrustFactor 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| userId | string | Non | |
| trustFactor | string | Non | |
| sso | string | Non |
Réponse
Retourne: Option[SetUserTrustFactorResponse]
Exemple

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

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

getModerator 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie : 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
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateModeratorBody | UpdateModeratorBody | Non |
Réponse
Renvoie : Option[APIEmptyResponse]
Exemple

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

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

getNotificationCount 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| urlId | string | Oui | |
| fromCommentId | string | Non | |
| viewed | bool | Non |
Réponse
Retourne: Option[GetNotificationCountResponse]
Exemple

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

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

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

createV2PageReact 
Paramètres
| Name | 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 | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui |
Réponse
Renvoie : Option[GetV1PageLikes]
Exemple

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

getV2PageReactUsers 
Paramètres
| Nom | Type | Obligatoire | 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
Renvoie : Option[AddPageAPIResponse]
Exemple

deletePage 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie : 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 à partir de afterName vers l'avant via $gt, sans coût de $skip.
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| afterName | string | Non | |
| afterUserId | string | Non |
Réponse
Retourne: Option[PageUsersOfflineResponse]
Exemple

getOnlineUsers 
Actuellement, les spectateurs en ligne d'une page : personnes dont la session websocket est abonnée à la page en ce moment. Retourne anonCount + totalCount (abonnés au salon, y compris les spectateurs anonymes que nous n'énumérons pas).
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| afterName | string | No | |
| afterUserId | string | No |
Réponse
Retourne : Option[PageUsersOnlineResponse]
Exemple

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

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

getPagesPublic 
Lister les pages d'un locataire. Utilisé par le client de bureau FChat pour remplir sa liste de salons.
Nécessite que enableFChat soit défini sur true dans la configuration personnalisée résolue pour chaque page.
Les pages qui exigent SSO sont filtrées en fonction de l'accès de groupe de l'utilisateur demandeur.
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| cursor | string | Non | |
| limit | int | Non | |
| q | string | Non | |
| sortBy | PagesSortBy | Non | |
| hasComments | bool | Non |
Réponse
Renvoie : Option[GetPublicPagesResponse]
Exemple

getUsersInfo 
Bulk user info for a tenant. Given userIds, return display info from User / SSOUser. Used by the comment widget to enrich users that just appeared via a presence event. No page context: privacy is enforced uniformly (private profiles are masked).
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| ids | string | Non |
Réponse
Renvoie : Option[PageUsersInfoResponse]
Exemple

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

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

getPendingWebhookEventCount 
Paramètres
| Name | 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
Renvoie : Option[GetPendingWebhookEventsResponse]
Exemple

createQuestionConfig 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createQuestionConfigBody | CreateQuestionConfigBody | Non |
Réponse
Retourne : Option[CreateQuestionConfigResponse]
Exemple

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

getQuestionConfig 
Paramètres
| Nom | Type | Obligatoire | 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
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createQuestionResultBody | CreateQuestionResultBody | Non |
Réponse
Renvoie : Option[CreateQuestionResultResponse]
Exemple

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

getQuestionResult 
Parameters
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie : Option[GetQuestionResultResponse]
Exemple

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

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

aggregateQuestionResults 
Paramètres
| Name | Type | Requis | 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
Renvoie: Option[AggregateQuestionResultsResponse]
Exemple

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

combineCommentsWithQuestionResults 
Paramètres
| Name | Type | Required | 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
Retourne : Option[CombineQuestionResultsWithCommentsResponse]
Exemple

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

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

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

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

getSSOUsers 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | int | Non |
Response
Renvoie : Option[GetSSOUsersResponse]
Exemple

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

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

createSubscription 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Non |
Réponse
Retourne: Option[CreateSubscriptionAPIResponse]
Exemple

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

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

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

getTenantDailyUsages 
Paramètres
| Name | 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
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createTenantPackageBody | CreateTenantPackageBody | Non |
Réponse
Renvoie : Option[CreateTenantPackageResponse]
Exemple

deleteTenantPackage 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: 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 | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

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

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

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

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

getTenantUsers 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | float64 | Non |
Réponse
Renvoie : 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
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| redirectURL | string | Non |
Réponse
Renvoie: Option[APIEmptyResponse]
Exemple

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

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

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

getTenant 
Paramètres
| Nom | Type | Requis | 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
Retourne: Option[GetTenantsResponse]
Exemple

updateTenant 
Paramètres
| Name | Type | Required | 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 |
Réponse
Retourne: Option[ChangeTicketStateResponse]
Exemple

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

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

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

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

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

getUserBadgeProgressById 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Response
Renvoie: Option[APIGetUserBadgeProgressResponse]
Exemple

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

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

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

deleteUserBadge 
Paramètres
| Name | Type | Required | 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
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| badgeId | string | Non | |
| displayedOnComments | bool | Non | |
| limit | float64 | Non | |
| skip | float64 | Non |
Réponse
Retourne: 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 
Parameters
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie: Option[GetUserNotificationCountResponse]
Exemple

getUserNotifications 
Paramètres
| Nom | Type | Requis | 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
Retourne : Option[ResetUserNotificationsResponse]
Exemple

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

updateUserNotificationCommentSubscriptionStatus 
Activer ou désactiver les notifications pour un commentaire spécifique.
Paramètres
| Nom | Type | Requis | 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 les utilisateurs sont abonnés à une page, des notifications sont créées pour les nouveaux commentaires racines, et aussi
Paramètres
| Name | Type | Required | 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
| Name | Type | Required | 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 | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: Option[GetUserResponse]
Exemple

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

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

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

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

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