
Lingua 🇮🇹 Italiano
Documentazione
Primi passi
Riferimento API
Utilizzo
Aggregazione
Log di audit
Blocco dal commento
Verifica commenti bloccati
Commenti
Configurazioni dominio
Modelli email
Registro eventi
Post feed
Segnala commento
Hashtag
Moderatori
Conteggio notifiche
Notifiche
Pagine
Eventi webhook in sospeso
Configurazioni domande
Risultati domande
Aggregazione risultati domande
Utenti SSO
Sottoscrizioni
Utilizzo giornaliero del tenant
Pacchetti tenant
Utenti tenant
Tenant
Carica immagine
Progresso badge utente
Badge utente
Notifiche utente
Stato presenza utente
Ricerca utenti
Utenti
Voti
FastComments Nim SDK
Questo è l'SDK Nim ufficiale per FastComments.
SDK Nim ufficiale per l'API di FastComments
Repository
Installazione 
Utilizzo di Nimble
nimble install fastcomments
Compilazione dal Sorgente
nimble build
Contenuto della libreria
Questa libreria contiene il client API generato e le utilità SSO per facilitare l'interazione con l'API.
API pubbliche vs protette
Per il client API, ci sono due moduli API, api_default e api_public. api_default contiene metodi che richiedono la tua API key, e api_public contiene chiamate API
che possono essere effettuate direttamente da un browser/dispositivo mobile/etc. senza autenticazione.
Avvio rapido 
Utilizzo delle API Autenticate (DefaultAPI)
Importante: Gli endpoint autenticati richiedono che la tua chiave API sia impostata nell'intestazione 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"
# Effettua chiamate API autenticate
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"
Utilizzo delle API Pubbliche (PublicAPI)
Gli endpoint pubblici non richiedono autenticazione:
import httpclient
import fastcomments
import fastcomments/apis/api_public
let client = newHttpClient()
# Effettua chiamate API pubbliche
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"
Problemi comuni
- Errore di autenticazione 401: Assicurati di impostare l'intestazione
x-api-keysul tuo HttpClient prima di effettuare richieste DefaultAPI:client.headers["x-api-key"] = "your-api-key" - Classe API errata: Usa
api_defaultper richieste autenticate lato server,api_publicper richieste lato client/pubbliche.
Effettuare chiamate API 
Tutti i metodi API in questo SDK restituiscono tuple di (Option[ResponseType], Response). Il primo elemento contiene la risposta analizzata se ha successo, e il secondo elemento è la risposta HTTP grezza.
Esempio: Recupero dei commenti
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"
Note 
ID di broadcast
Vedrai che dovrai passare un broadcastId in alcune chiamate API. Quando riceverai eventi, otterrai questo ID, così saprai di ignorare l'evento se prevedi di applicare le modifiche in modo ottimistico sul client (cosa che probabilmente vorrai fare poiché offre la migliore esperienza). Passa qui un UUID. L'ID dovrebbe essere abbastanza unico da non comparire due volte in una sessione del browser.
SSO (Single Sign-On)
Per esempi di SSO, vedi sotto.
Utilizzo SSO 
SSO Semplice
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 Sicuro
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
Documentazione per FastComments 
Documentazione per fastcomments
Documentazione per gli endpoint API
All URIs are relative to https://fastcomments.com
| Classe | Metodo | Richiesta HTTP | Descrizione |
|---|---|---|---|
| DefaultApi | addDomainConfig | POST /api/v1/domain-configs | |
| DefaultApi | addPage | POST /api/v1/pages | |
| DefaultApi | addSSOUser | POST /api/v1/sso-users | |
| DefaultApi | aggregate | POST /api/v1/aggregate | Aggrega i documenti raggruppandoli (se groupBy è fornito) e applicando più operazioni. Sono supportate diverse operazioni (es. sum, countDistinct, avg, ecc.). |
| DefaultApi | aggregateQuestionResults | GET /api/v1/question-results-aggregation | |
| DefaultApi | blockUserFromComment | POST /api/v1/comments/{id}/block | |
| DefaultApi | bulkAggregateQuestionResults | POST /api/v1/question-results-aggregation/bulk | |
| DefaultApi | combineCommentsWithQuestionResults | GET /api/v1/question-results-aggregation/combine/comments | |
| DefaultApi | createFeedPost | POST /api/v1/feed-posts | |
| DefaultApi | createSubscription | POST /api/v1/subscriptions | |
| DefaultApi | createUserBadge | POST /api/v1/user-badges | |
| DefaultApi | deleteComment | DELETE /api/v1/comments/{id} | |
| DefaultApi | deleteDomainConfig | DELETE /api/v1/domain-configs/{domain} | |
| DefaultApi | deletePage | DELETE /api/v1/pages/{id} | |
| DefaultApi | deleteSSOUser | DELETE /api/v1/sso-users/{id} | |
| DefaultApi | deleteSubscription | DELETE /api/v1/subscriptions/{id} | |
| DefaultApi | deleteUserBadge | DELETE /api/v1/user-badges/{id} | |
| DefaultApi | flagComment | POST /api/v1/comments/{id}/flag | |
| DefaultApi | getAuditLogs | GET /api/v1/audit-logs | |
| 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 | getFeedPosts | GET /api/v1/feed-posts | richiede tenantId, afterId |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPages | GET /api/v1/pages | |
| 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 | 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 | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| 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 | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| 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 | updateFeedPost | PATCH /api/v1/feed-posts/{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} | richiede tenantId, urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | richiede tenantId, urlId, userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | richiede tenantId, afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | richiede 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} | Abilita o disabilita le notifiche per uno specifico commento. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Abilita o disabilita le notifiche per una pagina. Quando gli utenti sono iscritti a una pagina, le notifiche vengono create per i nuovi commenti principali, e anche |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Carica e ridimensiona un'immagine |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Documentazione per i Modelli
- APIAuditLog
- APIComment
- APICommentBase
- APICreateUserBadgeResponse
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIPage
- APISSOUser
- APIStatus
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfig_200_response
- AddDomainConfig_200_response_anyOf
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AggregateQuestionResultsResponse
- AggregateQuestionResults_200_response
- AggregateTimeBucket
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- BlockFromCommentParams
- BlockFromCommentPublic_200_response
- BlockSuccess
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkAggregateQuestionResults_200_response
- ChangeCommentPinStatusResponse
- CheckBlockedCommentsResponse
- CheckedCommentsForBlocked_200_response
- CombineCommentsWithQuestionResults_200_response
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentLogData
- CommentLogEntry
- CommentLogType
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CreateAPIPageData
- CreateAPISSOUserData
- CreateAPIUserSubscriptionData
- CreateCommentParams
- CreateCommentPublic_200_response
- CreateFeedPostParams
- CreateFeedPostPublic_200_response
- CreateFeedPostResponse
- CreateFeedPost_200_response
- CreateFeedPostsResponse
- CreateSubscriptionAPIResponse
- CreateUserBadgeParams
- CreateUserBadge_200_response
- CustomConfigParameters
- DeleteCommentAction
- DeleteCommentPublic_200_response
- DeleteCommentResult
- DeleteCommentVote_200_response
- DeleteComment_200_response
- DeleteDomainConfig_200_response
- DeleteFeedPostPublic_200_response
- DeleteFeedPostPublic_200_response_anyOf
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- DeletedCommentResultComment
- EventLogEntry
- FComment
- FComment_meta
- FeedPost
- FeedPostLink
- FeedPostMediaItem
- FeedPostMediaItemAsset
- FeedPostStats
- FeedPostsStatsResponse
- FindCommentsByRangeItem
- FindCommentsByRangeResponse
- FlagCommentPublic_200_response
- FlagCommentResponse
- FlagComment_200_response
- GetAuditLogsResponse
- GetAuditLogs_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
- GetEventLogResponse
- GetEventLog_200_response
- GetFeedPostsPublic_200_response
- GetFeedPostsResponse
- GetFeedPostsStats_200_response
- GetFeedPosts_200_response
- GetMyNotificationsResponse
- GetPageByURLIdAPIResponse
- GetPagesAPIResponse
- GetPublicFeedPostsResponse
- GetSSOUserByEmailAPIResponse
- GetSSOUserByIdAPIResponse
- GetSSOUsers_200_response
- GetSubscriptionsAPIResponse
- 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
- GifRating
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- LiveEvent
- LiveEventType
- LiveEvent_extraInfo
- LockComment_200_response
- MediaAsset
- MetaItem
- NotificationAndCount
- NotificationObjectType
- NotificationType
- PatchDomainConfigParams
- PatchPageAPIResponse
- PatchSSOUserAPIResponse
- PinComment_200_response
- PubSubComment
- PubSubCommentBase
- PubSubVote
- PublicAPIDeleteCommentResponse
- PublicAPIGetCommentTextResponse
- PublicAPISetCommentTextResponse
- PublicBlockFromCommentParams
- PublicComment
- PublicCommentBase
- PublicFeedPostsResponse
- PutSSOUserAPIResponse
- QueryPredicate
- QueryPredicate_value
- QuestionDatum
- QuestionRenderingType
- QuestionResult
- QuestionResultAggregationOverall
- QuestionSubQuestionVisibility
- QuestionWhenSave
- ReactBodyParams
- ReactFeedPostPublic_200_response
- ReactFeedPostResponse
- Record_string__before_string_or_null__after_string_or_null___value
- Record_string_string_or_number__value
- RenderableUserNotification
- RepeatCommentCheckIgnoredReason
- RepeatCommentHandlingAction
- ResetUserNotificationsResponse
- ResetUserNotifications_200_response
- SORT_DIR
- SSOSecurityLevel
- SaveCommentResponse
- SaveCommentResponseOptimized
- SaveComment_200_response
- SaveCommentsResponseWithPresence
- SearchUsersResponse
- SearchUsers_200_response
- SetCommentTextResult
- SetCommentText_200_response
- SizePreset
- SortDirections
- SpamRule
- UnBlockCommentPublic_200_response
- UnBlockFromCommentParams
- UnblockSuccess
- UpdatableCommentParams
- UpdateAPIPageData
- UpdateAPISSOUserData
- UpdateDomainConfigParams
- UpdateFeedPostParams
- UpdateUserBadgeParams
- UpdateUserBadge_200_response
- UpdateUserNotificationStatus_200_response
- UploadImageResponse
- UserBadge
- UserBadgeProgress
- UserNotification
- UserNotificationWriteResponse
- UserPresenceData
- UserReactsResponse
- UserSearchResult
- UserSessionInfo
- VoteBodyParams
- VoteComment_200_response
- VoteDeleteResponse
- VoteResponse
- VoteResponseUser
- VoteStyle
Documentazione per l'Autorizzazione
api_key
- Tipo: Chiave API
- Nome del parametro della chiave API: x-api-key
- Posizione: Intestazione HTTP
Aggregazione 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| aggregationRequest | AggregationRequest | No | |
| parentTenantId | string | No | |
| includeStats | bool | No |
Risposta
Restituisce: Option[AggregationResponse]
Esempio

