
언어 🇰🇷 한국어
문서
시작하기
집계
API
감사 로그
댓글 차단
차단된 댓글 확인
댓글
댓글 사용자
도메인 설정
이메일 템플릿
이벤트 로그
피드 게시물
댓글 신고
GIF
해시태그
중재
중재자
알림 수
알림
페이지 반응
페이지
보류 중인 웹훅 이벤트
질문 설정
질문 결과
질문 결과 집계
SSO 사용자
구독
테넌트 일일 사용량
테넌트 패키지
테넌트 사용자
테넌트
티켓
번역
이미지 업로드
사용자 배지 진행
사용자 배지
사용자 알림
사용자 상태
사용자 검색
사용자
투표
FastComments Rust SDK
이것은 FastComments의 공식 Rust SDK입니다.
FastComments API를 위한 공식 Rust SDK
Repository
AI 코딩 에이전트 
코딩 에이전트에 FastComments 컨텍스트를 제공하세요 - 위젯, 구성, Secure SSO, REST API 및 SDK:
npx skills add fastcomments/skills
Claude Code, Codex, Cursor, Copilot, Gemini 및 모든 다른 에이전트와 함께 작동합니다. skills CLI에서 지원합니다.
라이브러리 내용 
FastComments Rust SDK는 여러 모듈로 구성됩니다:
-
Client Module - FastComments REST API용 API 클라이언트
- 모든 API 모델에 대한 완전한 타입 정의
- FastComments 모든 메서드를 포괄하는 세 개의 API 클라이언트:
default_api(DefaultApi) - 서버 측 사용을 위한 API 키 인증 메서드public_api(PublicApi) - 브라우저 및 모바일 앱에서 호출해도 안전한 공개, API 키가 필요 없는 메서드moderation_api(ModerationApi) - 실시간 및 빠른 중재 API의 광범위한 제품군. 모든 Moderation 메서드는sso매개변수를 받아 SSO 또는 FastComments.com 세션 쿠키로 인증할 수 있습니다.
- tokio를 이용한 완전한 async/await 지원
- 자세한 API 문서는 client/README.md를 참조하십시오.
-
SSO Module - 서버 측 싱글 사인온 유틸리티
- 사용자 인증을 위한 안전한 토큰 생성
- 단순 및 보안 SSO 모드 모두 지원
- HMAC-SHA256 기반 토큰 서명
-
Core Types - 공유 타입 정의 및 유틸리티
- 댓글 모델 및 메타데이터 구조
- 사용자 및 테넌트 구성
- 공통 작업을 위한 도우미 함수
빠른 시작 
공개 API 사용
use fastcomments_sdk::client::apis::configuration::Configuration;
use fastcomments_sdk::client::apis::public_api;
#[tokio::main]
async fn main() {
// API 구성 생성
let config = Configuration::new();
// 페이지의 댓글 가져오기
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),
}
}
인증된 API 사용
use fastcomments_sdk::client::apis::configuration::{ApiKey, Configuration};
use fastcomments_sdk::client::apis::default_api;
#[tokio::main]
async fn main() {
// API 키로 구성 생성
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "your-api-key".to_string(),
});
// 인증된 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),
}
}
모더레이션 API 사용
모더레이션 메서드는 모더레이터 대시보드를 지원합니다. 이들은 인증된 API와 마찬가지로 API 키 Configuration을 사용하며, 각 메서드는 선택적인 sso 토큰을 허용하므로 SSO로 인증된 모더레이터를 대신하여 호출을 수행할 수 있습니다.
use fastcomments_sdk::client::apis::configuration::{ApiKey, Configuration};
use fastcomments_sdk::client::apis::moderation_api;
#[tokio::main]
async fn main() {
// API 키로 구성 생성
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "your-api-key".to_string(),
});
// 모더레이션 대기열에 있는 댓글 수 계산
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, // SSO로 인증된 모더레이터로 동작하려면 SSO 토큰을 전달하세요
},
)
.await;
match result {
Ok(response) => println!("Comments to moderate: {}", response.count),
Err(e) => eprintln!("Error: {:?}", e),
}
}
SSO를 사용한 인증
use fastcomments_sdk::sso::{
fastcomments_sso::FastCommentsSSO,
secure_sso_user_data::SecureSSOUserData,
};
fn main() {
let api_key = "your-api-key".to_string();
// 보안 SSO 사용자 데이터 생성(서버 측에서만!)
let user_data = SecureSSOUserData::new(
"user-123".to_string(), // 사용자 ID
"user@example.com".to_string(), // 이메일
"John Doe".to_string(), // 사용자 이름
"https://example.com/avatar.jpg".to_string(), // 아바타 URL
);
// SSO 토큰 생성
let sso = FastCommentsSSO::new_secure(api_key, &user_data).unwrap();
let token = sso.create_token().unwrap();
println!("SSO Token: {}", token);
// 이 토큰을 프런트엔드로 전달하여 인증에 사용하세요
}
일반적인 문제 
401 권한 없음 오류
인증된 API를 사용할 때 401 오류가 발생하는 경우:
- API 키 확인: FastComments 대시보드에 있는 올바른 API 키를 사용하고 있는지 확인하세요
- 테넌트 ID 확인: 테넌트 ID가 계정과 일치하는지 확인하세요
- API 키 형식: API 키는 Configuration에 전달되어야 합니다:
let mut config = Configuration::new();
config.api_key = Some(ApiKey {
prefix: None,
key: "YOUR_API_KEY".to_string(),
});
SSO 토큰 문제
SSO 토큰이 작동하지 않는 경우:
- 프로덕션에서는 보안 모드 사용: 프로덕션에서는 항상
FastCommentsSSO::new_secure()를 API 키와 함께 사용하세요 - 서버 측에서만 생성: SSO 토큰은 서버에서 생성하고 API 키를 클라이언트에 노출하지 마세요
- 사용자 데이터 확인: 필요한 모든 필드 (id, email, username)가 제공되었는지 확인하세요
비동기 런타임 오류
SDK는 비동기 작업에 tokio를 사용합니다. 다음을 확인하세요:
- Add tokio to your dependencies:
[dependencies]
tokio = { version = "1", features = ["full"] }
- Use the tokio runtime:
#[tokio::main]
async fn main() {
// 여기에 비동기 코드를 작성하세요
}
노트 
브로드캐스트 ID
일부 API 호출에서 broadcastId를 전달해야 한다는 것을 보게 될 것입니다. 이벤트를 수신하면 이 ID를 되돌려 받으므로 클라이언트에서 변경을 낙관적으로 적용하려는 경우 이벤트를 무시해야 하는지 알 수 있습니다
(이는 아마도 가장 좋은 경험을 제공하므로 그렇게 하고 싶을 것입니다). 여기에 UUID를 전달하세요. 이 ID는 브라우저 세션 내에서 두 번 발생하지 않을 만큼 충분히 고유해야 합니다.
집계 
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 | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| aggregation_request | models::AggregationRequest | Yes | |
| parent_tenant_id | String | No | |
| include_stats | bool | No |
Response
Example

