
Dil 🇹🇷 Türkçe
Başlarken
Belgeler
Toplama
API
Denetim Kayıtları
Yorumdan Engelleme
Engellenmiş Yorumları Kontrol Et
Yorumlar
Kullanıcı İçin Yorumlar
Alan Adı Yapılandırmaları
E-posta Şablonları
Olay Günlüğü
Akış Gönderileri
Yorumu İşaretle
GIF'ler
Hashtag'ler
Moderasyon
Moderatörler
Bildirim Sayısı
Bildirimler
Sayfa Tepkileri
Sayfalar
Bekleyen Webhook Olayları
Soru Yapılandırmaları
Soru Sonuçları
Soru Sonuçları Toplama
SSO Kullanıcıları
Abonelikler
Kiracı Günlük Kullanımı
Kiracı Paketleri
Kiracı Kullanıcıları
Kiracılar
Biletler
Çeviriler
Resim Yükle
Kullanıcı Rozet İlerlemesi
Kullanıcı Rozetleri
Kullanıcı Bildirimleri
Kullanıcı Varlık Durumları
Kullanıcı Arama
Kullanıcılar
Oylar
FastComments Rust SDK
Bu, FastComments için resmi Rust SDK'sıdır.
FastComments API'si için resmi Rust SDK'sı
Depo
Kütüphane İçeriği 
FastComments Rust SDK'sı birkaç modülden oluşur:
-
Client Module - FastComments REST API'leri için API istemcisi
- Tüm API modelleri için tam tip tanımları
- Tüm FastComments yöntemlerini kapsayan üç API istemcisi:
default_api(DefaultApi) - Sunucu tarafı kullanım için API anahtarı ile kimlik doğrulamalı yöntemlerpublic_api(PublicApi) - Tarayıcılar ve mobil uygulamalardan güvenli bir şekilde çağrılabilen, API anahtarı gerektirmeyen genel yöntemlermoderation_api(ModerationApi) - Canlı ve hızlı denetleme API'lerinin kapsamlı bir paketi. Her Denetleme yöntemi birssoparametresi alır ve SSO veya bir FastComments.com oturum çerezi ile kimlik doğrulaması yapabilir.
- tokio ile tam async/await desteği
- Ayrıntılı API belgeleri için client/README.md sayfasına bakın
-
SSO Module - Sunucu tarafı Tek Oturum Açma (Single Sign-On) yardımcı programları
- Kullanıcı kimlik doğrulaması için güvenli token oluşturma
- Hem basit hem de güvenli SSO modları için destek
- HMAC-SHA256 tabanlı token imzalama
-
Core Types - Paylaşılan tip tanımları ve yardımcı programlar
- Yorum modelleri ve meta veri yapıları
- Kullanıcı ve kiracı (tenant) yapılandırmaları
- Yaygın işlemler için yardımcı işlevler
Hızlı Başlangıç 
Public API Kullanımı
use fastcomments_sdk::client::apis::configuration::Configuration;
use fastcomments_sdk::client::apis::public_api;
#[tokio::main]
async fn main() {
// Create API configuration
let config = Configuration::new();
// Fetch comments for a page
let result = public_api::get_comments_public(
&config,
public_api::GetCommentsPublicParams {
tenant_id: "your-tenant-id".to_string(),
urlid: Some("page-url-id".to_string()),
url: None,
count_only: None,
skip: None,
limit: None,
sort_dir: None,
page: None,
sso_hash: None,
simple_sso_hash: None,
has_no_comment: None,
has_comment: None,
comment_id_filter: None,
child_ids: None,
start_date_time: None,
starts_with: None,
},
)
.await;
match result {
Ok(response) => {
println!("Found {} comments", response.comments.len());
for comment in response.comments {
println!("Comment: {:?}", comment);
}
}
Err(e) => eprintln!("Error fetching comments: {:?}", e),
}
}
Kimlik Doğrulanmış API Kullanımı
use fastcomments_sdk::client::apis::configuration::{ApiKey, Configuration};
use fastcomments_sdk::client::apis::default_api;
#[tokio::main]
async fn main() {
// Create configuration with API key
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "your-api-key".to_string(),
});
// Fetch comments using authenticated 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),
}
}
Moderasyon API Kullanımı
Moderasyon yöntemleri moderatör panosunu destekler. Bunlar yetkilendirilmiş API ile aynı şekilde bir API anahtarı Configuration kullanır ve her yöntem isteğin SSO ile kimlik doğrulanmış bir moderatör adına yapılabilmesi için isteğe bağlı bir sso belirteci kabul eder.
use fastcomments_sdk::client::apis::configuration::{ApiKey, Configuration};
use fastcomments_sdk::client::apis::moderation_api;
#[tokio::main]
async fn main() {
// Create configuration with API key
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "your-api-key".to_string(),
});
// Count comments waiting in the moderation queue
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, // pass an SSO token to act as an SSO-authenticated moderator
},
)
.await;
match result {
Ok(response) => println!("Comments to moderate: {}", response.count),
Err(e) => eprintln!("Error: {:?}", e),
}
}
Kimlik Doğrulama için SSO Kullanımı
use fastcomments_sdk::sso::{
fastcomments_sso::FastCommentsSSO,
secure_sso_user_data::SecureSSOUserData,
};
fn main() {
let api_key = "your-api-key".to_string();
// Create secure SSO user data (server-side only!)
let user_data = SecureSSOUserData::new(
"user-123".to_string(), // User ID
"user@example.com".to_string(), // Email
"John Doe".to_string(), // Username
"https://example.com/avatar.jpg".to_string(), // Avatar URL
);
// Generate SSO token
let sso = FastCommentsSSO::new_secure(api_key, &user_data).unwrap();
let token = sso.create_token().unwrap();
println!("SSO Token: {}", token);
// Pass this token to your frontend for authentication
}
Yaygın Sorunlar 
401 Yetkisiz Hatalar
Yetkilendirilmiş API'yi kullanırken 401 hatası alıyorsanız:
- API anahtarınızı kontrol edin: FastComments panelinizden doğru API anahtarını kullandığınızdan emin olun
- Tenant ID'sini doğrulayın: Tenant ID'sinin hesabınızla eşleştiğinden emin olun
- API anahtarı formatı: API anahtarı Configuration içinde geçirilmelidir:
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "YOUR_API_KEY".to_string(),
});
SSO Jeton Sorunları
SSO jetonları çalışmıyorsa:
- Üretimde güvenli modu kullanın: Üretimde API anahtarınızla birlikte her zaman
FastCommentsSSO::new_secure()kullanın - Sadece sunucu tarafı: SSO jetonlarını sunucunuzda oluşturun, API anahtarınızı asla istemcilere açığa çıkarmayın
- Kullanıcı verilerini kontrol edin: Gerekli tüm alanların (id, email, username) sağlandığından emin olun
Asenkron Çalışma Zamanı Hataları
SDK asenkron işlemler için tokio kullanır. Şunları yaptığınızdan emin olun:
- Bağımlılıklarınıza tokio'yu ekleyin:
[dependencies]
tokio = { version = "1", features = ["full"] }
- tokio çalışma zamanını kullanın:
#[tokio::main]
async fn main() {
// Asenkron kodunuz burada
}
Notlar 
Yayın Kimlikleri
Bazı API çağrılarında bir broadcastId geçirmeniz gerektiğini göreceksiniz. Olayları aldığınızda bu ID'yi geri alırsınız, bu sayede istemcide değişiklikleri iyimserce uygulamayı planlıyorsanız olayı yok saymanız gerektiğini bilirsiniz
(bunu muhtemelen yapmak isteyeceksiniz çünkü en iyi deneyimi sunar). Burada bir UUID gönderin. ID, bir tarayıcı oturumu içinde iki kez oluşmayacak kadar benzersiz olmalıdır.
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
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| aggregation_request | models::AggregationRequest | Yes | |
| parent_tenant_id | String | No | |
| include_stats | bool | No |
Response
Döndürür: AggregateResponse
Örnek

