
Taal 🇳🇱 Nederlands
Aan de slag
Documentatie
Aggregatie
API
Auditlogs
Reactie blokkeren
Controleer geblokkeerde reacties
Reacties
Reacties voor gebruiker
Domeinconfiguraties
E-mailsjablonen
Gebeurtenislogboek
Feedberichten
Reactie markeren
GIFs
Hashtags
Moderatie
Moderatoren
Aantal meldingen
Meldingen
Pagina-reacties
Pagina's
Wachtende webhook-gebeurtenissen
Vraagconfiguraties
Vraagresultaten
Aggregatie van vraagresultaten
SSO-gebruikers
Abonnementen
Dagelijks gebruik van tenant
Tenantpakketten
Tenantgebruikers
Tenants
Tickets
Vertalingen
Afbeelding uploaden
Voortgang gebruikersbadge
Gebruikersbadges
Gebruikersmeldingen
Aanwezigheidsstatus gebruiker
Gebruiker zoeken
Gebruikers
Stemmen
FastComments Rust SDK
Dit is de officiële Rust SDK voor FastComments.
Officiële Rust SDK voor de FastComments API
Repository
Library Contents 
The FastComments Rust SDK bestaat uit verschillende modules:
-
Client Module - API-client voor FastComments REST API's
- Volledige type-definities voor alle API-modellen
- Drie API-clients die alle FastComments-methoden dekken:
default_api(DefaultApi) - methoden geauthenticeerd met API-sleutel voor server-side gebruikpublic_api(PublicApi) - openbare, zonder API-sleutel methoden die veilig kunnen worden aangeroepen vanuit browsers en mobiele appsmoderation_api(ModerationApi) - een uitgebreide suite van live en snelle moderatie-API's. Elke Moderatie-methode neemt eensso-parameter aan en kan authenticeren via SSO of een FastComments.com sessiecookie.
- Volledige async/await-ondersteuning met tokio
- Zie client/README.md voor gedetailleerde API-documentatie
-
SSO Module - Server-side Single Sign-On hulpprogramma's
- Veilige tokengeneratie voor gebruikersauthenticatie
- Ondersteuning voor zowel eenvoudige als beveiligde SSO-modus
- HMAC-SHA256 gebaseerde tokenondertekening
-
Core Types - Gedeelde type-definities en hulpprogramma's
- Commentaarmodellen en metadata-structuren
- Gebruiker- en tenantconfiguraties
- Helper-functies voor veelvoorkomende bewerkingen
Snelle start 
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 aan
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),
}
}
Gebruik van de moderatie-API
De moderatiemethoden ondersteunen het moderator-dashboard. Ze gebruiken een API-sleutel Configuration net als de geauthenticeerde API, en elke methode accepteert een optioneel sso token zodat de aanroep namens een via SSO geauthenticeerde moderator kan worden gedaan.
use fastcomments_sdk::client::apis::configuration::{ApiKey, Configuration};
use fastcomments_sdk::client::apis::moderation_api;
#[tokio::main]
async fn main() {
// Maak configuratie met API-sleutel aan
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "your-api-key".to_string(),
});
// Tel reacties die wachten in de moderatiewachtrij
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, // geef een SSO-token door om namens een via SSO geauthenticeerde moderator te handelen
},
)
.await;
match result {
Ok(response) => println!("Comments to moderate: {}", response.count),
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 veilige 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 
Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations.
Different operations (e.g. sum, countDistinct, avg, etc.) are supported.
Parameters
| Name | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| aggregation_request | models::AggregationRequest | Ja | |
| parent_tenant_id | String | Nee | |
| include_stats | bool | Nee |
Response
Retourneert: AggregateResponse
Voorbeeld

get_api_comments 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| page | f64 | Nee | |
| count | f64 | Nee | |
| text_search | String | Nee | |
| by_ip_from_comment | String | Nee | |
| filters | String | Nee | |
| search_filters | String | Nee | |
| sorts | String | Nee | |
| demo | bool | Nee | |
| sso | String | Nee |
Respons
Retourneert: ModerationApiGetCommentsResponse
Voorbeeld

get_api_export_status 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| batch_job_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: ModerationExportStatusResponse
Voorbeeld

get_api_ids 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| text_search | String | Nee | |
| by_ip_from_comment | String | Nee | |
| filters | String | Nee | |
| search_filters | String | Nee | |
| after_id | String | Nee | |
| demo | bool | Nee | |
| sso | String | Nee |
Response
Retourneert: ModerationApiGetCommentIdsResponse
Voorbeeld

post_api_export 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| text_search | String | Nee | |
| by_ip_from_comment | String | Nee | |
| filters | String | Nee | |
| search_filters | String | Nee | |
| sorts | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: ModerationExportResponse
Voorbeeld

get_audit_logs 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| limit | f64 | No | |
| skip | f64 | No | |
| order | models::SortDir | No | |
| after | f64 | No | |
| before | f64 | No |
Respons
Retourneert: GetAuditLogsResponse
Voorbeeld

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: BlockSuccess
Voorbeeld

un_block_comment_public 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| public_block_from_comment_params | models::PublicBlockFromCommentParams | Ja | |
| sso | String | Nee |
Respons
Retourneert: UnblockSuccess
Voorbeeld

checked_comments_for_blocked 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_ids | String | Ja | |
| sso | String | Nee |
Response
Retourneert: CheckBlockedCommentsResponse
Voorbeeld

block_user_from_comment 
Parameters
| Naam | Type | Verplicht | 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: BlockSuccess
Voorbeeld

create_comment_public 
Parameters
| Naam | Type | Verplicht | 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: SaveCommentsResponseWithPresence
Voorbeeld

delete_comment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| context_user_id | String | No | |
| is_live | bool | No |
Respons
Returns: DeleteCommentResult
Voorbeeld

delete_comment_public 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| broadcast_id | String | Ja | |
| edit_key | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: PublicApiDeleteCommentResponse
Voorbeeld

delete_comment_vote 
Parameters
| Naam | Type | Verplicht | 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 |
Response
Retourneert: VoteDeleteResponse
Voorbeeld

flag_comment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| user_id | String | Nee | |
| anon_user_id | String | Nee |
Respons
Retourneert: FlagCommentResponse
Voorbeeld

get_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: ApiGetCommentResponse
Voorbeeld

get_comment_text 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| edit_key | String | Nee | |
| sso | String | Nee |
Response
Retourneert: PublicApiGetCommentTextResponse
Example

get_comment_vote_user_names 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| dir | i32 | Ja | |
| sso | String | Nee |
Response
Retourneert: GetCommentVoteUserNamesSuccessResponse
Voorbeeld

get_comments 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| page | i32 | No | |
| limit | i32 | No | |
| skip | i32 | No | |
| as_tree | bool | No | |
| skip_children | i32 | No | |
| limit_children | i32 | No | |
| max_tree_depth | i32 | No | |
| url_id | String | No | |
| user_id | String | No | |
| anon_user_id | String | No | |
| context_user_id | String | No | |
| hash_tag | String | No | |
| parent_id | String | No | |
| direction | models::SortDirections | No | |
| from_date | i64 | No | |
| to_date | i64 | No |
Respons
Retourneert: ApiGetCommentsResponse
Voorbeeld

get_comments_public 
req tenantId urlId
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| page | i32 | No | |
| direction | models::SortDirections | No | |
| sso | String | No | |
| skip | i32 | No | |
| skip_children | i32 | No | |
| limit | i32 | No | |
| limit_children | i32 | No | |
| count_children | bool | No | |
| fetch_page_for_comment_id | String | No | |
| include_config | bool | No | |
| count_all | bool | No | |
| includei10n | bool | No | |
| locale | String | No | |
| modules | String | No | |
| is_crawler | bool | No | |
| include_notification_count | bool | No | |
| as_tree | bool | No | |
| max_tree_depth | i32 | No | |
| use_full_translation_ids | bool | No | |
| parent_id | String | No | |
| search_text | String | No | |
| hash_tags | Vec | No | |
| user_id | String | No | |
| custom_config_str | String | No | |
| after_comment_id | String | No | |
| before_comment_id | String | No |
Respons
Retourneert: GetCommentsResponseWithPresencePublicComment
Voorbeeld

lock_comment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| broadcast_id | String | Ja | |
| sso | String | Nee |
Response
Retourneert: ApiEmptyResponse
Voorbeeld

pin_comment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | Yes | |
| sso | String | No |
Respons
Retourneert: ChangeCommentPinStatusResponse
Voorbeeld

save_comment 
Parameters
| Naam | Type | Verplicht | 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 |
Respons
Retourneert: ApiSaveCommentResponse
Voorbeeld

save_comments_bulk 
Parameters
| Naam | Type | Verplicht | 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 |
Respons
Retourneert: Vec<models::SaveCommentsBulkResponse>
Voorbeeld

set_comment_text 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| 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 |
Respons
Retourneert: PublicApiSetCommentTextResponse
Voorbeeld

un_block_user_from_comment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| un_block_from_comment_params | models::UnBlockFromCommentParams | Ja | |
| user_id | String | Nee | |
| anon_user_id | String | Nee |
Reactie
Retourneert: UnblockSuccess
Voorbeeld

un_flag_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| user_id | String | Nee | |
| anon_user_id | String | Nee |
Respons
Returns: FlagCommentResponse
Voorbeeld

un_lock_comment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| broadcast_id | String | Ja | |
| sso | String | Nee |
Response
Retourneert: ApiEmptyResponse
Example

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: ChangeCommentPinStatusResponse
Voorbeeld

update_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| updatable_comment_params | models::UpdatableCommentParams | Ja | |
| context_user_id | String | Nee | |
| do_spam_check | bool | Nee | |
| is_live | bool | Nee |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

vote_comment 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| url_id | String | Yes | |
| broadcast_id | String | Yes | |
| vote_body_params | models::VoteBodyParams | Yes | |
| session_id | String | No | |
| sso | String | No |
Response
Retourneert: VoteResponse
Voorbeeld

get_comments_for_user 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| user_id | String | Nee | |
| direction | models::SortDirections | Nee | |
| replies_to_user_id | String | Nee | |
| page | f64 | Nee | |
| includei10n | bool | Nee | |
| locale | String | Nee | |
| is_crawler | bool | Nee |
Respons
Retourneert: GetCommentsForUserResponse
Voorbeeld

add_domain_config 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| add_domain_config_params | models::AddDomainConfigParams | Yes |
Respons
Retourneert: AddDomainConfigResponse
Voorbeeld

delete_domain_config 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| domain | String | Ja |
Respons
Retourneert: DeleteDomainConfigResponse
Voorbeeld

get_domain_config 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain | String | Yes |
Respons
Retourneert: GetDomainConfigResponse
Voorbeeld

get_domain_configs 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja |
Respons
Retourneert: GetDomainConfigsResponse
Voorbeeld

patch_domain_config 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain_to_update | String | Yes | |
| patch_domain_config_params | models::PatchDomainConfigParams | Yes |
Respons
Retourneert: PatchDomainConfigResponse
Voorbeeld

put_domain_config 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain_to_update | String | Yes | |
| update_domain_config_params | models::UpdateDomainConfigParams | Yes |
Respons
Retourneert: PutDomainConfigResponse
Voorbeeld

create_email_template 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_email_template_body | models::CreateEmailTemplateBody | Ja |
Response
Retourneert: CreateEmailTemplateResponse
Voorbeeld

delete_email_template 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

delete_email_template_render_error 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| error_id | String | Ja |
Response
Retourneert: ApiEmptyResponse
Voorbeeld

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

get_email_template_definitions 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes |
Response
Retourneert: GetEmailTemplateDefinitionsResponse
Example

get_email_template_render_errors 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| skip | f64 | Nee |
Response
Retourneert: GetEmailTemplateRenderErrorsResponse
Example

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

render_email_template 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| render_email_template_body | models::RenderEmailTemplateBody | Ja | |
| locale | String | Nee |
Respons
Retourneert: RenderEmailTemplateResponse
Voorbeeld

update_email_template 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_email_template_body | models::UpdateEmailTemplateBody | Ja |
Reactie
Retourneert: ApiEmptyResponse
Voorbeeld

get_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 | Nee |
Respons
Retourneert: GetEventLogResponse
Voorbeeld

get_global_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 | Nee |
Respons
Retourneert: GetEventLogResponse
Voorbeeld

create_feed_post 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| 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: CreateFeedPostsResponse
Voorbeeld

create_feed_post_public 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_feed_post_params | models::CreateFeedPostParams | Ja | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: CreateFeedPostResponse
Voorbeeld

delete_feed_post_public 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| post_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Respons
Retourneert: DeleteFeedPostPublicResponse
Voorbeeld

get_feed_posts 
req tenantId afterId
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| after_id | String | No | |
| limit | i32 | No | |
| tags | Vec | No |
Response
Retourneert: GetFeedPostsResponse
Example

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 |
Respons
Returns: PublicFeedPostsResponse
Voorbeeld

get_feed_posts_stats 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| post_ids | Vec | Yes | |
| sso | String | No |
Respons
Retourneert: FeedPostsStatsResponse
Voorbeeld

get_user_reacts_public 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| post_ids | Vec | Nee | |
| sso | String | Nee |
Respons
Retourneert: UserReactsResponse
Voorbeeld

react_feed_post_public 
Parameters
| Naam | Type | Verplicht | 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: ReactFeedPostResponse
Voorbeeld

update_feed_post 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| feed_post | models::FeedPost | Ja |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

update_feed_post_public 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Ja | |
| post_id | String | Ja | |
| update_feed_post_params | models::UpdateFeedPostParams | Ja | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Response
Retourneert: CreateFeedPostResponse
Voorbeeld

flag_comment_public 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| is_flagged | bool | Ja | |
| sso | String | Nee |
Response
Retourneert: ApiEmptyResponse
Example

get_gif_large 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| large_internal_url_sanitized | String | Ja |
Respons
Retourneert: GifGetLargeResponse
Voorbeeld

get_gifs_search 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| search | String | Ja | |
| locale | String | Nee | |
| rating | String | Nee | |
| page | f64 | Nee |
Respons
Retourneert: GetGifsSearchResponse
Voorbeeld

get_gifs_trending 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| locale | String | Nee | |
| rating | String | Nee | |
| page | f64 | Nee |
Respons
Retourneert: GetGifsTrendingResponse
Voorbeeld

add_hash_tag 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_hash_tag_body | models::CreateHashTagBody | Nee |
Respons
Retourneert: CreateHashTagResponse
Voorbeeld

add_hash_tags_bulk 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| bulk_create_hash_tags_body | models::BulkCreateHashTagsBody | Nee |
Respons
Retourneert: BulkCreateHashTagsResponse
Voorbeeld

delete_hash_tag 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| tag | String | Ja | |
| delete_hash_tag_request_body | models::DeleteHashTagRequestBody | Nee |
Response
Retourneert: ApiEmptyResponse
Voorbeeld

get_hash_tags 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| page | f64 | Nee |
Response
Retourneert: GetHashTagsResponse
Example

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

delete_moderation_vote 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| vote_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Respons
Retourneert: VoteDeleteResponse
Voorbeeld

get_ban_users_from_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| sso | String | Nee |
Respons
Retourneert: GetBannedUsersFromCommentResponse
Voorbeeld

get_comment_ban_status 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| sso | String | Nee |
Respons
Retourneert: GetCommentBanStatusResponse
Voorbeeld

get_comment_children 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| sso | String | Nee |
Respons
Retourneert: ModerationApiChildCommentsResponse
Voorbeeld

get_count 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| 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 |
Respons
Retourneert: ModerationApiCountCommentsResponse
Voorbeeld

get_counts 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| sso | String | Nee |
Respons
Geeft terug: GetBannedUsersCountResponse
Voorbeeld

get_logs 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| sso | String | No |
Respons
Returns: ModerationApiGetLogsResponse
Voorbeeld

get_manual_badges 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| sso | String | Nee |
Respons
Retourneert: GetTenantManualBadgesResponse
Voorbeeld

get_manual_badges_for_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| badges_user_id | String | Nee | |
| comment_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: GetUserManualBadgesResponse
Voorbeeld

get_moderation_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| include_email | bool | Nee | |
| include_ip | bool | Nee | |
| sso | String | Nee |
Respons
Retourneert: ModerationApiCommentResponse
Voorbeeld

get_moderation_comment_text 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| sso | String | Nee |
Respons
Retourneert: GetCommentTextResponse
Voorbeeld

get_pre_ban_summary 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| include_by_user_id_and_email | bool | Nee | |
| include_by_ip | bool | Nee | |
| include_by_email_domain | bool | Nee | |
| sso | String | Nee |
Respons
Retourneert: PreBanSummary
Voorbeeld

get_search_comments_summary 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| value | String | Nee | |
| filters | String | Nee | |
| search_filters | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: ModerationCommentSearchResponse
Voorbeeld

get_search_pages 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| value | String | No | |
| sso | String | No |
Respons
Retourneert: ModerationPageSearchResponse
Voorbeeld

get_search_sites 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| value | String | No | |
| sso | String | No |
Respons
Retourneert: ModerationSiteSearchResponse
Voorbeeld

get_search_suggest 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| text_search | String | No | |
| sso | String | No |
Respons
Retourneert: ModerationSuggestResponse
Voorbeeld

get_search_users 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| value | String | Nee | |
| sso | String | Nee |
Response
Retourneert: ModerationUserSearchResponse
Voorbeeld

get_trust_factor 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: GetUserTrustFactorResponse
Voorbeeld

get_user_ban_preference 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| sso | String | Nee |
Respons
Retourneert: ApiModerateGetUserBanPreferencesResponse
Voorbeeld

get_user_internal_profile 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: GetUserInternalProfileResponse
Voorbeeld

post_adjust_comment_votes 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| adjust_comment_votes_params | models::AdjustCommentVotesParams | Ja | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: AdjustVotesResponse
Voorbeeld

post_ban_user_from_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| ban_email | bool | Nee | |
| ban_email_domain | bool | Nee | |
| ban_ip | bool | Nee | |
| delete_all_users_comments | bool | Nee | |
| banned_until | String | Nee | |
| is_shadow_ban | bool | Nee | |
| update_id | String | Nee | |
| ban_reason | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: BanUserFromCommentResult
Voorbeeld

post_ban_user_undo 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| ban_user_undo_params | models::BanUserUndoParams | Yes | |
| sso | String | No |
Response
Retour: ApiEmptyResponse
Example

post_bulk_pre_ban_summary 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| 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 |
Respons
Retourneert: BulkPreBanSummary
Voorbeeld

post_comments_by_ids 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comments_by_ids_params | models::CommentsByIdsParams | Ja | |
| sso | String | Nee |
Respons
Retourneert: ModerationApiChildCommentsResponse
Voorbeeld

post_flag_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

post_remove_comment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Respons
Retourneert: PostRemoveCommentApiResponse
Voorbeeld

post_restore_deleted_comment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Response
Retourneert: ApiEmptyResponse
Example

post_set_comment_approval_status 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| approved | bool | Nee | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Response
Retourneert: SetCommentApprovedResponse
Voorbeeld

post_set_comment_review_status 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| reviewed | bool | Nee | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Response
Returns: ApiEmptyResponse
Example

post_set_comment_spam_status 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| spam | bool | Nee | |
| perm_not_spam | bool | Nee | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Response
Retourneert: ApiEmptyResponse
Example

post_set_comment_text 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| set_comment_text_params | models::SetCommentTextParams | Ja | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: SetCommentTextResponse
Voorbeeld

post_un_flag_comment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

post_vote 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| direction | String | Nee | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: VoteResponse
Voorbeeld

put_award_badge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| badge_id | String | Ja | |
| user_id | String | Nee | |
| comment_id | String | Nee | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Response
Retourneert: AwardUserBadgeResponse
Voorbeeld

put_close_thread 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| sso | String | No |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

put_remove_badge 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| badge_id | String | Ja | |
| user_id | String | Nee | |
| comment_id | String | Nee | |
| broadcast_id | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: RemoveUserBadgeResponse
Voorbeeld

put_reopen_thread 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| sso | String | Nee |
Response
Retourneert: ApiEmptyResponse
Voorbeeld

set_trust_factor 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Nee | |
| trust_factor | String | Nee | |
| sso | String | Nee |
Respons
Retourneert: SetUserTrustFactorResponse
Voorbeeld

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

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

get_moderator 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: GetModeratorResponse
Voorbeeld

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

send_invite 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| from_name | String | Yes |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

update_moderator 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_moderator_body | models::UpdateModeratorBody | Ja |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

delete_notification_count 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

get_cached_notification_count 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Response
Retourneert: GetCachedNotificationCountResponse
Example

get_notification_count 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Nee | |
| url_id | String | Nee | |
| from_comment_id | String | Nee | |
| viewed | bool | Nee |
Response
Retourneert: GetNotificationCountResponse
Example

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 |
Respons
Retourneert: GetNotificationsResponse
Voorbeeld

update_notification 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_notification_body | models::UpdateNotificationBody | Yes | |
| user_id | String | No |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

create_v1_page_react 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| title | String | Nee |
Response
Retourneert: CreateV1PageReact
Example

create_v2_page_react 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| id | String | Ja | |
| title | String | Nee |
Respons
Retourneert: CreateV1PageReact
Voorbeeld

delete_v1_page_react 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja |
Respons
Retourneert: CreateV1PageReact
Voorbeeld

delete_v2_page_react 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: CreateV1PageReact
Voorbeeld

get_v1_page_likes 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja |
Reactie
Returns: GetV1PageLikes
Voorbeeld

get_v2_page_react_users 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| id | String | Yes |
Respons
Retourneert: GetV2PageReactUsersResponse
Voorbeeld

get_v2_page_reacts 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja |
Response
Retourneert: GetV2PageReacts
Example

add_page 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_api_page_data | models::CreateApiPageData | Ja |
Respons
Retourneert: AddPageApiResponse
Voorbeeld

delete_page 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: DeletePageApiResponse
Voorbeeld

get_offline_users 
Past commenters on the page who are NOT currently online. Sorted by displayName.
Use this after exhausting /users/online to render a "Members" section.
Cursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName}
index from afterName forward via $gt, no $skip cost.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| after_name | String | No | |
| after_user_id | String | No |
Response
Returns: PageUsersOfflineResponse
Example