get_api_comments 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| page | f64 | 아니오 | |
| count | f64 | 아니오 | |
| text_search | String | 아니오 | |
| by_ip_from_comment | String | 아니오 | |
| filters | String | 아니오 | |
| search_filters | String | 아니오 | |
| sorts | String | 아니오 | |
| demo | bool | 아니오 | |
| sso | String | 아니오 |
응답
반환: ModerationApiGetCommentsResponse
예시

get_api_export_status 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| batch_job_id | String | 아니오 | |
| sso | String | 아니오 |
응답
반환: ModerationExportStatusResponse
예시

get_api_ids 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| 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 |
응답
반환: ModerationApiGetCommentIdsResponse
예시

post_api_export 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| text_search | String | No | |
| by_ip_from_comment | String | No | |
| filters | String | No | |
| search_filters | String | No | |
| sorts | String | No | |
| sso | String | No |
응답
예시

get_audit_logs 
Parameters
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| limit | f64 | No | |
| skip | f64 | No | |
| order | models::SortDir | No | |
| after | f64 | No | |
| before | f64 | No |
Response
예시

block_from_comment_public 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| public_block_from_comment_params | models::PublicBlockFromCommentParams | Yes | |
| sso | String | No |
응답
반환: BlockSuccess
예제

un_block_comment_public 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| public_block_from_comment_params | models::PublicBlockFromCommentParams | Yes | |
| sso | String | No |
응답
반환: UnblockSuccess
예제

checked_comments_for_blocked 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_ids | String | Yes | |
| sso | String | No |
Response
반환: CheckBlockedCommentsResponse
Example

block_user_from_comment 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| block_from_comment_params | models::BlockFromCommentParams | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
응답
Returns: BlockSuccess
예시

create_comment_public 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| broadcast_id | String | Yes | |
| comment_data | models::CommentData | Yes | |
| session_id | String | No | |
| sso | String | No |
응답
반환: SaveCommentsResponseWithPresence
예제

delete_comment 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| context_user_id | String | No | |
| is_live | bool | No |
응답
예시

delete_comment_public 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | Yes | |
| edit_key | String | No | |
| sso | String | No |
응답
반환: PublicApiDeleteCommentResponse
예시

delete_comment_vote 
매개변수
| Name | Type | Required | 설명 |
|---|---|---|---|
| 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 |
응답
예시

flag_comment 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
응답
예제

get_comment 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
응답
예시

get_comment_text 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| edit_key | String | No | |
| sso | String | No |
응답
반환: PublicApiGetCommentTextResponse
예시

get_comment_vote_user_names 
Parameters
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| dir | i32 | Yes | |
| sso | String | No |
Response
반환: GetCommentVoteUserNamesSuccessResponse
Example

