
Lingua 🇮🇹 Italiano
Per iniziare
Documentazione
Utilizzo
Aggregazione
Log di audit
Blocca dal commento
Controlla commenti bloccati
Commenti
Configurazioni dominio
Modelli email
Registro eventi
Post del 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 tenant
Pacchetti tenant
Utenti tenant
Tenant
Carica immagine
Progresso badge utente
Badge utente
Notifiche utente
Stato presenza utente
Ricerca utenti
Utenti
Voti
FastComments Ruby SDK
Questo è l'SDK ufficiale Ruby per FastComments.
SDK Ruby ufficiale per l'API di FastComments
Repository
Installazione 
Aggiungi questa riga al Gemfile della tua applicazione:
gem 'fastcomments'
E poi esegui:
bundle install
Oppure installalo manualmente con:
gem install fastcomments
Contenuti della libreria
Questa libreria contiene il client API generato e le utilità SSO per semplificare il lavoro con l'API.
API pubbliche vs API protette
Per il client API, ci sono due classi, DefaultApi e PublicApi. La DefaultApi contiene metodi che richiedono la tua chiave API, e la PublicApi contiene chiamate API che possono essere effettuate direttamente da un browser/dispositivo mobile/etc. senza autenticazione.
Avvio rapido 
Utilizzo delle API Autenticate (DefaultApi)
Importante: Devi impostare la tua chiave API su ApiClient prima di effettuare richieste autenticate. Se non lo fai, le richieste falliranno con un errore 401.
require 'fastcomments-client'
# Crea e configura il client API
config = FastCommentsClient::Configuration.new
api_client = FastCommentsClient::ApiClient.new(config)
# OBBLIGATORIO: Imposta la tua chiave API (prendila dalla tua dashboard FastComments)
config.api_key['x-api-key'] = 'YOUR_API_KEY_HERE'
# Crea l'istanza API con il client configurato
api = FastCommentsClient::DefaultApi.new(api_client)
# Ora puoi effettuare chiamate API autenticate
begin
# Esempio: Aggiungi un utente SSO
user_data = {
id: 'user-123',
email: 'user@example.com',
displayName: 'John Doe'
}
response = api.add_sso_user('YOUR_TENANT_ID', user_data)
puts "User created: #{response}"
rescue FastCommentsClient::ApiError => e
puts "Error: #{e.response_body}"
# Errori comuni:
# - 401: la chiave API è mancante o non valida
# - 400: la validazione della richiesta è fallita
end
Utilizzo delle API Pubbliche (PublicApi)
Gli endpoint pubblici non richiedono l'autenticazione:
require 'fastcomments-client'
public_api = FastCommentsClient::PublicApi.new
begin
response = public_api.get_comments_public(
tenant_id: 'YOUR_TENANT_ID',
url_id: 'page-url-id'
)
puts response
rescue FastCommentsClient::ApiError => e
puts e.message
end
Problemi comuni
- Errore 401 "missing-api-key": Assicurati di impostare
config.api_key['x-api-key'] = 'YOUR_KEY'prima di creare l'istanza DefaultApi. - Classe API errata: Usa
DefaultApiper le richieste lato server autenticate,PublicApiper le richieste lato client/pubbliche. - Chiave API nulla: Lo SDK salterà silenziosamente l'autenticazione se la chiave API è null, causando errori 401.
Note 
ID di Broadcast
Vedrai che dovrai passare un broadcastId in alcune chiamate API. Quando ricevi eventi, otterrai questo ID indietro, così saprai di ignorare l'evento se prevedi di applicare in modo ottimistico le modifiche lato client (cosa che probabilmente vorrai fare poiché offre la migliore esperienza). Inserisci qui un UUID. L'ID dovrebbe essere sufficientemente unico da non presentarsi due volte in una sessione del browser.
SSO (Single Sign-On)
Per esempi di SSO, vedi sotto.
Utilizzo SSO 
SSO semplice
require 'fastcomments'
require 'fastcomments-client'
# Crea token SSO semplice
user = FastComments::SSO::SimpleSSOUserData.new(
user_id: 'user-123',
email: 'user@example.com',
avatar: 'https://example.com/avatar.jpg'
)
sso = FastComments::SSO::FastCommentsSSO.new_simple(user)
token = sso.create_token
puts "SSO Token: #{token}"
# Usa il token SSO per effettuare una chiamata API autenticata
config = FastCommentsClient::Configuration.new
api_client = FastCommentsClient::ApiClient.new(config)
public_api = FastCommentsClient::PublicApi.new(api_client)
response = public_api.get_comments_public(
tenant_id: 'your-tenant-id',
url_id: 'your-page-url-id',
sso: token
)
puts "Status: #{response}"
SSO sicuro
require 'fastcomments'
require 'fastcomments-client'
# Crea token SSO sicuro
user = FastComments::SSO::SecureSSOUserData.new(
user_id: 'user-123',
email: 'user@example.com',
username: 'johndoe',
avatar: 'https://example.com/avatar.jpg'
)
api_key = 'your-api-key'
sso = FastComments::SSO::FastCommentsSSO.new_secure(api_key, user)
token = sso.create_token
puts "Secure SSO Token: #{token}"
# Usa il token SSO per effettuare una chiamata API autenticata
config = FastCommentsClient::Configuration.new
api_client = FastCommentsClient::ApiClient.new(config)
public_api = FastCommentsClient::PublicApi.new(api_client)
response = public_api.get_comments_public(
tenant_id: 'your-tenant-id',
url_id: 'your-page-url-id',
sso: token
)
puts "Status: #{response}"
Aggregare 
Aggrega i documenti raggruppandoli (se viene fornito groupBy) e applicando più operazioni. Sono supportate diverse operazioni (ad es. sum, countDistinct, avg, ecc.).
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| parentTenantId | string | query | No | |
| includeStats | boolean | query | No |
Risposta
Restituisce: AggregationResponse
Esempio

