
Taal 🇳🇱 Nederlands
Aan de slag
Documentatie
Aggregatie
Auditlogs
Blokkeren via opmerking
Controleer geblokkeerde opmerkingen
Opmerkingen
Domeinconfiguraties
E-mailsjablonen
Gebeurtenislogboek
Feed-berichten
Opmerking markeren
Hashtags
Moderatoren
Aantal meldingen
Meldingen
Pagina's
Wachtende webhook-gebeurtenissen
Vraagconfiguraties
Vraagresultaten
Aggregatie van vraagresultaten
SSO-gebruikers
Abonnementen
Dagelijks gebruik tenant
Tenantpakketten
Tenantgebruikers
Tenants
Afbeelding uploaden
Voortgang gebruikersbadge
Gebruikersbadges
Gebruikersmeldingen
Aanwezigheidsstatussen
Zoeken naar gebruikers
Gebruikers
Stemmen
FastComments Rust SDK
Dit is de officiële Rust SDK voor FastComments.
Officiële Rust SDK voor de FastComments API
Repository
Bibliotheekinhoud 
De FastComments Rust SDK bestaat uit meerdere modules:
Client Module - Automatisch gegenereerde API-client voor de FastComments REST-API's
- Volledige type-definities voor alle API-modellen
- Zowel geauthenticeerde (
DefaultApi) als openbare (PublicApi) endpoints - Volledige async/await-ondersteuning met tokio
- Zie client/README.md voor gedetailleerde API-documentatie
SSO Module - Server-side Single Sign-On-hulpmiddelen
- Veilige tokengeneratie voor gebruikersauthenticatie
- Ondersteuning voor zowel eenvoudige als veilige SSO-modi
- Op HMAC-SHA256 gebaseerde tokenondertekening
Core Types - Gedeelde type-definities en hulpmiddelen
- Commentaarmodellen en metadata-structuren
- Gebruikers- en tenantconfiguraties
- Hulpfuncties voor veelvoorkomende bewerkingen
Snelstart 
Gebruik van de publieke API
use fastcomments_sdk::client::apis::configuration::Configuration;
use fastcomments_sdk::client::apis::public_api;
#[tokio::main]
async fn main() {
// Maak API-configuratie
let config = Configuration::new();
// Haal reacties op voor een pagina
let result = public_api::get_comments_public(
&config,
public_api::GetCommentsPublicParams {
tenant_id: "your-tenant-id".to_string(),
urlid: Some("page-url-id".to_string()),
url: None,
count_only: None,
skip: None,
limit: None,
sort_dir: None,
page: None,
sso_hash: None,
simple_sso_hash: None,
has_no_comment: None,
has_comment: None,
comment_id_filter: None,
child_ids: None,
start_date_time: None,
starts_with: None,
},
)
.await;
match result {
Ok(response) => {
println!("Found {} comments", response.comments.len());
for comment in response.comments {
println!("Comment: {:?}", comment);
}
}
Err(e) => eprintln!("Error fetching comments: {:?}", e),
}
}
Gebruik van de geauthenticeerde API
use fastcomments_sdk::client::apis::configuration::{ApiKey, Configuration};
use fastcomments_sdk::client::apis::default_api;
#[tokio::main]
async fn main() {
// Maak configuratie met API-sleutel
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "your-api-key".to_string(),
});
// Haal reacties op met de geauthenticeerde API
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),
}
}
SSO gebruiken voor authenticatie
use fastcomments_sdk::sso::{
fastcomments_sso::FastCommentsSSO,
secure_sso_user_data::SecureSSOUserData,
};
fn main() {
let api_key = "your-api-key".to_string();
// Maak beveiligde SSO-gebruikersgegevens aan (alleen aan de serverzijde!)
let user_data = SecureSSOUserData::new(
"user-123".to_string(), // Gebruikers-ID
"user@example.com".to_string(), // E-mail
"John Doe".to_string(), // Gebruikersnaam
"https://example.com/avatar.jpg".to_string(), // Avatar-URL
);
// Genereer SSO-token
let sso = FastCommentsSSO::new_secure(api_key, &user_data).unwrap();
let token = sso.create_token().unwrap();
println!("SSO Token: {}", token);
// Geef dit token door aan je frontend voor authenticatie
}
Veelvoorkomende problemen 
401 Ongeautoriseerde fouten
Als u 401-fouten krijgt bij het gebruik van de geauthenticeerde API:
- Controleer uw API key: Zorg dat u de juiste API key uit uw FastComments-dashboard gebruikt
- Verifieer de tenant ID: Zorg dat de tenant ID overeenkomt met uw account
- API key-formaat: De API key moet worden doorgegeven in de Configuration:
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "YOUR_API_KEY".to_string(),
});
Problemen met SSO-tokens
Als SSO-tokens niet werken:
- Gebruik veilige modus voor productie: Gebruik altijd
FastCommentsSSO::new_secure()met uw API key in productie - Alleen server-side: Genereer SSO-tokens op uw server, stel uw API key nooit bloot aan clients
- Controleer gebruikersgegevens: Zorg dat alle vereiste velden (id, email, username) zijn opgegeven
Fouten van de async-runtime
De SDK gebruikt tokio voor async-bewerkingen. Zorg ervoor dat u:
Voeg tokio toe aan uw afhankelijkheden:
[dependencies] tokio = { version = "1", features = ["full"] }Gebruik de tokio-runtime:
#[tokio::main] async fn main() { // Your async code here }
Opmerkingen 
Broadcast IDs
Je zult zien dat je in sommige API-aanroepen een broadcastId moet meegeven. Wanneer je events ontvangt, krijg je deze ID terug, zodat je het event kunt negeren als je van plan bent wijzigingen optimistisch op de client toe te passen (wat je waarschijnlijk wilt doen, omdat het de beste ervaring biedt). Geef hier een UUID door. De ID moet uniek genoeg zijn zodat deze niet twee keer voorkomt in een browsersessie.
aggregate 
Aggregeert documenten door ze te groeperen (als groupBy is opgegeven) en meerdere bewerkingen toe te passen. Verschillende bewerkingen (bijv. sum, countDistinct, avg, enz.) worden ondersteund.
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| aggregation_request | models::AggregationRequest | Ja | |
| parent_tenant_id | String | Nee | |
| include_stats | bool | Nee |
Response
Retourneert: AggregationResponse
get_audit_logs 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| limit | f64 | Nee | |
| skip | f64 | Nee | |
| order | models::SortDir | Nee | |
| after | f64 | Nee | |
| before | f64 | Nee |
Respons
Geeft terug: GetAuditLogs200Response
block_from_comment_public 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| public_block_from_comment_params | models::PublicBlockFromCommentParams | Ja | |
| sso | String | Nee |
Respons
Retourneert: BlockFromCommentPublic200Response
un_block_comment_public 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| public_block_from_comment_params | models::PublicBlockFromCommentParams | Ja | |
| sso | String | Nee |
Antwoord
Retourneert: UnBlockCommentPublic200Response
checked_comments_for_blocked 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_ids | String | Ja | |
| sso | String | Nee |
Respons
Geeft terug: CheckedCommentsForBlocked200Response
block_user_from_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| block_from_comment_params | models::BlockFromCommentParams | Ja | |
| user_id | String | Nee | |
| anon_user_id | String | Nee |
Respons
Retourneert: BlockFromCommentPublic200Response
create_comment_public 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| broadcast_id | String | Ja | |
| comment_data | models::CommentData | Ja | |
| session_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: CreateCommentPublic200Response
delete_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| context_user_id | String | Nee | |
| is_live | bool | Nee |
Respons
Geeft terug: DeleteComment200Response
delete_comment_public 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| broadcast_id | String | Ja | |
| edit_key | String | Nee | |
| sso | String | Nee |
Antwoord
Retourneert: DeleteCommentPublic200Response
delete_comment_vote 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| vote_id | String | Ja | |
| url_id | String | Ja | |
| broadcast_id | String | Ja | |
| edit_key | String | Nee | |
| sso | String | Nee |
Respons
Geeft terug: DeleteCommentVote200Response
flag_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| user_id | String | Nee | |
| anon_user_id | String | Nee |
Response
Geeft terug: FlagComment200Response
get_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Response
Geeft terug: GetComment200Response
get_comment_text 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| edit_key | String | Nee | |
| sso | String | Nee |
Respons
Geeft terug: GetCommentText200Response
get_comment_vote_user_names 
Parameters
| Name | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| dir | i32 | Ja | |
| sso | String | Nee |
Response
Retourneert: GetCommentVoteUserNames200Response
get_comments 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| page | i32 | Nee | |
| limit | i32 | Nee | |
| skip | i32 | Nee | |
| as_tree | bool | Nee | |
| skip_children | i32 | Nee | |
| limit_children | i32 | Nee | |
| max_tree_depth | i32 | Nee | |
| url_id | String | Nee | |
| user_id | String | Nee | |
| anon_user_id | String | Nee | |
| context_user_id | String | Nee | |
| hash_tag | String | Nee | |
| parent_id | String | Nee | |
| direction | models::SortDirections | Nee |
Response
Geeft terug: GetComments200Response
get_comments_public 
req tenantId urlId
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| page | i32 | Nee | |
| direction | models::SortDirections | Nee | |
| sso | String | Nee | |
| skip | i32 | Nee | |
| skip_children | i32 | Nee | |
| limit | i32 | Nee | |
| limit_children | i32 | Nee | |
| count_children | bool | Nee | |
| fetch_page_for_comment_id | String | Nee | |
| include_config | bool | Nee | |
| count_all | bool | Nee | |
| includei10n | bool | Nee | |
| locale | String | Nee | |
| modules | String | Nee | |
| is_crawler | bool | Nee | |
| include_notification_count | bool | Nee | |
| as_tree | bool | Nee | |
| max_tree_depth | i32 | Nee | |
| use_full_translation_ids | bool | Nee | |
| parent_id | String | Nee | |
| search_text | String | Nee | |
| hash_tags | Vec |
Nee | |
| user_id | String | Nee | |
| custom_config_str | String | Nee | |
| after_comment_id | String | Nee | |
| before_comment_id | String | Nee |
Respons
Geeft terug: GetCommentsPublic200Response
lock_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| broadcast_id | String | Ja | |
| sso | String | Nee |
Antwoord
Retourneert: LockComment200Response
pin_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| broadcast_id | String | Ja | |
| sso | String | Nee |
Respons
Retourneert: PinComment200Response
save_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_comment_params | models::CreateCommentParams | Ja | |
| is_live | bool | Nee | |
| do_spam_check | bool | Nee | |
| send_emails | bool | Nee | |
| populate_notifications | bool | Nee |
Response
Retourneert: SaveComment200Response
save_comments_bulk 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_comment_params | Vecmodels::CreateCommentParams | Ja | |
| is_live | bool | Nee | |
| do_spam_check | bool | Nee | |
| send_emails | bool | Nee | |
| populate_notifications | bool | Nee |
Antwoord
Retourneert: Vec<models::SaveComment200Response>
set_comment_text 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| broadcast_id | String | Ja | |
| comment_text_update_request | models::CommentTextUpdateRequest | Ja | |
| edit_key | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: SetCommentText200Response
un_block_user_from_comment 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| un_block_from_comment_params | models::UnBlockFromCommentParams | Ja | |
| user_id | String | Nee | |
| anon_user_id | String | Nee |
Response
Retourneert: UnBlockCommentPublic200Response
un_flag_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| user_id | String | Nee | |
| anon_user_id | String | Nee |
Antwoord
Retourneert: FlagComment200Response
un_lock_comment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | Yes | |
| sso | String | No |
Respons
Retourneert: LockComment200Response
un_pin_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| broadcast_id | String | Ja | |
| sso | String | Nee |
Respons
Retourneert: PinComment200Response
update_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| body | models::PickApiCommentPeriodUpdatableCommentFields | Ja | |
| context_user_id | String | Nee | |
| do_spam_check | bool | Nee | |
| is_live | bool | Nee |
Respons
Retourneert: FlagCommentPublic200Response
vote_comment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| url_id | String | Ja | |
| broadcast_id | String | Ja | |
| vote_body_params | models::VoteBodyParams | Ja | |
| session_id | String | Nee | |
| sso | String | Nee |
Respons
Geeft terug: VoteComment200Response
add_domain_config 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| add_domain_config_params | models::AddDomainConfigParams | Ja |
Respons
Retourneert: AddDomainConfig200Response
delete_domain_config 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| domain | String | Ja |
Antwoord
Retourneert: DeleteDomainConfig200Response
get_domain_config 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| domain | String | Ja |
Antwoord
Retourneert: GetDomainConfig200Response
get_domain_configs 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja |
Respons
Geeft terug: GetDomainConfigs200Response
patch_domain_config 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| domain_to_update | String | Ja | |
| patch_domain_config_params | models::PatchDomainConfigParams | Ja |
Antwoord
Retourneert: GetDomainConfig200Response
put_domain_config 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| domain_to_update | String | Ja | |
| update_domain_config_params | models::UpdateDomainConfigParams | Ja |
Antwoord
Geeft terug: GetDomainConfig200Response
create_email_template 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_email_template_body | models::CreateEmailTemplateBody | Ja |
Antwoord
Geeft terug: CreateEmailTemplate200Response
Voorbeeld

