
Langue 🇫🇷 Français (France)
Documentation
Commencer
Agrégat
API
Journaux d'audit
Blocage depuis le commentaire
Vérifier les commentaires bloqués
Commentaires
Commentaires For User
Configurations de domaine
Modèles d'email
Journal d'événements
Publications du fil
Signaler le commentaire
GIFs
Hashtags
Modération
Modérateurs
Nombre de notifications
Notifications
Réactions de page
Pages
Progression des badges utilisateur
Événements webhook en attente
Configurations de question
Résultats de question
Agrégation des résultats de question
Utilisateurs SSO
Abonnements
Utilisation quotidienne du locataire
Packages de locataire
Utilisateurs du locataire
Locataires
Tickets
Traductions
Télécharger une image
Badges utilisateur
Notifications utilisateur
Statut de présence utilisateur
Recherche d'utilisateurs
Utilisateurs
Votes
FastComments SDK Rust
Ceci est le SDK Rust officiel pour FastComments.
SDK Rust officiel pour l'API FastComments
Dépôt
Agents de codage IA 
Donnez à votre agent de codage le contexte FastComments dont il a besoin - widgets, configuration, SSO sécurisé, l'API REST et les SDK :
npx skills add fastcomments/skills
Fonctionne avec Claude Code, Codex, Cursor, Copilot, Gemini et tout autre agent pris en charge par le skills CLI.
Installation 
cargo add fastcomments-sdk
Le SDK nécessite l'édition Rust 2021 ou une version ultérieure.
Contenu de la bibliothèque 
Le SDK FastComments Rust comprend plusieurs modules :
-
Module Client - client API pour les API REST FastComments
- Définitions complètes des types pour tous les modèles d'API
- Trois clients API couvrant toutes les méthodes FastComments :
default_api(DefaultApi) – méthodes authentifiées par clé API pour une utilisation côté serveurpublic_api(PublicApi) – méthodes publiques, sans clé API, sécurisées pour être appelées depuis les navigateurs et les applications mobilesmoderation_api(ModerationApi) – une suite étendue d’API de modération en temps réel et rapide. Chaque méthode de modération accepte un paramètressoet peut s’authentifier via SSO ou un cookie de session FastComments.com.
- Support complet async/await avec tokio
- Voir client/README.md pour une documentation détaillée de l'API
-
Module SSO – utilitaires d’authentification unique côté serveur
- Génération sécurisée de jetons pour l’authentification des utilisateurs
- Prise en charge des modes SSO simple et sécurisé
- Signature de jetons basée sur HMAC‑SHA256
-
Types de base – définitions de types partagés et utilitaires
- Modèles de commentaires et structures de métadonnées
- Configurations d’utilisateur et de locataire
- Fonctions d’assistance pour les opérations courantes
Démarrage rapide 
Utilisation de l'API publique
use fastcomments_sdk::client::apis::configuration::Configuration;
use fastcomments_sdk::client::apis::public_api;
#[tokio::main]
async fn main() {
// Créer la configuration de l'API
let config = Configuration::new();
// Récupérer les commentaires pour une page
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),
}
}
Utilisation de l'API authentifiée
use fastcomments_sdk::client::apis::configuration::{ApiKey, Configuration};
use fastcomments_sdk::client::apis::default_api;
#[tokio::main]
async fn main() {
// Créer la configuration avec la clé API
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "your-api-key".to_string(),
});
// Récupérer les commentaires en utilisant l'API authentifiée
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),
}
}
Utilisation de l'API de modération
Les méthodes de modération alimentent le tableau de bord du modérateur. Elles utilisent une Configuration par clé API, comme l'API authentifiée, et chaque méthode accepte un token sso optionnel afin que l'appel puisse être effectué au nom d'un modérateur authentifié via SSO.
use fastcomments_sdk::client::apis::configuration::{ApiKey, Configuration};
use fastcomments_sdk::client::apis::moderation_api;
#[tokio::main]
async fn main() {
// Créer la configuration avec la clé API
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "your-api-key".to_string(),
});
// Compter les commentaires en attente dans la file de modération
let result = moderation_api::get_count(
&config,
moderation_api::GetCountParams {
text_search: None,
by_ip_from_comment: None,
filter: None,
search_filters: None,
demo: None,
sso: None, // passer un token SSO pour agir en tant que modérateur authentifié via SSO
},
)
.await;
match result {
Ok(response) => println!("Comments to moderate: {}", response.count),
Err(e) => eprintln!("Error: {:?}", e),
}
}
Utilisation du SSO pour l'authentification
use fastcomments_sdk::sso::{
fastcomments_sso::FastCommentsSSO,
secure_sso_user_data::SecureSSOUserData,
};
fn main() {
let api_key = "your-api-key".to_string();
// Créer les données SSO sécurisées de l'utilisateur (côté serveur uniquement !)
let user_data = SecureSSOUserData::new(
"user-123".to_string(), // ID utilisateur
"user@example.com".to_string(), // Email
"John Doe".to_string(), // Nom d'utilisateur
"https://example.com/avatar.jpg".to_string(), // URL de l'avatar
);
// Générer le token SSO
let sso = FastCommentsSSO::new_secure(api_key, &user_data).unwrap();
let token = sso.create_token().unwrap();
println!("SSO Token: {}", token);
// Transmettez ce token à votre frontend pour l'authentification
}
Problèmes courants 
401 Unauthorized Errors
Si vous obtenez des erreurs 401 lorsque vous utilisez l'API authentifiée :
- Vérifiez votre clé API : Assurez-vous d'utiliser la clé API correcte depuis votre tableau de bord FastComments
- Vérifiez le tenant ID : Assurez-vous que le tenant ID correspond à votre compte
- Format de la clé API : La clé API doit être passée dans la Configuration :
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "YOUR_API_KEY".to_string(),
});
SSO Token Issues
Si les jetons SSO ne fonctionnent pas :
- Utilisez le mode sécurisé en production : Toujours utiliser
FastCommentsSSO::new_secure()avec votre clé API pour la production - Côté serveur uniquement : Générez les jetons SSO sur votre serveur, n'exposez jamais votre clé API aux clients
- Vérifiez les données utilisateur : Assurez-vous que tous les champs requis (id, email, username) sont fournis
Async Runtime Errors
Le SDK utilise tokio pour les opérations asynchrones. Assurez-vous de :
- Add tokio to your dependencies:
[dependencies]
tokio = { version = "1", features = ["full"] }
- Use the tokio runtime:
#[tokio::main]
async fn main() {
// Votre code asynchrone ici
}
Notes 
Identifiants de diffusion
Vous verrez que vous devez passer un broadcastId dans certains appels d'API. Lorsque vous recevez des événements, vous récupérerez cet ID, ce qui vous permet d'ignorer l'événement si vous prévoyez d'appliquer les modifications de manière optimiste côté client
(ce que vous souhaiterez probablement faire car cela offre la meilleure expérience). Passez un UUID ici. L'ID doit être suffisamment unique pour ne pas apparaître deux fois au cours d'une même session du navigateur.
agréger 
Agrège les documents en les regroupant (si groupBy est fourni) et en appliquant plusieurs opérations.
Différentes opérations (par ex. sum, countDistinct, avg, etc.) sont prises en charge.
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| aggregation_request | models::AggregationRequest | Yes | |
| parent_tenant_id | String | No | |
| include_stats | bool | No |
Réponse
Retourne : AggregateResponse
Exemple