Ottieni log di audit 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| limit | number | query | No | |
| skip | number | query | No | |
| order | string | query | No | |
| after | number | query | No | |
| before | number | query | No |
Risposta
Restituisce: GetAuditLogs200Response
Esempio

Blocca da commento pubblico 
Parametri
| Nome | Tipo | Location | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| commentId | string | path | Sì | |
| sso | string | query | No |
Risposta
Restituisce: BlockFromCommentPublic200Response
Esempio

Sblocca commento pubblico 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| commentId | string | path | Sì | |
| sso | string | query | No |
Risposta
Restituisce: UnBlockCommentPublic200Response
Esempio

Verifica commenti bloccati 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| commentIds | string | query | Sì | Una lista separata da virgole di id dei commenti. |
| sso | string | query | No |
Risposta
Restituisce: CheckedCommentsForBlocked200Response
Esempio

Blocca utente dal commento 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| userId | string | query | No | |
| anonUserId | string | query | No |
Risposta
Restituisce: BlockFromCommentPublic200Response
Esempio

Crea commento pubblico 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | percorso | Sì | |
| urlId | string | query | Sì | |
| broadcastId | string | query | Sì | |
| sessionId | string | query | No | |
| sso | string | query | No |
Risposta
Restituisce: CreateCommentPublic200Response
Esempio

Elimina commento 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| contextUserId | string | query | No | |
| isLive | boolean | query | No |
Risposta
Restituisce: DeleteComment200Response
Esempio

Elimina commento pubblico 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| commentId | string | path | Sì | |
| broadcastId | string | query | Sì | |
| editKey | string | query | No | |
| sso | string | query | No |
Risposta
Restituisce: DeleteCommentPublic200Response
Esempio

Elimina voto commento 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| commentId | string | path | Sì | |
| voteId | string | path | Sì | |
| urlId | string | query | Sì | |
| broadcastId | string | query | Sì | |
| editKey | string | query | No | |
| sso | string | query | No |
Risposta
Restituisce: DeleteCommentVote200Response
Esempio

Segnala commento 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| userId | string | query | No | |
| anonUserId | string | query | No |
Risposta
Restituisce: FlagComment200Response
Esempio

Ottieni commento 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetComment200Response
Esempio

Ottieni testo commento 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| commentId | string | path | Sì | |
| editKey | string | query | No | |
| sso | string | query | No |
Risposta
Restituisce: GetCommentText200Response
Esempio

Ottieni nomi utenti votanti del commento 
Parametri
| Nome | Tipo | Posizione | Richiesto | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| commentId | string | path | Sì | |
| dir | integer | query | Sì | |
| sso | string | query | No |
Risposta
Restituisce: GetCommentVoteUserNames200Response
Esempio