Recupera log audit 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| limit | float64 | No | |
| skip | float64 | No | |
| order | SORTDIR | No | |
| after | float64 | No | |
| before | float64 | No |
Risposta
Restituisce: Option[GetAuditLogs_200_response]
Esempio

Blocca da commento pubblico 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | No | |
| sso | string | No |
Risposta
Restituisce: Option[BlockFromCommentPublic_200_response]
Esempio

Sblocca commento pubblico 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | No | |
| sso | string | No |
Risposta
Restituisce: Option[UnBlockCommentPublic_200_response]
Esempio

Verifica commenti bloccati 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentIds | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[CheckedCommentsForBlocked_200_response]
Esempio

Blocca utente da commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| blockFromCommentParams | BlockFromCommentParams | No | |
| userId | string | No | |
| anonUserId | string | No |
Risposta
Restituisce: Option[BlockFromCommentPublic_200_response]
Esempio

Crea commento pubblico 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| urlId | string | Sì | |
| broadcastId | string | No | |
| commentData | CommentData | No | |
| sessionId | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[CreateCommentPublic_200_response]
Esempio

Elimina commento 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| contextUserId | string | No | |
| isLive | bool | No |
Risposta
Restituisce: Option[DeleteComment_200_response]
Esempio

Elimina commento pubblico 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| broadcastId | string | No | |
| editKey | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[DeleteCommentPublic_200_response]
Esempio

