
Lingua 🇮🇹 Italiano
Primi passi
Documentazione
Aggregazione
Log di audit
Blocca dal commento
Verifica 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
Caricamento immagine
Progresso badge utente
Badge utente
Notifiche utente
Stato presenza utente
Ricerca utenti
Utenti
Voti
FastComments Rust SDK
Questo è l'SDK ufficiale in Rust per FastComments.
SDK ufficiale in Rust per l'API di FastComments
Repository
Contenuto della libreria 
Lo SDK Rust di FastComments è composto da diversi moduli:
Client Module - Client API generato automaticamente per le REST APIs di FastComments
- Definizioni di tipo complete per tutti i modelli API
- Endpoint sia autenticati (
DefaultApi) che pubblici (PublicApi) - Supporto completo per async/await con tokio
- Vedi client/README.md per la documentazione dettagliata delle API
SSO Module - Utility Single Sign-On lato server
- Generazione sicura di token per l'autenticazione degli utenti
- Supporto per modalità SSO sia semplici che sicure
- Firma dei token basata su HMAC-SHA256
Core Types - Definizioni di tipo condivise e utility
- Modelli di commento e strutture di metadata
- Configurazioni di utenti e tenant
- Funzioni di aiuto per operazioni comuni
Avvio rapido 
Uso dell'API pubblica
use fastcomments_sdk::client::apis::configuration::Configuration;
use fastcomments_sdk::client::apis::public_api;
#[tokio::main]
async fn main() {
// Crea la configurazione API
let config = Configuration::new();
// Recupera i commenti per una pagina
let result = public_api::get_comments_public(
&config,
public_api::GetCommentsPublicParams {
tenant_id: "your-tenant-id".to_string(),
urlid: Some("page-url-id".to_string()),
url: None,
count_only: None,
skip: None,
limit: None,
sort_dir: None,
page: None,
sso_hash: None,
simple_sso_hash: None,
has_no_comment: None,
has_comment: None,
comment_id_filter: None,
child_ids: None,
start_date_time: None,
starts_with: None,
},
)
.await;
match result {
Ok(response) => {
println!("Found {} comments", response.comments.len());
for comment in response.comments {
println!("Comment: {:?}", comment);
}
}
Err(e) => eprintln!("Error fetching comments: {:?}", e),
}
}
Uso dell'API autenticata
use fastcomments_sdk::client::apis::configuration::{ApiKey, Configuration};
use fastcomments_sdk::client::apis::default_api;
#[tokio::main]
async fn main() {
// Crea la configurazione con la chiave API
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "your-api-key".to_string(),
});
// Recupera i commenti usando l'API autenticata
let result = default_api::get_comments(
&config,
default_api::GetCommentsParams {
tenant_id: "your-tenant-id".to_string(),
skip: None,
limit: None,
sort_dir: None,
urlid: Some("page-url-id".to_string()),
url: None,
is_spam: None,
user_id: None,
all_comments: None,
for_moderation: None,
parent_id: None,
is_flagged: None,
is_flagged_tag: None,
is_by_verified: None,
is_pinned: None,
asc: None,
include_imported: None,
origin: None,
tags: None,
},
)
.await;
match result {
Ok(response) => {
println!("Total comments: {}", response.count);
for comment in response.comments {
println!("Comment ID: {}, Text: {}", comment.id, comment.comment);
}
}
Err(e) => eprintln!("Error: {:?}", e),
}
}
Uso di SSO per l'autenticazione
use fastcomments_sdk::sso::{
fastcomments_sso::FastCommentsSSO,
secure_sso_user_data::SecureSSOUserData,
};
fn main() {
let api_key = "your-api-key".to_string();
// Crea i dati utente SSO sicuri (solo lato server!)
let user_data = SecureSSOUserData::new(
"user-123".to_string(), // ID utente
"user@example.com".to_string(), // Email
"John Doe".to_string(), // Nome utente
"https://example.com/avatar.jpg".to_string(), // URL dell'avatar
);
// Genera il token SSO
let sso = FastCommentsSSO::new_secure(api_key, &user_data).unwrap();
let token = sso.create_token().unwrap();
println!("SSO Token: {}", token);
// Passa questo token al tuo frontend per l'autenticazione
}
Problemi comuni 
401 Errori Non Autorizzati
Se ricevi errori 401 quando usi l'API autenticata:
- Controlla la tua API key: Assicurati di usare la API key corretta dalla dashboard di FastComments
- Verifica il tenant ID: Assicurati che il tenant ID corrisponda al tuo account
- Formato della API key: La API key deve essere passata nella Configuration:
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "YOUR_API_KEY".to_string(),
});
Problemi con i token SSO
Se i token SSO non funzionano:
- Usa la modalità sicura in produzione: Usa sempre
FastCommentsSSO::new_secure()con la tua API key per la produzione - Solo lato server: Genera i token SSO sul tuo server, non esporre mai la tua API key ai client
- Controlla i dati dell'utente: Assicurati che tutti i campi obbligatori (id, email, username) siano forniti
Errori del runtime asincrono
Lo SDK usa tokio per operazioni asincrone. Assicurati di:
Aggiungi tokio alle tue dipendenze:
[dependencies] tokio = { version = "1", features = ["full"] }Usa il runtime tokio:
#[tokio::main] async fn main() { // Il tuo codice asincrono qui }
Note 
ID di broadcast
Vedrai che dovrai passare un broadcastId in alcune chiamate API. Quando ricevi eventi, riavrai questo ID, così saprai di ignorare l'evento se prevedi di applicare le modifiche in modo ottimistico sul client (cosa che probabilmente vorrai fare perché offre la migliore esperienza). Passa qui un UUID. L'ID dovrebbe essere abbastanza unico da non verificarsi due volte durante una sessione del browser.
Aggregare 
Aggrega documenti raggruppandoli (se viene fornito groupBy) e applicando più operazioni. Sono supportate diverse operazioni (es. sum, countDistinct, avg, ecc.).
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| aggregation_request | models::AggregationRequest | Sì | |
| parent_tenant_id | String | No | |
| include_stats | bool | No |
Risposta
Restituisce: AggregationResponse
Ottieni log di audit 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| limit | f64 | No | |
| skip | f64 | No | |
| order | models::SortDir | No | |
| after | f64 | No | |
| before | f64 | No |
Risposta
Restituisce: GetAuditLogs200Response
Blocca da commento pubblico 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| public_block_from_comment_params | models::PublicBlockFromCommentParams | Sì | |
| sso | String | No |
Risposta
Restituisce: BlockFromCommentPublic200Response
Sblocca commento pubblico 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| public_block_from_comment_params | models::PublicBlockFromCommentParams | Sì | |
| sso | String | No |
Risposta
Restituisce: UnBlockCommentPublic200Response
Controlla commenti bloccati 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_ids | String | Sì | |
| sso | String | No |
Risposta
Restituisce: CheckedCommentsForBlocked200Response
Blocca utente dal commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| block_from_comment_params | models::BlockFromCommentParams | Sì | |
| user_id | String | No | |
| anon_user_id | String | No |
Risposta
Restituisce: BlockFromCommentPublic200Response
Crea commento pubblico 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| url_id | String | Sì | |
| broadcast_id | String | Sì | |
| comment_data | models::CommentData | Sì | |
| session_id | String | No | |
| sso | String | No |
Risposta
Restituisce: CreateCommentPublic200Response
Elimina commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| context_user_id | String | No | |
| is_live | bool | No |
Risposta
Restituisce: DeleteComment200Response
Elimina commento pubblico 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| broadcast_id | String | Sì | |
| edit_key | String | No | |
| sso | String | No |
Risposta
Restituisce: DeleteCommentPublic200Response
Elimina voto del commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| vote_id | String | Sì | |
| url_id | String | Sì | |
| broadcast_id | String | Sì | |
| edit_key | String | No | |
| sso | String | No |
Risposta
Restituisce: DeleteCommentVote200Response
Segnala commento 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| user_id | String | No | |
| anon_user_id | String | No |
Risposta
Restituisce: FlagComment200Response
Ottieni commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: GetComment200Response
Ottieni testo del commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| edit_key | String | No | |
| sso | String | No |
Risposta
Restituisce: GetCommentText200Response
Ottieni nomi utenti votanti del commento 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| dir | i32 | Sì | |
| sso | String | No |
Risposta
Restituisce: GetCommentVoteUserNames200Response
Ottieni commenti 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| page | i32 | No | |
| limit | i32 | No | |
| skip | i32 | No | |
| as_tree | bool | No | |
| skip_children | i32 | No | |
| limit_children | i32 | No | |
| max_tree_depth | i32 | No | |
| url_id | String | No | |
| user_id | String | No | |
| anon_user_id | String | No | |
| context_user_id | String | No | |
| hash_tag | String | No | |
| parent_id | String | No | |
| direction | models::SortDirections | No |
Risposta
Restituisce: GetComments200Response
Ottieni commenti pubblici 
req tenantId urlId
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| url_id | String | Sì | |
| page | i32 | No | |
| direction | models::SortDirections | No | |
| sso | String | No | |
| skip | i32 | No | |
| skip_children | i32 | No | |
| limit | i32 | No | |
| limit_children | i32 | No | |
| count_children | bool | No | |
| fetch_page_for_comment_id | String | No | |
| include_config | bool | No | |
| count_all | bool | No | |
| includei10n | bool | No | |
| locale | String | No | |
| modules | String | No | |
| is_crawler | bool | No | |
| include_notification_count | bool | No | |
| as_tree | bool | No | |
| max_tree_depth | i32 | No | |
| use_full_translation_ids | bool | No | |
| parent_id | String | No | |
| search_text | String | No | |
| hash_tags | Vec |
No | |
| user_id | String | No | |
| custom_config_str | String | No | |
| after_comment_id | String | No | |
| before_comment_id | String | No |
Risposta
Restituisce: GetCommentsPublic200Response
Blocca commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| broadcast_id | String | Sì | |
| sso | String | No |
Risposta
Restituisce: LockComment200Response
Fissa commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| broadcast_id | String | Sì | |
| sso | String | No |
Risposta
Restituisce: PinComment200Response
Salva commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_comment_params | models::CreateCommentParams | Sì | |
| is_live | bool | No | |
| do_spam_check | bool | No | |
| send_emails | bool | No | |
| populate_notifications | bool | No |
Risposta
Restituisce: SaveComment200Response
Salva commenti in blocco 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_comment_params | Vecmodels::CreateCommentParams | Sì | |
| is_live | bool | No | |
| do_spam_check | bool | No | |
| send_emails | bool | No | |
| populate_notifications | bool | No |
Risposta
Restituisce: Vec<models::SaveComment200Response>
Imposta testo del commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| broadcast_id | String | Sì | |
| comment_text_update_request | models::CommentTextUpdateRequest | Sì | |
| edit_key | String | No | |
| sso | String | No |
Risposta
Restituisce: SetCommentText200Response
Sblocca utente dal commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| un_block_from_comment_params | models::UnBlockFromCommentParams | Sì | |
| user_id | String | No | |
| anon_user_id | String | No |
Risposta
Restituisce: UnBlockCommentPublic200Response
Rimuovi segnalazione del commento 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| user_id | String | No | |
| anon_user_id | String | No |
Risposta
Restituisce: FlagComment200Response
Sblocca commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| broadcast_id | String | Sì | |
| sso | String | No |
Risposta
Restituisce: LockComment200Response
Rimuovi fissaggio del commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| broadcast_id | String | Sì | |
| sso | String | No |
Risposta
Restituisce: PinComment200Response
Aggiorna commento 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| body | models::PickApiCommentPeriodUpdatableCommentFields | Sì | |
| context_user_id | String | No | |
| do_spam_check | bool | No | |
| is_live | bool | No |
Risposta
Restituisce: FlagCommentPublic200Response
Vota commento 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| url_id | String | Sì | |
| broadcast_id | String | Sì | |
| vote_body_params | models::VoteBodyParams | Sì | |
| session_id | String | No | |
| sso | String | No |
Risposta
Restituisce: VoteComment200Response
Aggiungi configurazione dominio 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| add_domain_config_params | models::AddDomainConfigParams | Sì |
Risposta
Restituisce: AddDomainConfig200Response
Elimina configurazione dominio 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| domain | String | Sì |
Risposta
Restituisce: DeleteDomainConfig200Response
Ottieni configurazione dominio 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| domain | String | Sì |
Risposta
Restituisce: GetDomainConfig200Response
Ottieni configurazioni dominio 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì |
Risposta
Restituisce: GetDomainConfigs200Response
Modifica parziale configurazione dominio 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| domain_to_update | String | Sì | |
| patch_domain_config_params | models::PatchDomainConfigParams | Sì |
Risposta
Restituisce: GetDomainConfig200Response
Sostituisci configurazione dominio 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| domain_to_update | String | Sì | |
| update_domain_config_params | models::UpdateDomainConfigParams | Sì |
Risposta
Restituisce: GetDomainConfig200Response
Crea modello email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_email_template_body | models::CreateEmailTemplateBody | Sì |
Risposta
Restituisce: CreateEmailTemplate200Response
Esempio

