
Langue 🇨🇦 Français (Canada)
Premiers pas
Documentation
Agrégation
API
Journaux d'audit
Blocage depuis le commentaire
Vérifier les commentaires bloqués
Commentaires
Commentaires pour l'utilisateur
Configurations de domaine
Modèles d'email
Journal d'événements
Publications du fil
Signaler un commentaire
GIFs
Mots-clics
Modération
Modérateurs
Nombre de notifications
Notifications
Réactions de page
Pages
É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
Forfaits du locataire
Utilisateurs du locataire
Locataires
Tickets
Traductions
Téléverser une image
Progression des badges utilisateur
Badges utilisateur
Notifications utilisateur
Statuts de présence des utilisateurs
Recherche d'utilisateurs
Utilisateurs
Votes
SDK Rust de FastComments
Ceci est le SDK Rust officiel pour FastComments.
SDK Rust officiel pour l'API FastComments
Dépôt
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 se compose de plusieurs modules :
-
Client Module – Client API pour les API REST de FastComments
- Définitions de type complètes 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é d'API pour une utilisation côté serveurpublic_api(PublicApi) – méthodes publiques, sans clé d'API, sécuritaires à appeler depuis les navigateurs et les applications mobilesmoderation_api(ModerationApi) – une suite étendue d'API de modération en direct et rapides. Chaque méthode de Modération accepte un paramètressoet peut s'authentifier via SSO ou un cookie de session FastComments.com.
- Prise en charge complète de async/await avec tokio
- Voir client/README.md pour la documentation détaillée de l'API
-
SSO Module – Utilitaires de Single Sign-On 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
-
Core Types – Définitions de type partagées 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ée la configuration de l'API
let config = Configuration::new();
// Récupère 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ée 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ère 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),
}
}
API de modération
Les méthodes de modération alimentent le tableau de bord du modérateur. Elles utilisent une Configuration avec clé API tout comme l'API authentifiée, et chaque méthode accepte un jeton 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ée la configuration avec la clé API
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "your-api-key".to_string(),
});
// Compte 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, // passe un jeton SSO pour agir au nom d'un 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ée les données utilisateur SSO sécurisées (côté serveur seulement !)
let user_data = SecureSSOUserData::new(
"user-123".to_string(), // ID de l'utilisateur
"user@example.com".to_string(), // Courriel
"John Doe".to_string(), // Nom d'utilisateur
"https://example.com/avatar.jpg".to_string(), // URL de l'avatar
);
// Génère le jeton SSO
let sso = FastCommentsSSO::new_secure(api_key, &user_data).unwrap();
let token = sso.create_token().unwrap();
println!("SSO Token: {}", token);
// Transmettez ce jeton à votre frontend pour l'authentification
}
Problèmes courants 
401 Unauthorized Errors
If you're getting 401 errors when using the authenticated API:
- Vérifiez votre clé API : Assurez-vous d'utiliser la bonne clé API depuis votre FastComments dashboard
- Vérifiez l'ID du locataire : Assurez-vous que l'ID du locataire correspond à votre compte
- Format de la clé API : La clé API doit être fournie dans la Configuration :
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "YOUR_API_KEY".to_string(),
});
SSO Token Issues
If SSO tokens aren't working:
- Utilisez le mode sécurisé en production : Utilisez toujours
FastCommentsSSO::new_secure()avec votre clé API en 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
The SDK uses tokio for async operations. Make sure to:
- Add tokio to your dependencies:
[dependencies]
tokio = { version = "1", features = ["full"] }
- Use the tokio runtime:
#[tokio::main]
async fn main() {
// Votre code asynchrone ici
}
Remarques 
IDs de diffusion
Vous verrez qu'il faut passer un broadcastId dans certains appels d'API. Quand vous recevrez des événements, vous obtiendrez ce même ID en retour, ce qui vous permet d'ignorer l'événement si vous prévoyez d'appliquer les changements de façon optimiste côté client
(ce que vous voudrez probablement faire, car cela offre la meilleure expérience). Passez un UUID ici. L'ID doit être suffisamment unique pour ne pas apparaître deux fois lors d'une session de navigateur.
aggregate 
Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations.
Different operations (e.g. sum, countDistinct, avg, etc.) are supported.
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| aggregation_request | models::AggregationRequest | Oui | |
| parent_tenant_id | String | Non | |
| include_stats | bool | Non |
Réponse
Renvoie : 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 | Oui | |
| text_search | String | Non | |
| by_ip_from_comment | String | Non | |
| filters | String | Non | |
| search_filters | String | Non | |
| after_id | String | Non | |
| demo | bool | Non | |
| sso | String | Non |
Réponse
Renvoie : 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
Renvoie : 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
Renvoie : GetAuditLogsResponse
Exemple