Elimina voto al commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| voteId | string | No | |
| urlId | string | Sì | |
| broadcastId | string | No | |
| editKey | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[DeleteCommentVote_200_response]
Esempio

Segnala commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| userId | string | No | |
| anonUserId | string | No |
Risposta
Restituisce: Option[FlagComment_200_response]
Esempio

Recupera commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetComment_200_response]
Esempio

Recupera commenti 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| page | int | No | |
| limit | int | No | |
| skip | int | No | |
| asTree | bool | No | |
| skipChildren | int | No | |
| limitChildren | int | No | |
| maxTreeDepth | int | No | |
| urlId | string | Sì | |
| userId | string | No | |
| anonUserId | string | No | |
| contextUserId | string | No | |
| hashTag | string | No | |
| parentId | string | No | |
| direction | SortDirections | No |
Risposta
Restituisce: Option[GetComments_200_response]
Esempio

Recupera commenti pubblici 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| urlId | string | Sì | |
| page | int | No | |
| direction | SortDirections | No | |
| sso | string | No | |
| skip | int | No | |
| skipChildren | int | No | |
| limit | int | No | |
| limitChildren | int | No | |
| countChildren | bool | No | |
| fetchPageForCommentId | string | No | |
| includeConfig | bool | No | |
| countAll | bool | No | |
| includei10n | bool | No | |
| locale | string | No | |
| modules | string | No | |
| isCrawler | bool | No | |
| includeNotificationCount | bool | No | |
| asTree | bool | No | |
| maxTreeDepth | int | No | |
| useFullTranslationIds | bool | No | |
| parentId | string | No | |
| searchText | string | No | |
| hashTags | seq[string] | No | |
| userId | string | No | |
| customConfigStr | string | No | |
| afterCommentId | string | No | |
| beforeCommentId | string | No |
Risposta
Restituisce: Option[GetCommentsPublic_200_response]
Esempio