Ottieni commenti 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| page | integer | query | No | |
| limit | integer | query | No | |
| skip | integer | query | No | |
| asTree | boolean | query | No | |
| skipChildren | integer | query | No | |
| limitChildren | integer | query | No | |
| maxTreeDepth | integer | query | No | |
| urlId | string | query | No | |
| userId | string | query | No | |
| anonUserId | string | query | No | |
| contextUserId | string | query | No | |
| hashTag | string | query | No | |
| parentId | string | query | No | |
| direction | string | query | No |
Risposta
Restituisce: GetComments200Response
Esempio

Ottieni commenti pubblici 
req tenantId urlId
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| urlId | string | query | Sì | |
| page | integer | query | No | |
| direction | string | query | No | |
| sso | string | query | No | |
| skip | integer | query | No | |
| skipChildren | integer | query | No | |
| limit | integer | query | No | |
| limitChildren | integer | query | No | |
| countChildren | boolean | query | No | |
| fetchPageForCommentId | string | query | No | |
| includeConfig | boolean | query | No | |
| countAll | boolean | query | No | |
| includei10n | boolean | query | No | |
| locale | string | query | No | |
| modules | string | query | No | |
| isCrawler | boolean | query | No | |
| includeNotificationCount | boolean | query | No | |
| asTree | boolean | query | No | |
| maxTreeDepth | integer | query | No | |
| useFullTranslationIds | boolean | query | No | |
| parentId | string | query | No | |
| searchText | string | query | No | |
| hashTags | array | query | No | |
| userId | string | query | No | |
| customConfigStr | string | query | No | |
| afterCommentId | string | query | No | |
| beforeCommentId | string | query | No |
Risposta
Restituisce: GetCommentsPublic200Response
Esempio

Blocca commento 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| commentId | string | path | Sì | |
| broadcastId | string | query | Sì | |
| sso | string | query | No |
Risposta
Restituisce: LockComment200Response
Esempio

Fissa commento 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| commentId | string | path | Sì | |
| broadcastId | string | query | Sì | |
| sso | string | query | No |
Risposta
Restituisce: PinComment200Response
Esempio

Salva commento 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| isLive | boolean | query | No | |
| doSpamCheck | boolean | query | No | |
| sendEmails | boolean | query | No | |
| populateNotifications | boolean | query | No |
Risposta
Restituisce: SaveComment200Response
Esempio

Salva commenti in blocco 
Parametri
| Nome | Tipo | Location | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| isLive | boolean | query | No | |
| doSpamCheck | boolean | query | No | |
| sendEmails | boolean | query | No | |
| populateNotifications | boolean | query | No |
Risposta
Restituisce: Array<SaveComment200Response>
Esempio

Imposta testo commento 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| commentId | string | path | Sì | |
| broadcastId | string | query | Sì | |
| editKey | string | query | No | |
| sso | string | query | No |
Risposta
Restituisce: SetCommentText200Response
Esempio

Sblocca utente dal commento 
Parametri
| Name | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| userId | string | query | No | |
| anonUserId | string | query | No |
Risposta
Restituisce: UnBlockCommentPublic200Response
Esempio

Rimuovi segnalazione commento 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| userId | string | query | No | |
| anonUserId | string | query | No |
Risposta
Restituisce: FlagComment200Response
Esempio

Sblocca commento 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| commentId | string | path | Sì | |
| broadcastId | string | query | Sì | |
| sso | string | query | No |
Risposta
Restituisce: LockComment200Response
Esempio

Rimuovi pin commento 
Parametri
| Nome | Tipo | Location | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| commentId | string | path | Sì | |
| broadcastId | string | query | Sì | |
| sso | string | query | No |
Risposta
Restituisce: PinComment200Response
Esempio

Aggiorna commento 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| contextUserId | string | query | No | |
| doSpamCheck | boolean | query | No | |
| isLive | boolean | query | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Vota commento 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| commentId | string | path | Sì | |
| urlId | string | query | Sì | |
| broadcastId | string | query | Sì | |
| sessionId | string | query | No | |
| sso | string | query | No |
Risposta
Restituisce: VoteComment200Response
Esempio