block_from_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 : 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 | Oui | |
| id | String | Oui | |
| block_from_comment_params | models::BlockFromCommentParams | Oui | |
| user_id | String | Non | |
| anon_user_id | String | Non |
Réponse
Returns: BlockSuccess
Exemple

create_comment_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| broadcast_id | String | Yes | |
| comment_data | models::CommentData | Yes | |
| session_id | String | No | |
| sso | String | No |
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
Renvoie : VoteDeleteResponse
Exemple

flag_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| user_id | String | Non | |
| anon_user_id | String | Non |
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
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| edit_key | String | No | |
| sso | String | No |
Réponse
Retourne : PublicApiGetCommentTextResponse
Exemple

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

get_comments 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| page | i32 | Non | |
| limit | i32 | Non | |
| skip | i32 | Non | |
| as_tree | bool | Non | |
| skip_children | i32 | Non | |
| limit_children | i32 | Non | |
| max_tree_depth | i32 | Non | |
| url_id | String | Non | |
| user_id | String | Non | |
| anon_user_id | String | Non | |
| context_user_id | String | Non | |
| hash_tag | String | Non | |
| parent_id | String | Non | |
| direction | models::SortDirections | Non | |
| from_date | i64 | Non | |
| to_date | i64 | Non |
Réponse
Renvoie : ApiGetCommentsResponse
Exemple

get_comments_public 
req tenantId urlId
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui | |
| page | i32 | Non | |
| direction | models::SortDirections | Non | |
| sso | String | Non | |
| skip | i32 | Non | |
| skip_children | i32 | Non | |
| limit | i32 | Non | |
| limit_children | i32 | Non | |
| count_children | bool | Non | |
| fetch_page_for_comment_id | String | Non | |
| include_config | bool | Non | |
| count_all | bool | Non | |
| includei10n | bool | Non | |
| locale | String | Non | |
| modules | String | Non | |
| is_crawler | bool | Non | |
| include_notification_count | bool | Non | |
| as_tree | bool | Non | |
| max_tree_depth | i32 | Non | |
| use_full_translation_ids | bool | Non | |
| parent_id | String | Non | |
| search_text | String | Non | |
| hash_tags | Vec | Non | |
| user_id | String | Non | |
| custom_config_str | String | Non | |
| after_comment_id | String | Non | |
| before_comment_id | String | Non |
Réponse
Retourne : GetCommentsResponseWithPresencePublicComment
Exemple

lock_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 : ApiEmptyResponse
Exemple

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
Retourne : ChangeCommentPinStatusResponse
Exemple

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

save_comments_bulk 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_comment_params | Vecmodels::CreateCommentParams | Yes | |
| is_live | bool | No | |
| do_spam_check | bool | No | |
| send_emails | bool | No | |
| populate_notifications | bool | No |
Réponse
Returns: 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
Renvoie : 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 | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
Réponse
Retourne : 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
Returns: 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 | Yes | |
| id | String | Yes | |
| updatable_comment_params | models::UpdatableCommentParams | Yes | |
| context_user_id | String | No | |
| do_spam_check | bool | No | |
| is_live | bool | No |
Réponse
Renvoie : 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
Renvoie : 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
Retourne : 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
Renvoie : DeleteDomainConfigResponse
Exemple

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