Recupera testo del commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| editKey | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[GetCommentText_200_response]
Esempio

Recupera nomi utenti che hanno votato il commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| dir | int | No | |
| sso | string | No |
Risposta
Restituisce: Option[GetCommentVoteUserNames_200_response]
Esempio

Blocca commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| broadcastId | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[LockComment_200_response]
Esempio

Fissa commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| broadcastId | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[PinComment_200_response]
Esempio

Salva commento 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createCommentParams | CreateCommentParams | No | |
| isLive | bool | No | |
| doSpamCheck | bool | No | |
| sendEmails | bool | No | |
| populateNotifications | bool | No |
Risposta
Restituisce: Option[SaveComment_200_response]
Esempio

Salva commenti in blocco 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createCommentParams | seq[CreateCommentParams] | No | |
| isLive | bool | No | |
| doSpamCheck | bool | No | |
| sendEmails | bool | No | |
| populateNotifications | bool): (Option[seq[SaveComment_200_response]] | No | |
| id | string | No | |
| unBlockFromCommentParams | UnBlockFromCommentParams | No | |
| userId | string | No | |
| anonUserId | string | No |
Risposta
Restituisce: Option[UnBlockCommentPublic_200_response]
Esempio

Imposta testo del commento 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| broadcastId | string | No | |
| commentTextUpdateRequest | CommentTextUpdateRequest | No | |
| editKey | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[SetCommentText_200_response]
Esempio

Sblocca utente dal commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| unBlockFromCommentParams | UnBlockFromCommentParams | No | |
| userId | string | No | |
| anonUserId | string | No |
Risposta
Restituisce: Option[UnBlockCommentPublic_200_response]
Esempio

Rimuovi segnalazione del commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| userId | string | No | |
| anonUserId | string | No |
Risposta
Restituisce: Option[FlagComment_200_response]
Esempio

Sblocca commento 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| broadcastId | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[LockComment_200_response]
Esempio

Rimuovi fissaggio commento 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| broadcastId | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[PinComment_200_response]
Esempio

Aggiorna commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| updatableCommentParams | UpdatableCommentParams | No | |
| contextUserId | string | No | |
| doSpamCheck | bool | No | |
| isLive | bool | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Vota commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| urlId | string | Sì | |
| broadcastId | string | No | |
| voteBodyParams | VoteBodyParams | No | |
| sessionId | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[VoteComment_200_response]
Esempio

Aggiungi configurazione dominio 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| addDomainConfigParams | AddDomainConfigParams | No |
Risposta
Restituisce: Option[AddDomainConfig_200_response]
Esempio

Elimina configurazione dominio 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| domain | string | No |
Risposta
Restituisce: Option[DeleteDomainConfig_200_response]
Esempio

Recupera configurazione dominio 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| domain | string | No |
Risposta
Restituisce: Option[GetDomainConfig_200_response]
Esempio

Recupera configurazioni dominio 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì |
Risposta
Restituisce: Option[GetDomainConfigs_200_response]
Esempio

Applica patch a configurazione dominio 
Parametri
| Name | Type | Obbligatorio | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| domainToUpdate | string | No | |
| patchDomainConfigParams | PatchDomainConfigParams | No |
Risposta
Restituisce: Option[GetDomainConfig_200_response]
Esempio

Sostituisci configurazione dominio 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| domainToUpdate | string | No | |
| updateDomainConfigParams | UpdateDomainConfigParams | No |
Risposta
Restituisce: Option[GetDomainConfig_200_response]
Esempio

Crea modello email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createEmailTemplateBody | CreateEmailTemplateBody | No |
Risposta
Restituisce: Option[CreateEmailTemplate_200_response]
Esempio

Elimina modello email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Elimina errore di rendering del modello email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| errorId | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Recupera modello email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetEmailTemplate_200_response]
Esempio