get_api_comments 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| page | f64 | No | |
| count | f64 | No | |
| text_search | String | No | |
| by_ip_from_comment | String | No | |
| filters | String | No | |
| search_filters | String | No | |
| sorts | String | No | |
| demo | bool | No | |
| sso | String | No |
Réponse
Renvoie : ModerationApiGetCommentsResponse
Exemple

get_api_export_status 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| batch_job_id | String | Non | |
| sso | String | Non |
Réponse
Retourne : ModerationExportStatusResponse
Exemple

get_api_ids 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| text_search | String | No | |
| by_ip_from_comment | String | No | |
| filters | String | No | |
| search_filters | String | No | |
| after_id | String | No | |
| demo | bool | No | |
| sso | String | No |
Réponse
Retourne : ModerationApiGetCommentIdsResponse
Exemple

post_api_export 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| text_search | String | Non | |
| by_ip_from_comment | String | Non | |
| filters | String | Non | |
| search_filters | String | Non | |
| sorts | String | Non | |
| sso | String | Non |
Réponse
Retourne : ModerationExportResponse
Exemple

get_audit_logs 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| limit | f64 | No | |
| skip | f64 | No | |
| order | models::SortDir | No | |
| after | f64 | No | |
| before | f64 | No |
Réponse
Retourne : GetAuditLogsResponse
Exemple

block_from_comment_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| public_block_from_comment_params | models::PublicBlockFromCommentParams | Yes | |
| sso | String | No |
Réponse
Retourne : BlockSuccess
Exemple

un_block_comment_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| public_block_from_comment_params | models::PublicBlockFromCommentParams | Oui | |
| sso | String | Non |
Réponse
Renvoie : UnblockSuccess
Exemple

checked_comments_for_blocked 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_ids | String | Oui | |
| sso | String | Non |
Réponse
Renvoie : CheckBlockedCommentsResponse
Exemple

block_user_from_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| block_from_comment_params | models::BlockFromCommentParams | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
Réponse
Retourne : BlockSuccess
Exemple

create_comment_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui | |
| broadcast_id | String | Oui | |
| comment_data | models::CommentData | Oui | |
| session_id | String | Non | |
| sso | String | Non |
Réponse
Retourne : SaveCommentsResponseWithPresence
Exemple

delete_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| context_user_id | String | Non | |
| is_live | bool | Non |
Réponse
Renvoie : DeleteCommentResult
Exemple

delete_comment_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | Yes | |
| edit_key | String | No | |
| sso | String | No |
Réponse
Renvoie : PublicApiDeleteCommentResponse
Exemple

delete_comment_vote 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| vote_id | String | Oui | |
| url_id | String | Oui | |
| broadcast_id | String | Oui | |
| edit_key | String | Non | |
| sso | String | Non |
Réponse
Retourne : VoteDeleteResponse
Exemple

flag_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
Réponse
Renvoie : FlagCommentResponse
Exemple

get_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : ApiGetCommentResponse
Exemple

get_comment_text 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| edit_key | String | Non | |
| sso | String | Non |
Réponse
Renvoie : PublicApiGetCommentTextResponse
Exemple

get_comment_vote_user_names 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| dir | i32 | Oui | |
| sso | String | Non |
Réponse
Renvoie : GetCommentVoteUserNamesSuccessResponse
Exemple

get_comments 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| 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 | |
| from_date | i64 | No | |
| to_date | i64 | No |
Réponse
Renvoie : ApiGetCommentsResponse
Exemple