get_online_users 
Momenteel online kijkers van een pagina: mensen wiens websocket‑sessie op dit moment op de pagina geabonneerd is.
Retourneert anonCount + totalCount (abonnees in de hele ruimte, inclusief anonieme kijkers die we niet opsommen).
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| after_name | String | Nee | |
| after_user_id | String | Nee |
Response
Retourneert: PageUsersOnlineResponse
Voorbeeld

get_page_by_urlid 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja |
Response
Returns: GetPageByUrlidApiResponse
Example

get_pages 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes |
Respons
Retourneert: GetPagesApiResponse
Voorbeeld

get_pages_public 
Lijst pagina's voor een tenant. Gebruikt door de FChat desktopclient om zijn kamerlijst te vullen.
Vereist dat enableFChat true is in de opgeloste aangepaste configuratie voor elke pagina.
Pagina's die SSO vereisen worden gefilterd op basis van de groepsrechten van de aanvragende gebruiker.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| cursor | String | No | |
| limit | i32 | No | |
| q | String | No | |
| sort_by | models::PagesSortBy | No | |
| has_comments | bool | No |
Response
Retourneert: GetPublicPagesResponse
Example

get_users_info 
Bulk gebruikersinformatie voor een tenant. Gegeven userIds, retourneer weergave‑informatie van User / SSOUser.
Gebruikt door de commentaarwidget om gebruikers die net verschenen via een presence‑event te verrijken.
Geen paginacontext: privacy wordt uniform afgedwongen (privéprofielen worden gemaskeerd).
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| ids | String | Ja |
Response
Retourneert: PageUsersInfoResponse
Example