delete_email_template 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Response
Geeft terug: FlagCommentPublic200Response
Voorbeeld

delete_email_template_render_error 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| error_id | String | Yes |
Respons
Geeft terug: FlagCommentPublic200Response
Voorbeeld

get_email_template 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: GetEmailTemplate200Response
Voorbeeld

get_email_template_definitions 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja |
Respons
Retourneert: GetEmailTemplateDefinitions200Response
Voorbeeld

get_email_template_render_errors 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| skip | f64 | Nee |
Respons
Retourneert: GetEmailTemplateRenderErrors200Response
Voorbeeld

get_email_templates 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| skip | f64 | Nee |
Respons
Retourneert: GetEmailTemplates200Response
Voorbeeld

render_email_template 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Ja | |
| render_email_template_body | models::RenderEmailTemplateBody | Ja | |
| locale | String | Nee |
Antwoord
Retourneert: RenderEmailTemplate200Response
Voorbeeld

update_email_template 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_email_template_body | models::UpdateEmailTemplateBody | Ja |
Antwoord
Retourneert: FlagCommentPublic200Response
Voorbeeld

get_event_log 
req tenantId urlId userIdWS
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| user_id_ws | String | Ja | |
| start_time | i64 | Ja | |
| end_time | i64 | Ja |
Response
Retourneert: GetEventLog200Response
get_global_event_log 
req tenantId urlId userIdWS
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| user_id_ws | String | Ja | |
| start_time | i64 | Ja | |
| end_time | i64 | Ja |
Antwoord
Retourneert: GetEventLog200Response
create_feed_post 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_feed_post_params | models::CreateFeedPostParams | Ja | |
| broadcast_id | String | Nee | |
| is_live | bool | Nee | |
| do_spam_check | bool | Nee | |
| skip_dup_check | bool | Nee |
Respons
Retourneert: CreateFeedPost200Response
create_feed_post_public 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_feed_post_params | models::CreateFeedPostParams | Ja | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Antwoord
Geeft terug: CreateFeedPostPublic200Response
delete_feed_post_public 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| post_id | String | Ja | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: DeleteFeedPostPublic200Response
get_feed_posts 
req tenantId afterId
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| after_id | String | Nee | |
| limit | i32 | Nee | |
| tags | Vec |
Nee |
Respons
Retourneert: GetFeedPosts200Response
get_feed_posts_public 
req tenantId afterId
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| after_id | String | Nee | |
| limit | i32 | Nee | |
| tags | Vec |
Nee | |
| sso | String | Nee | |
| is_crawler | bool | Nee | |
| include_user_info | bool | Nee |
Antwoord
Geeft terug: GetFeedPostsPublic200Response
get_feed_posts_stats 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| post_ids | Vec |
Ja | |
| sso | String | Nee |
Respons
Geeft terug: GetFeedPostsStats200Response
get_user_reacts_public 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| post_ids | Vec |
Nee | |
| sso | String | Nee |
Response
Retourneert: GetUserReactsPublic200Response
react_feed_post_public 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| post_id | String | Ja | |
| react_body_params | models::ReactBodyParams | Ja | |
| is_undo | bool | Nee | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: ReactFeedPostPublic200Response
update_feed_post 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| feed_post | models::FeedPost | Ja |
Response
Geeft terug: FlagCommentPublic200Response
update_feed_post_public 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| post_id | String | Ja | |
| update_feed_post_params | models::UpdateFeedPostParams | Ja | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Respons
Geeft terug: CreateFeedPostPublic200Response
flag_comment_public 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| is_flagged | bool | Ja | |
| sso | String | Nee |
Respons
Retourneert: FlagCommentPublic200Response
add_hash_tag 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Nee | |
| create_hash_tag_body | models::CreateHashTagBody | Nee |
Respons
Retourneert: AddHashTag200Response
Voorbeeld