get_domain_configs 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui |
Réponse
Retourne : 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
Renvoie : PatchDomainConfigResponse
Exemple

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

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

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

delete_email_template_render_error 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| error_id | String | Oui |
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
Renvoie : GetEmailTemplateRenderErrorsResponse
Exemple

get_email_templates 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
Réponse
Renvoie : GetEmailTemplatesResponse
Exemple

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

update_email_template 
Paramètres
| Nom | Type | Obligatoire | 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 | Oui | |
| url_id | String | Oui | |
| user_id_ws | String | Oui | |
| start_time | i64 | Oui | |
| end_time | i64 | Non |
Réponse
Retourne : GetEventLogResponse
Exemple

get_global_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
Renvoie : GetEventLogResponse
Exemple

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

create_feed_post_public 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_feed_post_params | models::CreateFeedPostParams | Oui | |
| broadcast_id | String | Non | |
| sso | String | Non |
Réponse
Renvoie : CreateFeedPostResponse
Exemple

delete_feed_post_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| post_id | String | Oui | |
| broadcast_id | String | Non | |
| sso | String | Non |
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
Renvoie : GetFeedPostsResponse
Exemple

get_feed_posts_public 
req tenantId afterId
Paramètres
| Nom | Type | Obligatoire | 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
Retourne : 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
Retourne : FeedPostsStatsResponse
Exemple

get_user_reacts_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| post_ids | Vec | No | |
| sso | String | No |
Réponse
Retourne: 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
Retourne : 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
Renvoie : 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
Renvoie : CreateFeedPostResponse
Exemple

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

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

get_gifs_search 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| search | String | Oui | |
| locale | String | Non | |
| rating | String | Non | |
| page | f64 | Non |
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
Renvoie : 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 | Obligatoire | 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 | Oui | |
| tag | String | Oui | |
| delete_hash_tag_request_body | models::DeleteHashTagRequestBody | Non |
Réponse
Renvoie : ApiEmptyResponse
Exemple

get_hash_tags 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| page | f64 | Non |
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
Retourne : UpdateHashTagResponse
Exemple

delete_moderation_vote 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| vote_id | String | Oui | |
| broadcast_id | String | Non | |
| sso | String | Non |
Réponse
Returns: VoteDeleteResponse
Exemple

get_ban_users_from_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| sso | String | Non |
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
Renvoie : GetCommentBanStatusResponse
Exemple

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

get_count 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| text_search | String | No | |
| by_ip_from_comment | String | No | |
| filter | String | No | |
| search_filters | String | No | |
| demo | bool | No | |
| sso | String | No |
Réponse
Renvoie : ModerationApiCountCommentsResponse
Exemple

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

get_logs 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| sso | String | Non |
Réponse
Renvoie : 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 | Yes | |
| badges_user_id | String | No | |
| comment_id | String | No | |
| sso | String | No |
Réponse
Renvoie : GetUserManualBadgesResponse
Exemple

get_moderation_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| include_email | bool | Non | |
| include_ip | bool | Non | |
| sso | String | Non |
Réponse
Renvoie : ModerationApiCommentResponse
Exemple

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

get_pre_ban_summary 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | 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
Retourne : 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
Retourne : 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
Renvoie : 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
Renvoie : ModerationUserSearchResponse
Exemple

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

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

get_user_internal_profile 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | No | |
| sso | String | No |
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 | Oui | |
| comment_id | String | Oui | |
| ban_email | bool | Non | |
| ban_email_domain | bool | Non | |
| ban_ip | bool | Non | |
| delete_all_users_comments | bool | Non | |
| banned_until | String | Non | |
| is_shadow_ban | bool | Non | |
| update_id | String | Non | |
| ban_reason | String | Non | |
| sso | String | Non |
Réponse
Renvoie : BanUserFromCommentResult
Exemple

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