patch_page 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_api_page_data | models::UpdateApiPageData | Ja |
Respons
Retourneert: PatchPageApiResponse
Voorbeeld

delete_pending_webhook_event 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

get_pending_webhook_event_count 
Parameters
| Naam | Type | Verplicht | 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: GetPendingWebhookEventCountResponse
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 |
Respons
Retourneert: GetPendingWebhookEventsResponse
Voorbeeld

create_question_config 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_question_config_body | models::CreateQuestionConfigBody | Ja |
Respons
Retourneert: CreateQuestionConfigResponse
Voorbeeld

delete_question_config 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

get_question_config 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Response
Retourneert: GetQuestionConfigResponse
Example

get_question_configs 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
Respons
Retourneert: GetQuestionConfigsResponse
Voorbeeld

update_question_config 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_question_config_body | models::UpdateQuestionConfigBody | Yes |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

create_question_result 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_question_result_body | models::CreateQuestionResultBody | Yes |
Response
Retourneert: CreateQuestionResultResponse
Voorbeeld

delete_question_result 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: ApiEmptyResponse
Voorbeeld

get_question_result 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Respons
Retourneert: GetQuestionResultResponse
Voorbeeld

get_question_results 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | No | |
| user_id | String | No | |
| start_date | String | No | |
| question_id | String | No | |
| question_ids | String | No | |
| skip | f64 | No |
Response
Retourneert: GetQuestionResultsResponse
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: ApiEmptyResponse
Voorbeeld