Aggiungi configurazione dominio 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: AddDomainConfig200Response
Esempio

Elimina configurazione dominio 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| domain | string | path | Sì |
Risposta
Restituisce: DeleteDomainConfig200Response
Esempio

Ottieni configurazione dominio 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| domain | string | path | Sì |
Risposta
Restituisce: GetDomainConfig200Response
Esempio

Ottieni configurazioni dominio 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes |
Risposta
Restituisce: GetDomainConfigs200Response
Esempio

Modifica parziale configurazione dominio 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| domainToUpdate | string | path | Sì |
Risposta
Restituisce: GetDomainConfig200Response
Esempio

Sostituisci configurazione dominio 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| domainToUpdate | string | path | Yes |
Risposta
Restituisce: GetDomainConfig200Response
Esempio

Crea modello email 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: CreateEmailTemplate200Response
Esempio

Elimina modello email 
Parametri
| Nome | Tipo | Location | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Elimina errore di rendering modello email 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| errorId | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni modello email 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetEmailTemplate200Response
Esempio

Ottieni definizioni modelli email 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: GetEmailTemplateDefinitions200Response
Esempio

Ottieni errori di rendering modelli email 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| skip | number | query | No |
Risposta
Restituisce: GetEmailTemplateRenderErrors200Response
Esempio

Ottieni modelli email 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| skip | number | query | No |
Risposta
Restituisce: GetEmailTemplates200Response
Esempio

Genera modello email 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| locale | string | query | No |
Risposta
Restituisce: RenderEmailTemplate200Response
Esempio

Aggiorna modello email 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Response
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni registro eventi 
req tenantId urlId userIdWS
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| urlId | string | query | Sì | |
| userIdWS | string | query | Sì | |
| startTime | integer | query | Sì | |
| endTime | integer | query | Sì |
Risposta
Restituisce: GetEventLog200Response
Esempio

Ottieni registro eventi globale 
req tenantId urlId userIdWS
Parametri
| Name | Tipo | Location | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| urlId | string | query | Sì | |
| userIdWS | string | query | Sì | |
| startTime | integer | query | Sì | |
| endTime | integer | query | Sì |
Risposta
Restituisce: GetEventLog200Response
Esempio

Crea post del feed 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| broadcastId | string | query | No | |
| isLive | boolean | query | No | |
| doSpamCheck | boolean | query | No | |
| skipDupCheck | boolean | query | No |
Risposta
Restituisce: CreateFeedPost200Response
Esempio

Crea post del feed pubblico 
Parametri
| Nome | Tipo | Location | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Risposta
Restituisce: CreateFeedPostPublic200Response
Esempio

Elimina post del feed pubblico 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| postId | string | path | Sì | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Risposta
Restituisce: DeleteFeedPostPublic200Response
Esempio

Ottieni post del feed 
req tenantId afterId
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| afterId | string | query | No | |
| limit | integer | query | No | |
| tags | array | query | No |
Risposta
Restituisce: GetFeedPosts200Response
Esempio

Ottieni post del feed pubblici 
req tenantId afterId
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| afterId | string | query | No | |
| limit | integer | query | No | |
| tags | array | query | No | |
| sso | string | query | No | |
| isCrawler | boolean | query | No | |
| includeUserInfo | boolean | query | No |
Risposta
Restituisce: GetFeedPostsPublic200Response
Esempio

Ottieni statistiche post del feed 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| postIds | array | query | Sì | |
| sso | string | query | No |
Risposta
Restituisce: GetFeedPostsStats200Response
Esempio

Ottieni reazioni utente pubbliche 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| postIds | array | query | No | |
| sso | string | query | No |
Risposta
Restituisce: GetUserReactsPublic200Response
Esempio

Reagisci al post del feed pubblico 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| postId | string | path | Sì | |
| isUndo | boolean | query | No | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Risposta
Restituisce: ReactFeedPostPublic200Response
Esempio

Aggiorna post del feed 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Aggiorna post del feed pubblico 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| postId | string | path | Sì | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Risposta
Restituisce: CreateFeedPostPublic200Response
Esempio

Segnala commento pubblico 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| commentId | string | path | Sì | |
| isFlagged | boolean | query | Sì | |
| sso | string | query | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Aggiungi hashtag 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | No |
Risposta
Restituisce: AddHashTag200Response
Esempio