post_bulk_pre_ban_summary 
Paramètres
| Nom | Type | Obligatoire | 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
Retourne : 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
Renvoie : 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 | Oui | |
| comment_id | String | Oui | |
| broadcast_id | String | Non | |
| sso | String | Non |
Réponse
Renvoie : PostRemoveCommentApiResponse
Exemple

post_restore_deleted_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_set_comment_approval_status 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| approved | bool | No | |
| broadcast_id | String | No | |
| sso | String | No |
Réponse
Renvoie : SetCommentApprovedResponse
Exemple

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

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

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

post_un_flag_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 : 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
Retourne : VoteResponse
Exemple

put_award_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
Renvoie : AwardUserBadgeResponse
Exemple

put_close_thread 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui | |
| sso | String | Non |
Réponse
Retour : ApiEmptyResponse
Exemple

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

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

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

create_moderator 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_moderator_body | models::CreateModeratorBody | Yes |
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
Renvoie : ApiEmptyResponse
Exemple

get_moderator 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie : 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
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| from_name | String | Yes |
Réponse
Retourne : ApiEmptyResponse
Exemple

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

delete_notification_count 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Réponse
Renvoie : 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
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| url_id | String | No | |
| from_comment_id | String | No | |
| viewed | bool | No |
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
Retourne : 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
Retourne : ApiEmptyResponse
Exemple

create_v1_page_react 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui | |
| title | String | Non |
Réponse
Retourne : 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
Retourne : 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 | Yes | |
| url_id | String | Yes | |
| id | String | Yes |
Réponse
Retourne : CreateV1PageReact
Exemple

get_v1_page_likes 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes |
Response
Renvoie : GetV1PageLikes
Example

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

get_v2_page_reacts 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes |
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
Renvoie : AddPageApiResponse
Exemple

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

get_offline_users 
Past commenters on the page who are NOT currently online. Sorted by displayName.
Commentateurs précédents sur la page qui ne sont PAS actuellement en ligne. Triés par displayName.
Use this after exhausting /users/online to render a "Members" section.
Utilisez ceci après avoir épuisé /users/online pour afficher une section « Membres ».
Cursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName} index from afterName forward via $gt, no $skip cost.
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
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| after_name | String | No | |
| after_user_id | String | No |
Response
Retourne : 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 à toute 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
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes |
Réponse
Retourne : GetPageByUrlidApiResponse
Exemple

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

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

get_users_info 
Bulk user info for a tenant. Given userIds, return display info from User / SSOUser.
Used by the comment widget to enrich users that just appeared via a presence event.
No page context: privacy is enforced uniformly (private profiles are masked).
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| ids | String | Oui |
Réponse
Renvoie : PageUsersInfoResponse
Exemple

patch_page 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_api_page_data | models::UpdateApiPageData | Oui |
Réponse
Renvoie : 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
| Name | Type | Required | 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 |
Réponse
Renvoie: 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 
Parameters
| 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
Retourne : 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 | Oui | |
| id | String | Oui | |
| update_question_config_body | models::UpdateQuestionConfigBody | Oui |
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
Renvoie : CreateQuestionResultResponse
Exemple

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

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

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

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

aggregate_question_results 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| question_id | String | Non | |
| question_ids | Vec | Non | |
| url_id | String | Non | |
| time_bucket | models::AggregateTimeBucket | Non | |
| start_date | chrono::DateTimechrono::FixedOffset | Non | |
| force_recalculate | bool | Non |
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
Renvoie : 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
Retourne : CombineQuestionResultsWithCommentsResponse
Exemple

add_sso_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_apisso_user_data | models::CreateApissoUserData | Yes |
Réponse
Renvoie : 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 | Oui | |
| String | Oui |
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
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| skip | i32 | Non |
Réponse
Renvoie : GetSsoUsersResponse
Exemple