aggregate_question_results 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| question_id | String | Nee | |
| question_ids | Vec | Nee | |
| url_id | String | Nee | |
| time_bucket | models::AggregateTimeBucket | Nee | |
| start_date | chrono::DateTimechrono::FixedOffset | Nee | |
| force_recalculate | bool | Nee |
Respons
Retourneert: AggregateQuestionResultsResponse
Voorbeeld

bulk_aggregate_question_results 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| bulk_aggregate_question_results_request | models::BulkAggregateQuestionResultsRequest | Ja | |
| force_recalculate | bool | Nee |
Respons
Retourneert: BulkAggregateQuestionResultsResponse
Voorbeeld

combine_comments_with_question_results 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| question_id | String | Nee | |
| question_ids | Vec | Nee | |
| url_id | String | Nee | |
| start_date | chrono::DateTimechrono::FixedOffset | Nee | |
| force_recalculate | bool | Nee | |
| min_value | f64 | Nee | |
| max_value | f64 | Nee | |
| limit | f64 | Nee |
Respons
Retourneert: CombineQuestionResultsWithCommentsResponse
Voorbeeld

add_sso_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_apisso_user_data | models::CreateApissoUserData | Ja |
Reactie
Retourneert: AddSsoUserApiResponse
Voorbeeld