Aggiungi hashtag in blocco 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | No |
Risposta
Restituisce: AddHashTagsBulk200Response
Esempio

Elimina hashtag 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tag | string | path | Sì | |
| tenantId | string | query | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni hashtag 
Parametri
| Nome | Tipo | Posizione | Richiesto | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| page | number | query | No |
Risposta
Restituisce: GetHashTags200Response
Esempio

Modifica parziale hashtag 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tag | string | path | Sì | |
| tenantId | string | query | No |
Risposta
Restituisce: PatchHashTag200Response
Esempio

Crea moderatore 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: CreateModerator200Response
Esempio

Elimina moderatore 
Parametri
| Name | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| sendEmail | string | query | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni moderatore 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetModerator200Response
Esempio

Ottieni moderatori 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| skip | number | query | No |
Risposta
Restituisce: GetModerators200Response
Esempio

Invia invito 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| fromName | string | query | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Aggiorna moderatore 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Elimina conteggio notifiche 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni conteggio notifiche in cache 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetCachedNotificationCount200Response
Esempio

Ottieni conteggio notifiche 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| userId | string | query | No | |
| urlId | string | query | No | |
| fromCommentId | string | query | No | |
| viewed | boolean | query | No | |
| type | string | query | No |
Risposta
Restituisce: GetNotificationCount200Response
Esempio

Ottieni notifiche 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| userId | string | query | No | |
| urlId | string | query | No | |
| fromCommentId | string | query | No | |
| viewed | boolean | query | No | |
| type | string | query | No | |
| skip | number | query | No |
Risposta
Restituisce: GetNotifications200Response
Esempio

Aggiorna notifica 
Parametri
| Nome | Tipo | Posizione | Richiesto | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| userId | string | query | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Aggiungi pagina 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: AddPageAPIResponse
Esempio

Elimina pagina 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: DeletePageAPIResponse
Esempio

Ottieni pagina per URLID 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| urlId | string | query | Sì |
Risposta
Restituisce: GetPageByURLIdAPIResponse
Esempio

Ottieni pagine 
Parametri
| Nome | Tipo | Posizione | Richiesto | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: GetPagesAPIResponse
Esempio

Modifica parziale pagina 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: PatchPageAPIResponse
Esempio

Elimina evento webhook in sospeso 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni conteggio eventi webhook in sospeso 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| commentId | string | query | No | |
| externalId | string | query | No | |
| eventType | string | query | No | |
| type | string | query | No | |
| domain | string | query | No | |
| attemptCountGT | number | query | No |
Risposta
Restituisce: GetPendingWebhookEventCount200Response
Esempio

Ottieni eventi webhook in sospeso 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| commentId | string | query | No | |
| externalId | string | query | No | |
| eventType | string | query | No | |
| type | string | query | No | |
| domain | string | query | No | |
| attemptCountGT | number | query | No | |
| skip | number | query | No |
Risposta
Restituisce: GetPendingWebhookEvents200Response
Esempio

Crea configurazione domande 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: CreateQuestionConfig200Response
Esempio

Elimina configurazione domande 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni configurazione domande 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetQuestionConfig200Response
Esempio

Ottieni configurazioni domande 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| skip | number | query | No |
Risposta
Restituisce: GetQuestionConfigs200Response
Esempio

Aggiorna configurazione domande 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Crea risultato domanda 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: CreateQuestionResult200Response
Esempio

Elimina risultato domanda 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni risultato domanda 
Parametri
| Nome | Tipo | Location | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetQuestionResult200Response
Esempio

Ottieni risultati domande 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| urlId | string | query | No | |
| userId | string | query | No | |
| startDate | string | query | No | |
| questionId | string | query | No | |
| questionIds | string | query | No | |
| skip | number | query | No |
Risposta
Restituisce: GetQuestionResults200Response
Esempio

Aggiorna risultato domanda 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Aggrega risultati domande 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| questionId | string | query | No | |
| questionIds | array | query | No | |
| urlId | string | query | No | |
| timeBucket | string | query | No | |
| startDate | string | query | No | |
| forceRecalculate | boolean | query | No |
Risposta
Restituisce: AggregateQuestionResults200Response
Esempio