get_api_comments 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| page | f64 | No | |
| count | f64 | No | |
| text_search | String | No | |
| by_ip_from_comment | String | No | |
| filters | String | No | |
| search_filters | String | No | |
| sorts | String | No | |
| demo | bool | No | |
| sso | String | No |
Yanıt
Döndürür: ModerationApiGetCommentsResponse
Örnek

get_api_export_status 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| batch_job_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: ModerationExportStatusResponse
Örnek

get_api_ids 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| text_search | String | No | |
| by_ip_from_comment | String | No | |
| filters | String | No | |
| search_filters | String | No | |
| after_id | String | No | |
| demo | bool | No | |
| sso | String | No |
Yanıt
Döndürür: ModerationApiGetCommentIdsResponse
Örnek

post_api_export 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| text_search | String | Hayır | |
| by_ip_from_comment | String | Hayır | |
| filters | String | Hayır | |
| search_filters | String | Hayır | |
| sorts | String | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: ModerationExportResponse
Örnek

get_audit_logs 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| limit | f64 | No | |
| skip | f64 | No | |
| order | models::SortDir | No | |
| after | f64 | No | |
| before | f64 | No |
Yanıt
Returns: GetAuditLogsResponse
Örnek

block_from_comment_public 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| public_block_from_comment_params | models::PublicBlockFromCommentParams | Evet | |
| sso | String | Hayır |
Yanıt
Döndürür: BlockSuccess
Örnek

un_block_comment_public 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| public_block_from_comment_params | models::PublicBlockFromCommentParams | Yes | |
| sso | String | No |
Yanıt
Döndürür: UnblockSuccess
Örnek

checked_comments_for_blocked 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_ids | String | Yes | |
| sso | String | No |
Yanıt
Döndürür: CheckBlockedCommentsResponse
Örnek

block_user_from_comment 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| block_from_comment_params | models::BlockFromCommentParams | Evet | |
| user_id | String | Hayır | |
| anon_user_id | String | Hayır |
Yanıt
Döndürür: BlockSuccess
Örnek

create_comment_public 
Parameters
| Ad | Tür | Zorunlu | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| broadcast_id | String | Yes | |
| comment_data | models::CommentData | Yes | |
| session_id | String | No | |
| sso | String | No |
Response
Döndürür: SaveCommentsResponseWithPresence
Example

delete_comment 
Parametreler
| Ad | Tür | Zorunlu | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| context_user_id | String | No | |
| is_live | bool | No |
Yanıt
Döndürür: DeleteCommentResult
Örnek

delete_comment_public 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | Yes | |
| edit_key | String | No | |
| sso | String | No |
Yanıt
Döndürür: PublicApiDeleteCommentResponse
Örnek

delete_comment_vote 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| vote_id | String | Yes | |
| url_id | String | Yes | |
| broadcast_id | String | Yes | |
| edit_key | String | No | |
| sso | String | No |
Yanıt
Döndürür: VoteDeleteResponse
Örnek

flag_comment 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
Yanıt
Returns: FlagCommentResponse
Örnek

