
言語 🇯🇵 日本語
ドキュメント
はじめに
API リファレンス
使用法
集計
監査ログ
認証
コメントからブロック
コメントからのブロック解除
ブロック済みコメントの確認
コメント
ユーザーのコメント
ドメイン設定
メールテンプレート
イベントログ
フィード投稿
コメントの通報
GIF
ハッシュタグ
モデレーション
モデレーター
通知数
通知
ページのリアクション
ページ
保留中のWebhookイベント
質問設定
質問結果
質問結果の集計
SSOユーザー
サブスクリプション
テナントの日次使用量
テナントパッケージ
テナントユーザー
テナント
チケット
翻訳
画像アップロード
ユーザーバッジ進捗
ユーザーバッジ
ユーザー通知
ユーザーのプレゼンス状態
ユーザー検索
ユーザー
投票
FastComments の C++ SDK
これは FastComments の公式 C++ SDK です。
FastComments API の公式 C++ SDK
リポジトリ
要件 
- C++17 以降
- CMake 3.14 以降
- OpenSSL
- C++ REST SDK (cpprestsdk)
- Boost
- Google Test (テストのために自動的にダウンロードされます)
インストール 
依存関係のインストール
sudo apt install libcpprest-dev libboost-all-dev
ソースからのビルド
mkdir build
cd build
cmake ..
make
インストール
sudo make install
ライブラリの内容
このライブラリには、生成された API クライアントと、API の操作を容易にする SSO ユーティリティが含まれています。
公開 API と保護された API
API クライアントには、DefaultApi、PublicApi、ModerationApi の 3 つのクラスがあります。DefaultApi には API キーが必要なメソッドが含まれ、PublicApi には
認証なしでブラウザやモバイルデバイス等から直接呼び出せるメソッドが含まれます。ModerationApi は、ライブかつ高速な多数のモデレーション API を提供します。すべての ModerationApi メソッドは sso パラメータを受け取り、SSO または FastComments.com のセッションクッキーで認証できます。
クイックスタート 
認証済み API の使用 (DefaultAPI)
重要:
- ベース URL を設定する必要があります(cpp-restsdk ジェネレータは OpenAPI 仕様から自動で読み取らない)
- 認証されたリクエストを行う前に ApiClient に API キーを設定する必要があります。設定しないと、リクエストは 401 エラーで失敗します。
#include <iostream>
#include "FastCommentsClient/api/DefaultApi.h"
#include "FastCommentsClient/ApiClient.h"
#include "FastCommentsClient/ApiConfiguration.h"
int main() {
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
// 必須: ベース URL を設定 (リージョンを選択)
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com")); // US
// または: config->setBaseUrl(utility::conversions::to_string_t("https://eu.fastcomments.com")); // EU
// 必須: API キーを設定
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_API_KEY_HERE"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::DefaultApi api(apiClient);
// これで認証された API 呼び出しを行います
return 0;
}
公開 API の使用 (PublicAPI)
公開エンドポイントは認証を必要としません:
#include <iostream>
#include "FastCommentsClient/api/PublicApi.h"
#include "FastCommentsClient/ApiClient.h"
#include "FastCommentsClient/ApiConfiguration.h"
int main() {
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
// 必須: ベース URL を設定
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::PublicApi publicApi(apiClient);
// パブリック API 呼び出しを行います
return 0;
}
モデレーション API の使用 (ModerationApi)
ModerationApi はモデレーターダッシュボードを駆動します。すべてのメソッドは sso パラメータを受け取り、SSO 認証されたモデレーターとして呼び出しを実行します(トークンの作成方法は下記 SSO セクションをご参照ください):
#include <iostream>
#include "FastCommentsClient/api/ModerationApi.h"
#include "FastCommentsClient/ApiClient.h"
#include "FastCommentsClient/ApiConfiguration.h"
int main() {
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
// 必須: ベース URL を設定
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::ModerationApi moderationApi(apiClient);
// モデレーターの SSO トークンを渡して呼び出しを認証します
auto ssoToken = utility::conversions::to_string_t("YOUR_MODERATOR_SSO_TOKEN");
org::openapitools::client::api::GetCountOptions options;
options.sso = ssoToken;
auto response = moderationApi.getCount(options).get();
return 0;
}
一般的な問題
- "URI must contain a hostname" エラー: ApiClient を作成する前に
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"))を呼び出していることを確認してください。cpp-restsdk ジェネレータは OpenAPI 仕様からサーバー URL を自動的に読み取りません。 - 401 "missing-api-key" エラー: DefaultAPI インスタンスを作成する前に
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_KEY"))を呼び出していることを確認してください。 - 間違った API クラス: サーバー側の認証リクエストには
DefaultApi、クライアント側/公開リクエストにはPublicApi、モデレーターダッシュボードのリクエスト(モデレーター SSO トークンで認証)にはModerationApiを使用してください。
API呼び出し: 同期 vs 非同期 
All API methods in this SDK return pplx::task<std::shared_ptr<ResponseType>> from the C++ REST SDK. This gives you flexibility in how you handle API responses.
.get() を使用した同期呼び出し
Use .get() to block the calling thread until the request completes and retrieve the result synchronously:
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"));
config->setApiKey(utility::conversions::to_string_t("api_key"),
utility::conversions::to_string_t("YOUR_API_KEY"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::DefaultApi api(apiClient);
// Required parameters are positional; optional ones go in the options struct
org::openapitools::client::api::GetCommentsOptions options;
options.urlId = utility::conversions::to_string_t("your-url-id");
// Call .get() to block and get the result synchronously
auto response = api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
options
).get(); // HTTP リクエストが完了するまでブロックします
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
.then() を使用した非同期呼び出し
Use .then() for non-blocking asynchronous execution with callbacks:
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"));
config->setApiKey(utility::conversions::to_string_t("api_key"),
utility::conversions::to_string_t("YOUR_API_KEY"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::DefaultApi api(apiClient);
// Required parameters are positional; optional ones go in the options struct
org::openapitools::client::api::GetCommentsOptions options;
options.urlId = utility::conversions::to_string_t("your-url-id");
// Use .then() for asynchronous callback-based execution
api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
options
).then([](std::shared_ptr<GetComments_200_response> response) {
// リクエストが完了したときに非同期で実行されます
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
});
// ブロックせずにすぐに実行が続行されます
std::cout << "Request sent, continuing..." << std::endl;
同期と非同期の選択
The choice depends on your runtime environment and application architecture:
.get()(同期ブロッキング)
- 呼び出しスレッドを HTTP リクエストが完了するまでブロックします
- コードフローがシンプルで、理解しやすい
- 専用のワーカースレッド、バッチ処理、コマンドラインツールに適しています
- イベントループ、GUI スレッド、シングルスレッドサーバーには適さない
.then()(非同期ノンブロッキング)
- 即座に戻り、リクエスト完了時にコールバックが実行されます
- 呼び出しスレッドをブロックしません
- イベント駆動型アーキテクチャ、GUI アプリケーション、シングルスレッドのイベントループに必要です
- 複数の操作をチェーンできます
- 制御フローがより複雑になります
The SDK's test suite uses .get() exclusively, but this is appropriate for the test environment where blocking is acceptable.
メモ 
ブロードキャストID
いくつかの API 呼び出しでは broadcastId を渡すことになっています。イベントを受信したときにこの ID が返されるので、クライアント側で楽観的に変更を適用する予定がある場合は、そのイベントを無視すべきかを判断できます(おそらく最良の体験を提供するためにそうしたいでしょう)。ここには UUID を渡してください。ID はブラウザセッション内で二度出現しないほど十分に一意であるべきです。
SSO (Single Sign-On)
SSO の例は以下を参照してください。
SSO の使用法 
シンプル SSO
#include <fastcomments/sso/fastcomments_sso.hpp>
#include <iostream>
using namespace fastcomments::sso;
int main() {
SimpleSSOUserData user("user-123", "user@example.com", "https://example.com/avatar.jpg");
FastCommentsSSO sso = FastCommentsSSO::newSimple(user);
std::string token = sso.createToken();
std::cout << "SSO Token: " << token << std::endl;
return 0;
}
セキュア SSO
#include <fastcomments/sso/fastcomments_sso.hpp>
#include <iostream>
using namespace fastcomments::sso;
int main() {
SecureSSOUserData user("user-123", "user@example.com", "johndoe", "https://example.com/avatar.jpg");
std::string apiKey = "your-api-key";
FastCommentsSSO sso = FastCommentsSSO::newSecure(apiKey, user);
std::string token = sso.createToken();
std::cout << "Secure SSO Token: " << token << std::endl;
return 0;
}
fastcomments のドキュメント 
APIエンドポイントのドキュメント
All URIs are relative to https://fastcomments.com
すべてのURIは https://fastcomments.com を基準としています
| クラス | メソッド | HTTPリクエスト | 説明 |
|---|---|---|---|
| DefaultApi | addDomainConfig | POST /api/v1/domain-configs | |
| DefaultApi | addHashTag | POST /api/v1/hash-tags | |
| DefaultApi | addHashTagsBulk | POST /api/v1/hash-tags/bulk | |
| DefaultApi | addPage | POST /api/v1/pages | |
| DefaultApi | addSSOUser | POST /api/v1/sso-users | |
| DefaultApi | aggregate | POST /api/v1/aggregate | ドキュメントをグループ化(groupBy が指定されている場合)し、複数の操作を適用して集計します。さまざまな操作(例: sum、countDistinct、avg など)がサポートされています。 |
| DefaultApi | aggregateQuestionResults | GET /api/v1/question-results-aggregation | |
| DefaultApi | blockUserFromComment | POST /api/v1/comments/{id}/block | |
| DefaultApi | bulkAggregateQuestionResults | POST /api/v1/question-results-aggregation/bulk | |
| DefaultApi | changeTicketState | PATCH /api/v1/tickets/{id}/state | |
| DefaultApi | combineCommentsWithQuestionResults | GET /api/v1/question-results-aggregation/combine/comments | |
| DefaultApi | createEmailTemplate | POST /api/v1/email-templates | |
| DefaultApi | createFeedPost | POST /api/v1/feed-posts | |
| DefaultApi | createModerator | POST /api/v1/moderators | |
| DefaultApi | createQuestionConfig | POST /api/v1/question-configs | |
| DefaultApi | createQuestionResult | POST /api/v1/question-results | |
| DefaultApi | createSubscription | POST /api/v1/subscriptions | |
| DefaultApi | createTenant | POST /api/v1/tenants | |
| DefaultApi | createTenantPackage | POST /api/v1/tenant-packages | |
| DefaultApi | createTenantUser | POST /api/v1/tenant-users | |
| DefaultApi | createTicket | POST /api/v1/tickets | |
| DefaultApi | createUserBadge | POST /api/v1/user-badges | |
| DefaultApi | createVote | POST /api/v1/votes | |
| DefaultApi | deleteComment | DELETE /api/v1/comments/{id} | |
| DefaultApi | deleteDomainConfig | DELETE /api/v1/domain-configs/{domain} | |
| DefaultApi | deleteEmailTemplate | DELETE /api/v1/email-templates/{id} | |
| DefaultApi | deleteEmailTemplateRenderError | DELETE /api/v1/email-templates/{id}/render-errors/{errorId} | |
| DefaultApi | deleteHashTag | DELETE /api/v1/hash-tags/{tag} | |
| DefaultApi | deleteModerator | DELETE /api/v1/moderators/{id} | |
| DefaultApi | deleteNotificationCount | DELETE /api/v1/notification-count/{id} | |
| DefaultApi | deletePage | DELETE /api/v1/pages/{id} | |
| DefaultApi | deletePendingWebhookEvent | DELETE /api/v1/pending-webhook-events/{id} | |
| DefaultApi | deleteQuestionConfig | DELETE /api/v1/question-configs/{id} | |
| DefaultApi | deleteQuestionResult | DELETE /api/v1/question-results/{id} | |
| DefaultApi | deleteSSOUser | DELETE /api/v1/sso-users/{id} | |
| DefaultApi | deleteSubscription | DELETE /api/v1/subscriptions/{id} | |
| DefaultApi | deleteTenant | DELETE /api/v1/tenants/{id} | |
| DefaultApi | deleteTenantPackage | DELETE /api/v1/tenant-packages/{id} | |
| DefaultApi | deleteTenantUser | DELETE /api/v1/tenant-users/{id} | |
| DefaultApi | deleteUserBadge | DELETE /api/v1/user-badges/{id} | |
| DefaultApi | deleteVote | DELETE /api/v1/votes/{id} | |
| DefaultApi | flagComment | POST /api/v1/comments/{id}/flag | |
| DefaultApi | getAuditLogs | GET /api/v1/audit-logs | |
| DefaultApi | getCachedNotificationCount | GET /api/v1/notification-count/{id} | |
| DefaultApi | getComment | GET /api/v1/comments/{id} | |
| DefaultApi | getComments | GET /api/v1/comments | |
| DefaultApi | getDomainConfig | GET /api/v1/domain-configs/{domain} | |
| DefaultApi | getDomainConfigs | GET /api/v1/domain-configs | |
| DefaultApi | getEmailTemplate | GET /api/v1/email-templates/{id} | |
| DefaultApi | getEmailTemplateDefinitions | GET /api/v1/email-templates/definitions | |
| DefaultApi | getEmailTemplateRenderErrors | GET /api/v1/email-templates/{id}/render-errors | |
| DefaultApi | getEmailTemplates | GET /api/v1/email-templates | |
| DefaultApi | getFeedPosts | GET /api/v1/feed-posts | req tenantId afterId |
| DefaultApi | getHashTags | GET /api/v1/hash-tags | |
| DefaultApi | getModerator | GET /api/v1/moderators/{id} | |
| DefaultApi | getModerators | GET /api/v1/moderators | |
| DefaultApi | getNotificationCount | GET /api/v1/notifications/count | |
| DefaultApi | getNotifications | GET /api/v1/notifications | |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPages | GET /api/v1/pages | |
| DefaultApi | getPendingWebhookEventCount | GET /api/v1/pending-webhook-events/count | |
| DefaultApi | getPendingWebhookEvents | GET /api/v1/pending-webhook-events | |
| DefaultApi | getQuestionConfig | GET /api/v1/question-configs/{id} | |
| DefaultApi | getQuestionConfigs | GET /api/v1/question-configs | |
| DefaultApi | getQuestionResult | GET /api/v1/question-results/{id} | |
| DefaultApi | getQuestionResults | GET /api/v1/question-results | |
| DefaultApi | getSSOUserByEmail | GET /api/v1/sso-users/by-email/{email} | |
| DefaultApi | getSSOUserById | GET /api/v1/sso-users/by-id/{id} | |
| DefaultApi | getSSOUsers | GET /api/v1/sso-users | |
| DefaultApi | getSubscriptions | GET /api/v1/subscriptions | |
| DefaultApi | getTenant | GET /api/v1/tenants/{id} | |
| DefaultApi | getTenantDailyUsages | GET /api/v1/tenant-daily-usage | |
| DefaultApi | getTenantPackage | GET /api/v1/tenant-packages/{id} | |
| DefaultApi | getTenantPackages | GET /api/v1/tenant-packages | |
| DefaultApi | getTenantUser | GET /api/v1/tenant-users/{id} | |
| DefaultApi | getTenantUsers | GET /api/v1/tenant-users | |
| DefaultApi | getTenants | GET /api/v1/tenants | |
| DefaultApi | getTicket | GET /api/v1/tickets/{id} | |
| DefaultApi | getTickets | GET /api/v1/tickets | |
| DefaultApi | getUser | GET /api/v1/users/{id} | |
| DefaultApi | getUserBadge | GET /api/v1/user-badges/{id} | |
| DefaultApi | getUserBadgeProgressById | GET /api/v1/user-badge-progress/{id} | |
| DefaultApi | getUserBadgeProgressByUserId | GET /api/v1/user-badge-progress/user/{userId} | |
| DefaultApi | getUserBadgeProgressList | GET /api/v1/user-badge-progress | |
| DefaultApi | getUserBadges | GET /api/v1/user-badges | |
| DefaultApi | getVotes | GET /api/v1/votes | |
| DefaultApi | getVotesForUser | GET /api/v1/votes/for-user | |
| DefaultApi | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | patchHashTag | PATCH /api/v1/hash-tags/{tag} | |
| DefaultApi | patchPage | PATCH /api/v1/pages/{id} | |
| DefaultApi | patchSSOUser | PATCH /api/v1/sso-users/{id} | |
| DefaultApi | putDomainConfig | PUT /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | putSSOUser | PUT /api/v1/sso-users/{id} | |
| DefaultApi | renderEmailTemplate | POST /api/v1/email-templates/render | |
| DefaultApi | replaceTenantPackage | PUT /api/v1/tenant-packages/{id} | |
| DefaultApi | replaceTenantUser | PUT /api/v1/tenant-users/{id} | |
| DefaultApi | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| DefaultApi | sendInvite | POST /api/v1/moderators/{id}/send-invite | |
| DefaultApi | sendLoginLink | POST /api/v1/tenant-users/{id}/send-login-link | |
| DefaultApi | unBlockUserFromComment | POST /api/v1/comments/{id}/un-block | |
| DefaultApi | unFlagComment | POST /api/v1/comments/{id}/un-flag | |
| DefaultApi | updateComment | PATCH /api/v1/comments/{id} | |
| DefaultApi | updateEmailTemplate | PATCH /api/v1/email-templates/{id} | |
| DefaultApi | updateFeedPost | PATCH /api/v1/feed-posts/{id} | |
| DefaultApi | updateModerator | PATCH /api/v1/moderators/{id} | |
| DefaultApi | updateNotification | PATCH /api/v1/notifications/{id} | |
| DefaultApi | updateQuestionConfig | PATCH /api/v1/question-configs/{id} | |
| DefaultApi | updateQuestionResult | PATCH /api/v1/question-results/{id} | |
| DefaultApi | updateSubscription | PATCH /api/v1/subscriptions/{id} | |
| DefaultApi | updateTenant | PATCH /api/v1/tenants/{id} | |
| DefaultApi | updateTenantPackage | PATCH /api/v1/tenant-packages/{id} | |
| DefaultApi | updateTenantUser | PATCH /api/v1/tenant-users/{id} | |
| DefaultApi | updateUserBadge | PUT /api/v1/user-badges/{id} | |
| ModerationApi | deleteModerationVote | DELETE /auth/my-account/moderate-comments/mod_api/vote/{commentId}/{voteId} | |
| ModerationApi | getApiComments | GET /auth/my-account/moderate-comments/mod_api/api/comments | |
| ModerationApi | getApiExportStatus | GET /auth/my-account/moderate-comments/mod_api/api/export/status | |
| ModerationApi | getApiIds | GET /auth/my-account/moderate-comments/mod_api/api/ids | |
| ModerationApi | getBanUsersFromComment | GET /auth/my-account/moderate-comments/mod_api/ban-users/from-comment/{commentId} | |
| ModerationApi | getCommentBanStatus | GET /auth/my-account/moderate-comments/mod_api/get-comment-ban-status/{commentId} | |
| ModerationApi | getCommentChildren | GET /auth/my-account/moderate-comments/mod_api/comment-children/{commentId} | |
| ModerationApi | getCount | GET /auth/my-account/moderate-comments/mod_api/count | |
| ModerationApi | getCounts | GET /auth/my-account/moderate-comments/banned-users/mod_api/counts | |
| ModerationApi | getLogs | GET /auth/my-account/moderate-comments/mod_api/logs/{commentId} | |
| ModerationApi | getManualBadges | GET /auth/my-account/moderate-comments/mod_api/get-manual-badges | |
| ModerationApi | getManualBadgesForUser | GET /auth/my-account/moderate-comments/mod_api/get-manual-badges-for-user | |
| ModerationApi | getModerationComment | GET /auth/my-account/moderate-comments/mod_api/comment/{commentId} | |
| ModerationApi | getModerationCommentText | GET /auth/my-account/moderate-comments/mod_api/get-comment-text/{commentId} | |
| ModerationApi | getPreBanSummary | GET /auth/my-account/moderate-comments/mod_api/pre-ban-summary/{commentId} | |
| ModerationApi | getSearchCommentsSummary | GET /auth/my-account/moderate-comments/mod_api/search/comments/summary | |
| ModerationApi | getSearchPages | GET /auth/my-account/moderate-comments/mod_api/search/pages | |
| ModerationApi | getSearchSites | GET /auth/my-account/moderate-comments/mod_api/search/sites | |
| ModerationApi | getSearchSuggest | GET /auth/my-account/moderate-comments/mod_api/search/suggest | |
| ModerationApi | getSearchUsers | GET /auth/my-account/moderate-comments/mod_api/search/users | |
| ModerationApi | getTrustFactor | GET /auth/my-account/moderate-comments/mod_api/get-trust-factor | |
| ModerationApi | getUserBanPreference | GET /auth/my-account/moderate-comments/mod_api/user-ban-preference | |
| ModerationApi | getUserInternalProfile | GET /auth/my-account/moderate-comments/mod_api/get-user-internal-profile | |
| ModerationApi | postAdjustCommentVotes | POST /auth/my-account/moderate-comments/mod_api/adjust-comment-votes/{commentId} | |
| ModerationApi | postApiExport | POST /auth/my-account/moderate-comments/mod_api/api/export | |
| ModerationApi | postBanUserFromComment | POST /auth/my-account/moderate-comments/mod_api/ban-user/from-comment/{commentId} | |
| ModerationApi | postBanUserUndo | POST /auth/my-account/moderate-comments/mod_api/ban-user/undo | |
| ModerationApi | postBulkPreBanSummary | POST /auth/my-account/moderate-comments/mod_api/bulk-pre-ban-summary | |
| ModerationApi | postCommentsByIds | POST /auth/my-account/moderate-comments/mod_api/comments-by-ids | |
| ModerationApi | postFlagComment | POST /auth/my-account/moderate-comments/mod_api/flag-comment/{commentId} | |
| ModerationApi | postRemoveComment | POST /auth/my-account/moderate-comments/mod_api/remove-comment/{commentId} | |
| ModerationApi | postRestoreDeletedComment | POST /auth/my-account/moderate-comments/mod_api/restore-deleted-comment/{commentId} | |
| ModerationApi | postSetCommentApprovalStatus | POST /auth/my-account/moderate-comments/mod_api/set-comment-approval-status/{commentId} | |
| ModerationApi | postSetCommentReviewStatus | POST /auth/my-account/moderate-comments/mod_api/set-comment-review-status/{commentId} | |
| ModerationApi | postSetCommentSpamStatus | POST /auth/my-account/moderate-comments/mod_api/set-comment-spam-status/{commentId} | |
| ModerationApi | postSetCommentText | POST /auth/my-account/moderate-comments/mod_api/set-comment-text/{commentId} | |
| ModerationApi | postUnFlagComment | POST /auth/my-account/moderate-comments/mod_api/un-flag-comment/{commentId} | |
| ModerationApi | postVote | POST /auth/my-account/moderate-comments/mod_api/vote/{commentId} | |
| ModerationApi | putAwardBadge | PUT /auth/my-account/moderate-comments/mod_api/award-badge | |
| ModerationApi | putCloseThread | PUT /auth/my-account/moderate-comments/mod_api/close-thread | |
| ModerationApi | putRemoveBadge | PUT /auth/my-account/moderate-comments/mod_api/remove-badge | |
| ModerationApi | putReopenThread | PUT /auth/my-account/moderate-comments/mod_api/reopen-thread | |
| ModerationApi | setTrustFactor | PUT /auth/my-account/moderate-comments/mod_api/set-trust-factor | |
| PublicApi | blockFromCommentPublic | POST /block-from-comment/{commentId} | |
| PublicApi | checkedCommentsForBlocked | GET /check-blocked-comments | |
| PublicApi | createCommentPublic | POST /comments/{tenantId} | |
| PublicApi | createFeedPostPublic | POST /feed-posts/{tenantId} | |
| PublicApi | createV1PageReact | POST /page-reacts/v1/likes/{tenantId} | |
| PublicApi | createV2PageReact | POST /page-reacts/v2/{tenantId} | |
| PublicApi | deleteCommentPublic | DELETE /comments/{tenantId}/{commentId} | |
| PublicApi | deleteCommentVote | DELETE /comments/{tenantId}/{commentId}/vote/{voteId} | |
| PublicApi | deleteFeedPostPublic | DELETE /feed-posts/{tenantId}/{postId} | |
| PublicApi | deleteV1PageReact | DELETE /page-reacts/v1/likes/{tenantId} | |
| PublicApi | deleteV2PageReact | DELETE /page-reacts/v2/{tenantId} | |
| PublicApi | flagCommentPublic | POST /flag-comment/{commentId} | |
| PublicApi | getCommentText | GET /comments/{tenantId}/{commentId}/text | |
| PublicApi | getCommentVoteUserNames | GET /comments/{tenantId}/{commentId}/votes | |
| PublicApi | getCommentsForUser | GET /comments-for-user | |
| PublicApi | getCommentsPublic | GET /comments/{tenantId} | req tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | req tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | req tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGifLarge | GET /gifs/get-large/{tenantId} | |
| PublicApi | getGifsSearch | GET /gifs/search/{tenantId} | |
| PublicApi | getGifsTrending | GET /gifs/trending/{tenantId} | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | req tenantId urlId userIdWS |
| PublicApi | getOfflineUsers | GET /pages/{tenantId}/users/offline | 現在オンラインではない、ページ上の過去のコメント投稿者。displayName でソートされます。/users/online を使い切った後に「メンバー」セクションを表示するために使用します。commenterName に対するカーソルページネーション:サーバーは {tenantId, urlId, commenterName} の部分インデックスを afterName から $gt で前進させて取得し、$skip のコストはかかりません。 |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | 現在オンラインのページ閲覧者:現在ページにサブスクライブされている WebSocket セッションを持つユーザー。anonCount と totalCount(部屋全体のサブスクライバー数、列挙しない匿名閲覧者を含む)を返します。 |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | テナントのページ一覧を取得します。FChat デスクトップクライアントがルームリストを構築する際に使用されます。各ページの解決済みカスタム設定で enableFChat が true である必要があります。SSO が必要なページは、リクエスト元ユーザーのグループアクセスに基づいてフィルタリングされます。 |
| PublicApi | getTranslations | GET /translations/{namespace}/{component} | |
| PublicApi | getUserNotificationCount | GET /user-notifications/get-count | |
| PublicApi | getUserNotifications | GET /user-notifications | |
| PublicApi | getUserPresenceStatuses | GET /user-presence-status | |
| PublicApi | getUserReactsPublic | GET /feed-posts/{tenantId}/user-reacts | |
| PublicApi | getUsersInfo | GET /pages/{tenantId}/users/info | Bulk user info for a tenant. Given userIds, return display info from User / SSOUser. Used by the comment widget to enrich users that just appeared via a presence event. No page context: privacy is enforced uniformly (private profiles are masked). |
| PublicApi | getV1PageLikes | GET /page-reacts/v1/likes/{tenantId} | |
| PublicApi | getV2PageReactUsers | GET /page-reacts/v2/{tenantId}/list | |
| PublicApi | getV2PageReacts | GET /page-reacts/v2/{tenantId} | |
| PublicApi | lockComment | POST /comments/{tenantId}/{commentId}/lock | |
| PublicApi | logoutPublic | PUT /auth/logout | |
| PublicApi | pinComment | POST /comments/{tenantId}/{commentId}/pin | |
| PublicApi | reactFeedPostPublic | POST /feed-posts/{tenantId}/react/{postId} | |
| PublicApi | resetUserNotificationCount | POST /user-notifications/reset-count | |
| PublicApi | resetUserNotifications | POST /user-notifications/reset | |
| PublicApi | searchUsers | GET /user-search/{tenantId} | |
| PublicApi | setCommentText | POST /comments/{tenantId}/{commentId}/update-text | |
| PublicApi | unBlockCommentPublic | DELETE /block-from-comment/{commentId} | |
| PublicApi | unLockComment | POST /comments/{tenantId}/{commentId}/unlock | |
| PublicApi | unPinComment | POST /comments/{tenantId}/{commentId}/unpin | |
| PublicApi | updateFeedPostPublic | PUT /feed-posts/{tenantId}/{postId} | |
| PublicApi | updateUserNotificationCommentSubscriptionStatus | POST /user-notifications/{notificationId}/mark-opted/{optedInOrOut} | Enable or disable notifications for a specific comment. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Upload and resize an image |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
モデルのドキュメント
- APIAuditLog
- APIBanUserChangeLog
- APIBanUserChangedValues
- APIBannedUser
- APIBannedUserWithMultiMatchInfo
- APIComment
- APICommentBase
- APICommentBase_meta
- APICommentCommonBannedUser
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIModerateGetUserBanPreferencesResponse
- APIModerateUserBanPreferences
- APIPage
- APISSOUser
- APISaveCommentResponse
- APIStatus
- APITenant
- APITenantDailyUsage
- APITicket
- APITicketDetail
- APITicketFile
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfigResponse
- AddDomainConfigResponse_anyOf
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AdjustCommentVotesParams
- AdjustVotesResponse
- AggregateQuestionResultsResponse
- AggregateResponse
- AggregateTimeBucket
- AggregationAPIError
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- AwardUserBadgeResponse
- BanUserFromCommentResult
- BanUserUndoParams
- BannedUserMatch
- BannedUserMatchType
- BannedUserMatch_matchedOnValue
- BillingInfo
- BlockFromCommentParams
- BlockSuccess
- BuildModerationFilterParams
- BuildModerationFilterResponse
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkCreateHashTagsBody
- BulkCreateHashTagsBody_tags_inner
- BulkCreateHashTagsResponse
- BulkCreateHashTagsResponse_results_inner
- BulkPreBanParams
- [BulkPreBanSummary](https://github.com/FastComments
aggregate 
Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations. Different operations (e.g. sum, countDistinct, avg, etc.) are supported.
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| aggregationRequest | AggregationRequest | Yes | |
| options | const AggregateOptions& | Yes |
応答
Returns: AggregateResponse
例

getAuditLogs 
Parameters
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetAuditLogsOptions& | はい |
Response
戻り値: GetAuditLogsResponse
Example

logoutPublic 
レスポンス
返却: APIEmptyResponse
例

blockFromCommentPublic 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Yes | |
| sso | string | No |
レスポンス
戻り値: BlockSuccess
例

unBlockCommentPublic 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | はい | |
| sso | string | いいえ |
応答
返り値: UnblockSuccess
例

checkedCommentsForBlocked 
パラメータ
| 名称 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentIds | string | はい | |
| sso | string | いいえ |
レスポンス
返却: CheckBlockedCommentsResponse
例

blockUserFromComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| blockFromCommentParams | BlockFromCommentParams | Yes | |
| options | const BlockUserFromCommentOptions& | Yes |
応答
戻り値: BlockSuccess
例

createCommentPublic 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| broadcastId | string | Yes | |
| commentData | CommentData | Yes | |
| options | const CreateCommentPublicOptions& | Yes |
レスポンス
戻り値: SaveCommentsResponseWithPresence
例

deleteComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい | |
| options | const DeleteCommentOptions& | はい |
レスポンス
例

deleteCommentPublic 
Parameters
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| broadcastId | string | はい | |
| options | const DeleteCommentPublicOptions& | はい |
Response
返却: PublicAPIDeleteCommentResponse
Example

deleteCommentVote 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| voteId | string | Yes | |
| urlId | string | Yes | |
| broadcastId | string | Yes | |
| options | const DeleteCommentVoteOptions& | Yes |
応答
戻り値: VoteDeleteResponse
例

flagComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| options | const FlagCommentOptions& | Yes |
レスポンス
戻り値: FlagCommentResponse
例

getComment 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい |
レスポンス
例

getComments 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetCommentsOptions& | Yes |
Response
Example

getCommentsPublic 
req tenantId urlId
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| urlId | string | はい | |
| options | const GetCommentsPublicOptions& | はい |
レスポンス
戻り値: GetCommentsResponseWithPresence_PublicComment_
例

getCommentText 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| options | const GetCommentTextOptions& | はい |
レスポンス
返却: PublicAPIGetCommentTextResponse
例

getCommentVoteUserNames 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| dir | int32_t | はい | |
| sso | string | いいえ |
レスポンス
戻り値: GetCommentVoteUserNamesSuccessResponse
例

lockComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| sso | string | No |
レスポンス
戻り値: APIEmptyResponse
例

pinComment 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| sso | string | No |
レスポンス
返却: ChangeCommentPinStatusResponse
例

saveComment 
パラメーター
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| createCommentParams | CreateCommentParams | Yes | |
| options | const SaveCommentOptions& | Yes |
応答
例

setCommentText 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | Yes | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Yes | |
| options | const SetCommentTextOptions& | Yes |
応答
戻り値: PublicAPISetCommentTextResponse
例

unBlockUserFromComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Yes | |
| options | const UnBlockUserFromCommentOptions& | Yes |
レスポンス
返却: UnblockSuccess
例

unFlagComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| options | const UnFlagCommentOptions& | Yes |
応答
例

unLockComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| broadcastId | string | はい | |
| sso | string | いいえ |
応答
返却: APIEmptyResponse
例

unPinComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| broadcastId | string | はい | |
| sso | string | いいえ |
応答
戻り値: ChangeCommentPinStatusResponse
例

updateComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい | |
| updatableCommentParams | UpdatableCommentParams | はい | |
| options | const UpdateCommentOptions& | はい |
レスポンス
返却: APIEmptyResponse
例

voteComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| urlId | string | はい | |
| broadcastId | string | はい | |
| voteBodyParams | VoteBodyParams | はい | |
| options | const VoteCommentOptions& | はい |
レスポンス
返却: VoteResponse
例

getCommentsForUser 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| options | const GetCommentsForUserOptions& | はい |
レスポンス
戻り値: GetCommentsForUserResponse
例

addDomainConfig 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| addDomainConfigParams | AddDomainConfigParams | はい |
レスポンス
例

deleteDomainConfig 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| domain | string | はい |
レスポンス
戻り値: DeleteDomainConfigResponse
例

getDomainConfig 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| domain | string | Yes |
レスポンス
例

getDomainConfigs 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | はい |
レスポンス
例

patchDomainConfig 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| domainToUpdate | string | Yes | |
| patchDomainConfigParams | PatchDomainConfigParams | Yes |
レスポンス
戻り値: PatchDomainConfigResponse
例

putDomainConfig 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| domainToUpdate | string | はい | |
| updateDomainConfigParams | UpdateDomainConfigParams | はい |
応答
例

createEmailTemplate 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| createEmailTemplateBody | CreateEmailTemplateBody | はい |
レスポンス
返却: CreateEmailTemplateResponse
例

deleteEmailTemplate 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
レスポンス
返却: APIEmptyResponse
例

deleteEmailTemplateRenderError 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| errorId | string | Yes |
レスポンス
戻り値: APIEmptyResponse
例

getEmailTemplate 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい |
レスポンス
例

getEmailTemplateDefinitions 
パラメーター
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい |
レスポンス
戻り値: GetEmailTemplateDefinitionsResponse
例

getEmailTemplateRenderErrors 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい | |
| skip | double | いいえ |
レスポンス
返却: GetEmailTemplateRenderErrorsResponse
例

getEmailTemplates 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| skip | double | いいえ |
レスポンス
戻り値: GetEmailTemplatesResponse
例

renderEmailTemplate 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| renderEmailTemplateBody | RenderEmailTemplateBody | はい | |
| locale | string | いいえ |
レスポンス
返却: RenderEmailTemplateResponse
例

updateEmailTemplate 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | はい |
応答
返却値: APIEmptyResponse
例

getEventLog 
req tenantId urlId userIdWS
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| userIdWS | string | Yes | |
| startTime | int64_t | Yes | |
| endTime | int64_t | No |
レスポンス
例

getGlobalEventLog 
req tenantId urlId userIdWS
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| urlId | string | はい | |
| userIdWS | string | はい | |
| startTime | int64_t | はい | |
| endTime | int64_t | いいえ |
レスポンス
例

createFeedPost 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| createFeedPostParams | CreateFeedPostParams | Yes | |
| options | const CreateFeedPostOptions& | Yes |
応答
例

createFeedPostPublic 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| createFeedPostParams | CreateFeedPostParams | Yes | |
| options | const CreateFeedPostPublicOptions& | Yes |
応答
例

deleteFeedPostPublic 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| postId | string | Yes | |
| options | const DeleteFeedPostPublicOptions& | Yes |
レスポンス
戻り値: DeleteFeedPostPublicResponse
例

getFeedPosts 
リクエスト tenantId afterId
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetFeedPostsOptions& | Yes |
レスポンス
例

getFeedPostsPublic 
req
tenantId
afterId
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetFeedPostsPublicOptions& | はい |
レスポンス
例

getFeedPostsStats 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| postIds | vector<string | はい | |
| sso | string | いいえ |
レスポンス
例

getUserReactsPublic 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetUserReactsPublicOptions& | はい |
レスポンス
戻り値: UserReactsResponse
例

reactFeedPostPublic 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| postId | string | はい | |
| reactBodyParams | ReactBodyParams | はい | |
| options | const ReactFeedPostPublicOptions& | はい |
レスポンス
例

updateFeedPost 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい | |
| feedPost | FeedPost | はい |
応答
返却: APIEmptyResponse
例

updateFeedPostPublic 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| postId | string | Yes | |
| updateFeedPostParams | UpdateFeedPostParams | Yes | |
| options | const UpdateFeedPostPublicOptions& | Yes |
レスポンス
例

flagCommentPublic 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| isFlagged | bool | Yes | |
| sso | string | No |
レスポンス
戻り値: APIEmptyResponse
例

getGifLarge 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| largeInternalURLSanitized | string | はい |
レスポンス
戻り値: GifGetLargeResponse
例

getGifsSearch 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| search | string | はい | |
| options | const GetGifsSearchOptions& | はい |
レスポンス
例

getGifsTrending 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetGifsTrendingOptions& | Yes |
レスポンス
例

addHashTag 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| createHashTagBody | CreateHashTagBody | Yes |
応答
例

addHashTagsBulk 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Yes |
応答
戻り値: BulkCreateHashTagsResponse
例

deleteHashTag 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| tag | string | Yes | |
| deleteHashTagRequestBody | DeleteHashTagRequestBody | Yes |
レスポンス
返却: APIEmptyResponse
例

getHashTags 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| page | double | No |
レスポンス
戻り値: GetHashTagsResponse
例

patchHashTag 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| tag | string | Yes | |
| updateHashTagBody | UpdateHashTagBody | Yes |
レスポンス
例

deleteModerationVote 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| voteId | string | はい | |
| options | const DeleteModerationVoteOptions& | はい |
レスポンス
例

getApiComments 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetApiCommentsOptions& | はい |
レスポンス
返り値: ModerationAPIGetCommentsResponse
例

getApiExportStatus 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetApiExportStatusOptions& | はい |
レスポンス
返却: ModerationExportStatusResponse
例

getApiIds 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetApiIdsOptions& | Yes |
レスポンス
戻り値: ModerationAPIGetCommentIdsResponse
例

getBanUsersFromComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| sso | string | いいえ |
レスポンス
返される: GetBannedUsersFromCommentResponse
例

getCommentBanStatus 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| sso | string | いいえ |
応答
返却: GetCommentBanStatusResponse
例

getCommentChildren 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| sso | string | いいえ |
レスポンス
返却: ModerationAPIChildCommentsResponse
例

getCount 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetCountOptions& | Yes |
レスポンス
返却: ModerationAPICountCommentsResponse
例

getCounts 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| sso | string | No |
レスポンス
返却: GetBannedUsersCountResponse
例

getLogs 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| sso | string | いいえ |
レスポンス
返り値: ModerationAPIGetLogsResponse
例

getManualBadges 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| sso | string | いいえ |
レスポンス
返り値: GetTenantManualBadgesResponse
例

getManualBadgesForUser 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetManualBadgesForUserOptions& | はい |
Response
戻り値: GetUserManualBadgesResponse
Example

getModerationComment 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| options | const GetModerationCommentOptions& | はい |
応答
返却: ModerationAPICommentResponse
例

getModerationCommentText 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| sso | string | いいえ |
レスポンス
例

getPreBanSummary 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| options | const GetPreBanSummaryOptions& | はい |
応答
返却: PreBanSummary
例

getSearchCommentsSummary 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetSearchCommentsSummaryOptions& | はい |
レスポンス
戻り値: ModerationCommentSearchResponse
例

getSearchPages 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetSearchPagesOptions& | Yes |
レスポンス
返却: ModerationPageSearchResponse
例

getSearchSites 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetSearchSitesOptions& | はい |
レスポンス
戻り値: ModerationSiteSearchResponse
例

getSearchSuggest 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetSearchSuggestOptions& | Yes |
レスポンス
戻り値: ModerationSuggestResponse
例

getSearchUsers 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetSearchUsersOptions& | はい |
レスポンス
返り値: ModerationUserSearchResponse
例

getTrustFactor 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetTrustFactorOptions& | はい |
レスポンス
返却: GetUserTrustFactorResponse
例

getUserBanPreference 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| sso | string | No |
応答
Returns: APIModerateGetUserBanPreferencesResponse
例

getUserInternalProfile 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetUserInternalProfileOptions& | はい |
レスポンス
戻り値: GetUserInternalProfileResponse
例

postAdjustCommentVotes 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| adjustCommentVotesParams | AdjustCommentVotesParams | はい | |
| options | const PostAdjustCommentVotesOptions& | はい |
レスポンス
戻り値: AdjustVotesResponse
例

postApiExport 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const PostApiExportOptions& | はい |
レスポンス
例

postBanUserFromComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| options | const PostBanUserFromCommentOptions& | はい |
レスポンス
例

postBanUserUndo 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| banUserUndoParams | BanUserUndoParams | はい | |
| sso | string | いいえ |
レスポンス
戻り値: APIEmptyResponse
例

postBulkPreBanSummary 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| bulkPreBanParams | BulkPreBanParams | Yes | |
| options | const PostBulkPreBanSummaryOptions& | Yes |
レスポンス
返り値: BulkPreBanSummary
例

postCommentsByIds 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentsByIdsParams | CommentsByIdsParams | はい | |
| sso | string | いいえ |
応答
戻り値: ModerationAPIChildCommentsResponse
例

postFlagComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| options | const PostFlagCommentOptions& | はい |
レスポンス
戻り値: APIEmptyResponse
例

postRemoveComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostRemoveCommentOptions& | Yes |
応答
戻り値: PostRemoveCommentApiResponse
例

postRestoreDeletedComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostRestoreDeletedCommentOptions& | Yes |
レスポンス
戻り値: APIEmptyResponse
例

postSetCommentApprovalStatus 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostSetCommentApprovalStatusOptions& | Yes |
レスポンス
戻り値: SetCommentApprovedResponse
例

postSetCommentReviewStatus 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostSetCommentReviewStatusOptions& | Yes |
レスポンス
戻り値: APIEmptyResponse
例

postSetCommentSpamStatus 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| options | const PostSetCommentSpamStatusOptions& | はい |
レスポンス
戻り値: APIEmptyResponse
例

postSetCommentText 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| setCommentTextParams | SetCommentTextParams | Yes | |
| options | const PostSetCommentTextOptions& | Yes |
レスポンス
例

postUnFlagComment 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostUnFlagCommentOptions& | Yes |
レスポンス
戻り値: APIEmptyResponse
例

postVote 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| options | const PostVoteOptions& | Yes |
応答
戻り値: VoteResponse
例

putAwardBadge 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| badgeId | string | Yes | |
| options | const PutAwardBadgeOptions& | Yes |
応答
例

putCloseThread 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| urlId | string | はい | |
| sso | string | いいえ |
レスポンス
返却: APIEmptyResponse
例

putRemoveBadge 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | はい | |
| badgeId | string | はい | |
| options | const PutRemoveBadgeOptions& | はい |
レスポンス
Returns: RemoveUserBadgeResponse
例

putReopenThread 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| sso | string | No |
応答
返却: APIEmptyResponse
例

setTrustFactor 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const SetTrustFactorOptions& | Yes |
レスポンス
戻り値: SetUserTrustFactorResponse
例

createModerator 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| createModeratorBody | CreateModeratorBody | Yes |
応答
例

deleteModerator 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| sendEmail | string | No |
応答
戻り値: APIEmptyResponse
例

getModerator 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
応答
返り値: GetModeratorResponse
例

getModerators 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| skip | double | いいえ |
レスポンス
例

sendInvite 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| fromName | string | Yes |
レスポンス
返り値: APIEmptyResponse
例

updateModerator 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい | |
| updateModeratorBody | UpdateModeratorBody | はい |
応答
返却: APIEmptyResponse
例

deleteNotificationCount 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
レスポンス
戻り値: APIEmptyResponse
例

getCachedNotificationCount 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい |
レスポンス
返却: GetCachedNotificationCountResponse
例

getNotificationCount 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetNotificationCountOptions& | はい |
レスポンス
戻り値: GetNotificationCountResponse
例

getNotifications 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetNotificationsOptions& | はい |
レスポンス
例

updateNotification 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateNotificationBody | UpdateNotificationBody | Yes | |
| userId | string | No |
レスポンス
返却: APIEmptyResponse
例

createV1PageReact 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| title | string | No |
レスポンス
戻り値: CreateV1PageReact
例

createV2PageReact 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| id | string | Yes | |
| title | string | No |
応答
返り値: CreateV1PageReact
例

deleteV1PageReact 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
レスポンス
戻り値: CreateV1PageReact
例

deleteV2PageReact 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| id | string | Yes |
レスポンス
戻り値: CreateV1PageReact
例

getV1PageLikes 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
レスポンス
返却: GetV1PageLikes
例

getV2PageReacts 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| urlId | string | はい |
レスポンス
返却: GetV2PageReacts
例

getV2PageReactUsers 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| id | string | Yes |
レスポンス
返却: GetV2PageReactUsersResponse
例

addPage 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| createAPIPageData | CreateAPIPageData | Yes |
応答
戻り値: AddPageAPIResponse
例

deletePage 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
レスポンス
例

getOfflineUsers 
過去にページにコメントしたが、現在オンラインではないユーザー。displayName でソートされます。
/users/online をすべて使用した後に、"Members" セクションを表示するために使用します。
commenterName に対するカーソルページング: サーバーは部分的な {tenantId, urlId, commenterName} インデックスを afterName 以降へ $gt で進め、$skip コストはかかりません。
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| urlId | string | はい | |
| options | const GetOfflineUsersOptions& | はい |
レスポンス
例

getOnlineUsers 
現在オンラインのページ閲覧者: 現在そのページにサブスクライブされている WebSocket セッションを持つユーザーです。
anonCount + totalCount を返します (部屋全体の購読者数で、列挙しない匿名閲覧者も含みます)。
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| options | const GetOnlineUsersOptions& | Yes |
Response
Example

getPageByURLId 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| urlId | string | はい |
レスポンス
戻り値: GetPageByURLIdAPIResponse
例

getPages 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい |
レスポンス
返り値: GetPagesAPIResponse
例

getPagesPublic 
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.
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetPagesPublicOptions& | Yes |
応答
例

getUsersInfo 
Bulk user info for a tenant. Given userIds, return display info from User / SSOUser.
テナントのユーザー情報を一括取得します。userIds が指定されると、User / SSOUser から表示情報を返します。
Used by the comment widget to enrich users that just appeared via a presence event.
コメントウィジェットが、プレゼンスイベントで新たに現れたユーザーを補強するために使用されます。
No page context: privacy is enforced uniformly (private profiles are masked).
ページコンテキストなし: プライバシーは一様に適用され、プライベートプロファイルはマスクされます。
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| ids | string | Yes |
Response
Returns: PageUsersInfoResponse
Example

patchPage 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい | |
| updateAPIPageData | UpdateAPIPageData | はい |
レスポンス
例

deletePendingWebhookEvent 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
レスポンス
戻り値: APIEmptyResponse
例

getPendingWebhookEventCount 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetPendingWebhookEventCountOptions& | Yes |
レスポンス
返却: GetPendingWebhookEventCountResponse
例

getPendingWebhookEvents 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetPendingWebhookEventsOptions& | はい |
レスポンス
戻り値: GetPendingWebhookEventsResponse
例

createQuestionConfig 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| createQuestionConfigBody | CreateQuestionConfigBody | Yes |
レスポンス
戻り値: CreateQuestionConfigResponse
例

deleteQuestionConfig 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
レスポンス
返却: APIEmptyResponse
例

getQuestionConfig 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい |
レスポンス
例

getQuestionConfigs 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| skip | double | いいえ |
レスポンス
戻り値: GetQuestionConfigsResponse
例

updateQuestionConfig 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Yes |
応答
返却: APIEmptyResponse
例

createQuestionResult 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| createQuestionResultBody | CreateQuestionResultBody | はい |
レスポンス
返却: CreateQuestionResultResponse
例

deleteQuestionResult 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
レスポンス
返却: APIEmptyResponse
例

getQuestionResult 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
応答
例

getQuestionResults 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetQuestionResultsOptions& | はい |
レスポンス
戻り値: GetQuestionResultsResponse
例

updateQuestionResult 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateQuestionResultBody | UpdateQuestionResultBody | Yes |
応答
Returns: APIEmptyResponse
例

aggregateQuestionResults 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const AggregateQuestionResultsOptions& | Yes |
レスポンス
返り値: AggregateQuestionResultsResponse
例

bulkAggregateQuestionResults 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Yes | |
| forceRecalculate | bool | No |
レスポンス
戻り値: BulkAggregateQuestionResultsResponse
例

combineCommentsWithQuestionResults 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const CombineCommentsWithQuestionResultsOptions& | Yes |
レスポンス
返却: CombineQuestionResultsWithCommentsResponse
例

addSSOUser 
パラメーター
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| createAPISSOUserData | CreateAPISSOUserData | Yes |
応答
例

deleteSSOUser 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい | |
| options | const DeleteSSOUserOptions& | はい |
応答
例

getSSOUserByEmail 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| string | Yes |
レスポンス
返却: GetSSOUserByEmailAPIResponse
例

getSSOUserById 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい |
レスポンス
戻り値: GetSSOUserByIdAPIResponse
例

getSSOUsers 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| skip | int32_t | いいえ |
レスポンス
例

patchSSOUser 
パラメーター
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateAPISSOUserData | UpdateAPISSOUserData | Yes | |
| updateComments | bool | No |
レスポンス
例

putSSOUser 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateAPISSOUserData | UpdateAPISSOUserData | Yes | |
| updateComments | bool | No |
レスポンス
例

createSubscription 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Yes |
レスポンス
返却: CreateSubscriptionAPIResponse
例

deleteSubscription 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| userId | string | No |
レスポンス
返却: DeleteSubscriptionAPIResponse
例

getSubscriptions 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | No |
レスポンス
返却: GetSubscriptionsAPIResponse
例

updateSubscription 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Yes | |
| userId | string | No |
応答
Returns: UpdateSubscriptionAPIResponse
例

getTenantDailyUsages 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetTenantDailyUsagesOptions& | Yes |
レスポンス
戻り値: GetTenantDailyUsagesResponse
例

createTenantPackage 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| createTenantPackageBody | CreateTenantPackageBody | はい |
レスポンス
戻り値: CreateTenantPackageResponse
例

deleteTenantPackage 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい |
応答
Returns: APIEmptyResponse
例

getTenantPackage 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい |
レスポンス
例

getTenantPackages 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| skip | double | いいえ |
レスポンス
例

replaceTenantPackage 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | はい |
レスポンス
戻り値: APIEmptyResponse
例

updateTenantPackage 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateTenantPackageBody | UpdateTenantPackageBody | Yes |
応答
戻り値: APIEmptyResponse
例

createTenantUser 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| createTenantUserBody | CreateTenantUserBody | Yes |
レスポンス
例

deleteTenantUser 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい | |
| options | const DeleteTenantUserOptions& | はい |
レスポンス
戻り値: APIEmptyResponse
例

getTenantUser 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
レスポンス
例

getTenantUsers 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| skip | double | いいえ |
レスポンス
例

replaceTenantUser 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| replaceTenantUserBody | ReplaceTenantUserBody | Yes | |
| updateComments | string | No |
レスポンス
返却: APIEmptyResponse
例

sendLoginLink 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| redirectURL | string | No |
レスポンス
戻り値: APIEmptyResponse
例

updateTenantUser 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい | |
| updateTenantUserBody | UpdateTenantUserBody | はい | |
| updateComments | string | いいえ |
レスポンス
返却: APIEmptyResponse
例

createTenant 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| createTenantBody | CreateTenantBody | Yes |
レスポンス
戻り値: CreateTenantResponse
例

deleteTenant 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| sure | string | No |
レスポンス
戻り値: APIEmptyResponse
例

getTenant 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい |
レスポンス
例

getTenants 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetTenantsOptions& | Yes |
レスポンス
Returns: GetTenantsResponse
例

updateTenant 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateTenantBody | UpdateTenantBody | Yes |
レスポンス
返却: APIEmptyResponse
例

changeTicketState 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | Yes | |
| id | string | Yes | |
| changeTicketStateBody | ChangeTicketStateBody | Yes |
レスポンス
例

createTicket 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | Yes | |
| createTicketBody | CreateTicketBody | Yes |
レスポンス
戻り値: CreateTicketResponse
例

getTicket 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| userId | string | No |
応答
Returns: GetTicketResponse
例

getTickets 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetTicketsOptions& | はい |
応答
例

getTranslations 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| r_namespace | string | はい | |
| component | string | はい | |
| options | const GetTranslationsOptions& | はい |
レスポンス
例

uploadImage 
画像のアップロードとサイズ変更
パラメーター
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| file | HttpContent | Yes | |
| options | const UploadImageOptions& | Yes |
レスポンス
戻り値: UploadImageResponse
例

getUserBadgeProgressById 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい |
レスポンス
返却: APIGetUserBadgeProgressResponse
例

getUserBadgeProgressByUserId 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | Yes |
レスポンス
戻り値: APIGetUserBadgeProgressResponse
例

getUserBadgeProgressList 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| options | const GetUserBadgeProgressListOptions& | Yes |
レスポンス
戻り値: APIGetUserBadgeProgressListResponse
例

createUserBadge 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| createUserBadgeParams | CreateUserBadgeParams | はい |
レスポンス
返り値: APICreateUserBadgeResponse
例

deleteUserBadge 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
レスポンス
例

getUserBadge 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
レスポンス
例

getUserBadges 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetUserBadgesOptions& | はい |
レスポンス
例

updateUserBadge 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateUserBadgeParams | UpdateUserBadgeParams | Yes |
応答
例

getUserNotificationCount 
パラメータ
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| sso | string | No |
レスポンス
返却: GetUserNotificationCountResponse
例

getUserNotifications 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const GetUserNotificationsOptions& | はい |
レスポンス
戻り値: GetMyNotificationsResponse
例

resetUserNotificationCount 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| sso | string | いいえ |
応答
返却: ResetUserNotificationsResponse
例

resetUserNotifications 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| options | const ResetUserNotificationsOptions& | はい |
応答
返り値: ResetUserNotificationsResponse
例

updateUserNotificationCommentSubscriptionStatus 
Enable or disable notifications for a specific comment.
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| notificationId | string | Yes | |
| optedInOrOut | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
応答
戻り値: UpdateUserNotificationCommentSubscriptionStatusResponse
例

updateUserNotificationPageSubscriptionStatus 
ページの通知を有効または無効にします。ユーザーがページを購読している場合、通知が作成され
新しいルートコメントのため、そしてまた
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| urlId | string | はい | |
| url | string | はい | |
| pageTitle | string | はい | |
| subscribedOrUnsubscribed | string | はい | |
| sso | string | いいえ |
応答
返り値: UpdateUserNotificationPageSubscriptionStatusResponse
例

updateUserNotificationStatus 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| notificationId | string | Yes | |
| newStatus | string | Yes | |
| sso | string | No |
レスポンス
返り値: UpdateUserNotificationStatusResponse
例

getUserPresenceStatuses 
パラメータ
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlIdWS | string | Yes | |
| userIds | string | Yes |
応答
戻り値: GetUserPresenceStatusesResponse
例

searchUsers 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| options | const SearchUsersOptions& | Yes |
レスポンス
戻り値: SearchUsersResult
例

getUser 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| id | string | はい |
レスポンス
戻り値: GetUserResponse
例

createVote 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | はい | |
| commentId | string | はい | |
| direction | string | はい | |
| options | const CreateVoteOptions& | はい |
レスポンス
返却: VoteResponse
例

deleteVote 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| editKey | string | No |
レスポンス
戻り値: VoteDeleteResponse
例

getVotes 
Parameters
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Response
戻り値: GetVotesResponse
Example

getVotesForUser 
パラメータ
| 名前 | 型 | 必須 | 説明 |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| options | const GetVotesForUserOptions& | Yes |
レスポンス
例

ヘルプが必要ですか?
C++ SDK に関して問題が発生した場合やご質問がある場合は、次のいずれかを行ってください:
貢献
ご貢献は歓迎します! 貢献のガイドラインについてはGitHubリポジトリをご覧ください。