get_comments 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| page | i32 | 아니오 | |
| limit | i32 | 아니오 | |
| skip | i32 | 아니오 | |
| as_tree | bool | 아니오 | |
| skip_children | i32 | 아니오 | |
| limit_children | i32 | 아니오 | |
| max_tree_depth | i32 | 아니오 | |
| url_id | String | 아니오 | |
| user_id | String | 아니오 | |
| anon_user_id | String | 아니오 | |
| context_user_id | String | 아니오 | |
| hash_tag | String | 아니오 | |
| parent_id | String | 아니오 | |
| direction | models::SortDirections | 아니오 | |
| from_date | i64 | 아니오 | |
| to_date | i64 | 아니오 |
응답
예시

get_comments_public 
req tenantId urlId
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| 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 |
응답
반환: GetCommentsResponseWithPresencePublicComment
예시

lock_comment 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | Yes | |
| sso | String | No |
응답
반환: ApiEmptyResponse
예제

pin_comment 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | 예 | |
| comment_id | String | 예 | |
| broadcast_id | String | 예 | |
| sso | String | 아니오 |
응답
반환: ChangeCommentPinStatusResponse
예제

save_comment 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_comment_params | models::CreateCommentParams | Yes | |
| is_live | bool | No | |
| do_spam_check | bool | No | |
| send_emails | bool | No | |
| populate_notifications | bool | No |
응답
예시

save_comments_bulk 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_comment_params | Vecmodels::CreateCommentParams | Yes | |
| is_live | bool | No | |
| do_spam_check | bool | No | |
| send_emails | bool | No | |
| populate_notifications | bool | No |
응답
반환: Vec<models::SaveCommentsBulkResponse>
예시

set_comment_text 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| 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 |
응답
반환: PublicApiSetCommentTextResponse
예시

un_block_user_from_comment 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| un_block_from_comment_params | models::UnBlockFromCommentParams | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
응답
반환: UnblockSuccess
예제

un_flag_comment 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
응답
예시

un_lock_comment 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | 예 | |
| comment_id | String | 예 | |
| broadcast_id | String | 예 | |
| sso | String | 아니오 |
Response
반환: ApiEmptyResponse
Example

un_pin_comment 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | Yes | |
| sso | String | No |
응답
반환: ChangeCommentPinStatusResponse
예시

update_comment 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| 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 |
응답
반환: ApiEmptyResponse
예시

vote_comment 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| 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 |
응답
반환: VoteResponse
예시

get_comments_for_user 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| user_id | String | 아니오 | |
| direction | models::SortDirections | 아니오 | |
| replies_to_user_id | String | 아니오 | |
| page | f64 | 아니오 | |
| includei10n | bool | 아니오 | |
| locale | String | 아니오 | |
| is_crawler | bool | 아니오 |
응답
반환: GetCommentsForUserResponse
예제

add_domain_config 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| add_domain_config_params | models::AddDomainConfigParams | Yes |
응답
예시

delete_domain_config 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain | String | Yes |
응답
Returns: DeleteDomainConfigResponse
예시

get_domain_config 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain | String | Yes |
응답
예시

get_domain_configs 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes |
응답
예시

patch_domain_config 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain_to_update | String | Yes | |
| patch_domain_config_params | models::PatchDomainConfigParams | Yes |
응답
예시

put_domain_config 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| domain_to_update | String | Yes | |
| update_domain_config_params | models::UpdateDomainConfigParams | Yes |
응답
예시

create_email_template 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_email_template_body | models::CreateEmailTemplateBody | Yes |
응답
Returns: CreateEmailTemplateResponse
예시

delete_email_template 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 |
응답
반환: ApiEmptyResponse
예시

delete_email_template_render_error 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| error_id | String | Yes |
응답
반환: ApiEmptyResponse
예시

get_email_template 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
응답
예시

get_email_template_definitions 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes |
응답
Returns: GetEmailTemplateDefinitionsResponse
예시

get_email_template_render_errors 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| skip | f64 | No |
응답
반환: GetEmailTemplateRenderErrorsResponse
예제

get_email_templates 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| skip | f64 | 아니오 |
응답
예시

render_email_template 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| render_email_template_body | models::RenderEmailTemplateBody | Yes | |
| locale | String | No |
응답
반환: RenderEmailTemplateResponse
예시

update_email_template 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_email_template_body | models::UpdateEmailTemplateBody | Yes |
응답
반환: ApiEmptyResponse
예시

get_event_log 
req tenantId urlId userIdWS
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| user_id_ws | String | Yes | |
| start_time | i64 | Yes | |
| end_time | i64 | No |
응답
Returns: GetEventLogResponse
예시

get_global_event_log 
req tenantId urlId userIdWS
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| url_id | String | 예 | |
| user_id_ws | String | 예 | |
| start_time | i64 | 예 | |
| end_time | i64 | 아니오 |
응답
예시