add_hash_tags_bulk 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Nee | |
| bulk_create_hash_tags_body | models::BulkCreateHashTagsBody | Nee |
Respons
Retourneert: AddHashTagsBulk200Response
Voorbeeld

delete_hash_tag 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tag | String | Ja | |
| tenant_id | String | Nee | |
| delete_hash_tag_request | models::DeleteHashTagRequest | Nee |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

get_hash_tags 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Ja | |
| page | f64 | Nee |
Respons
Geeft terug: GetHashTags200Response
Voorbeeld

patch_hash_tag 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tag | String | Ja | |
| tenant_id | String | Nee | |
| update_hash_tag_body | models::UpdateHashTagBody | Nee |
Respons
Retourneert: PatchHashTag200Response
Voorbeeld

create_moderator 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_moderator_body | models::CreateModeratorBody | Ja |
Response
Retourneert: CreateModerator200Response
Voorbeeld

delete_moderator 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| send_email | String | Nee |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

get_moderator 
Parameters
| Name | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Respons
Retourneert: GetModerator200Response
Voorbeeld

get_moderators 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| skip | f64 | Nee |
Respons
Retourneert: GetModerators200Response
Voorbeeld

send_invite 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| from_name | String | Ja |
Response
Geeft terug: FlagCommentPublic200Response
Voorbeeld