Aggrega risultati domande in blocco 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| forceRecalculate | boolean | query | No |
Risposta
Restituisce: BulkAggregateQuestionResults200Response
Esempio

Combina commenti con risultati domande 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| questionId | string | query | No | |
| questionIds | array | query | No | |
| urlId | string | query | No | |
| startDate | string | query | No | |
| forceRecalculate | boolean | query | No | |
| minValue | number | query | No | |
| maxValue | number | query | No | |
| limit | number | query | No |
Risposta
Restituisce: CombineCommentsWithQuestionResults200Response
Esempio

Aggiungi utente SSO 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: AddSSOUserAPIResponse
Esempio

Elimina utente SSO 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| deleteComments | boolean | query | No | |
| commentDeleteMode | string | query | No |
Risposta
Restituisce: DeleteSSOUserAPIResponse
Esempio

Ottieni utente SSO per email 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| string | path | Sì |
Risposta
Restituisce: GetSSOUserByEmailAPIResponse
Esempio

Ottieni utente SSO per ID 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetSSOUserByIdAPIResponse
Esempio

Ottieni utenti SSO 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| skip | integer | query | No |
Risposta
Restituisce: GetSSOUsers200Response
Esempio

Modifica parziale utente SSO 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| updateComments | boolean | query | No |
Risposta
Restituisce: PatchSSOUserAPIResponse
Esempio

Sostituisci utente SSO 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| updateComments | boolean | query | No |
Risposta
Restituisce: PutSSOUserAPIResponse
Esempio

Crea sottoscrizione 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: CreateSubscriptionAPIResponse
Esempio

Elimina sottoscrizione 
Parameters
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| userId | string | query | No |
Response
Restituisce: DeleteSubscriptionAPIResponse
Example

Ottieni sottoscrizioni 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| userId | string | query | No |
Risposta
Restituisce: GetSubscriptionsAPIResponse
Esempio

Ottieni utilizzi giornalieri tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| yearNumber | number | query | No | |
| monthNumber | number | query | No | |
| dayNumber | number | query | No | |
| skip | number | query | No |
Risposta
Restituisce: GetTenantDailyUsages200Response
Esempio

Crea pacchetto tenant 
Parametri
| Nome | Tipo | Posizione | Richiesto | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: CreateTenantPackage200Response
Esempio

Elimina pacchetto tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni pacchetto tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetTenantPackage200Response
Esempio

Ottieni pacchetti tenant 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| skip | number | query | No |
Risposta
Restituisce: GetTenantPackages200Response
Esempio

Sostituisci pacchetto tenant 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Aggiorna pacchetto tenant 
Parametri
| Nome | Tipo | Posizione | Richiesto | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Crea utente tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: CreateTenantUser200Response
Esempio

Elimina utente tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| deleteComments | string | query | No | |
| commentDeleteMode | string | query | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni utente tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetTenantUser200Response
Esempio

Ottieni utenti tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| skip | number | query | No |
Risposta
Restituisce: GetTenantUsers200Response
Esempio

Sostituisci utente tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| updateComments | string | query | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Invia link di accesso 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| redirectURL | string | query | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Aggiorna utente tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| updateComments | string | query | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Crea tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: CreateTenant200Response
Esempio

Elimina tenant 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| sure | string | query | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetTenant200Response
Esempio

Ottieni tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| meta | string | query | No | |
| skip | number | query | No |
Risposta
Restituisce: GetTenants200Response
Esempio

Aggiorna tenant 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Carica immagine 
Carica e ridimensiona un'immagine
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| sizePreset | string | query | No | Preset dimensioni: "Default" (1000x1000px) o "CrossPlatform" (crea dimensioni per dispositivi popolari) |
| urlId | string | query | No | ID della pagina da cui avviene il caricamento, per configurare |
Risposta
Restituisce: UploadImageResponse
Esempio

Ottieni progresso badge utente per ID 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetUserBadgeProgressById200Response
Esempio

Ottieni progresso badge utente per ID utente 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| userId | string | path | Sì |
Risposta
Restituisce: GetUserBadgeProgressById200Response
Esempio

Ottieni elenco progressi badge utente 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| userId | string | query | No | |
| limit | number | query | No | |
| skip | number | query | No |
Risposta
Restituisce: GetUserBadgeProgressList200Response
Esempio