Elimina modello email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Elimina errore di rendering del modello email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| error_id | String | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni modello email 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Response
Restituisce: GetEmailTemplate200Response
Esempio

Ottieni definizioni modelli email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì |
Risposta
Restituisce: GetEmailTemplateDefinitions200Response
Esempio

Ottieni errori di rendering dei modelli email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| skip | f64 | No |
Risposta
Restituisce: GetEmailTemplateRenderErrors200Response
Esempio

Ottieni modelli email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| skip | f64 | No |
Risposta
Restituisce: GetEmailTemplates200Response
Esempio

Renderizza modello email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| render_email_template_body | models::RenderEmailTemplateBody | Sì | |
| locale | String | No |
Risposta
Restituisce: RenderEmailTemplate200Response
Esempio

Aggiorna modello email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| update_email_template_body | models::UpdateEmailTemplateBody | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni registro eventi 
req tenantId urlId userIdWS
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| url_id | String | Sì | |
| user_id_ws | String | Sì | |
| start_time | i64 | Sì | |
| end_time | i64 | Sì |
Risposta
Restituisce: GetEventLog200Response
Ottieni registro eventi globale 
req tenantId urlId userIdWS
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| url_id | String | Sì | |
| user_id_ws | String | Sì | |
| start_time | i64 | Sì | |
| end_time | i64 | Sì |
Risposta
Restituisce: GetEventLog200Response
Crea post del feed 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_feed_post_params | models::CreateFeedPostParams | Sì | |
| broadcast_id | String | No | |
| is_live | bool | No | |
| do_spam_check | bool | No | |
| skip_dup_check | bool | No |
Risposta
Restituisce: CreateFeedPost200Response
Crea post del feed pubblico 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_feed_post_params | models::CreateFeedPostParams | Sì | |
| broadcast_id | String | No | |
| sso | String | No |
Risposta
Restituisce: CreateFeedPostPublic200Response
Elimina post del feed pubblico 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| post_id | String | Sì | |
| broadcast_id | String | No | |
| sso | String | No |
Risposta
Restituisce: DeleteFeedPostPublic200Response
Ottieni post del feed 
req tenantId afterId
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| after_id | String | No | |
| limit | i32 | No | |
| tags | Vec |
No |
Risposta
Restituisce: GetFeedPosts200Response
Ottieni post del feed pubblici 
req tenantId afterId
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| after_id | String | No | |
| limit | i32 | No | |
| tags | Vec |
No | |
| sso | String | No | |
| is_crawler | bool | No | |
| include_user_info | bool | No |
Risposta
Restituisce: GetFeedPostsPublic200Response
Ottieni statistiche dei post del feed 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| post_ids | Vec |
Sì | |
| sso | String | No |
Risposta
Restituisce: GetFeedPostsStats200Response
Ottieni reazioni utente pubbliche 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| post_ids | Vec |
No | |
| sso | String | No |
Risposta
Restituisce: GetUserReactsPublic200Response
Reagisci a post del feed pubblico 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| post_id | String | Sì | |
| react_body_params | models::ReactBodyParams | Sì | |
| is_undo | bool | No | |
| broadcast_id | String | No | |
| sso | String | No |
Risposta
Restituisce: ReactFeedPostPublic200Response
Aggiorna post del feed 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| feed_post | models::FeedPost | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Aggiorna post del feed pubblico 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| post_id | String | Sì | |
| update_feed_post_params | models::UpdateFeedPostParams | Sì | |
| broadcast_id | String | No | |
| sso | String | No |
Risposta
Restituisce: CreateFeedPostPublic200Response
Segnala commento pubblico 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| is_flagged | bool | Sì | |
| sso | String | No |
Risposta
Restituisce: FlagCommentPublic200Response
Aggiungi hashtag 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | No | |
| create_hash_tag_body | models::CreateHashTagBody | No |
Risposta
Restituisce: AddHashTag200Response
Esempio