update_moderator 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_moderator_body | models::UpdateModeratorBody | Ja |
Antwoord
Geeft terug: FlagCommentPublic200Response
Voorbeeld

delete_notification_count 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Antwoord
Geeft terug: FlagCommentPublic200Response
Voorbeeld

get_cached_notification_count 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: GetCachedNotificationCount200Response
Voorbeeld

get_notification_count 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Nee | |
| url_id | String | Nee | |
| from_comment_id | String | Nee | |
| viewed | bool | Nee |
Respons
Geeft terug: GetNotificationCount200Response
Voorbeeld

get_notifications 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Nee | |
| url_id | String | Nee | |
| from_comment_id | String | Nee | |
| viewed | bool | Nee | |
| skip | f64 | Nee |
Antwoord
Geeft terug: GetNotifications200Response
Voorbeeld

update_notification 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_notification_body | models::UpdateNotificationBody | Ja | |
| user_id | String | Nee |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

add_page 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_api_page_data | models::CreateApiPageData | Ja |
Antwoord
Retourneert: AddPageApiResponse
delete_page 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: DeletePageApiResponse
get_page_by_urlid 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja |
Respons
Retourneert: GetPageByUrlidApiResponse
get_pages 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja |
Respons
Retourneert: GetPagesApiResponse
patch_page 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_api_page_data | models::UpdateApiPageData | Ja |
Antwoord
Retourneert: PatchPageApiResponse
delete_pending_webhook_event 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