Recupera definizioni modelli email 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì |
Risposta
Restituisce: Option[GetEmailTemplateDefinitions_200_response]
Esempio

Recupera errori di rendering dei modelli email 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetEmailTemplateRenderErrors_200_response]
Esempio

Recupera modelli email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetEmailTemplates_200_response]
Esempio

Renderizza modello email 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| renderEmailTemplateBody | RenderEmailTemplateBody | No | |
| locale | string | No |
Risposta
Restituisce: Option[RenderEmailTemplate_200_response]
Esempio

Aggiorna modello email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Recupera registro eventi 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| urlId | string | Sì | |
| userIdWS | string | No | |
| startTime | int64 | No | |
| endTime | int64 | No |
Risposta
Restituisce: Option[GetEventLog_200_response]
Esempio

Recupera registro eventi globale 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| urlId | string | Sì | |
| userIdWS | string | No | |
| startTime | int64 | No | |
| endTime | int64 | No |
Risposta
Restituisce: Option[GetEventLog_200_response]
Esempio

Crea post feed 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createFeedPostParams | CreateFeedPostParams | No | |
| broadcastId | string | No | |
| isLive | bool | No | |
| doSpamCheck | bool | No | |
| skipDupCheck | bool | No |
Risposta
Restituisce: Option[CreateFeedPost_200_response]
Esempio

Crea post feed pubblico 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createFeedPostParams | CreateFeedPostParams | No | |
| broadcastId | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[CreateFeedPostPublic_200_response]
Esempio

Elimina post feed pubblico 
Parametri
| Name | Type | Obbligatorio | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| postId | string | No | |
| broadcastId | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[DeleteFeedPostPublic_200_response]
Esempio

Recupera post feed 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| afterId | string | No | |
| limit | int | No | |
| tags | seq[string] | No |
Risposta
Restituisce: Option[GetFeedPosts_200_response]
Esempio

Recupera post feed pubblici 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| afterId | string | No | |
| limit | int | No | |
| tags | seq[string] | No | |
| sso | string | No | |
| isCrawler | bool | No | |
| includeUserInfo | bool | No |
Risposta
Restituisce: Option[GetFeedPostsPublic_200_response]
Esempio

Recupera statistiche post feed 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| postIds | seq[string] | No | |
| sso | string | No |
Risposta
Restituisce: Option[GetFeedPostsStats_200_response]
Esempio

Recupera reazioni degli utenti pubbliche 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| postIds | seq[string] | No | |
| sso | string | No |
Risposta
Restituisce: Option[GetUserReactsPublic_200_response]
Esempio

Reagisci a post feed pubblico 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| postId | string | No | |
| reactBodyParams | ReactBodyParams | No | |
| isUndo | bool | No | |
| broadcastId | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[ReactFeedPostPublic_200_response]
Esempio

Aggiorna post feed 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| feedPost | FeedPost | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Aggiorna post feed pubblico 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| postId | string | No | |
| updateFeedPostParams | UpdateFeedPostParams | No | |
| broadcastId | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[CreateFeedPostPublic_200_response]
Esempio

Segnala commento pubblico 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| isFlagged | bool | No | |
| sso | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Aggiungi hashtag 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| createHashTagBody | CreateHashTagBody | No |
Risposta
Restituisce: Option[AddHashTag_200_response]
Esempio