Aggiungi hashtag in blocco 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | No | |
| bulk_create_hash_tags_body | models::BulkCreateHashTagsBody | No |
Risposta
Restituisce: AddHashTagsBulk200Response
Esempio

Elimina hashtag 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tag | String | Sì | |
| tenant_id | String | No | |
| delete_hash_tag_request | models::DeleteHashTagRequest | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni hashtag 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Sì | |
| page | f64 | No |
Risposta
Restituisce: GetHashTags200Response
Esempio

Modifica parziale hashtag 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tag | String | Sì | |
| tenant_id | String | No | |
| update_hash_tag_body | models::UpdateHashTagBody | No |
Risposta
Restituisce: PatchHashTag200Response
Esempio

Crea moderatore 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_moderator_body | models::CreateModeratorBody | Sì |
Risposta
Restituisce: CreateModerator200Response
Esempio

Elimina moderatore 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| send_email | String | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni moderatore 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: GetModerator200Response
Esempio

Ottieni moderatori 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| skip | f64 | No |
Risposta
Restituisce: GetModerators200Response
Esempio

Invia invito 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| from_name | String | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Aggiorna moderatore 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| update_moderator_body | models::UpdateModeratorBody | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Elimina conteggio notifiche 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni conteggio notifiche memorizzato 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: GetCachedNotificationCount200Response
Esempio