get_comments_public 
req tenantId urlId
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| 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 |
Réponse
Renvoie : GetCommentsResponseWithPresencePublicComment
Exemple

lock_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| broadcast_id | String | Oui | |
| sso | String | Non |
Réponse
Renvoie : ApiEmptyResponse
Exemple

pin_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | Yes | |
| sso | String | No |
Réponse
Renvoie : ChangeCommentPinStatusResponse
Exemple

save_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_comment_params | models::CreateCommentParams | Oui | |
| is_live | bool | Non | |
| do_spam_check | bool | Non | |
| send_emails | bool | Non | |
| populate_notifications | bool | Non |
Réponse
Retourne : ApiSaveCommentResponse
Exemple

save_comments_bulk 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_comment_params | Vecmodels::CreateCommentParams | Oui | |
| is_live | bool | Non | |
| do_spam_check | bool | Non | |
| send_emails | bool | Non | |
| populate_notifications | bool | Non |
Réponse
Retourne : Vec<models::SaveCommentsBulkResponse>
Exemple

set_comment_text 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | Yes | |
| comment_text_update_request | models::CommentTextUpdateRequest | Yes | |
| edit_key | String | No | |
| sso | String | No |
Réponse
Retourne : PublicApiSetCommentTextResponse
Exemple

un_block_user_from_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| un_block_from_comment_params | models::UnBlockFromCommentParams | Oui | |
| user_id | String | Non | |
| anon_user_id | String | Non |
Réponse
Retourne : UnblockSuccess
Exemple

un_flag_comment 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| user_id | String | Non | |
| anon_user_id | String | Non |
Réponse
Renvoie : FlagCommentResponse
Exemple

un_lock_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| broadcast_id | String | Oui | |
| sso | String | Non |
Réponse
Renvoie : ApiEmptyResponse
Exemple

un_pin_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| broadcast_id | String | Oui | |
| sso | String | Non |
Réponse
Renvoie : ChangeCommentPinStatusResponse
Exemple

update_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| updatable_comment_params | models::UpdatableCommentParams | Oui | |
| context_user_id | String | Non | |
| do_spam_check | bool | Non | |
| is_live | bool | Non |
Réponse
Retourne : ApiEmptyResponse
Exemple

vote_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| url_id | String | Oui | |
| broadcast_id | String | Oui | |
| vote_body_params | models::VoteBodyParams | Oui | |
| session_id | String | Non | |
| sso | String | Non |
Réponse
Retourne : VoteResponse
Exemple

get_comments_for_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user_id | String | Non | |
| direction | models::SortDirections | Non | |
| replies_to_user_id | String | Non | |
| page | f64 | Non | |
| includei10n | bool | Non | |
| locale | String | Non | |
| is_crawler | bool | Non |
Réponse
Renvoie : GetCommentsForUserResponse
Exemple

add_domain_config 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| add_domain_config_params | models::AddDomainConfigParams | Yes |
Réponse
Renvoie : AddDomainConfigResponse
Exemple

delete_domain_config 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| domain | String | Oui |
Réponse
Retourne : DeleteDomainConfigResponse
Exemple

get_domain_config 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain | String | Yes |
Réponse
Retour : GetDomainConfigResponse
Exemple

get_domain_configs 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes |
Réponse
Renvoie : GetDomainConfigsResponse
Exemple

patch_domain_config 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| domain_to_update | String | Oui | |
| patch_domain_config_params | models::PatchDomainConfigParams | Oui |
Réponse
Retourne : PatchDomainConfigResponse
Exemple

put_domain_config 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain_to_update | String | Yes | |
| update_domain_config_params | models::UpdateDomainConfigParams | Yes |
Réponse
Renvoie : PutDomainConfigResponse
Exemple

create_email_template 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_email_template_body | models::CreateEmailTemplateBody | Yes |
Réponse
Retourne : CreateEmailTemplateResponse
Exemple

delete_email_template 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : ApiEmptyResponse
Exemple

delete_email_template_render_error 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| error_id | String | Yes |
Réponse
Renvoie : ApiEmptyResponse
Exemple

get_email_template 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : GetEmailTemplateResponse
Exemple

get_email_template_definitions 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui |
Réponse
Retourne : GetEmailTemplateDefinitionsResponse
Exemple

get_email_template_render_errors 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| skip | f64 | Non |
Réponse
Retourne : GetEmailTemplateRenderErrorsResponse
Exemple

get_email_templates 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
Réponse
Retourne : GetEmailTemplatesResponse
Exemple

render_email_template 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| render_email_template_body | models::RenderEmailTemplateBody | Yes | |
| locale | String | No |
Réponse
Renvoie : RenderEmailTemplateResponse
Exemple

update_email_template 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_email_template_body | models::UpdateEmailTemplateBody | Yes |
Réponse
Renvoie : ApiEmptyResponse
Exemple

get_event_log 
req tenantId urlId userIdWS
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| user_id_ws | String | Yes | |
| start_time | i64 | Yes | |
| end_time | i64 | No |
Réponse
Retourne : GetEventLogResponse
Exemple

get_global_event_log 
req tenantId urlId userIdWS
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui | |
| user_id_ws | String | Oui | |
| start_time | i64 | Oui | |
| end_time | i64 | Non |
Réponse
Renvoie : GetEventLogResponse
Exemple