delete_sso_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| delete_comments | bool | Nee | |
| comment_delete_mode | String | Nee |
Response
Retourneert: DeleteSsoUserApiResponse
Voorbeeld

get_sso_user_by_email 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| String | Ja |
Respons
Retourneert: GetSsoUserByEmailApiResponse
Voorbeeld

get_sso_user_by_id 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Response
Retourneert: GetSsoUserByIdApiResponse
Voorbeeld

get_sso_users 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| skip | i32 | Nee |
Respons
Retourneert: GetSsoUsersResponse
Voorbeeld

patch_sso_user 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_apisso_user_data | models::UpdateApissoUserData | Ja | |
| update_comments | bool | Nee |
Respons
Retourneert: PatchSsoUserApiResponse
Voorbeeld

put_sso_user 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_apisso_user_data | models::UpdateApissoUserData | Yes | |
| update_comments | bool | No |
Respons
Retourneert: PutSsoUserApiResponse
Voorbeeld

create_subscription 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_api_user_subscription_data | models::CreateApiUserSubscriptionData | Yes |
Respons
Retourneert: CreateSubscriptionApiResponse
Voorbeeld

delete_subscription 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| user_id | String | Nee |
Respons
Retourneert: DeleteSubscriptionApiResponse
Voorbeeld

