
Langue 🇫🇷 Français (France)
Premiers pas
Documentation
Agrégation
Journaux d'audit
Blocage depuis un commentaire
Vérifier les commentaires bloqués
Commentaires
Configurations de domaine
Modèles d'e-mail
Journal d'événements
Publications
Signaler un commentaire
Hashtags
Modérateurs
Nombre de notifications
Notifications
Pages
Événements webhook en attente
Configurations de questions
Résultats des questions
Agrégation des résultats des questions
Utilisateurs SSO
Abonnements
Utilisation quotidienne du locataire
Forfaits des locataires
Utilisateurs du locataire
Locataires
Téléverser une image
Progression du badge utilisateur
Badges utilisateur
Notifications utilisateur
Statuts de présence des utilisateurs
Recherche d'utilisateurs
Utilisateurs
Votes
FastComments Rust SDK
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.
Library Contents 
Le SDK Rust de FastComments se compose de plusieurs modules :
Client Module - Client API généré automatiquement pour les API REST de FastComments
- Définitions de types complètes pour tous les modèles d'API
- Points de terminaison à la fois authentifiés (
DefaultApi) et publics (PublicApi) - Prise en charge complète d'async/await avec tokio
- Voir client/README.md pour la documentation détaillée de l'API
SSO Module - Utilitaires 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 des jetons basée sur HMAC-SHA256
Core Types - Définitions de types partagées et utilitaires
- Modèles de commentaires et structures de métadonnées
- Configurations des utilisateurs et des locataires
- Fonctions utilitaires pour les opérations courantes
Quick Start 
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 d'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 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 utilisateur SSO sécurisées (côté serveur uniquement !)
let user_data = SecureSSOUserData::new(
"user-123".to_string(), // ID utilisateur
"user@example.com".to_string(), // Adresse e-mail
"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
}
Common Issues 
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.
aggregate 
Agrège les documents en les groupant (si groupBy est fourni) et en appliquant plusieurs opérations. Différentes opérations (p. ex. sum, countDistinct, avg, etc.) sont prises en charge.
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
Retourne : AggregationResponse
get_audit_logs 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| limit | f64 | Non | |
| skip | f64 | Non | |
| order | models::SortDir | Non | |
| after | f64 | Non | |
| before | f64 | Non |
Réponse
Retourne : GetAuditLogs200Response
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: BlockFromCommentPublic200Response
un_block_comment_public 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| public_block_from_comment_params | models::PublicBlockFromCommentParams | Oui | |
| sso | String | Non |
Réponse
Retourne: UnBlockCommentPublic200Response
checked_comments_for_blocked 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_ids | String | Oui | |
| sso | String | Non |
Réponse
Renvoie : CheckedCommentsForBlocked200Response
block_user_from_comment 
Paramètres
| Name | Type | Requis | 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
Retourne : BlockFromCommentPublic200Response
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
Renvoie: CreateCommentPublic200Response
delete_comment 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| context_user_id | String | Non | |
| is_live | bool | Non |
Réponse
Retourne : DeleteComment200Response
delete_comment_public 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| broadcast_id | String | Oui | |
| edit_key | String | Non | |
| sso | String | Non |
Réponse
Renvoie : DeleteCommentPublic200Response
delete_comment_vote 
Paramètres
| Nom | Type | Requis | 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 : DeleteCommentVote200Response
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 : FlagComment200Response
get_comment 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Réponse
Renvoie : GetComment200Response
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
Retourne : GetCommentText200Response
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
Retourne : GetCommentVoteUserNames200Response
get_comments 
Paramètres
| Nom | Type | Requis | 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 |
Réponse
Renvoie: GetComments200Response
get_comments_public 
req tenantId urlId
Paramètres
| Name | Type | Required | 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
Renvoie: GetCommentsPublic200Response
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: LockComment200Response
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: PinComment200Response
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
Renvoie : SaveComment200Response
save_comments_bulk 
Paramètres
| Nom | Type | Requis | 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::SaveComment200Response>
set_comment_text 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| broadcast_id | String | Oui | |
| comment_text_update_request | models::CommentTextUpdateRequest | Oui | |
| edit_key | String | Non | |
| sso | String | Non |
Réponse
Renvoie: SetCommentText200Response
un_block_user_from_comment 
Paramètres
| Nom | Type | Requis | 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
Renvoie : UnBlockCommentPublic200Response
un_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
Retourne: FlagComment200Response
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: LockComment200Response
un_pin_comment 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| broadcast_id | String | Oui | |
| sso | String | Non |
Réponse
Renvoie : PinComment200Response
update_comment 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| body | models::PickApiCommentPeriodUpdatableCommentFields | Oui | |
| context_user_id | String | Non | |
| do_spam_check | bool | Non | |
| is_live | bool | Non |
Réponse
Renvoie: FlagCommentPublic200Response
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: VoteComment200Response
add_domain_config 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| add_domain_config_params | models::AddDomainConfigParams | Oui |
Réponse
Renvoie : AddDomainConfig200Response
delete_domain_config 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| domain | String | Oui |
Réponse
Renvoie: DeleteDomainConfig200Response
get_domain_config 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| domain | String | Oui |
Réponse
Renvoie : GetDomainConfig200Response
get_domain_configs 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui |
Réponse
Renvoie: GetDomainConfigs200Response
patch_domain_config 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| domain_to_update | String | Oui | |
| patch_domain_config_params | models::PatchDomainConfigParams | Oui |
Réponse
Retourne: GetDomainConfig200Response
put_domain_config 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| domain_to_update | String | Oui | |
| update_domain_config_params | models::UpdateDomainConfigParams | Oui |
Réponse
Renvoie : GetDomainConfig200Response
create_email_template 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_email_template_body | models::CreateEmailTemplateBody | Oui |
Réponse
Retourne: CreateEmailTemplate200Response
Exemple

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

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