get_pending_webhook_event_count 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Nee | |
| external_id | String | Nee | |
| event_type | String | Nee | |
| domain | String | Nee | |
| attempt_count_gt | f64 | Nee |
Respons
Retourneert: GetPendingWebhookEventCount200Response
Voorbeeld

get_pending_webhook_events 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Nee | |
| external_id | String | Nee | |
| event_type | String | Nee | |
| domain | String | Nee | |
| attempt_count_gt | f64 | Nee | |
| skip | f64 | Nee |
Antwoord
Retourneert: GetPendingWebhookEvents200Response
Voorbeeld

create_question_config 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_question_config_body | models::CreateQuestionConfigBody | Ja |
Antwoord
Geeft terug: CreateQuestionConfig200Response
Voorbeeld

delete_question_config 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Response
Geeft terug: FlagCommentPublic200Response
Voorbeeld

get_question_config 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Antwoord
Retourneert: GetQuestionConfig200Response
Voorbeeld

get_question_configs 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| skip | f64 | Nee |
Antwoord
Retourneert: GetQuestionConfigs200Response
Voorbeeld

update_question_config 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_question_config_body | models::UpdateQuestionConfigBody | Ja |
Antwoord
Geeft terug: FlagCommentPublic200Response
Voorbeeld

create_question_result 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_question_result_body | models::CreateQuestionResultBody | Ja |
Response
Retourneert: CreateQuestionResult200Response
Voorbeeld