get_subscriptions 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Nee |
Reactie
Retourneert: GetSubscriptionsApiResponse
Voorbeeld

update_subscription 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_api_user_subscription_data | models::UpdateApiUserSubscriptionData | Ja | |
| user_id | String | Nee |
Response
Retourneert: UpdateSubscriptionApiResponse
Voorbeeld

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: GetTenantDailyUsagesResponse
Voorbeeld

create_tenant_package 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_tenant_package_body | models::CreateTenantPackageBody | Yes |
Response
Retourneert: CreateTenantPackageResponse
Voorbeeld

delete_tenant_package 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Response
Retourneert: ApiEmptyResponse
Example

get_tenant_package 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Response
Retourneert: GetTenantPackageResponse
Example

get_tenant_packages 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
Respons
Retourneert: GetTenantPackagesResponse
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: ApiEmptyResponse
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: ApiEmptyResponse
Voorbeeld

create_tenant_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_tenant_user_body | models::CreateTenantUserBody | Ja |
Response
Retourneert: CreateTenantUserResponse
Example

delete_tenant_user 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| delete_comments | String | Nee | |
| comment_delete_mode | String | Nee |
Respons
Returns: ApiEmptyResponse
Voorbeeld

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

get_tenant_users 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
Respons
Retourneert: GetTenantUsersResponse
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 |
Reactie
Retourneert: ApiEmptyResponse
Voorbeeld

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