create_feed_post 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| 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 |
응답
Returns: CreateFeedPostsResponse
예시

create_feed_post_public 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_feed_post_params | models::CreateFeedPostParams | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
Response
Example

delete_feed_post_public 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| post_id | String | 예 | |
| broadcast_id | String | 아니오 | |
| sso | String | 아니오 |
응답
반환: DeleteFeedPostPublicResponse
예제

get_feed_posts 
req tenantId afterId
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| after_id | String | No | |
| limit | i32 | No | |
| tags | Vec | No |
응답
예시

get_feed_posts_public 
req tenantId afterId
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| after_id | String | No | |
| limit | i32 | No | |
| tags | Vec | No | |
| sso | String | No | |
| is_crawler | bool | No | |
| include_user_info | bool | No |
응답
Returns: PublicFeedPostsResponse
예시

get_feed_posts_stats 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| post_ids | Vec | Yes | |
| sso | String | No |
응답
Returns: FeedPostsStatsResponse
예시

get_user_reacts_public 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| post_ids | Vec | No | |
| sso | String | No |
응답
예시

react_feed_post_public 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| 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 |
응답
예시

update_feed_post 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| feed_post | models::FeedPost | Yes |
응답
Returns: ApiEmptyResponse
예시

update_feed_post_public 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| post_id | String | 예 | |
| update_feed_post_params | models::UpdateFeedPostParams | 예 | |
| broadcast_id | String | 아니오 | |
| sso | String | 아니오 |
응답
예제

flag_comment_public 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| comment_id | String | 예 | |
| is_flagged | bool | 예 | |
| sso | String | 아니오 |
응답
반환: ApiEmptyResponse
예제

get_gif_large 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| large_internal_url_sanitized | String | Yes |
응답
예제

get_gifs_search 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| search | String | Yes | |
| locale | String | No | |
| rating | String | No | |
| page | f64 | No |
응답
예제

get_gifs_trending 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| locale | String | No | |
| rating | String | No | |
| page | f64 | No |
응답
예시

add_hash_tag 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_hash_tag_body | models::CreateHashTagBody | No |
응답
Returns: CreateHashTagResponse
예시

add_hash_tags_bulk 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| bulk_create_hash_tags_body | models::BulkCreateHashTagsBody | No |
응답
반환: BulkCreateHashTagsResponse
예제

delete_hash_tag 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| tag | String | Yes | |
| delete_hash_tag_request_body | models::DeleteHashTagRequestBody | No |
응답
Returns: ApiEmptyResponse
예시

get_hash_tags 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| page | f64 | 아니오 |
응답
예시

patch_hash_tag 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| tag | String | Yes | |
| update_hash_tag_body | models::UpdateHashTagBody | No |
응답
예제

delete_moderation_vote 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| vote_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
응답
예제

get_ban_users_from_comment 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| sso | String | No |
응답
반환: GetBannedUsersFromCommentResponse
예시

get_comment_ban_status 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| comment_id | String | 예 | |
| sso | String | 아니오 |
응답
반환: GetCommentBanStatusResponse
예시

get_comment_children 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| sso | String | No |
응답
반환: ModerationApiChildCommentsResponse
예시

get_count 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| 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 |
응답
반환: ModerationApiCountCommentsResponse
예제

get_counts 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| sso | String | No |
응답
반환: GetBannedUsersCountResponse
예시

get_logs 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | 예 | |
| comment_id | String | 예 | |
| sso | String | 아니오 |
Response
반환: ModerationApiGetLogsResponse
Example

get_manual_badges 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| sso | String | 아니오 |
응답
반환: GetTenantManualBadgesResponse
예시

get_manual_badges_for_user 
Parameters
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| badges_user_id | String | 아니오 | |
| comment_id | String | 아니오 | |
| sso | String | 아니오 |
Response
반환: GetUserManualBadgesResponse
Example

get_moderation_comment 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| include_email | bool | No | |
| include_ip | bool | No | |
| sso | String | No |
응답
반환: ModerationApiCommentResponse
예시

get_moderation_comment_text 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| sso | String | No |
응답
예시

get_pre_ban_summary 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| comment_id | String | 예 | |
| include_by_user_id_and_email | bool | 아니오 | |
| include_by_ip | bool | 아니오 | |
| include_by_email_domain | bool | 아니오 | |
| sso | String | 아니오 |
응답
반환: PreBanSummary
예시

get_search_comments_summary 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| value | String | No | |
| filters | String | No | |
| search_filters | String | No | |
| sso | String | No |
응답
반환값: ModerationCommentSearchResponse
예시

get_search_pages 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| value | String | 아니오 | |
| sso | String | 아니오 |
응답
반환: ModerationPageSearchResponse
예시

get_search_sites 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| value | String | No | |
| sso | String | No |
응답
반환: ModerationSiteSearchResponse
예시