delete_question_result 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Geeft terug: FlagCommentPublic200Response
Voorbeeld

get_question_result 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Respons
Geeft terug: GetQuestionResult200Response
Voorbeeld

get_question_results 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Nee | |
| user_id | String | Nee | |
| start_date | String | Nee | |
| question_id | String | Nee | |
| question_ids | String | Nee | |
| skip | f64 | Nee |
Response
Retourneert: GetQuestionResults200Response
Voorbeeld

update_question_result 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_question_result_body | models::UpdateQuestionResultBody | Ja |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

aggregate_question_results 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| question_id | String | Nee | |
| question_ids | Vec |
Nee | |
| url_id | String | Nee | |
| time_bucket | models::AggregateTimeBucket | Nee | |
| start_date | String | Nee | |
| force_recalculate | bool | Nee |
Respons
Retourneert: AggregateQuestionResults200Response
bulk_aggregate_question_results 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| bulk_aggregate_question_results_request | models::BulkAggregateQuestionResultsRequest | Ja | |
| force_recalculate | bool | Nee |
Antwoord
Retourneert: BulkAggregateQuestionResults200Response
combine_comments_with_question_results 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Ja | |
| question_id | String | Nee | |
| question_ids | Vec |
Nee | |
| url_id | String | Nee | |
| start_date | String | Nee | |
| force_recalculate | bool | Nee | |
| min_value | f64 | Nee | |
| max_value | f64 | Nee | |
| limit | f64 | Nee |
Respons
Retourneert: CombineCommentsWithQuestionResults200Response
add_sso_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_apisso_user_data | models::CreateApissoUserData | Ja |
Respons
Retourneert: AddSsoUserApiResponse
delete_sso_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| delete_comments | bool | Nee | |
| comment_delete_mode | String | Nee |
Antwoord
Retourneert: DeleteSsoUserApiResponse
get_sso_user_by_email 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| String | Ja |
Respons
Geeft terug: GetSsoUserByEmailApiResponse
get_sso_user_by_id 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Antwoord
Geeft terug: GetSsoUserByIdApiResponse
get_sso_users 
Parameters
| Name | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| skip | i32 | Nee |
Respons
Retourneert: GetSsoUsers200Response
patch_sso_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_apisso_user_data | models::UpdateApissoUserData | Ja | |
| update_comments | bool | Nee |
Respons
Geeft terug: PatchSsoUserApiResponse
put_sso_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_apisso_user_data | models::UpdateApissoUserData | Ja | |
| update_comments | bool | Nee |
Antwoord
Retourneert: PutSsoUserApiResponse
create_subscription 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_api_user_subscription_data | models::CreateApiUserSubscriptionData | Ja |
Respons
Retourneert: CreateSubscriptionApiResponse
delete_subscription 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| user_id | String | Nee |
Antwoord
Retourneert: DeleteSubscriptionApiResponse
get_subscriptions 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Nee |
Antwoord
Retourneert: GetSubscriptionsApiResponse
get_tenant_daily_usages 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| year_number | f64 | Nee | |
| month_number | f64 | Nee | |
| day_number | f64 | Nee | |
| skip | f64 | Nee |
Respons
Retourneert: GetTenantDailyUsages200Response
Voorbeeld