get_comment 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Döndürür: ApiGetCommentResponse
Örnek

get_comment_text 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| edit_key | String | No | |
| sso | String | No |
Yanıt
Döndürür: PublicApiGetCommentTextResponse
Örnek

get_comment_vote_user_names 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| dir | i32 | Yes | |
| sso | String | No |
Yanıt
Döndürür: GetCommentVoteUserNamesSuccessResponse
Örnek

get_comments 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| page | i32 | Hayır | |
| limit | i32 | Hayır | |
| skip | i32 | Hayır | |
| as_tree | bool | Hayır | |
| skip_children | i32 | Hayır | |
| limit_children | i32 | Hayır | |
| max_tree_depth | i32 | Hayır | |
| url_id | String | Hayır | |
| user_id | String | Hayır | |
| anon_user_id | String | Hayır | |
| context_user_id | String | Hayır | |
| hash_tag | String | Hayır | |
| parent_id | String | Hayır | |
| direction | models::SortDirections | Hayır | |
| from_date | i64 | Hayır | |
| to_date | i64 | Hayır |
Yanıt
Döndürür: ApiGetCommentsResponse
Örnek

get_comments_public 
req tenantId urlId
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id | String | Evet | |
| page | i32 | Hayır | |
| direction | models::SortDirections | Hayır | |
| sso | String | Hayır | |
| skip | i32 | Hayır | |
| skip_children | i32 | Hayır | |
| limit | i32 | Hayır | |
| limit_children | i32 | Hayır | |
| count_children | bool | Hayır | |
| fetch_page_for_comment_id | String | Hayır | |
| include_config | bool | Hayır | |
| count_all | bool | Hayır | |
| includei10n | bool | Hayır | |
| locale | String | Hayır | |
| modules | String | Hayır | |
| is_crawler | bool | Hayır | |
| include_notification_count | bool | Hayır | |
| as_tree | bool | Hayır | |
| max_tree_depth | i32 | Hayır | |
| use_full_translation_ids | bool | Hayır | |
| parent_id | String | Hayır | |
| search_text | String | Hayır | |
| hash_tags | Vec | Hayır | |
| user_id | String | Hayır | |
| custom_config_str | String | Hayır | |
| after_comment_id | String | Hayır | |
| before_comment_id | String | Hayır |
Yanıt
Döndürür: GetCommentsResponseWithPresencePublicComment
Örnek

lock_comment 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | Yes | |
| sso | String | No |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

pin_comment 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | Yes | |
| sso | String | No |
Yanıt
Döndürür: ChangeCommentPinStatusResponse
Örnek

save_comment 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| create_comment_params | models::CreateCommentParams | Evet | |
| is_live | bool | Hayır | |
| do_spam_check | bool | Hayır | |
| send_emails | bool | Hayır | |
| populate_notifications | bool | Hayır |
Yanıt
Döndürür: ApiSaveCommentResponse
Örnek

save_comments_bulk 
Parametreler
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| create_comment_params | Vecmodels::CreateCommentParams | Evet | |
| is_live | bool | Hayır | |
| do_spam_check | bool | Hayır | |
| send_emails | bool | Hayır | |
| populate_notifications | bool | Hayır |
Yanıt
Döndürür: Vec<models::SaveCommentsBulkResponse>
Örnek

set_comment_text 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| 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 |
Yanıt
Döndürür: PublicApiSetCommentTextResponse
Örnek

un_block_user_from_comment 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| un_block_from_comment_params | models::UnBlockFromCommentParams | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
Yanıt
Döndürür: UnblockSuccess
Örnek

un_flag_comment 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
Yanıt
Döndürür: FlagCommentResponse
Örnek

un_lock_comment 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | Yes | |
| sso | String | No |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

un_pin_comment 
Parameters
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| broadcast_id | String | Evet | |
| sso | String | Hayır |
Response
Döndürür: ChangeCommentPinStatusResponse
Example

update_comment 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| updatable_comment_params | models::UpdatableCommentParams | Yes | |
| context_user_id | String | No | |
| do_spam_check | bool | No | |
| is_live | bool | No |
Yanıt
Dönüş: ApiEmptyResponse
Örnek

vote_comment 
Parametreler
| Ad | Tür | Zorunlu | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| url_id | String | Evet | |
| broadcast_id | String | Evet | |
| vote_body_params | models::VoteBodyParams | Evet | |
| session_id | String | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: VoteResponse
Örnek

get_comments_for_user 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| user_id | String | Hayır | |
| direction | models::SortDirections | Hayır | |
| replies_to_user_id | String | Hayır | |
| page | f64 | Hayır | |
| includei10n | bool | Hayır | |
| locale | String | Hayır | |
| is_crawler | bool | Hayır |
Yanıt
Döndürür: GetCommentsForUserResponse
Örnek

add_domain_config 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| add_domain_config_params | models::AddDomainConfigParams | Yes |
Yanıt
Döndürür: AddDomainConfigResponse
Örnek

delete_domain_config 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain | String | Yes |
Yanıt
Döndürür: DeleteDomainConfigResponse
Örnek

get_domain_config 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain | String | Yes |
Yanıt
Döndürür: GetDomainConfigResponse
Örnek

get_domain_configs 
Parametreler
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet |
Yanıt
Döndürür: GetDomainConfigsResponse
Örnek

patch_domain_config 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain_to_update | String | Yes | |
| patch_domain_config_params | models::PatchDomainConfigParams | Yes |
Yanıt
Döndürür: PatchDomainConfigResponse
Örnek