get_search_suggest 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| text_search | String | 아니오 | |
| sso | String | 아니오 |
응답
예시

get_search_users 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| value | String | No | |
| sso | String | No |
응답
반환: ModerationUserSearchResponse
예제

get_trust_factor 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| user_id | String | 아니오 | |
| sso | String | 아니오 |
응답
Returns: GetUserTrustFactorResponse
예시

get_user_ban_preference 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| sso | String | 아니오 |
응답
반환: ApiModerateGetUserBanPreferencesResponse
예시

get_user_internal_profile 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | No | |
| sso | String | No |
응답
반환: GetUserInternalProfileResponse
예시

post_adjust_comment_votes 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| comment_id | String | 예 | |
| adjust_comment_votes_params | models::AdjustCommentVotesParams | 예 | |
| broadcast_id | String | 아니오 | |
| sso | String | 아니오 |
응답
예시

post_ban_user_from_comment 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| 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 |
응답
예시

post_ban_user_undo 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| ban_user_undo_params | models::BanUserUndoParams | Yes | |
| sso | String | No |
응답
반환: ApiEmptyResponse
예시

post_bulk_pre_ban_summary 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| bulk_pre_ban_params | models::BulkPreBanParams | 예 | |
| include_by_user_id_and_email | bool | 아니오 | |
| include_by_ip | bool | 아니오 | |
| include_by_email_domain | bool | 아니오 | |
| sso | String | 아니오 |
응답
예시

post_comments_by_ids 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comments_by_ids_params | models::CommentsByIdsParams | Yes | |
| sso | String | No |
응답
반환: ModerationApiChildCommentsResponse
예시

post_flag_comment 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
응답
반환: ApiEmptyResponse
예시

post_remove_comment 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
응답
반환: PostRemoveCommentApiResponse
예시

post_restore_deleted_comment 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
응답
반환: ApiEmptyResponse
예시

post_set_comment_approval_status 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| comment_id | String | 예 | |
| approved | bool | 아니오 | |
| broadcast_id | String | 아니오 | |
| sso | String | 아니오 |
응답
반환: SetCommentApprovedResponse
예시

post_set_comment_review_status 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| reviewed | bool | No | |
| broadcast_id | String | No | |
| sso | String | No |
응답
반환: ApiEmptyResponse
예제

post_set_comment_spam_status 
Parameters
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| comment_id | String | 예 | |
| spam | bool | 아니오 | |
| perm_not_spam | bool | 아니오 | |
| broadcast_id | String | 아니오 | |
| sso | String | 아니오 |
Response
반환: ApiEmptyResponse
Example

post_set_comment_text 
Parameters
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| comment_id | String | 예 | |
| set_comment_text_params | models::SetCommentTextParams | 예 | |
| broadcast_id | String | 아니오 | |
| sso | String | 아니오 |
응답
예시

post_un_flag_comment 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| broadcast_id | String | No | |
| sso | String | No |
응답
Returns: ApiEmptyResponse
예시

post_vote 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| direction | String | No | |
| broadcast_id | String | No | |
| sso | String | No |
응답
반환: VoteResponse
예시

put_award_badge 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| badge_id | String | 예 | |
| user_id | String | 아니오 | |
| comment_id | String | 아니오 | |
| broadcast_id | String | 아니오 | |
| sso | String | 아니오 |
응답
예제

put_close_thread 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| sso | String | No |
응답
Returns: ApiEmptyResponse
예시

put_remove_badge 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| badge_id | String | Yes | |
| user_id | String | No | |
| comment_id | String | No | |
| broadcast_id | String | No | |
| sso | String | No |
응답
예시

put_reopen_thread 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| sso | String | No |
응답
반환: ApiEmptyResponse
예제

set_trust_factor 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| trust_factor | String | No | |
| sso | String | No |
응답
반환: SetUserTrustFactorResponse
예제

create_moderator 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_moderator_body | models::CreateModeratorBody | Yes |
응답
Returns: CreateModeratorResponse
예시

delete_moderator 
Parameters
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| send_email | String | No |
Response
반환: ApiEmptyResponse
Example

get_moderator 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
응답
Returns: GetModeratorResponse
예시

get_moderators 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
응답
예시

send_invite 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| from_name | String | Yes |
응답
반환: ApiEmptyResponse
예시

update_moderator 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 | |
| update_moderator_body | models::UpdateModeratorBody | 예 |
응답
반환: ApiEmptyResponse
예시

delete_notification_count 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 |
응답
반환: ApiEmptyResponse
예시

get_cached_notification_count 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 |
응답
반환: GetCachedNotificationCountResponse
예제

get_notification_count 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| url_id | String | No | |
| from_comment_id | String | No | |
| viewed | bool | No |
응답
반환: GetNotificationCountResponse
예시

get_notifications 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| url_id | String | No | |
| from_comment_id | String | No | |
| viewed | bool | No | |
| skip | f64 | No |
응답
Returns: GetNotificationsResponse
예시