Ottieni conteggio notifiche 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| user_id | String | No | |
| url_id | String | No | |
| from_comment_id | String | No | |
| viewed | bool | No |
Risposta
Restituisce: GetNotificationCount200Response
Esempio

Ottieni notifiche 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| user_id | String | No | |
| url_id | String | No | |
| from_comment_id | String | No | |
| viewed | bool | No | |
| skip | f64 | No |
Risposta
Restituisce: GetNotifications200Response
Esempio

Aggiorna notifica 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| update_notification_body | models::UpdateNotificationBody | Sì | |
| user_id | String | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Aggiungi pagina 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_api_page_data | models::CreateApiPageData | Sì |
Risposta
Restituisce: AddPageApiResponse
Elimina pagina 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: DeletePageApiResponse
Ottieni pagina per URL id 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| url_id | String | Sì |
Risposta
Restituisce: GetPageByUrlidApiResponse
Ottieni pagine 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì |
Risposta
Restituisce: GetPagesApiResponse
Modifica parziale pagina 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| update_api_page_data | models::UpdateApiPageData | Sì |
Risposta
Restituisce: PatchPageApiResponse
Elimina evento webhook in sospeso 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni conteggio eventi webhook in sospeso 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | No | |
| external_id | String | No | |
| event_type | String | No | |
| domain | String | No | |
| attempt_count_gt | f64 | No |
Risposta
Restituisce: GetPendingWebhookEventCount200Response
Esempio