put_domain_config 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain_to_update | String | Yes | |
| update_domain_config_params | models::UpdateDomainConfigParams | Yes |
Yanıt
Döndürür: PutDomainConfigResponse
Örnek

create_email_template 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| create_email_template_body | models::CreateEmailTemplateBody | Evet |
Yanıt
Döndürür: CreateEmailTemplateResponse
Örnek

delete_email_template 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

delete_email_template_render_error 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| error_id | String | Yes |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

get_email_template 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Döndürür: GetEmailTemplateResponse
Örnek

get_email_template_definitions 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes |
Yanıt
Döndürür: GetEmailTemplateDefinitionsResponse
Örnek

get_email_template_render_errors 
Parametreler
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| skip | f64 | Hayır |
Yanıt
Döndürür: GetEmailTemplateRenderErrorsResponse
Örnek

get_email_templates 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
Yanıt
Döndürür: GetEmailTemplatesResponse
Örnek

render_email_template 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| render_email_template_body | models::RenderEmailTemplateBody | Evet | |
| locale | String | Hayır |
Yanıt
Döner: RenderEmailTemplateResponse
Örnek

update_email_template 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_email_template_body | models::UpdateEmailTemplateBody | Yes |
Yanıt
Returns: ApiEmptyResponse
Örnek

get_event_log 
req tenantId urlId userIdWS
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| user_id_ws | String | Yes | |
| start_time | i64 | Yes | |
| end_time | i64 | No |
Yanıt
Döndürür: GetEventLogResponse
Örnek

get_global_event_log 
req tenantId urlId userIdWS
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id | String | Evet | |
| user_id_ws | String | Evet | |
| start_time | i64 | Evet | |
| end_time | i64 | Hayır |
Yanıt
Döndürür: GetEventLogResponse
Örnek

create_feed_post 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_feed_post_params | models::CreateFeedPostParams | Yes | |
| broadcast_id | String | No | |
| is_live | bool | No | |
| do_spam_check | bool | No | |
| skip_dup_check | bool | No |
Yanıt
Döndürür: CreateFeedPostsResponse
Örnek

create_feed_post_public 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_feed_post_params | models::CreateFeedPostParams | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: CreateFeedPostResponse
Örnek

delete_feed_post_public 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| post_id | String | Evet | |
| broadcast_id | String | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: DeleteFeedPostPublicResponse
Örnek

get_feed_posts 
req tenantId afterId
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| after_id | String | No | |
| limit | i32 | No | |
| tags | Vec | No |
Yanıt
Döndürür: GetFeedPostsResponse
Örnek

get_feed_posts_public 
req tenantId afterId
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| after_id | String | Hayır | |
| limit | i32 | Hayır | |
| tags | Vec | Hayır | |
| sso | String | Hayır | |
| is_crawler | bool | Hayır | |
| include_user_info | bool | Hayır |
Yanıt
Döndürür: PublicFeedPostsResponse
Örnek

get_feed_posts_stats 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| post_ids | Vec | Evet | |
| sso | String | Hayır |
Yanıt
Döndürür: FeedPostsStatsResponse
Örnek

get_user_reacts_public 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| post_ids | Vec | Hayır | |
| sso | String | Hayır |
Yanıt
Döner: UserReactsResponse
Örnek

react_feed_post_public 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| post_id | String | Yes | |
| react_body_params | models::ReactBodyParams | Yes | |
| is_undo | bool | No | |
| broadcast_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: ReactFeedPostResponse
Örnek

update_feed_post 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| feed_post | models::FeedPost | Yes |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

update_feed_post_public 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| post_id | String | Yes | |
| update_feed_post_params | models::UpdateFeedPostParams | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: CreateFeedPostResponse
Örnek

flag_comment_public 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| is_flagged | bool | Evet | |
| sso | String | Hayır |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

get_gif_large 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| large_internal_url_sanitized | String | Yes |
Yanıt
Döndürür: GifGetLargeResponse
Örnek

get_gifs_search 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| search | String | Yes | |
| locale | String | No | |
| rating | String | No | |
| page | f64 | No |
Yanıt
Döndürür: GetGifsSearchResponse
Örnek

get_gifs_trending 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| locale | String | Hayır | |
| rating | String | Hayır | |
| page | f64 | Hayır |
Yanıt
Returns: GetGifsTrendingResponse
Örnek

add_hash_tag 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_hash_tag_body | models::CreateHashTagBody | No |
Yanıt
Döndürür: CreateHashTagResponse
Örnek

add_hash_tags_bulk 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| bulk_create_hash_tags_body | models::BulkCreateHashTagsBody | No |
Yanıt
Döndürür: BulkCreateHashTagsResponse
Örnek

delete_hash_tag 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| tag | String | Yes | |
| delete_hash_tag_request_body | models::DeleteHashTagRequestBody | No |
Yanıt
Döner: ApiEmptyResponse
Örnek

get_hash_tags 
Parametreler
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| page | f64 | Hayır |
Yanıt
Döndürür: GetHashTagsResponse
Örnek

patch_hash_tag 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| tag | String | Yes | |
| update_hash_tag_body | models::UpdateHashTagBody | No |
Yanıt
Döndürür: UpdateHashTagResponse
Örnek

delete_moderation_vote 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| vote_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: VoteDeleteResponse
Örnek

get_ban_users_from_comment 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| sso | String | No |
Yanıt
Döndürür: GetBannedUsersFromCommentResponse
Örnek

get_comment_ban_status 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| sso | String | Hayır |
Yanıt
Döner: GetCommentBanStatusResponse
Örnek