get_email_template_definitions 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui |
Réponse
Renvoie: GetEmailTemplateDefinitions200Response
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 : GetEmailTemplateRenderErrors200Response
Exemple

get_email_templates 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| skip | f64 | Non |
Réponse
Renvoie: GetEmailTemplates200Response
Exemple

render_email_template 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| render_email_template_body | models::RenderEmailTemplateBody | Yes | |
| locale | String | No |
Réponse
Renvoie: RenderEmailTemplate200Response
Exemple

update_email_template 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_email_template_body | models::UpdateEmailTemplateBody | Oui |
Réponse
Retourne: FlagCommentPublic200Response
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 | Oui |
Réponse
Retourne: GetEventLog200Response
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 | Oui |
Réponse
Retourne: GetEventLog200Response
create_feed_post 
Paramètres
| Name | Type | Requis | 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
Renvoie : CreateFeedPost200Response
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
Retourne: CreateFeedPostPublic200Response
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
Renvoie: DeleteFeedPostPublic200Response
get_feed_posts 
req tenantId afterId
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| after_id | String | Non | |
| limit | i32 | Non | |
| tags | Vec |
Non |
Réponse
Renvoie : GetFeedPosts200Response
get_feed_posts_public 
req tenantId afterId
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| after_id | String | Non | |
| limit | i32 | Non | |
| tags | Vec |
Non | |
| sso | String | Non | |
| is_crawler | bool | Non | |
| include_user_info | bool | Non |
Réponse
Renvoie : GetFeedPostsPublic200Response
get_feed_posts_stats 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| post_ids | Vec |
Oui | |
| sso | String | Non |
Réponse
Renvoie: GetFeedPostsStats200Response
get_user_reacts_public 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| post_ids | Vec |
Non | |
| sso | String | Non |
Réponse
Renvoie : GetUserReactsPublic200Response
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 : ReactFeedPostPublic200Response
update_feed_post 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| feed_post | models::FeedPost | Oui |
Réponse
Renvoie: FlagCommentPublic200Response
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 : CreateFeedPostPublic200Response
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
Renvoie: FlagCommentPublic200Response
add_hash_tag 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Non | |
| create_hash_tag_body | models::CreateHashTagBody | Non |
Réponse
Renvoie: AddHashTag200Response
Exemple

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

delete_hash_tag 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tag | String | Yes | |
| tenant_id | String | No | |
| delete_hash_tag_request | models::DeleteHashTagRequest | No |
Réponse
Renvoie : FlagCommentPublic200Response
Exemple

get_hash_tags 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| page | f64 | Non |
Réponse
Renvoie: GetHashTags200Response
Exemple

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

create_moderator 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_moderator_body | models::CreateModeratorBody | Oui |
Réponse
Retourne : CreateModerator200Response
Exemple

delete_moderator 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| send_email | String | Non |
Réponse
Retourne : FlagCommentPublic200Response
Exemple

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