Ottieni eventi webhook in sospeso 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | No | |
| external_id | String | No | |
| event_type | String | No | |
| domain | String | No | |
| attempt_count_gt | f64 | No | |
| skip | f64 | No |
Risposta
Restituisce: GetPendingWebhookEvents200Response
Esempio

Crea configurazione domanda 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_question_config_body | models::CreateQuestionConfigBody | Sì |
Risposta
Restituisce: CreateQuestionConfig200Response
Esempio

Elimina configurazione domanda 
Parametri
| Nome | Tipo | Required | Description |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni configurazione domanda 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Risposta
Restituisce: GetQuestionConfig200Response
Esempio

Ottieni configurazioni domande 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| skip | f64 | No |
Risposta
Restituisce: GetQuestionConfigs200Response
Esempio

Aggiorna configurazione domanda 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| update_question_config_body | models::UpdateQuestionConfigBody | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Crea risultato domanda 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_question_result_body | models::CreateQuestionResultBody | Sì |
Risposta
Restituisce: CreateQuestionResult200Response
Esempio

Elimina risultato domanda 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni risultato domanda 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Risposta
Restituisce: GetQuestionResult200Response
Esempio

Ottieni risultati domande 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| url_id | String | No | |
| user_id | String | No | |
| start_date | String | No | |
| question_id | String | No | |
| question_ids | String | No | |
| skip | f64 | No |
Risposta
Restituisce: GetQuestionResults200Response
Esempio