create_feed_post 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_feed_post_params | models::CreateFeedPostParams | Yes | |
| broadcast_id | String | No | |
| is_live | bool | No | |
| do_spam_check | bool | No | |
| skip_dup_check | bool | No |
Réponse
Retour : CreateFeedPostsResponse
Exemple

create_feed_post_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_feed_post_params | models::CreateFeedPostParams | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Réponse
Retourne : CreateFeedPostResponse
Exemple

delete_feed_post_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| post_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Réponse
Retourne : DeleteFeedPostPublicResponse
Exemple

get_feed_posts 
req tenantId afterId
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| after_id | String | Non | |
| limit | i32 | Non | |
| tags | Vec | Non |
Réponse
Retourne : GetFeedPostsResponse
Exemple

get_feed_posts_public 
req tenantId afterId
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| after_id | String | No | |
| limit | i32 | No | |
| tags | Vec | No | |
| sso | String | No | |
| is_crawler | bool | No | |
| include_user_info | bool | No |
Réponse
Renvoie : PublicFeedPostsResponse
Exemple

get_feed_posts_stats 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| post_ids | Vec | Yes | |
| sso | String | No |
Réponse
Renvoie : FeedPostsStatsResponse
Exemple

get_user_reacts_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| post_ids | Vec | Non | |
| sso | String | Non |
Réponse
Renvoie : UserReactsResponse
Exemple

react_feed_post_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| post_id | String | Oui | |
| react_body_params | models::ReactBodyParams | Oui | |
| is_undo | bool | Non | |
| broadcast_id | String | Non | |
| sso | String | Non |
Réponse
Renvoie : ReactFeedPostResponse
Exemple

update_feed_post 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| feed_post | models::FeedPost | Oui |
Réponse
Retourne : ApiEmptyResponse
Exemple

update_feed_post_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| post_id | String | Oui | |
| update_feed_post_params | models::UpdateFeedPostParams | Oui | |
| broadcast_id | String | Non | |
| sso | String | Non |
Réponse
Retourne : CreateFeedPostResponse
Exemple

flag_comment_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| is_flagged | bool | Oui | |
| sso | String | Non |
Réponse
Retourne : ApiEmptyResponse
Exemple

get_gif_large 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| large_internal_url_sanitized | String | Yes |
Réponse
Renvoie : GifGetLargeResponse
Exemple

get_gifs_search 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| search | String | Yes | |
| locale | String | No | |
| rating | String | No | |
| page | f64 | No |
Réponse
Retourne : GetGifsSearchResponse
Exemple

get_gifs_trending 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| locale | String | Non | |
| rating | String | Non | |
| page | f64 | Non |
Réponse
Returns: GetGifsTrendingResponse
Exemple

add_hash_tag 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_hash_tag_body | models::CreateHashTagBody | Non |
Réponse
Retourne : CreateHashTagResponse
Exemple

add_hash_tags_bulk 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| bulk_create_hash_tags_body | models::BulkCreateHashTagsBody | Non |
Réponse
Renvoie : BulkCreateHashTagsResponse
Exemple

delete_hash_tag 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| tag | String | Yes | |
| delete_hash_tag_request_body | models::DeleteHashTagRequestBody | No |
Réponse
Renvoie : ApiEmptyResponse
Exemple

get_hash_tags 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| page | f64 | No |
Réponse
Retourne : GetHashTagsResponse
Exemple

patch_hash_tag 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| tag | String | Oui | |
| update_hash_tag_body | models::UpdateHashTagBody | Non |
Réponse
Renvoie : UpdateHashTagResponse
Exemple

delete_moderation_vote 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| vote_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Réponse
Renvoie : VoteDeleteResponse
Exemple

get_ban_users_from_comment 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| sso | String | No |
Réponse
Renvoie : GetBannedUsersFromCommentResponse
Exemple

get_comment_ban_status 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| sso | String | Non |
Réponse
Retourne : GetCommentBanStatusResponse
Exemple

get_comment_children 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| sso | String | No |
Réponse
Renvoie : ModerationApiChildCommentsResponse
Exemple

get_count 
Parameters
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| text_search | String | Non | |
| by_ip_from_comment | String | Non | |
| filter | String | Non | |
| search_filters | String | Non | |
| demo | bool | Non | |
| sso | String | Non |
Response
Retourne : ModerationApiCountCommentsResponse
Exemple

get_counts 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| sso | String | Non |
Réponse
Returns: GetBannedUsersCountResponse
Exemple

get_logs 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| sso | String | Non |
Réponse
Retourne : ModerationApiGetLogsResponse
Exemple

get_manual_badges 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| sso | String | Non |
Réponse
Renvoie : GetTenantManualBadgesResponse
Exemple

get_manual_badges_for_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| badges_user_id | String | Non | |
| comment_id | String | Non | |
| sso | String | Non |
Réponse
Renvoie : GetUserManualBadgesResponse
Exemple

get_moderation_comment 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| include_email | bool | No | |
| include_ip | bool | No | |
| sso | String | No |
Réponse
Renvoie : ModerationApiCommentResponse
Exemple

get_moderation_comment_text 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| sso | String | No |
Réponse
Retourne : GetCommentTextResponse
Exemple

get_pre_ban_summary 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| include_by_user_id_and_email | bool | Non | |
| include_by_ip | bool | Non | |
| include_by_email_domain | bool | Non | |
| sso | String | Non |
Réponse
Renvoie : PreBanSummary
Exemple

get_search_comments_summary 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| value | String | Non | |
| filters | String | Non | |
| search_filters | String | Non | |
| sso | String | Non |
Réponse
Renvoie : ModerationCommentSearchResponse
Exemple

