
Langue 🇫🇷 Français (France)
Documentation
Premiers pas
Référence API
Utilisation
Agrégation
Journaux d'audit
Blocage depuis un commentaire
Vérifier les commentaires bloqués
Commentaires
Configurations de domaine
Modèles d'e-mail
Journal d'événements
Publications du fil
Signaler un commentaire
Hashtags
Modérateurs
Compteur de notifications
Notifications
Pages
Événements webhook en attente
Configurations de questions
Résultats de questions
Agrégation des résultats de questions
Utilisateurs SSO
Abonnements
Utilisation quotidienne du locataire
Forfaits du locataire
Utilisateurs du locataire
Locataires
Tickets
Téléverser une image
Progression du badge utilisateur
Badges utilisateur
Notifications utilisateur
Statuts de présence des utilisateurs
Recherche d'utilisateurs
Utilisateurs
Votes
FastComments Nim SDK
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.
API publiques vs sécurisées
Pour le client API, il existe deux modules API, api_default et api_public. Le api_default contient des méthodes qui nécessitent votre clé API, et api_public contient des appels d'API
qui peuvent être effectués directement depuis un navigateur/appareil mobile/etc sans authentification.
Démarrage rapide 
Utilisation des API authentifiées (DefaultAPI)
Important : Les endpoints authentifiés nécessitent 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 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 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"
Problèmes courants
- 401 authentication error : 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" - Wrong API class : Utilisez
api_defaultpour les requêtes authentifiées côté serveur,api_publicpour les requêtes côté client/publiques.
Effectuer des appels 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"
Remarques 
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 des 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 applique plusieurs opérations. Différentes opérations (par exemple somme, 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 | requis tenantId afterId |
| DefaultApi | getHashTags | GET /api/v1/hash-tags | |
| DefaultApi | getModerator | GET /api/v1/moderators/{id} | |
| DefaultApi | getModerators | GET /api/v1/moderators | |
| DefaultApi | getNotificationCount | GET /api/v1/notifications/count | |
| DefaultApi | getNotifications | GET /api/v1/notifications | |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPages | GET /api/v1/pages | |
| DefaultApi | getPendingWebhookEventCount | GET /api/v1/pending-webhook-events/count | |
| DefaultApi | getPendingWebhookEvents | GET /api/v1/pending-webhook-events | |
| DefaultApi | getQuestionConfig | GET /api/v1/question-configs/{id} | |
| DefaultApi | getQuestionConfigs | GET /api/v1/question-configs | |
| DefaultApi | getQuestionResult | GET /api/v1/question-results/{id} | |
| DefaultApi | getQuestionResults | GET /api/v1/question-results | |
| DefaultApi | getSSOUserByEmail | GET /api/v1/sso-users/by-email/{email} | |
| DefaultApi | getSSOUserById | GET /api/v1/sso-users/by-id/{id} | |
| DefaultApi | getSSOUsers | GET /api/v1/sso-users | |
| DefaultApi | getSubscriptions | GET /api/v1/subscriptions | |
| DefaultApi | getTenant | GET /api/v1/tenants/{id} | |
| DefaultApi | getTenantDailyUsages | GET /api/v1/tenant-daily-usage | |
| DefaultApi | getTenantPackage | GET /api/v1/tenant-packages/{id} | |
| DefaultApi | getTenantPackages | GET /api/v1/tenant-packages | |
| DefaultApi | getTenantUser | GET /api/v1/tenant-users/{id} | |
| DefaultApi | getTenantUsers | GET /api/v1/tenant-users | |
| DefaultApi | getTenants | GET /api/v1/tenants | |
| DefaultApi | getTicket | GET /api/v1/tickets/{id} | |
| DefaultApi | getTickets | GET /api/v1/tickets | |
| DefaultApi | getUser | GET /api/v1/users/{id} | |
| DefaultApi | getUserBadge | GET /api/v1/user-badges/{id} | |
| DefaultApi | getUserBadgeProgressById | GET /api/v1/user-badge-progress/{id} | |
| DefaultApi | getUserBadgeProgressByUserId | GET /api/v1/user-badge-progress/user/{userId} | |
| DefaultApi | getUserBadgeProgressList | GET /api/v1/user-badge-progress | |
| DefaultApi | getUserBadges | GET /api/v1/user-badges | |
| DefaultApi | getVotes | GET /api/v1/votes | |
| DefaultApi | getVotesForUser | GET /api/v1/votes/for-user | |
| DefaultApi | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | patchHashTag | PATCH /api/v1/hash-tags/{tag} | |
| DefaultApi | patchPage | PATCH /api/v1/pages/{id} | |
| DefaultApi | patchSSOUser | PATCH /api/v1/sso-users/{id} | |
| DefaultApi | putDomainConfig | PUT /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | putSSOUser | PUT /api/v1/sso-users/{id} | |
| DefaultApi | renderEmailTemplate | POST /api/v1/email-templates/render | |
| DefaultApi | replaceTenantPackage | PUT /api/v1/tenant-packages/{id} | |
| DefaultApi | replaceTenantUser | PUT /api/v1/tenant-users/{id} | |
| DefaultApi | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| DefaultApi | sendInvite | POST /api/v1/moderators/{id}/send-invite | |
| DefaultApi | sendLoginLink | POST /api/v1/tenant-users/{id}/send-login-link | |
| DefaultApi | unBlockUserFromComment | POST /api/v1/comments/{id}/un-block | |
| DefaultApi | unFlagComment | POST /api/v1/comments/{id}/un-flag | |
| DefaultApi | updateComment | PATCH /api/v1/comments/{id} | |
| DefaultApi | updateEmailTemplate | PATCH /api/v1/email-templates/{id} | |
| DefaultApi | updateFeedPost | PATCH /api/v1/feed-posts/{id} | |
| DefaultApi | updateModerator | PATCH /api/v1/moderators/{id} | |
| DefaultApi | updateNotification | PATCH /api/v1/notifications/{id} | |
| DefaultApi | updateQuestionConfig | PATCH /api/v1/question-configs/{id} | |
| DefaultApi | updateQuestionResult | PATCH /api/v1/question-results/{id} | |
| DefaultApi | updateSubscription | PATCH /api/v1/subscriptions/{id} | |
| DefaultApi | updateTenant | PATCH /api/v1/tenants/{id} | |
| DefaultApi | updateTenantPackage | PATCH /api/v1/tenant-packages/{id} | |
| DefaultApi | updateTenantUser | PATCH /api/v1/tenant-users/{id} | |
| DefaultApi | updateUserBadge | PUT /api/v1/user-badges/{id} | |
| PublicApi | blockFromCommentPublic | POST /block-from-comment/{commentId} | |
| PublicApi | checkedCommentsForBlocked | GET /check-blocked-comments | |
| PublicApi | createCommentPublic | POST /comments/{tenantId} | |
| PublicApi | createFeedPostPublic | POST /feed-posts/{tenantId} | |
| PublicApi | deleteCommentPublic | DELETE /comments/{tenantId}/{commentId} | |
| PublicApi | deleteCommentVote | DELETE /comments/{tenantId}/{commentId}/vote/{voteId} | |
| PublicApi | deleteFeedPostPublic | DELETE /feed-posts/{tenantId}/{postId} | |
| PublicApi | flagCommentPublic | POST /flag-comment/{commentId} | |
| PublicApi | getCommentText | GET /comments/{tenantId}/{commentId}/text | |
| PublicApi | getCommentVoteUserNames | GET /comments/{tenantId}/{commentId}/votes | |
| PublicApi | getCommentsPublic | GET /comments/{tenantId} | requis tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | requis tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | requis tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | requis tenantId urlId userIdWS |
| PublicApi | getUserNotificationCount | GET /user-notifications/get-count | |
| PublicApi | getUserNotifications | GET /user-notifications | |
| PublicApi | getUserPresenceStatuses | GET /user-presence-status | |
| PublicApi | getUserReactsPublic | GET /feed-posts/{tenantId}/user-reacts | |
| PublicApi | lockComment | POST /comments/{tenantId}/{commentId}/lock | |
| PublicApi | pinComment | POST /comments/{tenantId}/{commentId}/pin | |
| PublicApi | reactFeedPostPublic | POST /feed-posts/{tenantId}/react/{postId} | |
| PublicApi | resetUserNotificationCount | POST /user-notifications/reset-count | |
| PublicApi | resetUserNotifications | POST /user-notifications/reset | |
| PublicApi | searchUsers | GET /user-search/{tenantId} | |
| PublicApi | setCommentText | POST /comments/{tenantId}/{commentId}/update-text | |
| PublicApi | unBlockCommentPublic | DELETE /block-from-comment/{commentId} | |
| PublicApi | unLockComment | POST /comments/{tenantId}/{commentId}/unlock | |
| PublicApi | unPinComment | POST /comments/{tenantId}/{commentId}/unpin | |
| PublicApi | updateFeedPostPublic | PUT /feed-posts/{tenantId}/{postId} | |
| PublicApi | updateUserNotificationCommentSubscriptionStatus | POST /user-notifications/{notificationId}/mark-opted/{optedInOrOut} | Activer ou désactiver les notifications pour un commentaire spécifique. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Activer ou désactiver les notifications pour une page. Lorsque des 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échargez et redimensionnez une image |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Documentation des modèles
- APIAuditLog
- APIComment
- APICommentBase
- APICommentBase_meta
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIPage
- APISSOUser
- APIStatus
- APITenant
- APITenantDailyUsage
- APITicket
- APITicketDetail
- APITicketFile
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfig_200_response
- AddDomainConfig_200_response_anyOf
- AddHashTag_200_response
- AddHashTagsBulk_200_response
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AggregateQuestionResultsResponse
- AggregateQuestionResults_200_response
- AggregateTimeBucket
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- BillingInfo
- BlockFromCommentParams
- BlockFromCommentPublic_200_response
- BlockSuccess
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkAggregateQuestionResults_200_response
- BulkCreateHashTagsBody
- BulkCreateHashTagsBody_tags_inner
- BulkCreateHashTagsResponse
- ChangeCommentPinStatusResponse
- ChangeTicketStateBody
- ChangeTicketStateResponse
- ChangeTicketState_200_response
- CheckBlockedCommentsResponse
- CheckedCommentsForBlocked_200_response
- CombineCommentsWithQuestionResults_200_response
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentLogData
- CommentLogEntry
- CommentLogType
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CreateAPIPageData
- CreateAPISSOUserData
- CreateAPIUserSubscriptionData
- CreateCommentParams
- CreateCommentPublic_200_response
- CreateEmailTemplateBody
- CreateEmailTemplateResponse
- CreateEmailTemplate_200_response
- CreateFeedPostParams
- CreateFeedPostPublic_200_response
- CreateFeedPostResponse
- CreateFeedPost_200_response
- CreateFeedPostsResponse
- CreateHashTagBody
- CreateHashTagResponse
- CreateModeratorBody
- CreateModeratorResponse
- CreateModerator_200_response
- CreateQuestionConfigBody
- CreateQuestionConfigResponse
- CreateQuestionConfig_200_response
- CreateQuestionResultBody
- CreateQuestionResultResponse
- CreateQuestionResult_200_response
- CreateSubscriptionAPIResponse
- CreateTenantBody
- CreateTenantPackageBody
- CreateTenantPackageResponse
- CreateTenantPackage_200_response
- CreateTenantResponse
- CreateTenantUserBody
- CreateTenantUserResponse
- CreateTenantUser_200_response
- CreateTenant_200_response
- CreateTicketBody
- CreateTicketResponse
- CreateTicket_200_response
- CreateUserBadgeParams
- CreateUserBadge_200_response
- CustomConfigParameters
- CustomEmailTemplate
- DeleteCommentAction
- DeleteCommentPublic_200_response
- DeleteCommentResult
- DeleteCommentVote_200_response
- DeleteComment_200_response
- DeleteDomainConfig_200_response
- DeleteFeedPostPublic_200_response
- DeleteFeedPostPublic_200_response_anyOf
- DeleteHashTag_request
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- DeletedCommentResultComment
- DigestEmailFrequency
- EmailTemplateDefinition
- EmailTemplateRenderErrorResponse
- EventLogEntry
- FComment
- FComment_meta
- FeedPost
- FeedPostLink
- FeedPostMediaItem
- FeedPostMediaItemAsset
- FeedPostStats
- FeedPostsStatsResponse
- FindCommentsByRangeItem
- FindCommentsByRangeResponse
- FlagCommentPublic_200_response
- FlagCommentResponse
- FlagComment_200_response
- GetAuditLogsResponse
- GetAuditLogs_200_response
- GetCachedNotificationCountResponse
- GetCachedNotificationCount_200_response
- GetCommentText_200_response
- GetCommentVoteUserNamesSuccessResponse
- GetCommentVoteUserNames_200_response
- GetComment_200_response
- GetCommentsPublic_200_response
- GetCommentsResponseWithPresence_PublicComment_
- GetCommentsResponse_PublicComment_
- GetComments_200_response
- GetDomainConfig_200_response
- GetDomainConfigs_200_response
- GetDomainConfigs_200_response_anyOf
- GetDomainConfigs_200_response_anyOf_1
- GetEmailTemplateDefinitionsResponse
- GetEmailTemplateDefinitions_200_response
- GetEmailTemplateRenderErrorsResponse
- GetEmailTemplateRenderErrors_200_response
- GetEmailTemplateResponse
- GetEmailTemplate_200_response
- GetEmailTemplatesResponse
- GetEmailTemplates_200_response
- GetEventLogResponse
- GetEventLog_200_response
- GetFeedPostsPublic_200_response
- GetFeedPostsResponse
- GetFeedPostsStats_200_response
- GetFeedPosts_200_response
- GetHashTagsResponse
- GetHashTags_200_response
- GetModeratorResponse
- GetModerator_200_response
- GetModeratorsResponse
- GetModerators_200_response
- GetMyNotificationsResponse
- GetNotificationCountResponse
- GetNotificationCount_200_response
- GetNotificationsResponse
- GetNotifications_200_response
- GetPageByURLIdAPIResponse
- GetPagesAPIResponse
- GetPendingWebhookEventCountResponse
- GetPendingWebhookEventCount_200_response
- GetPendingWebhookEventsResponse
- GetPendingWebhookEvents_200_response
- GetPublicFeedPostsResponse
- GetQuestionConfigResponse
- GetQuestionConfig_200_response
- GetQuestionConfigsResponse
- GetQuestionConfigs_200_response
- GetQuestionResultResponse
- GetQuestionResult_200_response
- GetQuestionResultsResponse
- GetQuestionResults_200_response
- GetSSOUserByEmailAPIResponse
- GetSSOUserByIdAPIResponse
- GetSSOUsers_200_response
- GetSubscriptionsAPIResponse
- GetTenantDailyUsagesResponse
- GetTenantDailyUsages_200_response
- GetTenantPackageResponse
- GetTenantPackage_200_response
- GetTenantPackagesResponse
- GetTenantPackages_200_response
- GetTenantResponse
- GetTenantUserResponse
- GetTenantUser_200_response
- GetTenantUsersResponse
- GetTenantUsers_200_response
- GetTenant_200_response
- GetTenantsResponse
- GetTenants_200_response
- GetTicketResponse
- GetTicket_200_response
- GetTicketsResponse
- GetTickets_200_response
- GetUserBadgeProgressById_200_response
- GetUserBadgeProgressList_200_response
- GetUserBadge_200_response
- GetUserBadges_200_response
- GetUserNotificationCountResponse
- GetUserNotificationCount_200_response
- GetUserNotifications_200_response
- GetUserPresenceStatusesResponse
- GetUserPresenceStatuses_200_response
- GetUserReactsPublic_200_response
- GetUserResponse
- GetUser_200_response
- GetVotesForUserResponse
- GetVotesForUser_200_response
- GetVotesResponse
- GetVotes_200_response
- GifRating
- HeaderAccountNotification
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- ImportedSiteType
- [LiveEvent](https://github.com/FastComments/fastcomments-nim/blob/master/docs
Agrégation 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| aggregationRequest | AggregationRequest | Non | |
| parentTenantId | string | Non | |
| includeStats | bool | Non |
Réponse
Renvoie : Option[AggregationResponse]
Exemple

Obtenir les journaux d'audit 
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[GetAuditLogs_200_response]
Exemple

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

Débloquer le commentaire public 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Non | |
| sso | string | Non |
Réponse
Retourne: Option[UnBlockCommentPublic_200_response]
Exemple

Vérifier les commentaires bloqués 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentIds | string | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[CheckedCommentsForBlocked_200_response]
Exemple

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

Créer un commentaire public 
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[CreateCommentPublic_200_response]
Exemple

Supprimer un commentaire 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| contextUserId | string | Non | |
| isLive | bool | Non |
Réponse
Renvoie: Option[DeleteComment_200_response]
Exemple

Supprimer un commentaire public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Non | |
| editKey | string | Non | |
| sso | string | Non |
Réponse
Retourne: Option[DeleteCommentPublic_200_response]
Exemple

Supprimer le vote sur un commentaire 
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[DeleteCommentVote_200_response]
Exemple

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

Obtenir un commentaire 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie : Option[GetComment_200_response]
Exemple

Obtenir des commentaires 
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 |
Réponse
Renvoie: Option[GetComments_200_response]
Exemple

Obtenir des commentaires publics 
Paramètres
| Nom | Type | Obligatoire | 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[GetCommentsPublic_200_response]
Exemple

Obtenir le texte du commentaire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| editKey | string | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[GetCommentText_200_response]
Exemple

Obtenir les noms d'utilisateurs des votes de commentaire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| dir | int | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[GetCommentVoteUserNames_200_response]
Exemple

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

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

Enregistrer un commentaire 
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
Renvoie: Option[SaveComment_200_response]
Exemple

Enregistrer des commentaires en masse 
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[SaveComment_200_response]] | Non | |
| id | string | Non | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Non | |
| userId | string | Non | |
| anonUserId | string | Non |
Réponse
Retourne : Option[UnBlockCommentPublic_200_response]
Exemple

Définir le texte du commentaire 
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[SetCommentText_200_response]
Exemple

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

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

Déverrouiller un commentaire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Retourne: Option[LockComment_200_response]
Exemple

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

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

Voter pour un commentaire 
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
Retourne : Option[VoteComment_200_response]
Exemple

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

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

Obtenir une configuration de domaine 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domain | string | Non |
Réponse
Renvoie: Option[GetDomainConfig_200_response]
Exemple

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

Mettre à jour partiellement une configuration de domaine 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domainToUpdate | string | Non | |
| patchDomainConfigParams | PatchDomainConfigParams | Non |
Réponse
Renvoie : Option[GetDomainConfig_200_response]
Exemple

Remplacer une configuration de domaine 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| domainToUpdate | string | Non | |
| updateDomainConfigParams | UpdateDomainConfigParams | Non |
Réponse
Renvoie: Option[GetDomainConfig_200_response]
Exemple

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

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

Supprimer l'erreur de rendu du modèle d'e-mail 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| errorId | string | Non |
Réponse
Renvoie: Option[FlagCommentPublic_200_response]
Exemple

Obtenir un modèle d'e-mail 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: Option[GetEmailTemplate_200_response]
Exemple

Obtenir les définitions des modèles d'e-mail 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui |
Réponse
Renvoie: Option[GetEmailTemplateDefinitions_200_response]
Exemple

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

Obtenir les modèles d'e-mail 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | float64 | Non |
Réponse
Renvoie : Option[GetEmailTemplates_200_response]
Exemple

Générer un modèle d'e-mail 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Non | |
| locale | string | Non |
Réponse
Renvoie: Option[RenderEmailTemplate_200_response]
Exemple

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

Obtenir le journal d'événements 
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[GetEventLog_200_response]
Exemple

Obtenir le journal d'événements global 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| userIdWS | string | Non | |
| startTime | int64 | Non | |
| endTime | int64 | Non |
Réponse
Renvoie: Option[GetEventLog_200_response]
Exemple

Créer une publication du fil 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createFeedPostParams | CreateFeedPostParams | Non | |
| broadcastId | string | Non | |
| isLive | bool | Non | |
| doSpamCheck | bool | Non | |
| skipDupCheck | bool | Non |
Réponse
Renvoie : Option[CreateFeedPost_200_response]
Exemple

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

Supprimer une publication publique du fil 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postId | string | Non | |
| broadcastId | string | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[DeleteFeedPostPublic_200_response]
Exemple

Obtenir les publications du fil 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| afterId | string | Non | |
| limit | int | Non | |
| tags | seq[string] | Non |
Réponse
Retourne : Option[GetFeedPosts_200_response]
Exemple

Obtenir les publications publiques du fil 
Paramètres
| Name | 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[GetFeedPostsPublic_200_response]
Exemple

Obtenir les statistiques des publications du fil 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postIds | seq[string] | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[GetFeedPostsStats_200_response]
Exemple

Obtenir les réactions des utilisateurs (public) 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| postIds | seq[string] | Non | |
| sso | string | Non |
Réponse
Renvoie: Option[GetUserReactsPublic_200_response]
Exemple

Réagir à une publication du fil (public) 
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[ReactFeedPostPublic_200_response]
Exemple

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

Mettre à jour une publication du fil (public) 
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[CreateFeedPostPublic_200_response]
Exemple

Signaler un commentaire public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| commentId | string | Oui | |
| isFlagged | bool | Non | |
| sso | string | Non |
Réponse
Renvoie : Option[FlagCommentPublic_200_response]
Exemple

Ajouter un hashtag 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createHashTagBody | CreateHashTagBody | Non |
Réponse
Renvoie : Option[AddHashTag_200_response]
Exemple

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

Supprimer un hashtag 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tag | string | Non | |
| tenantId | string | Oui | |
| deleteHashTagRequest | DeleteHashTagRequest | Non |
Réponse
Renvoie: Option[FlagCommentPublic_200_response]
Exemple

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

Mettre à jour partiellement un hashtag 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tag | string | Non | |
| tenantId | string | Oui | |
| updateHashTagBody | UpdateHashTagBody | Non |
Réponse
Renvoie: Option[PatchHashTag_200_response]
Exemple

Créer un modérateur 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createModeratorBody | CreateModeratorBody | Non |
Réponse
Renvoie: Option[CreateModerator_200_response]
Exemple

Supprimer un modérateur 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| sendEmail | string | Non |
Réponse
Retourne: Option[FlagCommentPublic_200_response]
Exemple

Obtenir un modérateur 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: Option[GetModerator_200_response]
Exemple

Obtenir les modérateurs 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | float64 | Non |
Réponse
Renvoie: Option[GetModerators_200_response]
Exemple

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

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

Obtenir le compteur de notifications en cache 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Retourne: Option[GetCachedNotificationCount_200_response]
Exemple

Obtenir le nombre de notifications 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| urlId | string | Oui | |
| fromCommentId | string | Non | |
| viewed | bool | Non |
Réponse
Renvoie: Option[GetNotificationCount_200_response]
Exemple

Obtenir les notifications 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| urlId | string | Oui | |
| fromCommentId | string | Non | |
| viewed | bool | Non | |
| skip | float64 | Non |
Réponse
Renvoie: Option[GetNotifications_200_response]
Exemple

Mettre à jour une notification 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateNotificationBody | UpdateNotificationBody | Non | |
| userId | string | Non |
Réponse
Renvoie : Option[FlagCommentPublic_200_response]
Exemple

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

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

Obtenir la page par ID d'URL 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui |
Réponse
Renvoie : Option[GetPageByURLIdAPIResponse]
Exemple

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

Mettre à jour partiellement une page 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateAPIPageData | UpdateAPIPageData | Non |
Réponse
Retourne : Option[PatchPageAPIResponse]
Exemple

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

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

Obtenir les événements webhook en attente 
Paramètres
| Nom | Type | Obligatoire | 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[GetPendingWebhookEvents_200_response]
Exemple

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

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

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

Obtenir les configurations de questions 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | float64 | Non |
Réponse
Renvoie: Option[GetQuestionConfigs_200_response]
Exemple

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

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

Supprimer un résultat de question 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Retourne: Option[FlagCommentPublic_200_response]
Exemple

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

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

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

Agrégation des résultats de questions 
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
Renvoie : Option[AggregateQuestionResults_200_response]
Exemple

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

Combiner les commentaires avec les résultats de questions 
Paramètres
| Nom | Type | Obligatoire | 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[CombineCommentsWithQuestionResults_200_response]
Exemple

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

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

Obtenir un utilisateur SSO par e-mail 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| string | No |
Réponse
Renvoie : Option[GetSSOUserByEmailAPIResponse]
Exemple

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

Obtenir les utilisateurs SSO 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | int | Non |
Réponse
Renvoie: Option[GetSSOUsers_200_response]
Exemple

Mettre à jour partiellement un utilisateur SSO 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateAPISSOUserData | UpdateAPISSOUserData | Non | |
| updateComments | bool | Non |
Réponse
Renvoie : Option[PatchSSOUserAPIResponse]
Exemple

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

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

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

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

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

Obtenir les utilisations quotidiennes du locataire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| yearNumber | float64 | Non | |
| monthNumber | float64 | Non | |
| dayNumber | float64 | Non | |
| skip | float64 | Non |
Réponse
Renvoie : Option[GetTenantDailyUsages_200_response]
Exemple

Créer un forfait du locataire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| createTenantPackageBody | CreateTenantPackageBody | Non |
Réponse
Renvoie : Option[CreateTenantPackage_200_response]
Exemple

Supprimer un forfait du locataire 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie: Option[FlagCommentPublic_200_response]
Exemple

Obtenir un forfait du locataire 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No |
Réponse
Renvoie: Option[GetTenantPackage_200_response]
Exemple

Obtenir les forfaits du locataire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | float64 | Non |
Réponse
Renvoie: Option[GetTenantPackages_200_response]
Exemple

Remplacer un forfait du locataire 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | No |
Réponse
Retourne: Option[FlagCommentPublic_200_response]
Exemple

Mettre à jour un forfait du locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateTenantPackageBody | UpdateTenantPackageBody | Non |
Réponse
Renvoie : Option[FlagCommentPublic_200_response]
Exemple

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

Supprimer un utilisateur du locataire 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| deleteComments | string | Non | |
| commentDeleteMode | string | Non |
Réponse
Renvoie : Option[FlagCommentPublic_200_response]
Exemple

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

Obtenir les utilisateurs du locataire 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| skip | float64 | Non |
Réponse
Renvoie: Option[GetTenantUsers_200_response]
Exemple

Remplacer un utilisateur du locataire 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| replaceTenantUserBody | ReplaceTenantUserBody | Non | |
| updateComments | string | Non |
Réponse
Renvoie : Option[FlagCommentPublic_200_response]
Exemple

Envoyer un lien de connexion 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| redirectURL | string | Non |
Réponse
Retourne: Option[FlagCommentPublic_200_response]
Exemple

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

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

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

Obtenir un locataire 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non |
Réponse
Renvoie : Option[GetTenant_200_response]
Exemple

Obtenir les locataires 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| meta | string | Non | |
| skip | float64 | Non |
Réponse
Renvoie : Option[GetTenants_200_response]
Exemple

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

Changer l'état du ticket 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| id | string | Non | |
| changeTicketStateBody | ChangeTicketStateBody | Non |
Réponse
Renvoie : Option[ChangeTicketState_200_response]
Exemple

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

Obtenir un ticket 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| userId | string | Non |
Réponse
Renvoie: Option[GetTicket_200_response]
Exemple

Obtenir les tickets 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| state | float64 | Non | |
| skip | float64 | Non | |
| limit | float64 | Non |
Réponse
Renvoie: Option[GetTickets_200_response]
Exemple

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

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

Obtenir la progression du badge utilisateur par ID d'utilisateur 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non |
Réponse
Retourne: Option[GetUserBadgeProgressById_200_response]
Exemple

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

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

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

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

Obtenir les badges utilisateur 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| userId | string | Non | |
| badgeId | string | Non | |
| displayedOnComments | bool | Non | |
| limit | float64 | Non | |
| skip | float64 | Non |
Réponse
Retourne : Option[GetUserBadges_200_response]
Exemple

Mettre à jour un badge utilisateur 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| id | string | Non | |
| updateUserBadgeParams | UpdateUserBadgeParams | Non |
Réponse
Retourne : Option[UpdateUserBadge_200_response]
Exemple

Obtenir le nombre de notifications d'un utilisateur 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie : Option[GetUserNotificationCount_200_response]
Exemple

Obtenir les notifications d'un utilisateur 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | 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 | |
| sso | string | Non |
Réponse
Renvoie : Option[GetUserNotifications_200_response]
Exemple

Réinitialiser le nombre de notifications d'un utilisateur 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| sso | string | Non |
Réponse
Renvoie: Option[ResetUserNotifications_200_response]
Exemple

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

Mettre à jour le statut d'abonnement aux notifications de commentaires de l'utilisateur 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| notificationId | string | Non | |
| optedInOrOut | string | Non | |
| commentId | string | Oui | |
| sso | string | Non |
Réponse
Retourne : Option[UpdateUserNotificationStatus_200_response]
Exemple

Mettre à jour le statut d'abonnement aux pages pour les notifications utilisateur 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenantId | string | Oui | |
| urlId | string | Oui | |
| url | string | Non | |
| pageTitle | string | Non | |
| subscribedOrUnsubscribed | string | Non | |
| sso | string | Non |
Réponse
Retourne: Option[UpdateUserNotificationStatus_200_response]
Exemple

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

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

Rechercher des utilisateurs 
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[SearchUsers_200_response]
Exemple

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

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

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

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

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