patch_sso_user 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_apisso_user_data | models::UpdateApissoUserData | Yes | |
| update_comments | bool | No |
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 | Oui | |
| id | String | Oui | |
| user_id | String | Non |
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 | Oui | |
| id | String | Oui | |
| update_api_user_subscription_data | models::UpdateApiUserSubscriptionData | Oui | |
| user_id | String | Non |
Réponse
Renvoie : UpdateSubscriptionApiResponse
Exemple

get_tenant_daily_usages 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| year_number | f64 | Non | |
| month_number | f64 | Non | |
| day_number | f64 | Non | |
| skip | f64 | Non |
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
Renvoie : CreateTenantPackageResponse
Exemple

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

get_tenant_package 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
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 | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| replace_tenant_package_body | models::ReplaceTenantPackageBody | Oui |
Réponse
Renvoie: ApiEmptyResponse
Exemple

update_tenant_package 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_tenant_package_body | models::UpdateTenantPackageBody | Yes |
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 | Oui | |
| id | String | Oui | |
| delete_comments | String | Non | |
| comment_delete_mode | String | Non |
Réponse
Retourne : ApiEmptyResponse
Exemple

get_tenant_user 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Réponse
Renvoie : GetTenantUserResponse
Exemple

get_tenant_users 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| skip | f64 | Non |
Réponse
Renvoie : 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
Renvoie : ApiEmptyResponse
Exemple

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

update_tenant_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_tenant_user_body | models::UpdateTenantUserBody | Yes | |
| update_comments | String | No |
Réponse
Renvoie : ApiEmptyResponse
Exemple

create_tenant 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_tenant_body | models::CreateTenantBody | Oui |
Réponse
Renvoie : 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
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| user_id | String | Oui | |
| create_ticket_body | models::CreateTicketBody | Oui |
Réponse
Renvoie : CreateTicketResponse
Exemple

get_ticket 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| user_id | String | No |
Réponse
Renvoie : GetTicketResponse
Exemple

get_tickets 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| state | f64 | No | |
| skip | f64 | No | |
| limit | f64 | No |
Réponse
Renvoie : 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 | Oui | |
| file | std::path::PathBuf | Oui | |
| size_preset | models::SizePreset | Non | |
| url_id | String | Non |
Réponse
Renvoie : UploadImageResponse
Exemple

get_user_badge_progress_by_id 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
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 | Oui | |
| user_id | String | Non | |
| limit | f64 | Non | |
| skip | f64 | Non |
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
Renvoie : ApiCreateUserBadgeResponse
Exemple

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

get_user_badge 
Paramètres
| Nom | Type | Obligatoire | 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 | Yes | |
| user_id | String | No | |
| badge_id | String | No | |
| displayed_on_comments | bool | No | |
| limit | f64 | No | |
| skip | f64 | No |
Réponse
Renvoie : 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
| Name | Type | Required | 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 | Yes | |
| sso | String | No |
Réponse
Renvoie : ResetUserNotificationsResponse
Exemple

reset_user_notifications 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| after_id | String | Non | |
| after_created_at | i64 | Non | |
| unread_only | bool | Non | |
| dm_only | bool | Non | |
| no_dm | bool | Non | |
| sso | String | Non |
Réponse
Retourne : ResetUserNotificationsResponse
Exemple

update_user_notification_comment_subscription_status 
Enable or disable notifications for a specific comment.
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 
Enable 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 racines, et aussi
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui | |
| url | String | Oui | |
| page_title | String | Oui | |
| subscribed_or_unsubscribed | String | Oui | |
| sso | String | Non |
Réponse
Retourne : UpdateUserNotificationPageSubscriptionStatusResponse
Exemple

update_user_notification_status 
Paramètres
| Nom | Type | Requis | 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 | Oui | |
| url_id_ws | String | Oui | |
| user_ids | String | Oui |
Réponse
Renvoie : GetUserPresenceStatusesResponse
Exemple

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

get_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie : 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
Renvoie : 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 | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui |
Réponse
Renvoie : GetVotesResponse
Exemple

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

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