Aggiorna risultato domanda 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_question_result_body | models::UpdateQuestionResultBody | Yes |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Aggrega risultati domande 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| question_id | String | No | |
| question_ids | Vec |
No | |
| url_id | String | No | |
| time_bucket | models::AggregateTimeBucket | No | |
| start_date | String | No | |
| force_recalculate | bool | No |
Risposta
Restituisce: AggregateQuestionResults200Response
Aggrega risultati domande in blocco 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| bulk_aggregate_question_results_request | models::BulkAggregateQuestionResultsRequest | Sì | |
| force_recalculate | bool | No |
Risposta
Restituisce: BulkAggregateQuestionResults200Response
Combina commenti con risultati delle domande 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| question_id | String | No | |
| question_ids | Vec |
No | |
| url_id | String | No | |
| start_date | String | No | |
| force_recalculate | bool | No | |
| min_value | f64 | No | |
| max_value | f64 | No | |
| limit | f64 | No |
Risposta
Restituisce: CombineCommentsWithQuestionResults200Response
Aggiungi utente SSO 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_apisso_user_data | models::CreateApissoUserData | Sì |
Risposta
Restituisce: AddSsoUserApiResponse
Elimina utente SSO 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| delete_comments | bool | No | |
| comment_delete_mode | String | No |
Risposta
Restituisce: DeleteSsoUserApiResponse
Ottieni utente SSO per email 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| String | Sì |
Risposta
Restituisce: GetSsoUserByEmailApiResponse
Ottieni utente SSO per ID 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: GetSsoUserByIdApiResponse
Ottieni utenti SSO 
Parametri
| Name | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| skip | i32 | No |
Risposta
Restituisce: GetSsoUsers200Response
Modifica parziale utente SSO 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| update_apisso_user_data | models::UpdateApissoUserData | Sì | |
| update_comments | bool | No |
Risposta
Restituisce: PatchSsoUserApiResponse
Sostituisci utente SSO 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| update_apisso_user_data | models::UpdateApissoUserData | Sì | |
| update_comments | bool | No |
Risposta
Restituisce: PutSsoUserApiResponse
Crea sottoscrizione 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_api_user_subscription_data | models::CreateApiUserSubscriptionData | Sì |
Risposta
Restituisce: CreateSubscriptionApiResponse
Elimina sottoscrizione 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| user_id | String | No |
Risposta
Restituisce: DeleteSubscriptionApiResponse
Ottieni sottoscrizioni 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| user_id | String | No |
Risposta
Restituisce: GetSubscriptionsApiResponse
Ottieni utilizzi giornalieri del tenant 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Yes | |
| year_number | f64 | No | |
| month_number | f64 | No | |
| day_number | f64 | No | |
| skip | f64 | No |
Risposta
Restituisce: GetTenantDailyUsages200Response
Esempio

Crea pacchetto tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_tenant_package_body | models::CreateTenantPackageBody | Sì |
Risposta
Restituisce: CreateTenantPackage200Response
Esempio

Elimina pacchetto tenant 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni pacchetto tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: GetTenantPackage200Response
Esempio

Ottieni pacchetti tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| skip | f64 | No |
Risposta
Restituisce: GetTenantPackages200Response
Esempio

Sostituisci pacchetto tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| replace_tenant_package_body | models::ReplaceTenantPackageBody | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Aggiorna pacchetto tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| update_tenant_package_body | models::UpdateTenantPackageBody | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Crea utente tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_tenant_user_body | models::CreateTenantUserBody | Sì |
Risposta
Restituisce: CreateTenantUser200Response
Esempio

Elimina utente tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| delete_comments | String | No | |
| comment_delete_mode | String | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni utente tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: GetTenantUser200Response
Esempio

Ottieni utenti tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| skip | f64 | No |
Risposta
Restituisce: GetTenantUsers200Response
Esempio

Sostituisci utente tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| replace_tenant_user_body | models::ReplaceTenantUserBody | Sì | |
| update_comments | String | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Invia link di accesso 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| redirect_url | String | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Aggiorna utente tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| update_tenant_user_body | models::UpdateTenantUserBody | Sì | |
| update_comments | String | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Crea tenant 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_tenant_body | models::CreateTenantBody | Sì |
Risposta
Restituisce: CreateTenant200Response
Esempio

Elimina tenant 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| sure | String | No |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Ottieni tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: GetTenant200Response
Esempio

Ottieni tenant 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| meta | String | No | |
| skip | f64 | No |
Risposta
Restituisce: GetTenants200Response
Esempio

Aggiorna tenant 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| update_tenant_body | models::UpdateTenantBody | Sì |
Risposta
Restituisce: FlagCommentPublic200Response
Esempio