update_notification 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_notification_body | models::UpdateNotificationBody | Yes | |
| user_id | String | No |
응답
반환: ApiEmptyResponse
예시

create_v1_page_react 
파라미터
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| url_id | String | 예 | |
| title | String | 아니오 |
응답
반환: CreateV1PageReact
예시

create_v2_page_react 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| id | String | Yes | |
| title | String | No |
응답
반환: CreateV1PageReact
예시

delete_v1_page_react 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes |
응답
반환: CreateV1PageReact
예시

delete_v2_page_react 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| url_id | String | 예 | |
| id | String | 예 |
응답
반환: CreateV1PageReact
예시

get_v1_page_likes 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes |
응답
반환: GetV1PageLikes
예시

get_v2_page_react_users 
Parameters
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| url_id | String | 예 | |
| id | String | 예 |
Response
반환값: GetV2PageReactUsersResponse
Example

get_v2_page_reacts 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | 예 | |
| url_id | String | 예 |
응답
반환: GetV2PageReacts
예시

add_page 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_api_page_data | models::CreateApiPageData | Yes |
응답
예시

delete_page 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 |
응답
예제

get_offline_users 
Past commenters on the page who are NOT currently online. Sorted by displayName.
현재 온라인 상태가 아닌 페이지의 과거 댓글 작성자들. displayName 기준으로 정렬됩니다.
Use this after exhausting /users/online to render a "Members" section.
/users/online을 모두 사용한 후에 "Members" 섹션을 렌더링하기 위해 사용합니다.
Cursor pagination on commenterName: server walks the partial {tenantId, urlId, commenterName}
index from afterName forward via $gt, no $skip cost.
commenterName에 대한 커서 페이지네이션: 서버가 {tenantId, urlId, commenterName} 부분 인덱스를 afterName 이후로 $gt를 이용해 순회하며, $skip 비용이 없습니다.
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| url_id | String | 예 | |
| after_name | String | 아니오 | |
| after_user_id | String | 아니오 |
응답
예시

get_online_users 
현재 페이지에 온라인으로 접속 중인 시청자: 현재 웹소켓 세션이 해당 페이지에 구독돼 있는 사람들입니다. anonCount + totalCount (룸 전체 구독자, 열거되지 않은 익명 시청자를 포함) 를 반환합니다.
Parameters
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| after_name | String | No | |
| after_user_id | String | No |
Response
Example

get_page_by_urlid 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes |
응답
예시

get_pages 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 |
응답
예제

get_pages_public 
List pages for a tenant. Used by the FChat desktop client to populate its room list.
테넌트의 페이지 목록을 반환합니다. FChat 데스크톱 클라이언트가 방 목록을 채우는 데 사용됩니다.
Requires enableFChat to be true on the resolved custom config for each page.
enableFChat이 각 페이지에 대해 해결된 맞춤 설정에서 true이어야 합니다.
Pages that require SSO are filtered against the requesting user's group access.
SSO가 필요한 페이지는 요청한 사용자의 그룹 접근 권한에 따라 필터링됩니다.
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| cursor | String | No | |
| limit | i32 | No | |
| q | String | No | |
| sort_by | models::PagesSortBy | No | |
| has_comments | bool | No |
응답
Returns: GetPublicPagesResponse
예제

get_users_info 
테넌트에 대한 대량 사용자 정보를 제공합니다. userIds가 주어지면 User / SSOUser의 표시 정보를 반환합니다. 댓글 위젯에서 존재 이벤트를 통해 새로 나타난 사용자를 풍부하게 표시하기 위해 사용됩니다. 페이지 컨텍스트가 없으며, 프라이버시는 일관되게 적용됩니다 (비공개 프로필은 마스킹됩니다).
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| ids | String | Yes |
Response
Example

patch_page 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_api_page_data | models::UpdateApiPageData | Yes |
응답
예시

delete_pending_webhook_event 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
응답
반환: ApiEmptyResponse
예시

get_pending_webhook_event_count 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| comment_id | String | 아니오 | |
| external_id | String | 아니오 | |
| event_type | String | 아니오 | |
| domain | String | 아니오 | |
| attempt_count_gt | f64 | 아니오 |
응답
반환: GetPendingWebhookEventCountResponse
예시

get_pending_webhook_events 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | No | |
| external_id | String | No | |
| event_type | String | No | |
| domain | String | No | |
| attempt_count_gt | f64 | No | |
| skip | f64 | No |
응답
반환: GetPendingWebhookEventsResponse
예시

create_question_config 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| create_question_config_body | models::CreateQuestionConfigBody | 예 |
응답
반환: CreateQuestionConfigResponse
예시

delete_question_config 
Parameters
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
응답
반환: ApiEmptyResponse
예시

get_question_config 
파라미터
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 |
응답
예제

get_question_configs 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
응답
반환: GetQuestionConfigsResponse
예시