get_moderators 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| skip | f64 | Non |
Réponse
Renvoie : GetModerators200Response
Exemple

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

update_moderator 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_moderator_body | models::UpdateModeratorBody | Oui |
Réponse
Renvoie: FlagCommentPublic200Response
Exemple

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

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

get_notification_count 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| user_id | String | Non | |
| url_id | String | Non | |
| from_comment_id | String | Non | |
| viewed | bool | Non |
Réponse
Retourne : GetNotificationCount200Response
Exemple

get_notifications 
Paramètres
| Name | Type | Required | 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 : GetNotifications200Response
Exemple

update_notification 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_notification_body | models::UpdateNotificationBody | Oui | |
| user_id | String | Non |
Réponse
Renvoie : FlagCommentPublic200Response
Exemple

add_page 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_api_page_data | models::CreateApiPageData | Oui |
Réponse
Renvoie: AddPageApiResponse
delete_page 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie : DeletePageApiResponse
get_page_by_urlid 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui |
Réponse
Retourne: GetPageByUrlidApiResponse
get_pages 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui |
Réponse
Renvoie: GetPagesApiResponse
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
delete_pending_webhook_event 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie : FlagCommentPublic200Response
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
Renvoie : GetPendingWebhookEventCount200Response
Exemple

get_pending_webhook_events 
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 | |
| skip | f64 | Non |
Réponse
Renvoie : GetPendingWebhookEvents200Response
Exemple

create_question_config 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_question_config_body | models::CreateQuestionConfigBody | Oui |
Réponse
Renvoie : CreateQuestionConfig200Response
Exemple

delete_question_config 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie : FlagCommentPublic200Response
Exemple

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

get_question_configs 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| skip | f64 | Non |
Réponse
Renvoie: GetQuestionConfigs200Response
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
Renvoie : FlagCommentPublic200Response
Exemple

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

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

get_question_result 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie: GetQuestionResult200Response
Exemple

get_question_results 
Paramètres
| Name | Type | Requis | 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 : GetQuestionResults200Response
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: FlagCommentPublic200Response
Exemple

aggregate_question_results 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| question_id | String | Non | |
| question_ids | Vec |
Non | |
| url_id | String | Non | |
| time_bucket | models::AggregateTimeBucket | Non | |
| start_date | String | Non | |
| force_recalculate | bool | Non |
Réponse
Renvoie: AggregateQuestionResults200Response
bulk_aggregate_question_results 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| bulk_aggregate_question_results_request | models::BulkAggregateQuestionResultsRequest | Oui | |
| force_recalculate | bool | Non |
Réponse
Renvoie : BulkAggregateQuestionResults200Response
combine_comments_with_question_results 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| question_id | String | Non | |
| question_ids | Vec |
Non | |
| url_id | String | Non | |
| start_date | String | Non | |
| force_recalculate | bool | Non | |
| min_value | f64 | Non | |
| max_value | f64 | Non | |
| limit | f64 | Non |
Réponse
Renvoie : CombineCommentsWithQuestionResults200Response
add_sso_user 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_apisso_user_data | models::CreateApissoUserData | Oui |
Réponse
Renvoie: AddSsoUserApiResponse
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
get_sso_user_by_email 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| String | Oui |
Réponse
Renvoie : GetSsoUserByEmailApiResponse
get_sso_user_by_id 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie: GetSsoUserByIdApiResponse
get_sso_users 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| skip | i32 | Non |
Réponse
Renvoie : GetSsoUsers200Response
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
put_sso_user 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_apisso_user_data | models::UpdateApissoUserData | Oui | |
| update_comments | bool | Non |
Réponse
Renvoie: PutSsoUserApiResponse
create_subscription 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_api_user_subscription_data | models::CreateApiUserSubscriptionData | Oui |
Réponse
Renvoie: CreateSubscriptionApiResponse
delete_subscription 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| user_id | String | Non |
Réponse
Retourne: DeleteSubscriptionApiResponse
get_subscriptions 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| user_id | String | Non |
Réponse
Renvoie: GetSubscriptionsApiResponse
get_tenant_daily_usages 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| year_number | f64 | Non | |
| month_number | f64 | Non | |
| day_number | f64 | Non | |
| skip | f64 | Non |
Réponse
Renvoie : GetTenantDailyUsages200Response
Exemple

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

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

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