Carica immagine 
Carica e ridimensiona un'immagine
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| file | std::path::PathBuf | Sì | |
| size_preset | models::SizePreset | No | |
| url_id | String | No |
Risposta
Restituisce: UploadImageResponse
Ottieni progresso badge utente per id 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: GetUserBadgeProgressById200Response
Ottieni progresso badge utente per ID utente 
Parametri
| Name | Type | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| user_id | String | Sì |
Risposta
Restituisce: GetUserBadgeProgressById200Response
Ottieni elenco progresso badge utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| user_id | String | No | |
| limit | f64 | No | |
| skip | f64 | No |
Risposta
Restituisce: GetUserBadgeProgressList200Response
Crea badge utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| create_user_badge_params | models::CreateUserBadgeParams | Sì |
Risposta
Restituisce: CreateUserBadge200Response
Elimina badge utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: UpdateUserBadge200Response
Ottieni badge utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: GetUserBadge200Response
Ottieni badge utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| user_id | String | No | |
| badge_id | String | No | |
| displayed_on_comments | bool | No | |
| limit | f64 | No | |
| skip | f64 | No |
Risposta
Restituisce: GetUserBadges200Response
Aggiorna badge utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| update_user_badge_params | models::UpdateUserBadgeParams | Sì |
Risposta
Restituisce: UpdateUserBadge200Response
Ottieni conteggio notifiche utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| sso | String | No |
Risposta
Restituisce: GetUserNotificationCount200Response
Ottieni notifiche utente 
Parametri
| Nome | Tipo | Richiesto | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| page_size | i32 | No | |
| after_id | String | No | |
| include_context | bool | No | |
| after_created_at | i64 | No | |
| unread_only | bool | No | |
| dm_only | bool | No | |
| no_dm | bool | No | |
| include_translations | bool | No | |
| sso | String | No |
Risposta
Restituisce: GetUserNotifications200Response
Reimposta conteggio notifiche utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| sso | String | No |
Risposta
Restituisce: ResetUserNotifications200Response
Reimposta notifiche utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| after_id | String | No | |
| after_created_at | i64 | No | |
| unread_only | bool | No | |
| dm_only | bool | No | |
| no_dm | bool | No | |
| sso | String | No |
Risposta
Restituisce: ResetUserNotifications200Response
Aggiorna stato sottoscrizione notifiche commenti utente 
Abilita o disabilita le notifiche per un commento specifico.
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| notification_id | String | Sì | |
| opted_in_or_out | String | Sì | |
| comment_id | String | Sì | |
| sso | String | No |
Risposta
Restituisce: UpdateUserNotificationStatus200Response
Aggiorna stato sottoscrizione notifiche per pagina utente 
Abilita o disabilita le notifiche per una pagina. Quando gli utenti sono iscritti a una pagina, vengono create notifiche per nuovi commenti di livello principale, e anche
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| url_id | String | Sì | |
| url | String | Sì | |
| page_title | String | Sì | |
| subscribed_or_unsubscribed | String | Sì | |
| sso | String | No |
Risposta
Restituisce: UpdateUserNotificationStatus200Response
Aggiorna stato notifica utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| notification_id | String | Sì | |
| new_status | String | Sì | |
| sso | String | No |
Risposta
Restituisce: UpdateUserNotificationStatus200Response
Ottieni stati presenza utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| url_id_ws | String | Sì | |
| user_ids | String | Sì |
Risposta
Restituisce: GetUserPresenceStatuses200Response
Cerca utenti 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| url_id | String | Sì | |
| username_starts_with | String | Sì | |
| mention_group_ids | Vec |
No | |
| sso | String | No |
Risposta
Restituisce: SearchUsers200Response
Ottieni utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì |
Risposta
Restituisce: GetUser200Response
Esempio

Crea voto 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| comment_id | String | Sì | |
| direction | String | Sì | |
| user_id | String | No | |
| anon_user_id | String | No |
Risposta
Restituisce: VoteComment200Response
Esempio

Elimina voto 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| id | String | Sì | |
| edit_key | String | No |
Risposta
Restituisce: DeleteCommentVote200Response
Esempio

Ottieni voti 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| url_id | String | Sì |
Risposta
Restituisce: GetVotes200Response
Esempio

Ottieni voti per utente 
Parametri
| Nome | Tipo | Obbligatorio | Descrizione |
|---|---|---|---|
| tenant_id | String | Sì | |
| url_id | String | Sì | |
| user_id | String | No | |
| anon_user_id | String | No |
Risposta
Restituisce: GetVotesForUser200Response
Esempio

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