Aggiungi hashtag in blocco 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | No |
Risposta
Restituisce: Option[AddHashTagsBulk_200_response]
Esempio

Elimina hashtag 
Parametri
| Name | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tag | string | No | |
| tenantId | string | Sì | |
| deleteHashTagRequest | DeleteHashTagRequest | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Recupera hashtag 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| page | float64 | No |
Risposta
Restituisce: Option[GetHashTags_200_response]
Esempio

Applica patch a hashtag 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tag | string | No | |
| tenantId | string | Sì | |
| updateHashTagBody | UpdateHashTagBody | No |
Risposta
Restituisce: Option[PatchHashTag_200_response]
Esempio

Crea moderatore 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| createModeratorBody | CreateModeratorBody | No |
Risposta
Restituisce: Option[CreateModerator_200_response]
Esempio

Elimina moderatore 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| sendEmail | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Recupera moderatore 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetModerator_200_response]
Esempio

Recupera moderatori 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetModerators_200_response]
Esempio

Aggiorna moderatore 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| updateModeratorBody | UpdateModeratorBody | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Elimina conteggio notifiche 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Recupera conteggio notifiche in cache 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetCachedNotificationCount_200_response]
Esempio

Recupera conteggio notifiche 
Parametri
| Nome | Type | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| userId | string | No | |
| urlId | string | Sì | |
| fromCommentId | string | No | |
| viewed | bool | No |
Risposta
Restituisce: Option[GetNotificationCount_200_response]
Esempio

Recupera notifiche 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| userId | string | No | |
| urlId | string | Sì | |
| fromCommentId | string | No | |
| viewed | bool | No | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetNotifications_200_response]
Esempio

Aggiorna notifica 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| updateNotificationBody | UpdateNotificationBody | No | |
| userId | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Aggiungi pagina 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createAPIPageData | CreateAPIPageData | No |
Risposta
Restituisce: Option[AddPageAPIResponse]
Esempio

Elimina pagina 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[DeletePageAPIResponse]
Esempio

Recupera pagina per URL/ID 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| urlId | string | Sì |
Risposta
Restituisce: Option[GetPageByURLIdAPIResponse]
Esempio

Recupera pagine 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì |
Risposta
Restituisce: Option[GetPagesAPIResponse]
Esempio

Applica patch a pagina 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| updateAPIPageData | UpdateAPIPageData | No |
Risposta
Restituisce: Option[PatchPageAPIResponse]
Esempio

Elimina evento webhook in sospeso 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Recupera conteggio eventi webhook in sospeso 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| externalId | string | No | |
| eventType | string | No | |
| domain | string | No | |
| attemptCountGT | float64 | No |
Risposta
Restituisce: Option[GetPendingWebhookEventCount_200_response]
Esempio

Recupera eventi webhook in sospeso 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| externalId | string | No | |
| eventType | string | No | |
| domain | string | No | |
| attemptCountGT | float64 | No | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetPendingWebhookEvents_200_response]
Esempio

Crea configurazione domanda 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createQuestionConfigBody | CreateQuestionConfigBody | No |
Risposta
Restituisce: Option[CreateQuestionConfig_200_response]
Esempio

Elimina configurazione domanda 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Recupera configurazione domanda 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetQuestionConfig_200_response]
Esempio

Recupera configurazioni domande 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetQuestionConfigs_200_response]
Esempio

Aggiorna configurazione domanda 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Crea risultato domanda 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createQuestionResultBody | CreateQuestionResultBody | No |
Risposta
Restituisce: Option[CreateQuestionResult_200_response]
Esempio

Elimina risultato domanda 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Recupera risultato domanda 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetQuestionResult_200_response]
Esempio

Recupera risultati domande 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| urlId | string | Sì | |
| userId | string | No | |
| startDate | string | No | |
| questionId | string | No | |
| questionIds | string | No | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetQuestionResults_200_response]
Esempio

Aggiorna risultato domanda 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| updateQuestionResultBody | UpdateQuestionResultBody | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Aggregazione risultati domande 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| questionId | string | No | |
| questionIds | seq[string] | No | |
| urlId | string | Sì | |
| timeBucket | AggregateTimeBucket | No | |
| startDate | string | No | |
| forceRecalculate | bool | No |
Risposta
Restituisce: Option[AggregateQuestionResults_200_response]
Esempio