create_tenant_package 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_tenant_package_body | models::CreateTenantPackageBody | Yes |
Antwoord
Retourneert: CreateTenantPackage200Response
Voorbeeld

delete_tenant_package 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Geeft terug: FlagCommentPublic200Response
Voorbeeld

get_tenant_package 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Antwoord
Geeft terug: GetTenantPackage200Response
Voorbeeld

get_tenant_packages 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| skip | f64 | Nee |
Respons
Retourneert: GetTenantPackages200Response
Voorbeeld

replace_tenant_package 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| replace_tenant_package_body | models::ReplaceTenantPackageBody | Ja |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

update_tenant_package 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_tenant_package_body | models::UpdateTenantPackageBody | Ja |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

create_tenant_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_tenant_user_body | models::CreateTenantUserBody | Ja |
Antwoord
Retourneert: CreateTenantUser200Response
Voorbeeld

delete_tenant_user 
Parameters
| Name | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| delete_comments | String | Nee | |
| comment_delete_mode | String | Nee |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

get_tenant_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: GetTenantUser200Response
Voorbeeld

get_tenant_users 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| skip | f64 | Nee |
Respons
Retourneert: GetTenantUsers200Response
Voorbeeld

replace_tenant_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| replace_tenant_user_body | models::ReplaceTenantUserBody | Ja | |
| update_comments | String | Nee |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

send_login_link 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| redirect_url | String | Nee |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

update_tenant_user 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_tenant_user_body | models::UpdateTenantUserBody | Yes | |
| update_comments | String | No |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

create_tenant 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_tenant_body | models::CreateTenantBody | Ja |
Response
Retourneert: CreateTenant200Response
Voorbeeld

delete_tenant 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| sure | String | Nee |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

get_tenant 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: GetTenant200Response
Voorbeeld

get_tenants 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| meta | String | Nee | |
| skip | f64 | Nee |
Respons
Geeft terug: GetTenants200Response
Voorbeeld

update_tenant 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_tenant_body | models::UpdateTenantBody | Ja |
Respons
Retourneert: FlagCommentPublic200Response
Voorbeeld