get_search_pages 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| value | String | Non | |
| sso | String | Non |
Réponse
Retourne : ModerationPageSearchResponse
Exemple

get_search_sites 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| value | String | Non | |
| sso | String | Non |
Réponse
Retourne : ModerationSiteSearchResponse
Exemple

get_search_suggest 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| text_search | String | Non | |
| sso | String | Non |
Réponse
Retourne : ModerationSuggestResponse
Exemple

get_search_users 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| value | String | Non | |
| sso | String | Non |
Réponse
Retourne : ModerationUserSearchResponse
Exemple

get_trust_factor 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| user_id | String | Non | |
| sso | String | Non |
Réponse
Retourne : GetUserTrustFactorResponse
Exemple

get_user_ban_preference 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| sso | String | Non |
Réponse
Retourne : ApiModerateGetUserBanPreferencesResponse
Exemple

get_user_internal_profile 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Non | |
| sso | String | Non |
Réponse
Renvoie : GetUserInternalProfileResponse
Exemple

post_adjust_comment_votes 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| adjust_comment_votes_params | models::AdjustCommentVotesParams | Oui | |
| broadcast_id | String | Non | |
| sso | String | Non |
Réponse
Renvoie : AdjustVotesResponse
Exemple

post_ban_user_from_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| ban_email | bool | No | |
| ban_email_domain | bool | No | |
| ban_ip | bool | No | |
| delete_all_users_comments | bool | No | |
| banned_until | String | No | |
| is_shadow_ban | bool | No | |
| update_id | String | No | |
| ban_reason | String | No | |
| sso | String | No |
Réponse
Renvoie : BanUserFromCommentResult
Exemple

post_ban_user_undo 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| ban_user_undo_params | models::BanUserUndoParams | Oui | |
| sso | String | Non |
Réponse
Retourne : ApiEmptyResponse
Exemple

post_bulk_pre_ban_summary 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| bulk_pre_ban_params | models::BulkPreBanParams | Yes | |
| include_by_user_id_and_email | bool | No | |
| include_by_ip | bool | No | |
| include_by_email_domain | bool | No | |
| sso | String | No |
Réponse
Renvoie : BulkPreBanSummary
Exemple

post_comments_by_ids 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comments_by_ids_params | models::CommentsByIdsParams | Oui | |
| sso | String | Non |
Réponse
Retourne : ModerationApiChildCommentsResponse
Exemple

post_flag_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| broadcast_id | String | Non | |
| sso | String | Non |
Réponse
Renvoie : ApiEmptyResponse
Exemple

post_remove_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Réponse
Retourne : PostRemoveCommentApiResponse
Exemple

post_restore_deleted_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Réponse
Returns: ApiEmptyResponse
Exemple

post_set_comment_approval_status 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| approved | bool | Non | |
| broadcast_id | String | Non | |
| sso | String | Non |
Réponse
Retourne : SetCommentApprovedResponse
Exemple

post_set_comment_review_status 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| reviewed | bool | No | |
| broadcast_id | String | No | |
| sso | String | No |
Réponse
Renvoie : ApiEmptyResponse
Exemple

post_set_comment_spam_status 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| spam | bool | No | |
| perm_not_spam | bool | No | |
| broadcast_id | String | No | |
| sso | String | No |
Réponse
Renvoie : ApiEmptyResponse
Exemple

post_set_comment_text 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| set_comment_text_params | models::SetCommentTextParams | Oui | |
| broadcast_id | String | Non | |
| sso | String | Non |
Réponse
Renvoie : SetCommentTextResponse
Exemple

post_un_flag_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| broadcast_id | String | Non | |
| sso | String | Non |
Réponse
Renvoie : ApiEmptyResponse
Exemple

post_vote 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| direction | String | Non | |
| broadcast_id | String | Non | |
| sso | String | Non |
Réponse
Renvoie : VoteResponse
Exemple

put_award_badge 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| badge_id | String | Yes | |
| user_id | String | No | |
| comment_id | String | No | |
| broadcast_id | String | No | |
| sso | String | No |
Réponse
Renvoie : AwardUserBadgeResponse
Exemple

put_close_thread 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| sso | String | No |
Réponse
Renvoie : ApiEmptyResponse
Exemple

put_remove_badge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| badge_id | String | Yes | |
| user_id | String | No | |
| comment_id | String | No | |
| broadcast_id | String | No | |
| sso | String | No |
Réponse
Retourne : RemoveUserBadgeResponse
Exemple

put_reopen_thread 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| sso | String | No |
Réponse
Retourne : ApiEmptyResponse
Exemple

set_trust_factor 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| user_id | String | Non | |
| trust_factor | String | Non | |
| sso | String | Non |
Réponse
Retourne : SetUserTrustFactorResponse
Exemple

create_moderator 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_moderator_body | models::CreateModeratorBody | Oui |
Réponse
Renvoie : CreateModeratorResponse
Exemple

delete_moderator 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| send_email | String | No |
Réponse
Retourne : ApiEmptyResponse
Exemple

get_moderator 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : GetModeratorResponse
Exemple

get_moderators 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| skip | f64 | Non |
Réponse
Retourne : GetModeratorsResponse
Exemple

send_invite 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| from_name | String | Yes |
Réponse
Renvoie : ApiEmptyResponse
Exemple

update_moderator 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_moderator_body | models::UpdateModeratorBody | Oui |
Réponse
Retourne : ApiEmptyResponse
Exemple