Aggregazione risultati domande in blocco 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | No | |
| forceRecalculate | bool | No |
Risposta
Restituisce: Option[BulkAggregateQuestionResults_200_response]
Esempio

Combina commenti con risultati delle domande 
Parametri
| Name | Type | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| questionId | string | No | |
| questionIds | seq[string] | No | |
| urlId | string | Sì | |
| startDate | string | No | |
| forceRecalculate | bool | No | |
| minValue | float64 | No | |
| maxValue | float64 | No | |
| limit | float64 | No |
Risposta
Restituisce: Option[CombineCommentsWithQuestionResults_200_response]
Esempio

Aggiungi utente SSO 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| createAPISSOUserData | CreateAPISSOUserData | No |
Risposta
Restituisce: Option[AddSSOUserAPIResponse]
Esempio

Elimina utente SSO 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| deleteComments | bool | No | |
| commentDeleteMode | string | No |
Risposta
Restituisce: Option[DeleteSSOUserAPIResponse]
Esempio

Recupera utente SSO per email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| string | No |
Risposta
Restituisce: Option[GetSSOUserByEmailAPIResponse]
Esempio

Recupera utente SSO per ID 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetSSOUserByIdAPIResponse]
Esempio

Recupera utenti SSO 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| skip | int | No |
Risposta
Restituisce: Option[GetSSOUsers_200_response]
Esempio

Applica patch a utente SSO 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| updateAPISSOUserData | UpdateAPISSOUserData | No | |
| updateComments | bool | No |
Risposta
Restituisce: Option[PatchSSOUserAPIResponse]
Esempio

Sostituisci utente SSO 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| updateAPISSOUserData | UpdateAPISSOUserData | No | |
| updateComments | bool | No |
Risposta
Restituisce: Option[PutSSOUserAPIResponse]
Esempio

Crea sottoscrizione 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | No |
Risposta
Restituisce: Option[CreateSubscriptionAPIResponse]
Esempio

Elimina sottoscrizione 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| userId | string | No |
Risposta
Restituisce: Option[DeleteSubscriptionAPIResponse]
Esempio

Recupera sottoscrizioni 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| userId | string | No |
Risposta
Restituisce: Option[GetSubscriptionsAPIResponse]
Esempio

Recupera utilizzi giornalieri del tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| yearNumber | float64 | No | |
| monthNumber | float64 | No | |
| dayNumber | float64 | No | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetTenantDailyUsages_200_response]
Esempio

Crea pacchetto tenant 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createTenantPackageBody | CreateTenantPackageBody | No |
Risposta
Restituisce: Option[CreateTenantPackage_200_response]
Esempio

Elimina pacchetto tenant 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Recupera pacchetto tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetTenantPackage_200_response]
Esempio

Recupera pacchetti tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetTenantPackages_200_response]
Esempio

Sostituisci pacchetto tenant 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Aggiorna pacchetto tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| updateTenantPackageBody | UpdateTenantPackageBody | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Crea utente tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createTenantUserBody | CreateTenantUserBody | No |
Risposta
Restituisce: Option[CreateTenantUser_200_response]
Esempio

Elimina utente tenant 
Parametri
| Name | Type | Obbligatorio | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| deleteComments | string | No | |
| commentDeleteMode | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Recupera utente tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetTenantUser_200_response]
Esempio

Recupera utenti tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetTenantUsers_200_response]
Esempio

Sostituisci utente tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| replaceTenantUserBody | ReplaceTenantUserBody | No | |
| updateComments | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Invia link di accesso 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| redirectURL | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Aggiorna utente tenant 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| updateTenantUserBody | UpdateTenantUserBody | No | |
| updateComments | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Crea tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createTenantBody | CreateTenantBody | No |
Risposta
Restituisce: Option[CreateTenant_200_response]
Esempio

Elimina tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| sure | string | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Recupera tenant 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetTenant_200_response]
Esempio

Recupera tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| meta | string | No | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetTenants_200_response]
Esempio

Aggiorna tenant 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| updateTenantBody | UpdateTenantBody | No |
Risposta
Restituisce: Option[FlagCommentPublic_200_response]
Esempio

Carica immagine 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| file | string | No | |
| sizePreset | SizePreset | No | |
| urlId | string | Sì |
Risposta
Restituisce: Option[UploadImageResponse]
Esempio

Recupera progresso badge utente per ID 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetUserBadgeProgressById_200_response]
Esempio

