
ืฉืคื ๐ฎ๐ฑ ืขืืจืืช
ืืชืืื
ืืคื ืื ื-API
ืชืืขืื
ืฉืืืืฉ
ืืืจืืฆืื
ืืืื ื ืืืงืืจืช
ืืกืืื ืืชืืืื
ืืืืงืช ืชืืืืืช ืืกืืืืช
ืชืืืืืช
ืชืฆืืจืืช ืืืืืื
ืชืื ืืืช ืืืืืื
ืืืื ืืืจืืขืื
ืคืืกืืื ืืคืื
ืืืืื ืชืืืื
ืืืฉืืืื
ืื ืืื
ืืื ื ืืชืจืืืช
ืืชืจืืืช
ืืคืื
ืืืจืืขื webhook ืืืชืื ืื
ืืืืจืืช ืฉืืืืช
ืชืืฆืืืช ืฉืืืื
ืืืจืืฆืืืช ืชืืฆืืืช ืฉืืืื
ืืฉืชืืฉื SSO
ืื ืืืื
ืฉืืืืฉ ืืืื ืฉื ืื ื ื
ืืืืืืช ืื ื ื
ืืฉืชืืฉื ืื ื ื
ืื ื ืืื
ืืขืืืช ืชืืื ื
ืืชืงืืืืช ืชื ืืฉืชืืฉ
ืชืื ืืฉืชืืฉืื
ืืชืจืืืช ืืฉืชืืฉ
ืืฆืื ื ืืืืืช ืืฉืชืืฉ
ืืืคืืฉ ืืฉืชืืฉืื
ืืฉืชืืฉืื
ืืฆืืขืืช
FastComments JavaScript/TypeScript SDK
ืื ื-SDK ืืจืฉืื ืฉื JavaScript/TypeScript ืขืืืจ FastComments.
SDK ืจืฉืื ืฉื JavaScript/TypeScript ืขืืืจ ื-FastComments API
ืืืืจ
ืชืืขืื API 
ืืืจืื API ืืื: docs/api/README.md
ืชืืืืืช ืืคืืคื ืืื ืฉืจืช 
ื-SDK ืืื ืืฉืชืืฉ ื-ืฉืชื ื ืงืืืืช ืื ืืกื ืืื ืืืืืื ืชืืืืืช ืืืืืืช ืืืื ืืข ืฉืืืืืช ืืืื ืจืืฆื:
fastcomments-sdk/browser- ืืจืกื ืืืืื ืืืคืืคื ืขืfetchืืืื ืfastcomments-sdk/server- ืืจืกื ืืืื ื-Node.js ืขื ืชืืืื ื-SSOfastcomments-sdk(ืืจืืจืช ืืืื) - ืืืคืืกืื ืืืื, ืืืื ืืืืื ืืื ืืงืื
ืฉืืืืฉ 
ืืืืืช SDK ืื ืืกืคืงืช ื ืงืืืืช ืื ืืกื ื ืคืจืืืช ืืกืืืืช ืืืคืืคื ืืืกืืืืช ืืฉืจืช ืขื ืื ืช ืืืืืื ืชืืืืืช ืืืืืื ืืืืืืช:
ืฉืืืืฉ ืืืคืืคื (ืฆื-ืืงืื)
For browser/frontend applications, use the browser-safe export that excludes Node.js dependencies:
// ืืืืื ืืืื ืืืคืืคื (ืืื ืชืืืช ื-Node.js)
import { createFastCommentsBrowserSDK } from 'fastcomments-sdk/browser';
// ืืฆืืจืช ืืืคืข SDK ืืืคืืคื
const sdk = createFastCommentsBrowserSDK({
basePath: 'https://fastcomments.com' // optional, defaults to https://fastcomments.com
});
// ืืฉืชืืฉ ื-APIs ืฆืืืืจืืื (ืืื ืฆืืจื ืืืคืชื API - ืืืื ืืืคืืคื ืื)
const comments = await sdk.publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'page-url-id'
});
ืฉืืืืฉ ืืฆื ืืฉืจืช (Node.js)
For server/backend applications, use the full SDK with SSO and authentication features:
// ืืืืื ืืฆื ืืฉืจืช (ืืืื SSO ืืืชืืื ื ืืขืืื ืขื NodeJS)
import { createFastCommentsSDK } from 'fastcomments-sdk/server';
// ืืฆืืจืช ืืืคืข SDK ืืฉืจืช
const sdk = createFastCommentsSDK({
apiKey: 'your-api-key', // ืฉืืจื ืขื ืื ืืกืื ืืฉืจืช!
basePath: 'https://fastcomments.com' // optional, defaults to https://fastcomments.com
});
// ืืฉืชืืฉื ื-APIs ืืืืืืืืช ืขื ืืคืชื ื-API ืฉืืื
const comments = await sdk.defaultApi.getComments({
tenantId: 'your-tenant-id',
urlId: 'page-url-id'
});
ืืืืื ืืืคืืกืื ืืืื
If you only need TypeScript types (no runtime code), use the default import:
// ืจืง ืืืคืืกืื (ืืื ืชืืืช ืืืื ืจืืฆื - ืืืื ืืื ืืงืื)
import type {
PublicComment,
CreateCommentParams,
GetCommentsPublic200Response
} from 'fastcomments-sdk';
ืฉืืืืฉ ืืืืืงืืช API ืืืืืืช
ืกืืืื ืืืคืืคื
import { PublicApi, Configuration } from 'fastcomments-sdk/browser';
const config = new Configuration({
basePath: 'https://fastcomments.com'
});
const publicApi = new PublicApi(config);
ืกืืืื ืืฆื ืืฉืจืช
import { DefaultApi, PublicApi, Configuration } from 'fastcomments-sdk/server';
const config = new Configuration({
apiKey: 'your-api-key',
basePath: 'https://fastcomments.com'
});
const defaultApi = new DefaultApi(config);
const publicApi = new PublicApi(config);
ืืืฉืงื API ืฆืืืืจืืื ืืื ืืืืืืืื 
The SDK ืืกืคืง ืฉืืืฉ ืืืืงืืช API ืขืืงืจืืืช:
DefaultApi- ื ืงืืืืช ืงืฆื ืืืืืืืืช ืฉืืืจืฉืืช ืืช ืืคืชื ื-API ืฉืื ืืืืืืช. ืืฉืชืืฉ ืืื ืขืืืจ ืคืขืืืืช ืืฆื ืืฉืจืช.PublicApi- ื ืงืืืืช ืงืฆื ืฆืืืืจืืืช ืฉื ืืชื ืืืฉืช ืืืืื ืืื ืืคืชื API. ื ืืชื ืืงืจืื ืืื ืืฉืืจืืช ืืืคืืคื ืื/ืืืฉืืจืื ื ืืืืื/ืืื'.HiddenApi- ื ืงืืืืช ืงืฆื ืคื ืืืืืช/ืื ืืืืืช ืืฉืืืืฉืื ืืชืงืืืื.
ืืืืื: ืฉืืืืฉ ื-Public API (ืืืื ืืืคืืคื)
import { PublicApi } from 'fastcomments-sdk/browser';
const publicApi = new PublicApi();
// ืงืื ืชืืืืืช ืขืืืจ ืืฃ (ืืื ืฆืืจื ืืืคืชื API)
const response = await publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'page-url-id'
});
ืืืืื: ืฉืืืืฉ ื-Default API (ืฆื ืฉืจืช ืืืื)
import { DefaultApi, Configuration } from 'fastcomments-sdk/server';
const config = new Configuration({
apiKey: 'your-api-key' // ืฉืืืจ ืืืช ืืกืื!
});
const defaultApi = new DefaultApi(config);
// ืงืื ืชืืืืืช ืขื ืืืฉื ืื ืืืืช ืืืื
const response = await defaultApi.getComments({
tenantId: 'your-tenant-id',
urlId: 'page-url-id'
});
ืืื ืืืจืฆืืืช SSO (ืื ืืกื ืืืืื) 
FastComments ืชืืื ื-SSO ืืื ืืืฉืชืื ืืืขืจืืช ืืืืืช ืืืฉืชืืฉืื ืืงืืืืช ืฉืื. ืคืื ืงืฆืืื ืืืืช SSO ืืืื ื ืจืง ืืืจืกืช ืืฉืจืช ืืืืืื ืฉืืื ืืืจืฉืช ืืืืืืช crypto ืฉื Node.js.
SSO ืคืฉืื (ืฆื ืฉืจืช ืืืื)
ืืฉ ืืืฆืืจ SSO ืคืฉืื ืืฆื ืืฉืจืช ืืืฉืืื ืืืชื ืื ืืืงืื:
// ืงืื ืฆื ืฉืจืช (Node.js/backend)
import { FastCommentsSSO, PublicApi } from 'fastcomments-sdk/server';
// ืืฆืืจืช SSO ืคืฉืื ืืืืฆืขืืช ืขืืจ ืืืื ื
const userData = {
username: 'john_doe',
email: 'john@example.com',
displayName: 'John Doe',
avatar: 'https://example.com/avatar.jpg'
};
const sso = FastCommentsSSO.createSimple(userData, {
loginURL: '/login',
logoutURL: '/logout'
});
const ssoToken = sso.createToken();
// ืฉืื ืืช ssoToken ืืงืื ืืฆื ืืืงืื
// ืงืื ืืฆื ืืืงืื ืืืื ืื ืืืฉืชืืฉ ืืืืงื ืื ืขื ื-SDK ืืืคืืคื
SSO ืืืืืื (ืฆื ืฉืจืช, ืืืืืฅ)
ืืฉ ืืืืฉื SSO ืืืืืื ืืฆื ืืฉืจืช ืืืื ืืกืคืง ืืืืื ืืืื ืืืชืจ:
// ืงืื ืฆื ืฉืจืช (Node.js/backend)
import { FastCommentsSSO, PublicApi } from 'fastcomments-sdk/server';
// ืืฆืืจืช SSO ืืืืืื ืืืืฆืขืืช ืืขืืจ ืืืืื ื
const userData = {
id: 'user-123',
email: 'john@example.com',
username: 'john_doe',
displayName: 'John Doe',
avatar: 'https://example.com/avatar.jpg',
isAdmin: false,
isModerator: false
};
const sso = FastCommentsSSO.createSecure('your-api-key', userData, {
loginURL: '/login',
logoutURL: '/logout'
});
const ssoConfig = sso.prepareToSend();
// Use with API calls on the server
const publicApi = new PublicApi();
const response = await publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'page-url-id',
sso: JSON.stringify(ssoConfig)
});
// Or send ssoConfig to client for browser usage
ืฉืืืืฉ ื-SSO ืืืืคืืคื (ืขื ืืืงื ืฉื ืืฆืจ ืืฉืจืช)
// ืงืื ืืฆื ืืืงืื (ืืคืืคื)
import { PublicApi } from 'fastcomments-sdk/browser';
// ืงืื ืืืงื SSO ืื ืงืืืช ืืงืฆื ืฉื ืืฉืจืช ืฉืื
const ssoToken = await fetch('/api/sso-token').then(r => r.json());
const publicApi = new PublicApi();
const response = await publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'page-url-id',
sso: ssoToken // ืืฉืชืืฉ ืืืืงื SSO ืฉื ืืฆืจ ืืฉืจืช
});
SSO ืขื ืืฆืืจืช ืชืืืื
// ืฆื ืฉืจืช: ืฆืืจ SSO ืืชืืืื
import { FastCommentsSSO, PublicApi } from 'fastcomments-sdk/server';
const sso = FastCommentsSSO.createSecure('your-api-key', userData);
const ssoConfig = sso.prepareToSend();
const response = await publicApi.createCommentPublic({
tenantId: 'your-tenant-id',
urlId: 'page-url-id',
broadcastId: 'unique-broadcast-id',
commentData: {
comment: 'This is my comment',
date: Date.now(),
commenterName: 'John Doe',
url: 'https://example.com/page',
urlId: 'page-url-id'
},
sso: JSON.stringify(ssoConfig)
});
ืืงืจื ืฉืืืืฉ ื ืคืืฆืื 
ืงืืืช ืชืืืืืช ืืขืืื
const comments = await sdk.publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'article-123'
});
ืืฆืืจืช ืชืืืื
const newComment = await sdk.publicApi.createCommentPublic({
createCommentParams: {
tenantId: 'your-tenant-id',
urlId: 'article-123',
comment: 'Great article!',
commenterName: 'John Doe',
commenterEmail: 'john@example.com'
}
});
ืืฆืืขื ืขื ืชืืืื
const voteResponse = await sdk.publicApi.voteComment({
voteBodyParams: {
commentId: 'comment-id',
direction: 1 // 1 ืืืฆืืขื ืืขื, -1 ืืืฆืืขื ื ืื
}
});
ื ืืืื ืืฉืชืืฉืื (ืืืจืฉ ืืคืชื API)
// ืืคืฉ ืืฉืชืืฉืื (ืืืจืฉ DefaultApi)
const users = await sdk.defaultApi.searchUsers({
tenantId: 'your-tenant-id',
urlId: 'page-id',
usernameStartsWith: 'john'
});
ืืืจืืขืื ืืืื (ืขืืืื ืื ืืืื ืืืช) 
ืืืจืฉื ืืืืจืืขืื ืืืื ืืื ืืงืื ืขืืืื ืื ืืืื ืืืช ืขื ืชืืืืืช, ืืฆืืขืืช ืืคืขืืืืืืช ื ืืกืคืืช.
ืืืจืืขืื ืืจืืช ืืืฃ
ืืืื ืืืืจืืขืื ืืืื ืืืฃ ืืกืืื (ืชืืืืืช, ืืฆืืขืืช ืืืืณ):
import { subscribeToChanges, LiveEvent, LiveEventType } from 'fastcomments-sdk/browser';
const config = {
tenantId: 'your-tenant-id',
urlId: 'page-url-id',
};
// ืืืจืฉื ืืืืจืืขืื ืืืื ืขืืืจ ืืฃ
const subscription = subscribeToChanges(
config,
'your-tenant-id', // tenantIdWS
'page-url-id', // urlIdWS
'user-session-id', // userIdWS (ืงืื ืืืช ืืชืื ืืชืืืื ืฉื getComments)
(event: LiveEvent) => {
console.log('Live event received:', event);
switch (event.type) {
case LiveEventType.new_comment:
console.log('New comment:', event.comment);
// ืขืืื ืืช ืืืฉืง ืืืฉืชืืฉ ืฉืื ืขื ืืชืืืื ืืืืฉื
break;
case LiveEventType.new_vote:
console.log('New vote:', event.vote);
// ืขืืื ืืช ืกืคืืจืืช ืืืฆืืขืืช ืืืืฉืง ืืืฉืชืืฉ ืฉืื
break;
case LiveEventType.updated_comment:
console.log('Comment updated:', event.comment);
break;
default:
console.log('Other event type:', event.type);
}
return true; // ืืืืจ true ืื ืืืืจืืข ืืืคื
},
(isConnected: boolean) => {
console.log('Connection status:', isConnected ? 'Connected' : 'Disconnected');
}
);
// ืกืืืจ ืืช ืืื ืื ืืฉืกืืืืช
subscription.close();
ืืืจืฉื ืืืืจืืขื ืืฉืชืืฉ
ืืืื ืืืืจืืขืื ืกืคืฆืืคืืื ืืืฉืชืืฉ (ืืชืจืืืช, ืืืืืจืื ืืืืณ):
import { subscribeToUserFeed, LiveEvent, LiveEventType } from 'fastcomments-sdk/browser';
const userConfig = {
userIdWS: 'user-session-id', // Get this from getComments response
};
// ืืืจืฉื ืืคืื ืืืืฉื ืฉื ืืืฉืชืืฉ
const userSubscription = subscribeToUserFeed(
userConfig,
(event: LiveEvent) => {
console.log('User event received:', event);
switch (event.type) {
case LiveEventType.notification:
console.log('New notification:', event.notification);
// ืืฆื ืืืืขื ืืืืฉืง ืืืฉืชืืฉ ืฉืื
break;
case LiveEventType.notification_update:
console.log('Notification updated:', event.notification);
break;
default:
console.log('Other user event:', event.type);
}
return true;
},
(isConnected: boolean) => {
console.log('User feed connection:', isConnected ? 'Connected' : 'Disconnected');
}
);
// ืกืืืจ ืืฉืกืืืืช
userSubscription.close();
ืงืืืช userIdWS
ืคืจืืืจ userIdWS ื ืืจืฉ ืขืืืจ ืืืจืืขืื ืืืื ืื ืืชื ืืืฉืืื ืืชืฉืืืืช API:
const response = await sdk.publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'page-id'
});
// ืืืฅ ืืช userIdWS ืืืชืืืื
const userIdWS = response.data?.userSessionInfo?.userIdWS;
if (userIdWS) {
// ืืขืช ืืชื ืืืื ืืืืจืฉื ืืืืจืืขืื ืืืื
const subscription = subscribeToChanges(config, tenantIdWS, urlIdWS, userIdWS, handleEvent);
}
ืืืื ืฉืืืืจ 
ืชืจืื ืฉืขืืื ืืืขืืืจ broadcastId ืืืืง ืืงืจืืืืช ื-API. ืืฉืืชื ืืงืื ืืืจืืขืื, ืชืงืื ืืืจื ืืช ืโID ืืื, ืื ืชืืข ืืืชืขืื ืืืืืจืืข ืื ืืชื ืืชืื ื ืืืืฉื ืฉืื ืืืื ืืืืคืืืืืืช ืืฆื ืืืงืื (ืื ืฉืกืืืจ ืฉืชืจืฆื ืืขืฉืืช ืืืืื ืฉืื ืืกืคืง ืืช ืืืืืืช ืืืฉืชืืฉ ืืืืื ืืืืชืจ). ืืขืืจ ืืื UUID. ืโID ืฆืจืื ืืืืืช ืืืืืื ืืกืคืืง ืืื ืฉืื ืืืคืืข ืคืขืืืื ืืืืชื ืืืฉื ืืืคืืคื.
import { v4 as uuidv4 } from 'uuid';
const response = await sdk.publicApi.createCommentPublic({
createCommentParams: {
tenantId: 'your-tenant-id',
urlId: 'page-id',
comment: 'My comment',
broadcastId: uuidv4() // ืืืื ืืืืืื ืืคืขืืื ืื
}
});
ื ืืืื ืฉืืืืืช 
try {
const comments = await sdk.publicApi.getCommentsPublic({
tenantId: 'your-tenant-id',
urlId: 'page-id'
});
} catch (error) {
if (error.response?.status === 404) {
console.log('Page not found');
} else {
console.error('API Error:', error.message);
}
}
aggregate 
ืืืื ืืกืืืื ืขื ืืื ืงืืืืฆื (ืื ื ืืกืจ groupBy) ืืืืฉืื ืืกืคืจ ืคืขืืืืช. ื ืชืืืืช ืคืขืืืืช ืฉืื ืืช (ืืืฉื sum, countDistinct, avg ืืื').
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| aggregationRequest | AggregationRequest | ืื | |
| parentTenantId | string | ืื | |
| includeStats | boolean | ืื |
ืชืืืื
ืืืืืจ: AggregationResponse
getAuditLogs 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| limit | number | ืื | |
| skip | number | ืื | |
| order | SORTDIR | ืื | |
| after | number | ืื | |
| before | number | ืื |
ืชืืืื
ืืืืืจ: GetAuditLogs200Response
blockFromCommentPublic 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: BlockFromCommentPublic200Response
unBlockCommentPublic 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: UnBlockCommentPublic200Response
checkedCommentsForBlocked 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentIds | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: CheckedCommentsForBlocked200Response
blockUserFromComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| blockFromCommentParams | BlockFromCommentParams | ืื | |
| userId | string | ืื | |
| anonUserId | string | ืื |
ืชืืืื
ืืืืืจ: BlockFromCommentPublic200Response
createCommentPublic 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| urlId | string | ืื | |
| broadcastId | string | ืื | |
| commentData | CommentData | ืื | |
| sessionId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: CreateCommentPublic200Response
deleteComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| contextUserId | string | ืื | |
| isLive | boolean | ืื |
ืชืืืื
ืืืืืจ: DeleteComment200Response
deleteCommentPublic 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| broadcastId | string | ืื | |
| editKey | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: DeleteCommentPublic200Response
deleteCommentVote 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| voteId | string | ืื | |
| urlId | string | ืื | |
| broadcastId | string | ืื | |
| editKey | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: DeleteCommentVote200Response
flagComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| userId | string | ืื | |
| anonUserId | string | ืื |
ืชืืืื
ืืืืืจ: FlagComment200Response
getComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: GetComment200Response
getComments 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| page | number | ืื | |
| limit | number | ืื | |
| skip | number | ืื | |
| asTree | boolean | ืื | |
| skipChildren | number | ืื | |
| limitChildren | number | ืื | |
| maxTreeDepth | number | ืื | |
| urlId | string | ืื | |
| userId | string | ืื | |
| anonUserId | string | ืื | |
| contextUserId | string | ืื | |
| hashTag | string | ืื | |
| parentId | string | ืื | |
| direction | SortDirections | ืื |
ืชืืืื
ืืืืืจ: GetComments200Response
getCommentsPublic 
req tenantId urlId
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| urlId | string | ืื | |
| page | number | ืื | |
| direction | SortDirections | ืื | |
| sso | string | ืื | |
| skip | number | ืื | |
| skipChildren | number | ืื | |
| limit | number | ืื | |
| limitChildren | number | ืื | |
| countChildren | boolean | ืื | |
| fetchPageForCommentId | string | ืื | |
| includeConfig | boolean | ืื | |
| countAll | boolean | ืื | |
| includei10n | boolean | ืื | |
| locale | string | ืื | |
| modules | string | ืื | |
| isCrawler | boolean | ืื | |
| includeNotificationCount | boolean | ืื | |
| asTree | boolean | ืื | |
| maxTreeDepth | number | ืื | |
| useFullTranslationIds | boolean | ืื | |
| parentId | string | ืื | |
| searchText | string | ืื | |
| hashTags | Array |
ืื | |
| userId | string | ืื | |
| customConfigStr | string | ืื | |
| afterCommentId | string | ืื | |
| beforeCommentId | string | ืื |
ืชืืืื
ืืืืืจ: GetCommentsPublic200Response
getCommentText 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| editKey | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: GetCommentText200Response
getCommentVoteUserNames 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| dir | number | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: GetCommentVoteUserNames200Response
lockComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| broadcastId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: LockComment200Response
pinComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| broadcastId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: PinComment200Response
saveComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createCommentParams | CreateCommentParams | ืื | |
| isLive | boolean | ืื | |
| doSpamCheck | boolean | ืื | |
| sendEmails | boolean | ืื | |
| populateNotifications | boolean | ืื |
ืชืฉืืื
ืืืืืจ: SaveComment200Response
saveCommentsBulk 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createCommentParams | Array |
ืื | |
| isLive | boolean | ืื | |
| doSpamCheck | boolean | ืื | |
| sendEmails | boolean | ืื | |
| populateNotifications | boolean | ืื |
ืชืืืื
ืืืืืจ: Array<SaveComment200Response
setCommentText 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| broadcastId | string | ืื | |
| commentTextUpdateRequest | CommentTextUpdateRequest | ืื | |
| editKey | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: SetCommentText200Response
unBlockUserFromComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| unBlockFromCommentParams | UnBlockFromCommentParams | ืื | |
| userId | string | ืื | |
| anonUserId | string | ืื |
ืชืืืื
ืืืืืจ: UnBlockCommentPublic200Response
unFlagComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| userId | string | ืื | |
| anonUserId | string | ืื |
ืชืืืื
ืืืืืจ: FlagComment200Response
unLockComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| broadcastId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: LockComment200Response
unPinComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| broadcastId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: PinComment200Response
updateComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| body | PickAPICommentUpdatableCommentFields | ืื | |
| contextUserId | string | ืื | |
| doSpamCheck | boolean | ืื | |
| isLive | boolean | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
voteComment 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| urlId | string | ืื | |
| broadcastId | string | ืื | |
| voteBodyParams | VoteBodyParams | ืื | |
| sessionId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: VoteComment200Response
addDomainConfig 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| addDomainConfigParams | AddDomainConfigParams | ืื |
ืชืืืื
ืืืืืจ: AddDomainConfig200Response
deleteDomainConfig 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| domain | string | ืื |
ืชืืืื
ืืืืืจ: DeleteDomainConfig200Response
getDomainConfig 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| domain | string | ืื |
ืชืืืื
ืืืืืจ: GetDomainConfig200Response
getDomainConfigs 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื |
ืชืืืื
ืืืืืจ: GetDomainConfigs200Response
patchDomainConfig 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| domainToUpdate | string | ืื | |
| patchDomainConfigParams | PatchDomainConfigParams | ืื |
ืชืืืื
ืืืืืจ: GetDomainConfig200Response
putDomainConfig 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืจืืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| domainToUpdate | string | ืื | |
| updateDomainConfigParams | UpdateDomainConfigParams | ืื |
ืชืืืื
ืืืืืจ: GetDomainConfig200Response
createEmailTemplate 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| createEmailTemplateBody | CreateEmailTemplateBody | ืื |
ืชืืืื
ืืืืืจ: CreateEmailTemplate200Response
ืืืืื

deleteEmailTemplate 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

deleteEmailTemplateRenderError 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| errorId | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

getEmailTemplate 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
Returns: GetEmailTemplate200Response
ืืืืื

getEmailTemplateDefinitions 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื |
ืชืืืื
ืืืืืจ: GetEmailTemplateDefinitions200Response
ืืืืื

getEmailTemplateRenderErrors 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetEmailTemplateRenderErrors200Response
ืืืืื

getEmailTemplates 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetEmailTemplates200Response
ืืืืื

renderEmailTemplate 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| renderEmailTemplateBody | RenderEmailTemplateBody | ืื | |
| locale | string | ืื |
ืชืืืื
ืืืืืจ: RenderEmailTemplate200Response
ืืืืื

updateEmailTemplate 
ืคืจืืืจืื
| Name | Type | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

getEventLog 
req tenantId urlId userIdWS
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| urlId | string | ืื | |
| userIdWS | string | ืื | |
| startTime | number | ืื | |
| endTime | number | ืื |
ืชืืืื
ืืืืืจ: GetEventLog200Response
getGlobalEventLog 
req tenantId urlId userIdWS
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| urlId | string | ืื | |
| userIdWS | string | ืื | |
| startTime | number | ืื | |
| endTime | number | ืื |
ืชืืืื
ืืืืืจ: GetEventLog200Response
createFeedPost 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createFeedPostParams | CreateFeedPostParams | ืื | |
| broadcastId | string | ืื | |
| isLive | boolean | ืื | |
| doSpamCheck | boolean | ืื | |
| skipDupCheck | boolean | ืื |
ืชืืืื
ืืืืืจ: CreateFeedPost200Response
createFeedPostPublic 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createFeedPostParams | CreateFeedPostParams | ืื | |
| broadcastId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: CreateFeedPostPublic200Response
deleteFeedPostPublic 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| postId | string | ืื | |
| broadcastId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: DeleteFeedPostPublic200Response
getFeedPosts 
req tenantId afterId
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| afterId | string | ืื | |
| limit | number | ืื | |
| tags | Array |
ืื |
ืชืืืื
ืืืืืจ: GetFeedPosts200Response
getFeedPostsPublic 
req tenantId afterId
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| afterId | string | ืื | |
| limit | number | ืื | |
| tags | Array |
ืื | |
| sso | string | ืื | |
| isCrawler | boolean | ืื | |
| includeUserInfo | boolean | ืื |
ืชืืืื
ืืืืืจ: GetFeedPostsPublic200Response
getFeedPostsStats 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| postIds | Array |
ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: GetFeedPostsStats200Response
getUserReactsPublic 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| postIds | Array |
ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: GetUserReactsPublic200Response
reactFeedPostPublic 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| postId | string | ืื | |
| reactBodyParams | ReactBodyParams | ืื | |
| isUndo | boolean | ืื | |
| broadcastId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: ReactFeedPostPublic200Response
updateFeedPost 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| feedPost | FeedPost | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
updateFeedPostPublic 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| postId | string | ืื | |
| updateFeedPostParams | UpdateFeedPostParams | ืื | |
| broadcastId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: CreateFeedPostPublic200Response
flagCommentPublic 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| isFlagged | boolean | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
addHashTag 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createHashTagBody | CreateHashTagBody | ืื |
ืชืืืื
ืืืืืจ: AddHashTag200Response
ืืืืื

addHashTagsBulk 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | ืื |
ืชืืืื
ืืืืืจ: AddHashTagsBulk200Response
ืืืืื

deleteHashTag 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tag | string | ืื | |
| tenantId | string | ืื | |
| deleteHashTagRequest | DeleteHashTagRequest | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

getHashTags 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| page | number | ืื |
ืชืืืื
ืืืืืจ: GetHashTags200Response
ืืืืื

patchHashTag 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tag | string | ืื | |
| tenantId | string | ืื | |
| updateHashTagBody | UpdateHashTagBody | ืื |
ืชืืืื
ืืืืืจ: PatchHashTag200Response
ืืืืื

createModerator 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createModeratorBody | CreateModeratorBody | ืื |
ืชืืืื
ืืืืืจ: CreateModerator200Response
ืืืืื

deleteModerator 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| sendEmail | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

getModerator 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: GetModerator200Response
ืืืืื

getModerators 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetModerators200Response
ืืืืื

sendInvite 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| fromName | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

updateModerator 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| updateModeratorBody | UpdateModeratorBody | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

deleteNotificationCount 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

getCachedNotificationCount 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: GetCachedNotificationCount200Response
ืืืืื

getNotificationCount 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| userId | string | ืื | |
| urlId | string | ืื | |
| fromCommentId | string | ืื | |
| viewed | boolean | ืื | |
| type | string | ืื |
ืชืืืื
ืืืืืจ: GetNotificationCount200Response
ืืืืื

getNotifications 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| userId | string | ืื | |
| urlId | string | ืื | |
| fromCommentId | string | ืื | |
| viewed | boolean | ืื | |
| type | string | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetNotifications200Response
ืืืืื

updateNotification 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| updateNotificationBody | UpdateNotificationBody | ืื | |
| userId | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

addPage 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createAPIPageData | CreateAPIPageData | ืื |
ืชืืืื
ืืืืืจ: AddPageAPIResponse
deletePage 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืฉืืื
ืืืืืจ: DeletePageAPIResponse
getPageByURLId 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| urlId | string | ืื |
ืชืืืื
ืืืืืจ: GetPageByURLIdAPIResponse
getPages 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื |
ืชืืืื
ืืืืืจ: GetPagesAPIResponse
patchPage 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| updateAPIPageData | UpdateAPIPageData | ืื |
ืชืืืื
ืืืืืจ: PatchPageAPIResponse
deletePendingWebhookEvent 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

getPendingWebhookEventCount 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| externalId | string | ืื | |
| eventType | string | ืื | |
| type | string | ืื | |
| domain | string | ืื | |
| attemptCountGT | number | ืื |
ืชืืืื
ืืืืืจ: GetPendingWebhookEventCount200Response
ืืืืื

getPendingWebhookEvents 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | No | |
| externalId | string | No | |
| eventType | string | No | |
| type | string | No | |
| domain | string | No | |
| attemptCountGT | number | No | |
| skip | number | No |
ืชืืืื
ืืืืืจ: GetPendingWebhookEvents200Response
ืืืืื

createQuestionConfig 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createQuestionConfigBody | CreateQuestionConfigBody | ืื |
ืชืืืื
ืืืืืจ: CreateQuestionConfig200Response
ืืืืื

deleteQuestionConfig 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

getQuestionConfig 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
ืชืืืื
ืืืืืจ: GetQuestionConfig200Response
ืืืืื

getQuestionConfigs 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetQuestionConfigs200Response
ืืืืื

updateQuestionConfig 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Yes |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

createQuestionResult 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createQuestionResultBody | CreateQuestionResultBody | ืื |
ืชืืืื
ืืืืืจ: CreateQuestionResult200Response
ืืืืื

deleteQuestionResult 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

getQuestionResult 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืฉืืื
ืืืืืจ: GetQuestionResult200Response
ืืืืื

getQuestionResults 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| urlId | string | ืื | |
| userId | string | ืื | |
| startDate | string | ืื | |
| questionId | string | ืื | |
| questionIds | string | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetQuestionResults200Response
ืืืืื

updateQuestionResult 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| updateQuestionResultBody | UpdateQuestionResultBody | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

aggregateQuestionResults 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| questionId | string | ืื | |
| questionIds | Array |
ืื | |
| urlId | string | ืื | |
| timeBucket | AggregateTimeBucket | ืื | |
| startDate | Date | ืื | |
| forceRecalculate | boolean | ืื |
ืชืืืื
ืืืืืจ: AggregateQuestionResults200Response
bulkAggregateQuestionResults 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | ืื | |
| forceRecalculate | boolean | ืื |
ืชืืืื
ืืืืืจ: BulkAggregateQuestionResults200Response
combineCommentsWithQuestionResults 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| questionId | string | ืื | |
| questionIds | Array |
ืื | |
| urlId | string | ืื | |
| startDate | Date | ืื | |
| forceRecalculate | boolean | ืื | |
| minValue | number | ืื | |
| maxValue | number | ืื | |
| limit | number | ืื |
ืชืืืื
ืืืืืจ: CombineCommentsWithQuestionResults200Response
addSSOUser 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createAPISSOUserData | CreateAPISSOUserData | ืื |
ืชืืืื
ืืืืืจ: AddSSOUserAPIResponse
deleteSSOUser 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| deleteComments | boolean | ืื | |
| commentDeleteMode | string | ืื |
ืชืืืื
ืืืืืจ: DeleteSSOUserAPIResponse
getSSOUserByEmail 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| string | ืื |
ืชืืืื
ืืืืืจ: GetSSOUserByEmailAPIResponse
getSSOUserById 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: GetSSOUserByIdAPIResponse
getSSOUsers 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetSSOUsers200Response
patchSSOUser 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| updateAPISSOUserData | UpdateAPISSOUserData | ืื | |
| updateComments | boolean | ืื |
ืชืืืื
ืืืืืจ: PatchSSOUserAPIResponse
putSSOUser 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| updateAPISSOUserData | UpdateAPISSOUserData | ืื | |
| updateComments | boolean | ืื |
ืชืืืื
ืืืืืจ: PutSSOUserAPIResponse
createSubscription 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | ืื |
ืชืฉืืื
ืืืืืจ: CreateSubscriptionAPIResponse
deleteSubscription 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| userId | string | ืื |
ืชืืืื
ืืืืืจ: DeleteSubscriptionAPIResponse
getSubscriptions 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| userId | string | ืื |
ืชืืืื
ืืืืืจ: GetSubscriptionsAPIResponse
getTenantDailyUsages 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| yearNumber | number | ืื | |
| monthNumber | number | ืื | |
| dayNumber | number | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetTenantDailyUsages200Response
ืืืืื

createTenantPackage 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| createTenantPackageBody | CreateTenantPackageBody | ืื |
ืชืืืื
ืืืืืจ: CreateTenantPackage200Response
ืืืืื

deleteTenantPackage 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

getTenantPackage 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: GetTenantPackage200Response
ืืืืื

getTenantPackages 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetTenantPackages200Response
ืืืืื

replaceTenantPackage 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

updateTenantPackage 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| updateTenantPackageBody | UpdateTenantPackageBody | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

createTenantUser 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createTenantUserBody | CreateTenantUserBody | ืื |
ืชืืืื
ืืืืืจ: CreateTenantUser200Response
ืืืืื

deleteTenantUser 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| deleteComments | string | ืื | |
| commentDeleteMode | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

getTenantUser 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: GetTenantUser200Response
ืืืืื

getTenantUsers 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetTenantUsers200Response
ืืืืื

replaceTenantUser 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| replaceTenantUserBody | ReplaceTenantUserBody | ืื | |
| updateComments | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

sendLoginLink 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| redirectURL | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

updateTenantUser 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| updateTenantUserBody | UpdateTenantUserBody | ืื | |
| updateComments | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

createTenant 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createTenantBody | CreateTenantBody | ืื |
ืชืืืื
ืืืืืจ: CreateTenant200Response
ืืืืื

deleteTenant 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| sure | string | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

getTenant 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: GetTenant200Response
ืืืืื

getTenants 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| meta | string | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetTenants200Response
ืืืืื

updateTenant 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| updateTenantBody | UpdateTenantBody | ืื |
ืชืืืื
ืืืืืจ: FlagCommentPublic200Response
ืืืืื

uploadImage 
ืืขืื ืืฉื ื ืืืื ืชืืื ื
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| file | Blob | ืื | |
| sizePreset | SizePreset | ืื | |
| urlId | string | ืื |
ืชืืืื
ืืืืืจ: UploadImageResponse
getUserBadgeProgressById 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: GetUserBadgeProgressById200Response
getUserBadgeProgressByUserId 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| userId | string | ืื |
ืชืืืื
ืืืืืจ: GetUserBadgeProgressById200Response
getUserBadgeProgressList 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| userId | string | ืื | |
| limit | number | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetUserBadgeProgressList200Response
createUserBadge 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| createUserBadgeParams | CreateUserBadgeParams | ืื |
ืชืืืื
ืืืืืจ: CreateUserBadge200Response
deleteUserBadge 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: UpdateUserBadge200Response
getUserBadge 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: GetUserBadge200Response
getUserBadges 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| userId | string | ืื | |
| badgeId | string | ืื | |
| type | number | ืื | |
| displayedOnComments | boolean | ืื | |
| limit | number | ืื | |
| skip | number | ืื |
ืชืืืื
ืืืืืจ: GetUserBadges200Response
updateUserBadge 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| updateUserBadgeParams | UpdateUserBadgeParams | ืื |
ืชืืืื
ืืืืืจ: UpdateUserBadge200Response
getUserNotificationCount 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: GetUserNotificationCount200Response
getUserNotifications 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| pageSize | number | ืื | |
| afterId | string | ืื | |
| includeContext | boolean | ืื | |
| afterCreatedAt | number | ืื | |
| unreadOnly | boolean | ืื | |
| dmOnly | boolean | ืื | |
| noDm | boolean | ืื | |
| includeTranslations | boolean | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: GetUserNotifications200Response
resetUserNotificationCount 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: ResetUserNotifications200Response
resetUserNotifications 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| afterId | string | ืื | |
| afterCreatedAt | number | ืื | |
| unreadOnly | boolean | ืื | |
| dmOnly | boolean | ืื | |
| noDm | boolean | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: ResetUserNotifications200Response
updateUserNotificationCommentSubscriptionStatus 
ืืคืขื ืื ืืฉืืช ืืชืจืืืช ืขืืืจ ืชืืืื ืกืคืฆืืคืืช.
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| notificationId | string | ืื | |
| optedInOrOut | UpdateUserNotificationCommentSubscriptionStatusOptedInOrOutEnum | ืื | |
| commentId | string | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: UpdateUserNotificationStatus200Response
updateUserNotificationPageSubscriptionStatus 
ืืคืขื ืื ืืฉืืช ืืชืจืืืช ืขืืืจ ืืฃ. ืืฉืืฉืชืืฉืื ืื ืืืื ืืืฃ, ื ืืฆืจืื ืืชืจืืืช ืขืืืจ ืชืืืืืช ืฉืืจืฉ ืืืฉืืช, ืืื
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| urlId | string | ืื | |
| url | string | ืื | |
| pageTitle | string | ืื | |
| subscribedOrUnsubscribed | UpdateUserNotificationPageSubscriptionStatusSubscribedOrUnsubscribedEnum | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: UpdateUserNotificationStatus200Response
updateUserNotificationStatus 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| notificationId | string | ืื | |
| newStatus | UpdateUserNotificationStatusNewStatusEnum | ืื | |
| sso | string | ืื |
ืชืืืื
ืืืืืจ: UpdateUserNotificationStatus200Response
getUserPresenceStatuses 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| urlIdWS | string | ืื | |
| userIds | string | ืื |
ืชืืืื
ืืืืืจ: GetUserPresenceStatuses200Response
searchUsers 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| urlId | string | ืื | |
| usernameStartsWith | string | ืื | |
| mentionGroupIds | Array |
ืื | |
| sso | string | ืื |
Response
ืืืืืจ: SearchUsers200Response
getUser 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื |
ืชืืืื
ืืืืืจ: GetUser200Response
ืืืืื

createVote 
ืคืจืืืจืื
| ืฉื | ืกืื | ืืืื | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| commentId | string | ืื | |
| direction | CreateVoteDirectionEnum | ืื | |
| userId | string | ืื | |
| anonUserId | string | ืื |
ืชืืืื
ืืืืืจ: VoteComment200Response
ืืืืื

deleteVote 
ืคืจืืืจืื
| ืฉื | ืกืื | ื ืืจืฉ | ืชืืืืจ |
|---|---|---|---|
| tenantId | string | ืื | |
| id | string | ืื | |
| editKey | string | ืื |
ืชืืืื
ืืืืืจ: DeleteCommentVote200Response
ืืืืื

getVotes 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| urlId | string | ืื |
ืชืฉืืื
ืืืืืจ: GetVotes200Response
ืืืืื

getVotesForUser 
ืคืจืืืจืื
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | ืื | |
| urlId | string | ืื | |
| userId | string | ืื | |
| anonUserId | string | ืื |
ืชืืืื
ืืืืืจ: GetVotesForUser200Response
ืืืืื

ืฆืจืืืื ืขืืจื?
ืื ืืชื ื ืชืงืืื ืืืขืืืช ืื ืืฉ ืืื ืฉืืืืช ืืืื ื-JavaScript/TypeScript SDK, ืื ื:
ืชืจืืืืช
ืชืจืืืืช ืืชืงืืืืช ืืืจืื! ืื ื ืืงืจื ื-ืืืืจ GitHub ืืงืืืช ืื ืืืืช ืืชืจืืื.