get_tenant_packages 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| skip | f64 | Non |
Réponse
Retourne : GetTenantPackages200Response
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 : FlagCommentPublic200Response
Exemple

update_tenant_package 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_tenant_package_body | models::UpdateTenantPackageBody | Oui |
Réponse
Renvoie : FlagCommentPublic200Response
Exemple

create_tenant_user 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_tenant_user_body | models::CreateTenantUserBody | Oui |
Réponse
Renvoie: CreateTenantUser200Response
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
Renvoie : FlagCommentPublic200Response
Exemple

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

get_tenant_users 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| skip | f64 | Non |
Réponse
Renvoie : GetTenantUsers200Response
Exemple

replace_tenant_user 
Paramètres
| Name | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| replace_tenant_user_body | models::ReplaceTenantUserBody | Oui | |
| update_comments | String | Non |
Réponse
Renvoie : FlagCommentPublic200Response
Exemple

send_login_link 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| redirect_url | String | Non |
Réponse
Renvoie : FlagCommentPublic200Response
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 : FlagCommentPublic200Response
Exemple

create_tenant 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_tenant_body | models::CreateTenantBody | Oui |
Réponse
Renvoie: CreateTenant200Response
Exemple

delete_tenant 
Parameters
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| sure | String | Non |
Réponse
Retourne : FlagCommentPublic200Response
Exemple

get_tenant 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie: GetTenant200Response
Exemple

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

update_tenant 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_tenant_body | models::UpdateTenantBody | Oui |
Réponse
Renvoie : FlagCommentPublic200Response
Exemple

upload_image 
Téléverser et redimensionner une image
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| file | std::path::PathBuf | Oui | |
| size_preset | models::SizePreset | Non | |
| url_id | String | Non |
Réponse
Renvoie: UploadImageResponse
get_user_badge_progress_by_id 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Retourne : GetUserBadgeProgressById200Response
get_user_badge_progress_by_user_id 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| user_id | String | Oui |
Réponse
Renvoie : GetUserBadgeProgressById200Response
get_user_badge_progress_list 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| user_id | String | Non | |
| limit | f64 | Non | |
| skip | f64 | Non |
Réponse
Renvoie : GetUserBadgeProgressList200Response
create_user_badge 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| create_user_badge_params | models::CreateUserBadgeParams | Oui |
Réponse
Retourne: CreateUserBadge200Response
delete_user_badge 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie: UpdateUserBadge200Response
get_user_badge 
Paramètres
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie : GetUserBadge200Response
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
Renvoie: GetUserBadges200Response
update_user_badge 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| update_user_badge_params | models::UpdateUserBadgeParams | Oui |
Réponse
Renvoie : UpdateUserBadge200Response
get_user_notification_count 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| sso | String | Non |
Réponse
Retourne : GetUserNotificationCount200Response
get_user_notifications 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| 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 | |
| sso | String | Non |
Réponse
Renvoie: GetUserNotifications200Response
reset_user_notification_count 
Paramètres
| Nom | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| sso | String | Non |
Réponse
Renvoie: ResetUserNotifications200Response
reset_user_notifications 
Paramètres
| Nom | Type | Obligatoire | 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
Renvoie : ResetUserNotifications200Response
update_user_notification_comment_subscription_status 
Activer ou désactiver les notifications pour un commentaire spécifique.
Paramètres
| Name | Type | Required | 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: UpdateUserNotificationStatus200Response
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 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
Renvoie : UpdateUserNotificationStatus200Response
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: UpdateUserNotificationStatus200Response
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 : GetUserPresenceStatuses200Response
search_users 
Paramètres
| Name | Type | Requis | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui | |
| username_starts_with | String | Oui | |
| mention_group_ids | Vec |
Non | |
| sso | String | Non |
Réponse
Renvoie: SearchUsers200Response
get_user 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui |
Réponse
Renvoie: GetUser200Response
Exemple

create_vote 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| comment_id | String | Oui | |
| direction | String | Oui | |
| user_id | String | Non | |
| anon_user_id | String | Non |
Réponse
Renvoie: VoteComment200Response
Exemple

delete_vote 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| id | String | Oui | |
| edit_key | String | Non |
Réponse
Renvoie : DeleteCommentVote200Response
Exemple

get_votes 
Paramètres
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Oui | |
| url_id | String | Oui |
Réponse
Retourne : GetVotes200Response
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 : GetVotesForUser200Response
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.