delete_notification_count 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : ApiEmptyResponse
Exemple

get_cached_notification_count 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : GetCachedNotificationCountResponse
Exemple

get_notification_count 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| user_id | String | Non | |
| url_id | String | Non | |
| from_comment_id | String | Non | |
| viewed | bool | Non |
Réponse
Renvoie : GetNotificationCountResponse
Exemple

get_notifications 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| user_id | String | Non | |
| url_id | String | Non | |
| from_comment_id | String | Non | |
| viewed | bool | Non | |
| skip | f64 | Non |
Réponse
Renvoie : GetNotificationsResponse
Exemple

update_notification 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_notification_body | models::UpdateNotificationBody | Yes | |
| user_id | String | No |
Réponse
Renvoie : ApiEmptyResponse
Exemple

create_v1_page_react 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| title | String | No |
Réponse
Renvoie : CreateV1PageReact
Exemple

create_v2_page_react 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| id | String | Yes | |
| title | String | No |
Réponse
Renvoie : CreateV1PageReact
Exemple

delete_v1_page_react 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui |
Réponse
Renvoie : CreateV1PageReact
Exemple

delete_v2_page_react 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : CreateV1PageReact
Exemple

get_v1_page_likes 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes |
Réponse
Retourne : GetV1PageLikes
Exemple

get_v2_page_react_users 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : GetV2PageReactUsersResponse
Exemple

get_v2_page_reacts 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui |
Réponse
Renvoie : GetV2PageReacts
Exemple

add_page 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_api_page_data | models::CreateApiPageData | Oui |
Réponse
Retourne : AddPageApiResponse
Exemple

delete_page 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : DeletePageApiResponse
Exemple

get_offline_users 
Past commentateurs sur la page qui ne sont PAS actuellement en ligne. Triés par displayName.
Utilisez ceci après avoir épuisé /users/online pour afficher une section "Members".
Pagination par curseur sur commenterName : le serveur parcourt le fragment {tenantId, urlId, commenterName} à partir de afterName vers l’avant via $gt, sans coût $skip.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| after_name | String | No | |
| after_user_id | String | No |
Response
Returns: PageUsersOfflineResponse
Example