update_question_config 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 | |
| update_question_config_body | models::UpdateQuestionConfigBody | 예 |
응답
반환: ApiEmptyResponse
예제

create_question_result 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_question_result_body | models::CreateQuestionResultBody | Yes |
응답
반환: CreateQuestionResultResponse
예시

delete_question_result 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
응답
Returns: ApiEmptyResponse
예시

get_question_result 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
응답
예제

get_question_results 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| url_id | String | 아니오 | |
| user_id | String | 아니오 | |
| start_date | String | 아니오 | |
| question_id | String | 아니오 | |
| question_ids | String | 아니오 | |
| skip | f64 | 아니오 |
응답
반환: GetQuestionResultsResponse
예시

update_question_result 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_question_result_body | models::UpdateQuestionResultBody | Yes |
응답
반환: ApiEmptyResponse
예제

aggregate_question_results 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| 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 |
응답
반환: AggregateQuestionResultsResponse
예시

bulk_aggregate_question_results 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| bulk_aggregate_question_results_request | models::BulkAggregateQuestionResultsRequest | Yes | |
| force_recalculate | bool | No |
응답
반환: BulkAggregateQuestionResultsResponse
예시

combine_comments_with_question_results 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| 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 |
응답
Returns: CombineQuestionResultsWithCommentsResponse
예시

add_sso_user 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| create_apisso_user_data | models::CreateApissoUserData | 예 |
응답
예시

delete_sso_user 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 | |
| delete_comments | bool | 아니오 | |
| comment_delete_mode | String | 아니오 |
응답
예시

get_sso_user_by_email 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| String | 예 |
응답
반환: GetSsoUserByEmailApiResponse
예시

get_sso_user_by_id 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 |
응답
예시

get_sso_users 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | i32 | No |
응답
예시

patch_sso_user 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_apisso_user_data | models::UpdateApissoUserData | Yes | |
| update_comments | bool | No |
응답
예제

put_sso_user 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_apisso_user_data | models::UpdateApissoUserData | Yes | |
| update_comments | bool | No |
응답
예제

create_subscription 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| create_api_user_subscription_data | models::CreateApiUserSubscriptionData | 예 |
응답
반환: CreateSubscriptionApiResponse
예시

delete_subscription 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| user_id | String | No |
응답
반환: DeleteSubscriptionApiResponse
예제

get_subscriptions 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No |
응답
반환: GetSubscriptionsApiResponse
예시

update_subscription 
Parameters
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_api_user_subscription_data | models::UpdateApiUserSubscriptionData | Yes | |
| user_id | String | No |
Response
반환: UpdateSubscriptionApiResponse
Example

get_tenant_daily_usages 
매개변수
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| year_number | f64 | No | |
| month_number | f64 | No | |
| day_number | f64 | No | |
| skip | f64 | No |
응답
반환: GetTenantDailyUsagesResponse
예시

create_tenant_package 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| create_tenant_package_body | models::CreateTenantPackageBody | 예 |
응답
반환: CreateTenantPackageResponse
예시

delete_tenant_package 
Parameters
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 |
Response
반환: ApiEmptyResponse
Example

get_tenant_package 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 |
응답
예제

get_tenant_packages 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
응답
Returns: GetTenantPackagesResponse
예시

replace_tenant_package 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| replace_tenant_package_body | models::ReplaceTenantPackageBody | Yes |
응답
반환: ApiEmptyResponse
예시

update_tenant_package 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_tenant_package_body | models::UpdateTenantPackageBody | Yes |
응답
반환: ApiEmptyResponse
예시

create_tenant_user 
Parameters
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| create_tenant_user_body | models::CreateTenantUserBody | 예 |
Response
Example

delete_tenant_user 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| delete_comments | String | No | |
| comment_delete_mode | String | No |
응답
반환: ApiEmptyResponse
예시

get_tenant_user 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
Response
Example

get_tenant_users 
Parameters
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| skip | f64 | No |
Response
예시

replace_tenant_user 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 | |
| replace_tenant_user_body | models::ReplaceTenantUserBody | 예 | |
| update_comments | String | 아니오 |
응답
반환: ApiEmptyResponse
예시

send_login_link 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| redirect_url | String | No |
응답
반환: ApiEmptyResponse
예제

update_tenant_user 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_tenant_user_body | models::UpdateTenantUserBody | Yes | |
| update_comments | String | No |
응답
반환: ApiEmptyResponse
예시

create_tenant 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_tenant_body | models::CreateTenantBody | Yes |
응답
예시

delete_tenant 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 | |
| sure | String | 아니오 |
응답
반환: ApiEmptyResponse
예시

get_tenant 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 |
응답
예시

get_tenants 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| meta | String | No | |
| skip | f64 | No |
응답
예시

update_tenant 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| update_tenant_body | models::UpdateTenantBody | Yes |
응답
반환: ApiEmptyResponse
예제