Crea badge utente 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì |
Risposta
Restituisce: CreateUserBadge200Response
Esempio

Elimina badge utente 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: UpdateUserBadge200Response
Esempio

Ottieni badge utente 
Parametri
| Nome | Tipo | Posizione | Richiesto | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetUserBadge200Response
Esempio

Ottieni badge utente 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| userId | string | query | No | |
| badgeId | string | query | No | |
| type | number | query | No | |
| displayedOnComments | boolean | query | No | |
| limit | number | query | No | |
| skip | number | query | No |
Risposta
Restituisce: GetUserBadges200Response
Esempio

Aggiorna badge utente 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: UpdateUserBadge200Response
Esempio

Ottieni conteggio notifiche utente 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| sso | string | query | No |
Risposta
Restituisce: GetUserNotificationCount200Response
Esempio

Ottieni notifiche utente 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| pageSize | integer | query | No | |
| afterId | string | query | No | |
| includeContext | boolean | query | No | |
| afterCreatedAt | integer | query | No | |
| unreadOnly | boolean | query | No | |
| dmOnly | boolean | query | No | |
| noDm | boolean | query | No | |
| includeTranslations | boolean | query | No | |
| sso | string | query | No |
Risposta
Restituisce: GetUserNotifications200Response
Esempio

Reimposta conteggio notifiche utente 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| sso | string | query | No |
Risposta
Restituisce: ResetUserNotifications200Response
Esempio

Reimposta notifiche utente 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| afterId | string | query | No | |
| afterCreatedAt | integer | query | No | |
| unreadOnly | boolean | query | No | |
| dmOnly | boolean | query | No | |
| noDm | boolean | query | No | |
| sso | string | query | No |
Risposta
Restituisce: ResetUserNotifications200Response
Esempio

Aggiorna stato sottoscrizione commenti utente 
Attiva o disattiva le notifiche per un commento specifico.
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| notificationId | string | path | Sì | |
| optedInOrOut | string | path | Sì | |
| commentId | string | query | Sì | |
| sso | string | query | No |
Risposta
Restituisce: UpdateUserNotificationStatus200Response
Esempio

Aggiorna stato sottoscrizione pagina utente 
Abilita o disabilita le notifiche per una pagina. Quando gli utenti sono iscritti a una pagina, vengono create notifiche per i nuovi commenti principali e anche
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| urlId | string | query | Sì | |
| url | string | query | Sì | |
| pageTitle | string | query | Sì | |
| subscribedOrUnsubscribed | string | path | Sì | |
| sso | string | query | No |
Risposta
Restituisce: UpdateUserNotificationStatus200Response
Esempio

Aggiorna stato notifiche utente 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| notificationId | string | path | Sì | |
| newStatus | string | path | Sì | |
| sso | string | query | No |
Risposta
Restituisce: UpdateUserNotificationStatus200Response
Esempio

Ottieni stati di presenza utenti 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| urlIdWS | string | query | Sì | |
| userIds | string | query | Sì |
Risposta
Restituisce: GetUserPresenceStatuses200Response
Esempio

Cerca utenti 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | path | Sì | |
| urlId | string | query | Sì | |
| usernameStartsWith | string | query | Sì | |
| mentionGroupIds | array | query | No | |
| sso | string | query | No |
Risposta
Restituisce: SearchUsers200Response
Esempio

Ottieni utente 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì |
Risposta
Restituisce: GetUser200Response
Esempio

Crea voto 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| commentId | string | query | Sì | |
| direction | string | query | Sì | |
| userId | string | query | No | |
| anonUserId | string | query | No |
Risposta
Restituisce: VoteComment200Response
Esempio

Elimina voto 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| id | string | path | Sì | |
| editKey | string | query | No |
Risposta
Restituisce: DeleteCommentVote200Response
Esempio

Ottieni voti 
Parametri
| Nome | Tipo | Posizione | Obbligatorio | Descrizione |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| urlId | string | query | Sì |
Risposta
Restituisce: GetVotes200Response
Esempio

Ottieni voti per utente 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sì | |
| urlId | string | query | Sì | |
| userId | string | query | No | |
| anonUserId | string | query | No |
Risposta
Restituisce: GetVotesForUser200Response
Esempio

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