get_online_users 
Visionneurs actuellement en ligne d'une page : les personnes dont la session websocket est abonnée à la page en ce moment.
Renvoie anonCount + totalCount (abonnés de la salle, y compris les visionneurs anonymes que nous n'énumérons pas).
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui | |
| after_name | String | Non | |
| after_user_id | String | Non |
Réponse
Renvoie : PageUsersOnlineResponse
Exemple

get_page_by_urlid 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui |
Réponse
Renvoie : GetPageByUrlidApiResponse
Exemple

get_pages 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui |
Réponse
Retourne : GetPagesApiResponse
Exemple

get_pages_public 
Lister les pages d'un locataire. Utilisé par le client de bureau FChat pour remplir sa liste de salons.
Nécessite que enableFChat soit vrai dans la configuration personnalisée résolue pour chaque page.
Les pages nécessitant SSO sont filtrées en fonction de l'accès aux groupes de l'utilisateur demandeur.
Parameters
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| cursor | String | Non | |
| limit | i32 | Non | |
| q | String | Non | |
| sort_by | models::PagesSortBy | Non | |
| has_comments | bool | Non |
Response
Renvoie : GetPublicPagesResponse
Exemple

get_user_badge_progress_by_id 
Informations utilisateur en masse pour un locataire. Étant donné des userIds, renvoie les informations d'affichage depuis User / SSOUser.
Utilisé par le widget de commentaires pour enrichir les utilisateurs qui viennent d'apparaître via un événement de présence.
Pas de contexte de page : la confidentialité est appliquée uniformément (les profils privés sont masqués).
Parameters
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| ids | String | Yes |
Response
Retourne : PageUsersInfoResponse
Example

patch_page 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_api_page_data | models::UpdateApiPageData | Oui |
Réponse
Retourne : PatchPageApiResponse
Exemple

delete_pending_webhook_event 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Réponse
Renvoie : ApiEmptyResponse
Exemple

get_pending_webhook_event_count 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Non | |
| external_id | String | Non | |
| event_type | String | Non | |
| domain | String | Non | |
| attempt_count_gt | f64 | Non |
Réponse
Retourne : GetPendingWebhookEventCountResponse
Exemple

get_pending_webhook_events 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | No | |
| external_id | String | No | |
| event_type | String | No | |
| domain | String | No | |
| attempt_count_gt | f64 | No | |
| skip | f64 | No |
Réponse
Retourne : GetPendingWebhookEventsResponse
Exemple

create_question_config 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_question_config_body | models::CreateQuestionConfigBody | Oui |
Réponse
Renvoie : CreateQuestionConfigResponse
Exemple

delete_question_config 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie : ApiEmptyResponse
Exemple

get_question_config 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie : GetQuestionConfigResponse
Exemple

get_question_configs 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| skip | f64 | Non |
Réponse
Retourne : GetQuestionConfigsResponse
Exemple

update_question_config 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_question_config_body | models::UpdateQuestionConfigBody | Yes |
Réponse
Retourne : ApiEmptyResponse
Exemple

create_question_result 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_question_result_body | models::CreateQuestionResultBody | Oui |
Réponse
Retourne : CreateQuestionResultResponse
Exemple

delete_question_result 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : ApiEmptyResponse
Exemple

get_question_result 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Réponse
Retourne : GetQuestionResultResponse
Exemple

get_question_results 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | No | |
| user_id | String | No | |
| start_date | String | No | |
| question_id | String | No | |
| question_ids | String | No | |
| skip | f64 | No |
Réponse
Renvoie : GetQuestionResultsResponse
Exemple

update_question_result 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_question_result_body | models::UpdateQuestionResultBody | Yes |
Réponse
Retourne: ApiEmptyResponse
Exemple

aggregate_question_results 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| question_id | String | No | |
| question_ids | Vec | No | |
| url_id | String | No | |
| time_bucket | models::AggregateTimeBucket | No | |
| start_date | chrono::DateTimechrono::FixedOffset | No | |
| force_recalculate | bool | No |
Réponse
Renvoie : AggregateQuestionResultsResponse
Exemple

bulk_aggregate_question_results 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| bulk_aggregate_question_results_request | models::BulkAggregateQuestionResultsRequest | Oui | |
| force_recalculate | bool | Non |
Réponse
Retourne : BulkAggregateQuestionResultsResponse
Exemple

combine_comments_with_question_results 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| question_id | String | No | |
| question_ids | Vec | No | |
| url_id | String | No | |
| start_date | chrono::DateTimechrono::FixedOffset | No | |
| force_recalculate | bool | No | |
| min_value | f64 | No | |
| max_value | f64 | No | |
| limit | f64 | No |
Réponse
Renvoie : CombineQuestionResultsWithCommentsResponse
Exemple

add_sso_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_apisso_user_data | models::CreateApissoUserData | Yes |
Réponse
Retourne : AddSsoUserApiResponse
Exemple

delete_sso_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| delete_comments | bool | Non | |
| comment_delete_mode | String | Non |
Réponse
Renvoie : DeleteSsoUserApiResponse
Exemple

get_sso_user_by_email 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| String | Yes |
Réponse
Renvoie : GetSsoUserByEmailApiResponse
Exemple

get_sso_user_by_id 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie : GetSsoUserByIdApiResponse
Exemple

get_sso_users 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | i32 | No |
Réponse
Renvoie : GetSsoUsersResponse
Exemple

patch_sso_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_apisso_user_data | models::UpdateApissoUserData | Oui | |
| update_comments | bool | Non |
Réponse
Renvoie : PatchSsoUserApiResponse
Exemple

put_sso_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_apisso_user_data | models::UpdateApissoUserData | Oui | |
| update_comments | bool | Non |
Réponse
Renvoie : PutSsoUserApiResponse
Exemple

create_subscription 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_api_user_subscription_data | models::CreateApiUserSubscriptionData | Oui |
Réponse
Renvoie : CreateSubscriptionApiResponse
Exemple

delete_subscription 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| user_id | String | No |
Réponse
Retourne : DeleteSubscriptionApiResponse
Exemple

get_subscriptions 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| user_id | String | Non |
Réponse
Renvoie : GetSubscriptionsApiResponse
Exemple

update_subscription 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_api_user_subscription_data | models::UpdateApiUserSubscriptionData | Yes | |
| user_id | String | No |
Réponse
Retourne : UpdateSubscriptionApiResponse
Exemple

get_tenant_daily_usages 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| year_number | f64 | No | |
| month_number | f64 | No | |
| day_number | f64 | No | |
| skip | f64 | No |
Réponse
Renvoie : GetTenantDailyUsagesResponse
Exemple

create_tenant_package 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_tenant_package_body | models::CreateTenantPackageBody | Oui |
Réponse
Retourne : CreateTenantPackageResponse
Exemple

delete_tenant_package 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : ApiEmptyResponse
Exemple

get_tenant_package 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Réponse
Renvoie : GetTenantPackageResponse
Exemple

get_tenant_packages 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| skip | f64 | Non |
Réponse
Retourne : GetTenantPackagesResponse
Exemple

replace_tenant_package 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| replace_tenant_package_body | models::ReplaceTenantPackageBody | Oui |
Réponse
Retourne : ApiEmptyResponse
Exemple

update_tenant_package 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_tenant_package_body | models::UpdateTenantPackageBody | Oui |
Réponse
Renvoie : ApiEmptyResponse
Exemple

create_tenant_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_tenant_user_body | models::CreateTenantUserBody | Oui |
Réponse
Retourne : CreateTenantUserResponse
Exemple

delete_tenant_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| delete_comments | String | No | |
| comment_delete_mode | String | No |
Réponse
Retourne : ApiEmptyResponse
Exemple

get_tenant_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie : GetTenantUserResponse
Exemple

get_tenant_users 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| skip | f64 | Non |
Réponse
Retourne : GetTenantUsersResponse
Exemple

replace_tenant_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| replace_tenant_user_body | models::ReplaceTenantUserBody | Yes | |
| update_comments | String | No |
Réponse
Retourne : ApiEmptyResponse
Exemple

send_login_link 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| redirect_url | String | No |
Réponse
Renvoie : ApiEmptyResponse
Exemple

update_tenant_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_tenant_user_body | models::UpdateTenantUserBody | Oui | |
| update_comments | String | Non |
Réponse
Retourne : ApiEmptyResponse
Exemple

create_tenant 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_tenant_body | models::CreateTenantBody | Oui |
Réponse
Retourne : CreateTenantResponse
Exemple

delete_tenant 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| sure | String | Non |
Réponse
Renvoie : ApiEmptyResponse
Exemple

get_tenant 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Réponse
Renvoie : GetTenantResponse
Exemple

get_tenants 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| meta | String | Non | |
| skip | f64 | Non |
Réponse
Retourne : GetTenantsResponse
Exemple

update_tenant 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_tenant_body | models::UpdateTenantBody | Oui |
Réponse
Retourne : ApiEmptyResponse
Exemple

change_ticket_state 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | Yes | |
| id | String | Yes | |
| change_ticket_state_body | models::ChangeTicketStateBody | Yes |
Réponse
Renvoie : ChangeTicketStateResponse
Exemple

create_ticket 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | Yes | |
| create_ticket_body | models::CreateTicketBody | Yes |
Réponse
Renvoie : CreateTicketResponse
Exemple

get_ticket 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| user_id | String | No |
Réponse
Retourne : GetTicketResponse
Exemple

get_tickets 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| state | f64 | No | |
| skip | f64 | No | |
| limit | f64 | No |
Réponse
Retourne : GetTicketsResponse
Exemple

get_translations 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| namespace | String | Oui | |
| component | String | Oui | |
| locale | String | Non | |
| use_full_translation_ids | bool | Non |
Réponse
Renvoie : GetTranslationsResponse
Exemple

upload_image 
Téléverser et redimensionner une image
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| file | std::path::PathBuf | Yes | |
| size_preset | models::SizePreset | No | |
| url_id | String | No |
Réponse
Renvoie : UploadImageResponse
Exemple

get_user_badge_progress_by_id 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : ApiGetUserBadgeProgressResponse
Exemple

get_user_badge_progress_by_user_id 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | Yes |
Réponse
Retourne : ApiGetUserBadgeProgressResponse
Exemple

get_user_badge_progress_list 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| limit | f64 | No | |
| skip | f64 | No |
Réponse
Renvoie : ApiGetUserBadgeProgressListResponse
Exemple

create_user_badge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_user_badge_params | models::CreateUserBadgeParams | Oui |
Réponse
Retourne : ApiCreateUserBadgeResponse
Exemple

delete_user_badge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Réponse
Renvoie : ApiEmptySuccessResponse
Exemple

get_user_badge 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie : ApiGetUserBadgeResponse
Exemple

get_user_badges 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| user_id | String | Non | |
| badge_id | String | Non | |
| displayed_on_comments | bool | Non | |
| limit | f64 | Non | |
| skip | f64 | Non |
Réponse
Retourne : ApiGetUserBadgesResponse
Exemple

update_user_badge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_user_badge_params | models::UpdateUserBadgeParams | Oui |
Réponse
Retourne : ApiEmptySuccessResponse
Exemple

get_user_notification_count 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| sso | String | Non |
Réponse
Renvoie : GetUserNotificationCountResponse
Exemple

get_user_notifications 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Non | |
| page_size | i32 | Non | |
| after_id | String | Non | |
| include_context | bool | Non | |
| after_created_at | i64 | Non | |
| unread_only | bool | Non | |
| dm_only | bool | Non | |
| no_dm | bool | Non | |
| include_translations | bool | Non | |
| include_tenant_notifications | bool | Non | |
| sso | String | Non |
Réponse
Retourne : GetMyNotificationsResponse
Exemple

reset_user_notification_count 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| sso | String | Non |
Réponse
Renvoie : ResetUserNotificationsResponse
Exemple

reset_user_notifications 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| after_id | String | No | |
| after_created_at | i64 | No | |
| unread_only | bool | No | |
| dm_only | bool | No | |
| no_dm | bool | No | |
| sso | String | No |
Réponse
Renvoie : ResetUserNotificationsResponse
Exemple

update_user_notification_comment_subscription_status 
Enable ou désactive les notifications pour un commentaire spécifique.
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| notification_id | String | Oui | |
| opted_in_or_out | String | Oui | |
| comment_id | String | Oui | |
| sso | String | Non |
Réponse
Renvoie : UpdateUserNotificationCommentSubscriptionStatusResponse
Exemple

update_user_notification_page_subscription_status 
Activer ou désactiver les notifications pour une page. Lorsque les utilisateurs sont abonnés à une page, des notifications sont créées pour les nouveaux commentaires racine, et également
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| url | String | Yes | |
| page_title | String | Yes | |
| subscribed_or_unsubscribed | String | Yes | |
| sso | String | No |
Réponse
Renvoie : UpdateUserNotificationPageSubscriptionStatusResponse
Exemple

update_user_notification_status 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| notification_id | String | Oui | |
| new_status | String | Oui | |
| sso | String | Non |
Réponse
Retourne : UpdateUserNotificationStatusResponse
Exemple

get_user_presence_statuses 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id_ws | String | Yes | |
| user_ids | String | Yes |
Réponse
Retourne : GetUserPresenceStatusesResponse
Exemple

search_users 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| username_starts_with | String | No | |
| mention_group_ids | Vec | No | |
| sso | String | No | |
| search_section | String | No |
Réponse
Renvoie : SearchUsersResult
Exemple

get_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : GetUserResponse
Exemple

create_vote 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| direction | String | Oui | |
| user_id | String | Non | |
| anon_user_id | String | Non |
Réponse
Retourne: VoteResponse
Exemple

delete_vote 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| edit_key | String | Non |
Réponse
Renvoie : VoteDeleteResponse
Exemple

get_votes 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui |
Réponse
Retourne : GetVotesResponse
Exemple

get_votes_for_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
Réponse
Renvoie : GetVotesForUserResponse
Exemple

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