get_comment_children 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| sso | String | Hayır |
Yanıt
Döndürür: ModerationApiChildCommentsResponse
Örnek

get_count 
Parameters
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| text_search | String | Hayır | |
| by_ip_from_comment | String | Hayır | |
| filter | String | Hayır | |
| search_filters | String | Hayır | |
| demo | bool | Hayır | |
| sso | String | Hayır |
Response
Döndürür: ModerationApiCountCommentsResponse
Örnek

get_counts 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| sso | String | No |
Yanıt
Döndürür: GetBannedUsersCountResponse
Örnek

get_logs 
Parametreler
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| sso | String | Hayır |
Yanıt
Döndürür: ModerationApiGetLogsResponse
Örnek

get_manual_badges 
Parametreler
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| sso | String | No |
Yanıt
Döner: GetTenantManualBadgesResponse
Örnek

get_manual_badges_for_user 
Parametreler
| Ad | Tip | Gereklidir | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| badges_user_id | String | No | |
| comment_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: GetUserManualBadgesResponse
Örnek

get_moderation_comment 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| include_email | bool | No | |
| include_ip | bool | No | |
| sso | String | No |
Yanıt
Döndürür: ModerationApiCommentResponse
Örnek

get_moderation_comment_text 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| sso | String | No |
Yanıt
Döndürür: GetCommentTextResponse
Örnek

get_pre_ban_summary 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| include_by_user_id_and_email | bool | Hayır | |
| include_by_ip | bool | Hayır | |
| include_by_email_domain | bool | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: PreBanSummary
Örnek

get_search_comments_summary 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| value | String | No | |
| filters | String | No | |
| search_filters | String | No | |
| sso | String | No |
Yanıt
Döndürür: ModerationCommentSearchResponse
Örnek

get_search_pages 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| value | String | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: ModerationPageSearchResponse
Örnek

get_search_sites 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| value | String | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: ModerationSiteSearchResponse
Örnek

get_search_suggest 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| text_search | String | No | |
| sso | String | No |
Yanıt
Döndürür: ModerationSuggestResponse
Örnek

get_search_users 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| value | String | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: ModerationUserSearchResponse
Örnek

get_trust_factor 
Parameters
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: GetUserTrustFactorResponse
Örnek

get_user_ban_preference 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| sso | String | Hayır |
Yanıt
Returns: ApiModerateGetUserBanPreferencesResponse
Örnek

get_user_internal_profile 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: GetUserInternalProfileResponse
Örnek

post_adjust_comment_votes 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| adjust_comment_votes_params | models::AdjustCommentVotesParams | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: AdjustVotesResponse
Örnek

post_ban_user_from_comment 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| ban_email | bool | No | |
| ban_email_domain | bool | No | |
| ban_ip | bool | No | |
| delete_all_users_comments | bool | No | |
| banned_until | String | No | |
| is_shadow_ban | bool | No | |
| update_id | String | No | |
| ban_reason | String | No | |
| sso | String | No |
Response
Döndürür: BanUserFromCommentResult
Example

post_ban_user_undo 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| ban_user_undo_params | models::BanUserUndoParams | Yes | |
| sso | String | No |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

post_bulk_pre_ban_summary 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| 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 |
Yanıt
Döndürür: BulkPreBanSummary
Örnek

post_comments_by_ids 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comments_by_ids_params | models::CommentsByIdsParams | Evet | |
| sso | String | Hayır |
Yanıt
Döndürür: ModerationApiChildCommentsResponse
Örnek

post_flag_comment 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

post_remove_comment 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| broadcast_id | String | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: PostRemoveCommentApiResponse
Örnek

post_restore_deleted_comment 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

post_set_comment_approval_status 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| approved | bool | No | |
| broadcast_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: SetCommentApprovedResponse
Örnek

post_set_comment_review_status 
Parametreler
| Ad | Tür | Zorunlu | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| reviewed | bool | Hayır | |
| broadcast_id | String | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

post_set_comment_spam_status 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| spam | bool | No | |
| perm_not_spam | bool | No | |
| broadcast_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

post_set_comment_text 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| set_comment_text_params | models::SetCommentTextParams | Evet | |
| broadcast_id | String | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: SetCommentTextResponse
Örnek

post_un_flag_comment 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| broadcast_id | String | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

post_vote 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| comment_id | String | Evet | |
| direction | String | Hayır | |
| broadcast_id | String | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: VoteResponse
Örnek

put_award_badge 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| badge_id | String | Yes | |
| user_id | String | No | |
| comment_id | String | No | |
| broadcast_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: AwardUserBadgeResponse
Örnek

put_close_thread 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| sso | String | No |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

put_remove_badge 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| badge_id | String | Yes | |
| user_id | String | No | |
| comment_id | String | No | |
| broadcast_id | String | No | |
| sso | String | No |
Yanıt
Döndürür: RemoveUserBadgeResponse
Örnek

put_reopen_thread 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id | String | Evet | |
| sso | String | Hayır |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

set_trust_factor 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| user_id | String | Hayır | |
| trust_factor | String | Hayır | |
| sso | String | Hayır |
Yanıt
Döndürür: SetUserTrustFactorResponse
Örnek

create_moderator 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_moderator_body | models::CreateModeratorBody | Yes |
Yanıt
Döndürür: CreateModeratorResponse
Örnek

delete_moderator 
Parametreler
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| send_email | String | Hayır |
Yanıt
Döner: ApiEmptyResponse
Örnek

get_moderator 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Döndürür: GetModeratorResponse
Örnek

get_moderators 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| skip | f64 | Hayır |
Yanıt
Returns: GetModeratorsResponse
Örnek