upload_image 
Een afbeelding uploaden en schalen
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| file | std::path::PathBuf | Ja | |
| size_preset | models::SizePreset | Nee | |
| url_id | String | Nee |
Respons
Retourneert: UploadImageResponse
get_user_badge_progress_by_id 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: GetUserBadgeProgressById200Response
get_user_badge_progress_by_user_id 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Ja |
Response
Retourneert: GetUserBadgeProgressById200Response
get_user_badge_progress_list 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Nee | |
| limit | f64 | Nee | |
| skip | f64 | Nee |
Response
Retourneert: GetUserBadgeProgressList200Response
create_user_badge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_user_badge_params | models::CreateUserBadgeParams | Ja |
Respons
Retourneert: CreateUserBadge200Response
delete_user_badge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Antwoord
Geeft terug: UpdateUserBadge200Response
get_user_badge 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Response
Retourneert: GetUserBadge200Response
get_user_badges 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Nee | |
| badge_id | String | Nee | |
| displayed_on_comments | bool | Nee | |
| limit | f64 | Nee | |
| skip | f64 | Nee |
Respons
Retourneert: GetUserBadges200Response
update_user_badge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_user_badge_params | models::UpdateUserBadgeParams | Ja |
Respons
Retourneert: UpdateUserBadge200Response
get_user_notification_count 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| sso | String | Nee |
Response
Geeft terug: GetUserNotificationCount200Response
get_user_notifications 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| page_size | i32 | Nee | |
| after_id | String | Nee | |
| include_context | bool | Nee | |
| after_created_at | i64 | Nee | |
| unread_only | bool | Nee | |
| dm_only | bool | Nee | |
| no_dm | bool | Nee | |
| include_translations | bool | Nee | |
| sso | String | Nee |
Antwoord
Retourneert: GetUserNotifications200Response
reset_user_notification_count 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| sso | String | Nee |
Respons
Retourneert: ResetUserNotifications200Response
reset_user_notifications 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| after_id | String | Nee | |
| after_created_at | i64 | Nee | |
| unread_only | bool | Nee | |
| dm_only | bool | Nee | |
| no_dm | bool | Nee | |
| sso | String | Nee |
Antwoord
Retourneert: ResetUserNotifications200Response
update_user_notification_comment_subscription_status 
Schakel meldingen voor een specifieke reactie in of uit.
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| notification_id | String | Ja | |
| opted_in_or_out | String | Ja | |
| comment_id | String | Ja | |
| sso | String | Nee |
Respons
Geeft terug: UpdateUserNotificationStatus200Response
update_user_notification_page_subscription_status 
Schakel meldingen in of uit voor een pagina. Wanneer gebruikers op een pagina zijn geabonneerd, worden meldingen aangemaakt voor nieuwe rootreacties, en ook
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| url | String | Ja | |
| page_title | String | Ja | |
| subscribed_or_unsubscribed | String | Ja | |
| sso | String | Nee |
Response
Retourneert: UpdateUserNotificationStatus200Response
update_user_notification_status 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| notification_id | String | Ja | |
| new_status | String | Ja | |
| sso | String | Nee |
Antwoord
Retourneert: UpdateUserNotificationStatus200Response
get_user_presence_statuses 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id_ws | String | Ja | |
| user_ids | String | Ja |
Respons
Geeft terug: GetUserPresenceStatuses200Response
search_users 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| username_starts_with | String | Ja | |
| mention_group_ids | Vec |
Nee | |
| sso | String | Nee |
Antwoord
Retourneert: SearchUsers200Response
get_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: GetUser200Response
Voorbeeld

create_vote 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| direction | String | Ja | |
| user_id | String | Nee | |
| anon_user_id | String | Nee |
Antwoord
Geeft terug: VoteComment200Response
Voorbeeld

delete_vote 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| edit_key | String | Nee |
Antwoord
Geeft terug: DeleteCommentVote200Response
Voorbeeld

get_votes 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja |
Respons
Retourneert: GetVotes200Response
Voorbeeld

get_votes_for_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| user_id | String | Nee | |
| anon_user_id | String | Nee |
Response
Retourneert: GetVotesForUser200Response
Voorbeeld

Hulp nodig?
Als u problemen tegenkomt of vragen heeft over de Rust SDK, neem dan:
Bijdragen
Bijdragen zijn welkom! Bezoek de GitHub-repository voor richtlijnen voor bijdragen.