change_ticket_state 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | Yes | |
| id | String | Yes | |
| change_ticket_state_body | models::ChangeTicketStateBody | Yes |
응답
예시

create_ticket 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | Yes | |
| create_ticket_body | models::CreateTicketBody | Yes |
응답
예시

get_ticket 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| user_id | String | No |
응답
예시

get_tickets 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| user_id | String | 아니오 | |
| state | f64 | 아니오 | |
| skip | f64 | 아니오 | |
| limit | f64 | 아니오 |
응답
예시

get_translations 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| namespace | String | Yes | |
| component | String | Yes | |
| locale | String | No | |
| use_full_translation_ids | bool | No |
응답
예시

upload_image 
이미지 업로드 및 크기 조절
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| file | std::path::PathBuf | Yes | |
| size_preset | models::SizePreset | No | |
| url_id | String | No |
응답
예시

get_user_badge_progress_by_id 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
응답
반환: ApiGetUserBadgeProgressResponse
예제

get_user_badge_progress_by_user_id 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| user_id | String | 예 |
응답
반환: ApiGetUserBadgeProgressResponse
예시

get_user_badge_progress_list 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| user_id | String | No | |
| limit | f64 | No | |
| skip | f64 | No |
응답
반환: ApiGetUserBadgeProgressListResponse
예제

create_user_badge 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| create_user_badge_params | models::CreateUserBadgeParams | Yes |
응답
반환: ApiCreateUserBadgeResponse
예시

delete_user_badge 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 |
응답
예시

get_user_badge 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
응답
예시

get_user_badges 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| user_id | String | 아니오 | |
| badge_id | String | 아니오 | |
| displayed_on_comments | bool | 아니오 | |
| limit | f64 | 아니오 | |
| skip | f64 | 아니오 |
응답
예시

update_user_badge 
매개변수
| 이름 | 타입 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| id | String | 예 | |
| update_user_badge_params | models::UpdateUserBadgeParams | 예 |
응답
예시

get_user_notification_count 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenant_id | String | 예 | |
| sso | String | 아니오 |
Response
반환: GetUserNotificationCountResponse
Example

get_user_notifications 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| url_id | String | 아니오 | |
| page_size | i32 | 아니오 | |
| after_id | String | 아니오 | |
| include_context | bool | 아니오 | |
| after_created_at | i64 | 아니오 | |
| unread_only | bool | 아니오 | |
| dm_only | bool | 아니오 | |
| no_dm | bool | 아니오 | |
| include_translations | bool | 아니오 | |
| include_tenant_notifications | bool | 아니오 | |
| sso | String | 아니오 |
응답
반환: GetMyNotificationsResponse
예시

reset_user_notification_count 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| sso | String | 아니오 |
응답
반환: ResetUserNotificationsResponse
예시

reset_user_notifications 
Parameters
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| 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 |
Response
반환: ResetUserNotificationsResponse
Example

update_user_notification_comment_subscription_status 
Enable or disable notifications for a specific comment.
Parameters
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| notification_id | String | 예 | |
| opted_in_or_out | String | 예 | |
| comment_id | String | 예 | |
| sso | String | 아니오 |
Response
Returns: 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
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| url | String | Yes | |
| page_title | String | Yes | |
| subscribed_or_unsubscribed | String | Yes | |
| sso | String | No |
Response
반환: UpdateUserNotificationPageSubscriptionStatusResponse
Example

update_user_notification_status 
Parameters
| 이름 | 타입 | 필요 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| notification_id | String | 예 | |
| new_status | String | 예 | |
| sso | String | 아니오 |
Response
반환: UpdateUserNotificationStatusResponse
Example

get_user_presence_statuses 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id_ws | String | Yes | |
| user_ids | String | Yes |
응답
반환: GetUserPresenceStatusesResponse
예제

search_users 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| url_id | String | 예 | |
| username_starts_with | String | 아니오 | |
| mention_group_ids | Vec | 아니오 | |
| sso | String | 아니오 | |
| search_section | String | 아니오 |
응답
Returns: SearchUsersResult
예시

get_user 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes |
응답
반환: GetUserResponse
예시

create_vote 
매개변수
| 이름 | 형식 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| comment_id | String | Yes | |
| direction | String | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
응답
반환: VoteResponse
예시

delete_vote 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| id | String | Yes | |
| edit_key | String | No |
응답
예시

get_votes 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | 예 | |
| url_id | String | 예 |
응답
Returns: GetVotesResponse
예제

get_votes_for_user 
매개변수
| 이름 | 유형 | 필수 | 설명 |
|---|---|---|---|
| tenant_id | String | Yes | |
| url_id | String | Yes | |
| user_id | String | No | |
| anon_user_id | String | No |
응답
예시

도움이 필요하신가요?
Rust SDK에 문제가 있거나 질문이 있는 경우, 다음을 이용해 주세요:
기여
기여는 환영합니다! 기여 지침은 GitHub 저장소를 확인하세요.