Recupera progresso badge utente per user ID 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| userId | string | No |
Risposta
Restituisce: Option[GetUserBadgeProgressById_200_response]
Esempio

Recupera lista progressi badge utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| userId | string | No | |
| limit | float64 | No | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetUserBadgeProgressList_200_response]
Esempio

Crea badge utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| createUserBadgeParams | CreateUserBadgeParams | No |
Risposta
Restituisce: Option[CreateUserBadge_200_response]
Esempio

Elimina badge utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[UpdateUserBadge_200_response]
Esempio

Recupera badge utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetUserBadge_200_response]
Esempio

Recupera badge utente 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| userId | string | No | |
| badgeId | string | No | |
| displayedOnComments | bool | No | |
| limit | float64 | No | |
| skip | float64 | No |
Risposta
Restituisce: Option[GetUserBadges_200_response]
Esempio

Aggiorna badge utente 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| updateUserBadgeParams | UpdateUserBadgeParams | No |
Risposta
Restituisce: Option[UpdateUserBadge_200_response]
Esempio

Recupera conteggio notifiche utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| sso | string | No |
Risposta
Restituisce: Option[GetUserNotificationCount_200_response]
Esempio

Recupera notifiche utente 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| pageSize | int | No | |
| afterId | string | No | |
| includeContext | bool | No | |
| afterCreatedAt | int64 | No | |
| unreadOnly | bool | No | |
| dmOnly | bool | No | |
| noDm | bool | No | |
| includeTranslations | bool | No | |
| sso | string | No |
Risposta
Restituisce: Option[GetUserNotifications_200_response]
Esempio

Reimposta conteggio notifiche utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| sso | string | No |
Risposta
Restituisce: Option[ResetUserNotifications_200_response]
Esempio

Reimposta notifiche utente 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| afterId | string | No | |
| afterCreatedAt | int64 | No | |
| unreadOnly | bool | No | |
| dmOnly | bool | No | |
| noDm | bool | No | |
| sso | string | No |
Risposta
Restituisce: Option[ResetUserNotifications_200_response]
Esempio

Aggiorna stato sottoscrizione notifiche commento utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| notificationId | string | No | |
| optedInOrOut | string | No | |
| commentId | string | Sì | |
| sso | string | No |
Risposta
Restituisce: Option[UpdateUserNotificationStatus_200_response]
Esempio

Aggiorna stato sottoscrizione notifiche pagina utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| urlId | string | Sì | |
| url | string | No | |
| pageTitle | string | No | |
| subscribedOrUnsubscribed | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[UpdateUserNotificationStatus_200_response]
Esempio

Aggiorna stato notifica utente 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| notificationId | string | No | |
| newStatus | string | No | |
| sso | string | No |
Risposta
Restituisce: Option[UpdateUserNotificationStatus_200_response]
Esempio

Recupera stati di presenza utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| urlIdWS | string | No | |
| userIds | string | No |
Risposta
Restituisce: Option[GetUserPresenceStatuses_200_response]
Esempio

Cerca utenti 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| urlId | string | Sì | |
| usernameStartsWith | string | No | |
| mentionGroupIds | seq[string] | No | |
| sso | string | No |
Risposta
Restituisce: Option[SearchUsers_200_response]
Esempio

Recupera utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No |
Risposta
Restituisce: Option[GetUser_200_response]
Esempio

Crea voto 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| commentId | string | Sì | |
| direction | string | No | |
| userId | string | No | |
| anonUserId | string | No |
Risposta
Restituisce: Option[VoteComment_200_response]
Esempio

Elimina voto 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| id | string | No | |
| editKey | string | No |
Risposta
Restituisce: Option[DeleteCommentVote_200_response]
Esempio

Recupera voti 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Sì | |
| urlId | string | Sì |
Risposta
Restituisce: Option[GetVotes_200_response]
Esempio

Recupera voti per utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenantId | string | Sì | |
| urlId | string | Sì | |
| userId | string | No | |
| anonUserId | string | No |
Risposta
Restituisce: Option[GetVotesForUser_200_response]
Esempio

Hai bisogno di aiuto?
Se riscontri problemi o hai domande sul Nim SDK, per favore:
Contribuire
I contributi sono benvenuti! Visita il repository GitHub per le linee guida sui contributi.