update_tenant_user 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| update_tenant_user_body | models::UpdateTenantUserBody | Ja | |
| update_comments | String | Nee |
Response
Retourneert: ApiEmptyResponse
Voorbeeld

create_tenant 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_tenant_body | models::CreateTenantBody | Yes |
Response
Retourneert: CreateTenantResponse
Example

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

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

get_tenants 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| meta | String | Nee | |
| skip | f64 | Nee |
Response
Retourneert: GetTenantsResponse
Example

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

change_ticket_state 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Ja | |
| id | String | Ja | |
| change_ticket_state_body | models::ChangeTicketStateBody | Ja |
Respons
Retourneert: ChangeTicketStateResponse
Voorbeeld

create_ticket 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Ja | |
| create_ticket_body | models::CreateTicketBody | Ja |
Respons
Retourneert: CreateTicketResponse
Voorbeeld

get_ticket 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| user_id | String | Nee |
Respons
Retourneert: GetTicketResponse
Voorbeeld

get_tickets 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Nee | |
| state | f64 | Nee | |
| skip | f64 | Nee | |
| limit | f64 | Nee |
Response
Retourneert: GetTicketsResponse
Example

get_translations 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| namespace | String | Yes | |
| component | String | Yes | |
| locale | String | No | |
| use_full_translation_ids | bool | No |
Respons
Retourneert: GetTranslationsResponse
Voorbeeld