send_invite 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| from_name | String | Yes |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

update_moderator 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_moderator_body | models::UpdateModeratorBody | Yes |
Yanıt
Returns: ApiEmptyResponse
Örnek

delete_notification_count 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

get_cached_notification_count 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet |
Yanıt
Döndürür: GetCachedNotificationCountResponse
Örnek

get_notification_count 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| url_id | String | No | |
| from_comment_id | String | No | |
| viewed | bool | No |
Yanıt
Döndürür: GetNotificationCountResponse
Örnek

get_notifications 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| user_id | String | Hayır | |
| url_id | String | Hayır | |
| from_comment_id | String | Hayır | |
| viewed | bool | Hayır | |
| skip | f64 | Hayır |
Yanıt
Döndürür: GetNotificationsResponse
Örnek

update_notification 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_notification_body | models::UpdateNotificationBody | Yes | |
| user_id | String | No |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

create_v1_page_react 
Parameters
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id | String | Evet | |
| title | String | Hayır |
Yanıt
Döndürür: CreateV1PageReact
Örnek

create_v2_page_react 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id | String | Evet | |
| id | String | Evet | |
| title | String | Hayır |
Yanıt
Döndürür: CreateV1PageReact
Örnek

delete_v1_page_react 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes |
Yanıt
Döndürür: CreateV1PageReact
Örnek

delete_v2_page_react 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| id | String | Yes |
Yanıt
Döndürür: CreateV1PageReact
Örnek

get_v1_page_likes 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes |
Yanıt
Döndürür: GetV1PageLikes
Örnek

get_v2_page_react_users 
Parametreler
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id | String | Evet | |
| id | String | Evet |
Yanıt
Döndürür: GetV2PageReactUsersResponse
Örnek

get_v2_page_reacts 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id | String | Evet |
Yanıt
Döndürür: GetV2PageReacts
Örnek

add_page 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_api_page_data | models::CreateApiPageData | Yes |
Yanıt
Döndürür: AddPageApiResponse
Örnek

delete_page 
Parametreler
| Name | Type | Required | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Döndürür: DeletePageApiResponse
Örnek

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 
Şu anda çevrimiçi sayfa izleyicileri: WebSocket oturumu şu anda sayfaya abone olan kişiler.
anonCount + totalCount değerini döndürür (odadaki aboneler, saymadığımız anonim izleyicileri içerir).
Parameters
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id | String | Evet | |
| after_name | String | Hayır | |
| after_user_id | String | Hayır |
Response
Döndürür: PageUsersOnlineResponse
Example

get_page_by_urlid 
Parameters
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id | String | Evet |
Response
Döndürür: GetPageByUrlidApiResponse
Example

get_pages 
Parametreler
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet |
Yanıt
Döndürür: GetPagesApiResponse
Örnek

get_pages_public 
List pages for a tenant. Used by the FChat desktop client to populate its room list.
Requires enableFChat to be true on the resolved custom config for each page.
Pages that require SSO are filtered against the requesting user's group access.
Parametreler
| 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 |
Yanıt
Döndürür: GetPublicPagesResponse
Örnek

get_users_info 
Kiracı için toplu kullanıcı bilgisi. Verilen userIds ile User / SSOUser'dan görüntüleme bilgisi döndürülür.
Yorum widget'ı tarafından, varlık olayıyla yeni görünen kullanıcıları zenginleştirmek için kullanılır.
Sayfa bağlamı yok: gizlilik tutarlı bir şekilde uygulanır (özel profiller maskeleştirilir).
Parameters
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| ids | String | Yes |
Yanıt
Döndürür: PageUsersInfoResponse
Örnek

patch_page 
Parametreler
| Ad | Tür | Zorunlu | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_api_page_data | models::UpdateApiPageData | Yes |
Yanıt
Döndürür: PatchPageApiResponse
Örnek

delete_pending_webhook_event 
Parametreler
| Ad | Tür | Zorunlu | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Returns: ApiEmptyResponse
Örnek

get_pending_webhook_event_count 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | No | |
| external_id | String | No | |
| event_type | String | No | |
| domain | String | No | |
| attempt_count_gt | f64 | No |
Yanıt
Döndürür: GetPendingWebhookEventCountResponse
Örnek

get_pending_webhook_events 
Parameters
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | No | |
| external_id | String | No | |
| event_type | String | No | |
| domain | String | No | |
| attempt_count_gt | f64 | No | |
| skip | f64 | No |
Response
Döndürür: GetPendingWebhookEventsResponse
Örnek

create_question_config 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| create_question_config_body | models::CreateQuestionConfigBody | Evet |
Yanıt
Döndürür: CreateQuestionConfigResponse
Örnek

delete_question_config 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

get_question_config 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet |
Yanıt
Döndürür: GetQuestionConfigResponse
Örnek

get_question_configs 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
Yanıt
Returns: GetQuestionConfigsResponse
Örnek

update_question_config 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| update_question_config_body | models::UpdateQuestionConfigBody | Evet |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

create_question_result 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| create_question_result_body | models::CreateQuestionResultBody | Evet |
Yanıt
Döndürür: CreateQuestionResultResponse
Örnek

delete_question_result 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet |
Yanıt
Returns: ApiEmptyResponse
Örnek

get_question_result 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Döndürür: GetQuestionResultResponse
Örnek

get_question_results 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id | String | Hayır | |
| user_id | String | Hayır | |
| start_date | String | Hayır | |
| question_id | String | Hayır | |
| question_ids | String | Hayır | |
| skip | f64 | Hayır |
Yanıt
Returns: GetQuestionResultsResponse
Örnek