upload_image 
Afbeelding uploaden en verkleinen
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| file | std::path::PathBuf | Ja | |
| size_preset | models::SizePreset | Nee | |
| url_id | String | Nee |
Response
Returns: UploadImageResponse
Example

get_user_badge_progress_by_id 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Response
Retourneert: ApiGetUserBadgeProgressResponse
Example

get_user_badge_progress_by_user_id 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Ja |
Reactie
Retourneert: ApiGetUserBadgeProgressResponse
Voorbeeld

get_user_badge_progress_list 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| user_id | String | Nee | |
| limit | f64 | Nee | |
| skip | f64 | Nee |
Respons
Retourneert: ApiGetUserBadgeProgressListResponse
Voorbeeld

create_user_badge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| create_user_badge_params | models::CreateUserBadgeParams | Ja |
Respons
Retourneert: ApiCreateUserBadgeResponse
Voorbeeld

delete_user_badge 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Respons
Retourneert: ApiEmptySuccessResponse
Voorbeeld

get_user_badge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja |
Response
Retourneert: ApiGetUserBadgeResponse
Example

get_user_badges 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| badge_id | String | No | |
| displayed_on_comments | bool | No | |
| limit | f64 | No | |
| skip | f64 | No |
Respons
Retourneert: ApiGetUserBadgesResponse
Voorbeeld

update_user_badge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_user_badge_params | models::UpdateUserBadgeParams | Yes |
Response
Retourneert: ApiEmptySuccessResponse
Voorbeeld

get_user_notification_count 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| sso | String | Nee |
Respons
Retourneert: GetUserNotificationCountResponse
Voorbeeld

get_user_notifications 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Nee | |
| 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 | |
| include_tenant_notifications | bool | Nee | |
| sso | String | Nee |
Respons
Retourneert: GetMyNotificationsResponse
Voorbeeld

reset_user_notification_count 
Parameters
| Naam | Type | Verplicht | Omschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| sso | String | Nee |
Response
Retourneert: ResetUserNotificationsResponse
Example

reset_user_notifications 
Parameters
| Naam | Type | Verplicht | 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 |
Respons
Retourneert: ResetUserNotificationsResponse
Voorbeeld

update_user_notification_comment_subscription_status 
Enable of uitschakelen van meldingen voor een specifieke opmerking.
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 |
Response
Retourneert: UpdateUserNotificationCommentSubscriptionStatusResponse
Voorbeeld

update_user_notification_page_subscription_status 
Schakel meldingen voor een pagina in of uit. Wanneer gebruikers zich op een pagina abonneren, worden meldingen aangemaakt voor nieuwe hoofdreacties, 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
Returns: UpdateUserNotificationPageSubscriptionStatusResponse
Voorbeeld

update_user_notification_status 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| notification_id | String | Ja | |
| new_status | String | Ja | |
| sso | String | Nee |
Respons
Retourneert: UpdateUserNotificationStatusResponse
Voorbeeld

get_user_presence_statuses 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id_ws | String | Yes | |
| user_ids | String | Yes |
Response
Retourneert: GetUserPresenceStatusesResponse
Example

search_users 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| username_starts_with | String | No | |
| mention_group_ids | Vec | No | |
| sso | String | No | |
| search_section | String | No |
Respons
Retourneert: SearchUsersResult
Voorbeeld

get_user 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Respons
Retourneert: GetUserResponse
Voorbeeld

create_vote 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| comment_id | String | Ja | |
| direction | String | Ja | |
| user_id | String | Nee | |
| anon_user_id | String | Nee |
Respons
Retourneert: VoteResponse
Voorbeeld

delete_vote 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| id | String | Ja | |
| edit_key | String | Nee |
Respons
Retourneert: VoteDeleteResponse
Voorbeeld

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

get_votes_for_user 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenant_id | String | Ja | |
| url_id | String | Ja | |
| user_id | String | Nee | |
| anon_user_id | String | Nee |
Response
Retourneert: GetVotesForUserResponse
Example

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.