update_question_result 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| update_question_result_body | models::UpdateQuestionResultBody | Evet |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

aggregate_question_results 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| question_id | String | No | |
| question_ids | Vec | No | |
| url_id | String | No | |
| time_bucket | models::AggregateTimeBucket | No | |
| start_date | chrono::DateTimechrono::FixedOffset | No | |
| force_recalculate | bool | No |
Yanıt
Döndürür: AggregateQuestionResultsResponse
Örnek

bulk_aggregate_question_results 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| bulk_aggregate_question_results_request | models::BulkAggregateQuestionResultsRequest | Yes | |
| force_recalculate | bool | No |
Yanıt
Döndürür: BulkAggregateQuestionResultsResponse
Örnek

combine_comments_with_question_results 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| question_id | String | No | |
| question_ids | Vec | No | |
| url_id | String | No | |
| start_date | chrono::DateTimechrono::FixedOffset | No | |
| force_recalculate | bool | No | |
| min_value | f64 | No | |
| max_value | f64 | No | |
| limit | f64 | No |
Yanıt
Döndürür: CombineQuestionResultsWithCommentsResponse
Örnek

add_sso_user 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_apisso_user_data | models::CreateApissoUserData | Yes |
Yanıt
Döndürür: AddSsoUserApiResponse
Örnek

delete_sso_user 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| delete_comments | bool | No | |
| comment_delete_mode | String | No |
Yanıt
Döndürür: DeleteSsoUserApiResponse
Örnek

get_sso_user_by_email 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| String | Yes |
Yanıt
Döndürür: GetSsoUserByEmailApiResponse
Örnek

get_sso_user_by_id 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Döndürür: GetSsoUserByIdApiResponse
Örnek

get_sso_users 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| skip | i32 | Hayır |
Yanıt
Döndürür: GetSsoUsersResponse
Örnek

patch_sso_user 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| update_apisso_user_data | models::UpdateApissoUserData | Evet | |
| update_comments | bool | Hayır |
Yanıt
Döndürür: PatchSsoUserApiResponse
Örnek

put_sso_user 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| update_apisso_user_data | models::UpdateApissoUserData | Evet | |
| update_comments | bool | Hayır |
Response
Döndürür: PutSsoUserApiResponse
Example

create_subscription 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_api_user_subscription_data | models::CreateApiUserSubscriptionData | Yes |
Yanıt
Döndürür: CreateSubscriptionApiResponse
Örnek

delete_subscription 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| user_id | String | No |
Yanıt
Döndürür: DeleteSubscriptionApiResponse
Örnek

get_subscriptions 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| user_id | String | Hayır |
Yanıt
Döndürür: GetSubscriptionsApiResponse
Örnek

update_subscription 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_api_user_subscription_data | models::UpdateApiUserSubscriptionData | Yes | |
| user_id | String | No |
Yanıt
Returns: UpdateSubscriptionApiResponse
Örnek

get_tenant_daily_usages 
Parameters
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| year_number | f64 | Hayır | |
| month_number | f64 | Hayır | |
| day_number | f64 | Hayır | |
| skip | f64 | Hayır |
Response
Döndürür: GetTenantDailyUsagesResponse
Örnek

create_tenant_package 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Evet | |
| create_tenant_package_body | models::CreateTenantPackageBody | Evet |
Yanıt
Döndürür: CreateTenantPackageResponse
Örnek

delete_tenant_package 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

get_tenant_package 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Döner: GetTenantPackageResponse
Örnek

get_tenant_packages 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
Yanıt
Döndürür: GetTenantPackagesResponse
Örnek

replace_tenant_package 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| replace_tenant_package_body | models::ReplaceTenantPackageBody | Evet |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

update_tenant_package 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| update_tenant_package_body | models::UpdateTenantPackageBody | Evet |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

create_tenant_user 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| create_tenant_user_body | models::CreateTenantUserBody | Evet |
Yanıt
Döndürür: CreateTenantUserResponse
Örnek

delete_tenant_user 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| delete_comments | String | No | |
| comment_delete_mode | String | No |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

get_tenant_user 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Response
Döndürür: GetTenantUserResponse
Example

get_tenant_users 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
Yanıt
Döndürür: GetTenantUsersResponse
Örnek

replace_tenant_user 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| replace_tenant_user_body | models::ReplaceTenantUserBody | Yes | |
| update_comments | String | No |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

send_login_link 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| redirect_url | String | Hayır |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

update_tenant_user 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| update_tenant_user_body | models::UpdateTenantUserBody | Evet | |
| update_comments | String | Hayır |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

create_tenant 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| create_tenant_body | models::CreateTenantBody | Evet |
Yanıt
Döndürür: CreateTenantResponse
Örnek

delete_tenant 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| sure | String | No |
Yanıt
Döndürür: ApiEmptyResponse
Örnek

get_tenant 
Parametreler
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet |
Yanıt
Döndürür: GetTenantResponse
Örnek

get_tenants 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| meta | String | No | |
| skip | f64 | No |
Yanıt
Döndürür: GetTenantsResponse
Örnek

update_tenant 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| update_tenant_body | models::UpdateTenantBody | Evet |
Yanıt
Returns: ApiEmptyResponse
Örnek

change_ticket_state 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | Yes | |
| id | String | Yes | |
| change_ticket_state_body | models::ChangeTicketStateBody | Yes |
Yanıt
Döndürür: ChangeTicketStateResponse
Örnek

create_ticket 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| user_id | String | Evet | |
| create_ticket_body | models::CreateTicketBody | Evet |
Yanıt
Döndürür: CreateTicketResponse
Örnek

get_ticket 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| user_id | String | Hayır |
Yanıt
Döndürür: GetTicketResponse
Örnek

get_tickets 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| user_id | String | Hayır | |
| state | f64 | Hayır | |
| skip | f64 | Hayır | |
| limit | f64 | Hayır |
Yanıt
Döndürür: GetTicketsResponse
Örnek

get_translations 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| namespace | String | Yes | |
| component | String | Yes | |
| locale | String | No | |
| use_full_translation_ids | bool | No |
Yanıt
Döndürür: GetTranslationsResponse
Örnek

upload_image 
Upload and resize an image
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| file | std::path::PathBuf | Yes | |
| size_preset | models::SizePreset | No | |
| url_id | String | No |
Response
Döndürür: UploadImageResponse
Example

get_user_badge_progress_by_id 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Döndürür: ApiGetUserBadgeProgressResponse
Örnek

get_user_badge_progress_by_user_id 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| user_id | String | Evet |
Yanıt
Döndürür: ApiGetUserBadgeProgressResponse
Örnek

get_user_badge_progress_list 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| limit | f64 | No | |
| skip | f64 | No |
Yanıt
Döndürür: ApiGetUserBadgeProgressListResponse
Örnek

create_user_badge 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| create_user_badge_params | models::CreateUserBadgeParams | Evet |
Yanıt
Döndürür: ApiCreateUserBadgeResponse
Örnek

delete_user_badge 
Parametreler
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Döndürür: ApiEmptySuccessResponse
Örnek

get_user_badge 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Döndürür: ApiGetUserBadgeResponse
Örnek

get_user_badges 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| badge_id | String | No | |
| displayed_on_comments | bool | No | |
| limit | f64 | No | |
| skip | f64 | No |
Yanıt
Döndürür: ApiGetUserBadgesResponse
Örnek

update_user_badge 
Parameters
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| id | String | Evet | |
| update_user_badge_params | models::UpdateUserBadgeParams | Evet |
Response
Döndürür: ApiEmptySuccessResponse
Örnek

get_user_notification_count 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| sso | String | No |
Yanıt
Döndürür: GetUserNotificationCountResponse
Örnek

get_user_notifications 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | No | |
| page_size | i32 | No | |
| after_id | String | No | |
| include_context | bool | No | |
| after_created_at | i64 | No | |
| unread_only | bool | No | |
| dm_only | bool | No | |
| no_dm | bool | No | |
| include_translations | bool | No | |
| include_tenant_notifications | bool | No | |
| sso | String | No |
Yanıt
Döndürür: GetMyNotificationsResponse
Örnek

reset_user_notification_count 
Parametreler
| İsim | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| sso | String | Hayır |
Yanıt
Döndürür: ResetUserNotificationsResponse
Örnek

reset_user_notifications 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| after_id | String | No | |
| after_created_at | i64 | No | |
| unread_only | bool | No | |
| dm_only | bool | No | |
| no_dm | bool | No | |
| sso | String | No |
Yanıt
Döndürür: ResetUserNotificationsResponse
Örnek

update_user_notification_comment_subscription_status 
Enable or disable notifications for a specific comment.
Parameters
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| notification_id | String | Yes | |
| opted_in_or_out | String | Yes | |
| comment_id | String | Yes | |
| sso | String | No |
Response
Döndürür: UpdateUserNotificationCommentSubscriptionStatusResponse
Example

update_user_notification_page_subscription_status 
Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
Parameters
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| url | String | Yes | |
| page_title | String | Yes | |
| subscribed_or_unsubscribed | String | Yes | |
| sso | String | No |
Response
Döndürür: UpdateUserNotificationPageSubscriptionStatusResponse
Örnek

update_user_notification_status 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| notification_id | String | Evet | |
| new_status | String | Evet | |
| sso | String | Hayır |
Yanıt
Döndürür: UpdateUserNotificationStatusResponse
Örnek

get_user_presence_statuses 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id_ws | String | Evet | |
| user_ids | String | Evet |
Yanıt
Döndürür: GetUserPresenceStatusesResponse
Örnek

search_users 
Parametreler
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| username_starts_with | String | No | |
| mention_group_ids | Vec | No | |
| sso | String | No | |
| search_section | String | No |
Yanıt
Returns: SearchUsersResult
Örnek

get_user 
Parametreler
| Ad | Tip | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Yanıt
Döndürür: GetUserResponse
Örnek

create_vote 
Parametreler
| Ad | Tip | Gereklidir | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| direction | String | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
Yanıt
Döndürür: VoteResponse
Örnek

delete_vote 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| edit_key | String | No |
Yanıt
Döndürür: VoteDeleteResponse
Örnek

get_votes 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id | String | Evet |
Yanıt
Döndürür: GetVotesResponse
Örnek

get_votes_for_user 
Parametreler
| Ad | Tür | Gerekli | Açıklama |
|---|---|---|---|
| tenant_id | String | Evet | |
| url_id | String | Evet | |
| user_id | String | Hayır | |
| anon_user_id | String | Hayır |
Yanıt
Döndürür: GetVotesForUserResponse
Örnek

Yardım mı gerekiyor?
Rust SDK ile ilgili herhangi bir sorunla karşılaşırsanız veya sorularınız varsa, lütfen:
Katkıda Bulunma
Katkılar memnuniyetle karşılanır! Katkı yönergeleri için lütfen GitHub deposunu ziyaret edin.