
Језик 🇲🇪 Српски (Црна Гора)
Започињање
API референца
Документација
Аутентификација
Агрегација
Дневници ревизије
Блокирање због коментара
Провера блокираних коментара
Коментари
Коментари за корисника
Конфигурације домена
Шаблони е-поште
Дневник догађаја
Објаве фида
Пријави коментар
Гифови
Хештегови
Модерација
Модератори
Број обавештења
Обавештења
Реакције странице
Странице
Очекујући вебхук догађаји
Конфигурације питања
Резултати питања
Агрегација резултата питања
SSO корисници
Претплате
Дневна употреба тенанта
Пакети тенанта
Корисници тенанта
Тенанти
Тикети
Преводи
Отпреми слику
Напредак значки корисника
Значке корисника
Обавештења корисника
Статуси присутности корисника
Претрага корисника
Корисници
Гласови
FastComments PHP SDK
Ово је званични PHP SDK за FastComments.
Званични PHP SDK за FastComments API
Репозиторијум
Инсталација и коришћење 
Захтеви
PHP 7.4 и новије. Требало би да ради и са PHP 8.0.
Composer
Да бисте инсталирали биндинге преко Composer, додајте следеће у composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/fastcomments/fastcomments-php.git"
}
],
"require": {
"fastcomments/fastcomments-php": "*@dev"
}
}
Затим покрените composer install
Ручна инсталација
Преузмите фајлове и укључите autoload.php:
<?php
require_once('/path/to/fastcomments/client/vendor/autoload.php');
Започињање 
Молимо пратите процедуру инсталације и потом покрените следеће:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: api_key
$config = FastComments\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = FastComments\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');
$apiInstance = new FastComments\Client\Api\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$tenant_id = 'tenant_id_example'; // string
$add_domain_config_params = new \FastComments\Client\Model\AddDomainConfigParams(); // \FastComments\Client\Model\AddDomainConfigParams
try {
$result = $apiInstance->addDomainConfig($tenant_id, $add_domain_config_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->addDomainConfig: ', $e->getMessage(), PHP_EOL;
}
API клијенти 
The SDK izlaže tri klase API klijenta:
DefaultApi– metode autentifikovane API‑ključem za server‑side upotrebu. Konfigurišite API ključ kao što je prikazano u Getting Started.PublicApi– javne metode koje ne zahtijevaju API ključ, sigurne za pozivanje iz preglednika i mobilnih aplikacija.ModerationApi– opširni paket API‑ja za moderaciju u realnom vremenu i brzu moderaciju. Svaka metodaModerationApiprima$ssoparametar i može se autentifikovati putem SSO‑a ili FastComments.com sesijskog kolačića.
Korišćenje PublicApi
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Public methods do not require an API key.
$apiInstance = new FastComments\Client\Api\PublicApi(
new GuzzleHttp\Client()
);
$tenant_id = 'tenant_id_example'; // string
$url_id = 'url_id_example'; // string
try {
$result = $apiInstance->getCommentsPublic($tenant_id, $url_id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PublicApi->getCommentsPublic: ', $e->getMessage(), PHP_EOL;
}
Korišćenje ModerationApi
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new FastComments\Client\Api\ModerationApi(
new GuzzleHttp\Client()
);
$sso = 'sso_example'; // string - SSO payload authenticating the moderator
try {
$result = $apiInstance->getCount([
'sso' => $sso,
]);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ModerationApi->getCount: ', $e->getMessage(), PHP_EOL;
}
API методе 
Svi URI-ji su relativni u odnosu na https://fastcomments.com
| Klasa | Metod | HTTP zahtjev | Opis |
|---|---|---|---|
| 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 | |
| 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 | |
| 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/vote/{commentId}/{voteId} | |
| ModerationApi | getApiComments | GET /auth/my-account/moderate-comments/api/comments | |
| ModerationApi | getApiExportStatus | GET /auth/my-account/moderate-comments/api/export/status | |
| ModerationApi | getApiIds | GET /auth/my-account/moderate-comments/api/ids | |
| ModerationApi | getBanUsersFromComment | GET /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} | |
| ModerationApi | getCommentBanStatus | GET /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} | |
| ModerationApi | getCommentChildren | GET /auth/my-account/moderate-comments/comment-children/{commentId} | |
| ModerationApi | getCount | GET /auth/my-account/moderate-comments/count | |
| ModerationApi | getCounts | GET /auth/my-account/moderate-comments/banned-users/counts | |
| ModerationApi | getLogs | GET /auth/my-account/moderate-comments/logs/{commentId} | |
| ModerationApi | getManualBadges | GET /auth/my-account/moderate-comments/get-manual-badges | |
| ModerationApi | getManualBadgesForUser | GET /auth/my-account/moderate-comments/get-manual-badges-for-user | |
| ModerationApi | getModerationComment | GET /auth/my-account/moderate-comments/comment/{commentId} | |
| ModerationApi | getModerationCommentText | GET /auth/my-account/moderate-comments/get-comment-text/{commentId} | |
| ModerationApi | getPreBanSummary | GET /auth/my-account/moderate-comments/pre-ban-summary/{commentId} | |
| ModerationApi | getSearchCommentsSummary | GET /auth/my-account/moderate-comments/search/comments/summary | |
| ModerationApi | getSearchPages | GET /auth/my-account/moderate-comments/search/pages | |
| ModerationApi | getSearchSites | GET /auth/my-account/moderate-comments/search/sites | |
| ModerationApi | getSearchSuggest | GET /auth/my-account/moderate-comments/search/suggest | |
| ModerationApi | getSearchUsers | GET /auth/my-account/moderate-comments/search/users | |
| ModerationApi | getTrustFactor | GET /auth/my-account/moderate-comments/get-trust-factor | |
| ModerationApi | getUserBanPreference | GET /auth/my-account/moderate-comments/user-ban-preference | |
| ModerationApi | getUserInternalProfile | GET /auth/my-account/moderate-comments/get-user-internal-profile | |
| ModerationApi | postAdjustCommentVotes | POST /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} | |
| ModerationApi | postApiExport | POST /auth/my-account/moderate-comments/api/export | |
| ModerationApi | postBanUserFromComment | POST /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} | |
| ModerationApi | postBanUserUndo | POST /auth/my-account/moderate-comments/ban-user/undo | |
| ModerationApi | postBulkPreBanSummary | POST /auth/my-account/moderate-comments/bulk-pre-ban-summary | |
| ModerationApi | postCommentsByIds | POST /auth/my-account/moderate-comments/comments-by-ids | |
| ModerationApi | postFlagComment | POST /auth/my-account/moderate-comments/flag-comment/{commentId} | |
| ModerationApi | postRemoveComment | POST /auth/my-account/moderate-comments/remove-comment/{commentId} | |
| ModerationApi | postRestoreDeletedComment | POST /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} | |
| ModerationApi | postSetCommentApprovalStatus | POST /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} | |
| ModerationApi | postSetCommentReviewStatus | POST /auth/my-account/moderate-comments/set-comment-review-status/{commentId} | |
| ModerationApi | postSetCommentSpamStatus | POST /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} | |
| ModerationApi | postSetCommentText | POST /auth/my-account/moderate-comments/set-comment-text/{commentId} | |
| ModerationApi | postUnFlagComment | POST /auth/my-account/moderate-comments/un-flag-comment/{commentId} | |
| ModerationApi | postVote | POST /auth/my-account/moderate-comments/vote/{commentId} | |
| ModerationApi | putAwardBadge | PUT /auth/my-account/moderate-comments/award-badge | |
| ModerationApi | putCloseThread | PUT /auth/my-account/moderate-comments/close-thread | |
| ModerationApi | putRemoveBadge | PUT /auth/my-account/moderate-comments/remove-badge | |
| ModerationApi | putReopenThread | PUT /auth/my-account/moderate-comments/reopen-thread | |
| ModerationApi | setTrustFactor | PUT /auth/my-account/moderate-comments/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} | |
| PublicApi | getEventLog | GET /event-log/{tenantId} | |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | |
| 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} | |
| PublicApi | getOfflineUsers | GET /pages/{tenantId}/users/offline | |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | |
| 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 | |
| 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} | |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Модели 
- APIAuditLog
- APIBanUserChangeLog
- APIBanUserChangedValues
- APIBannedUser
- APIBannedUserWithMultiMatchInfo
- APIComment
- APICommentBase
- APICommentBaseMeta
- 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
- AddDomainConfigResponseAnyOf
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AdjustCommentVotesParams
- AdjustVotesResponse
- AggregateQuestionResultsResponse
- AggregateResponse
- AggregateTimeBucket
- AggregationAPIError
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequestSort
- AggregationResponse
- AggregationResponseStats
- AggregationValue
- AwardUserBadgeResponse
- BanUserFromCommentResult
- BanUserUndoParams
- BannedUserMatch
- BannedUserMatchMatchedOnValue
- BannedUserMatchType
- BillingInfo
- BlockFromCommentParams
- BlockSuccess
- BuildModerationFilterParams
- BuildModerationFilterResponse
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkCreateHashTagsBody
- BulkCreateHashTagsBodyTagsInner
- BulkCreateHashTagsResponse
- BulkCreateHashTagsResponseResultsInner
- BulkPreBanParams
- BulkPreBanSummary
- ChangeCommentPinStatusResponse
- ChangeTicketStateBody
- ChangeTicketStateResponse
- CheckBlockedCommentsResponse
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentLogData
- CommentLogEntry
- CommentLogType
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CommentsByIdsParams
- CreateAPIPageData
- CreateAPISSOUserData
- CreateAPIUserSubscriptionData
- CreateCommentParams
- CreateEmailTemplateBody
- CreateEmailTemplateResponse
- CreateFeedPostParams
- CreateFeedPostResponse
- CreateFeedPostsResponse
- CreateHashTagBody
- CreateHashTagResponse
- CreateModeratorBody
- CreateModeratorResponse
- CreateQuestionConfigBody
- CreateQuestionConfigResponse
- CreateQuestionResultBody
- CreateQuestionResultResponse
- CreateSubscriptionAPIResponse
- CreateTenantBody
- CreateTenantPackageBody
- CreateTenantPackageResponse
- CreateTenantResponse
- CreateTenantUserBody
- CreateTenantUserResponse
- CreateTicketBody
- CreateTicketResponse
- CreateUserBadgeParams
- CreateV1PageReact
- CustomConfigParameters
- CustomEmailTemplate
- DeleteCommentAction
- DeleteCommentResult
- DeleteDomainConfigResponse
- DeleteFeedPostPublicResponse
- DeleteHashTagRequestBody
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- DeletedCommentResultComment
- DigestEmailFrequency
- EmailTemplateDefinition
- EmailTemplateRenderErrorResponse
- EventLogEntry
- FComment
- FCommentMeta
- FeedPost
- FeedPostLink
- FeedPostMediaItem
- FeedPostMediaItemAsset
- FeedPostStats
- FeedPostsStatsResponse
- FindCommentsByRangeItem
- FindCommentsByRangeResponse
- FlagCommentResponse
- GetAuditLogsResponse
- GetBannedUsersCountResponse
- GetBannedUsersFromCommentResponse
- GetCachedNotificationCountResponse
- GetCommentBanStatusResponse
- GetCommentTextResponse
- GetCommentVoteUserNamesSuccessResponse
- GetCommentsForUserResponse
- GetCommentsResponsePublicComment
- GetCommentsResponseWithPresencePublicComment
- GetDomainConfigResponse
- GetDomainConfigsResponse
- GetDomainConfigsResponseAnyOf
- GetDomainConfigsResponseAnyOf1
- GetEmailTemplateDefinitionsResponse
- GetEmailTemplateRenderErrorsResponse
- GetEmailTemplateResponse
- GetEmailTemplatesResponse
- GetEventLogResponse
- GetFeedPostsResponse
- GetGifsSearchResponse
- GetGifsTrendingResponse
- GetHashTagsResponse
- GetModeratorResponse
- GetModeratorsResponse
- GetMyNotificationsResponse
- GetNotificationCountResponse
- GetNotificationsResponse
- GetPageByURLIdAPIResponse
- GetPagesAPIResponse
- GetPendingWebhookEventCountResponse
- GetPendingWebhookEventsResponse
- GetPublicFeedPostsResponse
- GetPublicPagesResponse
- GetQuestionConfigResponse
- GetQuestionConfigsResponse
- GetQuestionResultResponse
- GetQuestionResultsResponse
- GetSSOUserByEmailAPIResponse
- GetSSOUserByIdAPIResponse
- GetSSOUsersResponse
- GetSubscriptionsAPIResponse
- GetTenantDailyUsagesResponse
- GetTenantManualBadgesResponse
- GetTenantPackageResponse
- GetTenantPackagesResponse
- GetTenantResponse
- GetTenantUserResponse
- GetTenantUsersResponse
- GetTenantsResponse
- GetTicketResponse
- GetTicketsResponse
- GetTranslationsResponse
- GetUserInternalProfileResponse
- GetUserInternalProfileResponseProfile
- GetUserManualBadgesResponse
- GetUserNotificationCountResponse
- GetUserPresenceStatusesResponse
- GetUserResponse
- GetUserTrustFactorResponse
- GetV1PageLikes
- GetV2PageReactUsersResponse
- GetV2PageReacts
- GetVotesForUserResponse
- GetVotesResponse
- GifGetLargeResponse
- GifRating
- GifSearchInternalError
- GifSearchResponse
- GifSearchResponseImagesInnerInner
- HeaderAccountNotification
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- ImportedAgentApprovalNotificationFrequency
- ImportedSiteType
- LiveEvent
- LiveEventExtraInfo
- LiveEventType
- MediaAsset
- MentionAutoCompleteMode
- MetaItem
- ModerationAPIChildCommentsResponse
- ModerationAPIComment
- ModerationAPICommentLog
- ModerationAPICommentResponse
- ModerationAPICountCommentsResponse
- ModerationAPIGetCommentIdsResponse
- ModerationAPIGetCommentsResponse
- ModerationAPIGetLogsResponse
- ModerationCommentSearchResponse
- ModerationExportResponse
- ModerationExportStatusResponse
- ModerationFilter
- ModerationPageSearchProjected
- ModerationPageSearchResponse
- ModerationSiteSearchProjected
- ModerationSiteSearchResponse
- ModerationSuggestResponse
- ModerationUserSearchProjected
- ModerationUserSearchResponse
- Moderator
- NotificationAndCount
- NotificationObjectType
- NotificationType
- PageUserEntry
- PageUsersInfoResponse
- PageUsersOfflineResponse
- PageUsersOnlineResponse
- PagesSortBy
- PatchDomainConfigParams
- PatchDomainConfigResponse
- PatchPageAPIResponse
- PatchSSOUserAPIResponse
- PendingCommentToSyncOutbound
- PostRemoveCommentResponse
- PreBanSummary
- PubSubComment
- PubSubCommentBase
- PubSubVote
- PublicAPIDeleteCommentResponse
- PublicAPIGetCommentTextResponse
- PublicAPISetCommentTextResponse
- PublicBlockFromCommentParams
- PublicComment
- PublicCommentBase
- PublicFeedPostsResponse
- PublicPage
- PublicVote
- PutDomainConfigResponse
- PutSSOUserAPIResponse
- QueryPredicate
- QueryPredicateValue
- QuestionConfig
- QuestionConfigCustomOptionsInner
- QuestionDatum
- QuestionRenderingType
- QuestionResult
- QuestionResultAggregationOverall
- QuestionSubQuestionVisibility
- QuestionWhenSave
- ReactBodyParams
- ReactFeedPostResponse
- RecordStringBeforeStringOrNullAfterStringOrNullValue
- RemoveCommentActionResponse
- RemoveUserBadgeResponse
- RenderEmailTemplateBody
- RenderEmailTemplateResponse
- RenderableUserNotification
- RepeatCommentCheckIgnoredReason
- RepeatCommentHandlingAction
- ReplaceTenantPackageBody
- ReplaceTenantUserBody
- ResetUserNotificationsResponse
- SORTDIR
- SSOSecurityLevel
- SaveCommentResponseOptimized
- SaveCommentsBulkResponse
- SaveCommentsResponseWithPresence
- SearchUsersResponse
- SearchUsersResult
- SearchUsersSectionedResponse
- SetCommentApprovedResponse
- SetCommentTextParams
- SetCommentTextResponse
- SetCommentTextResult
- SetUserTrustFactorResponse
- SizePreset
- SortDirections
- SpamRule
- TOSConfig
- TenantBadge
- TenantHashTag
- TenantPackage
- UnBlockFromCommentParams
- UnblockSuccess
- UpdatableCommentParams
- UpdateAPIPageData
- UpdateAPISSOUserData
- UpdateAPIUserSubscriptionData
- UpdateDomainConfigParams
- UpdateEmailTemplateBody
- UpdateFeedPostParams
- UpdateHashTagBody
- UpdateHashTagResponse
- UpdateModeratorBody
- UpdateNotificationBody
- UpdateQuestionConfigBody
- UpdateQuestionResultBody
- UpdateSubscriptionAPIResponse
- UpdateTenantBody
- UpdateTenantPackageBody
- UpdateTenantUserBody
- UpdateUserBadgeParams
- UpdateUserNotificationCommentSubscriptionStatusResponse
- UpdateUserNotificationPageSubscriptionStatusResponse
- UpdateUserNotificationStatusResponse
- UploadImageResponse
- User
- UserBadge
- UserBadgeProgress
- UserNotification
- UserNotificationCount
- UserNotificationWriteResponse
- UserPresenceData
- UserReactsResponse
- UserSearchResult
- UserSearchSection
- UserSearchSectionResult
- UserSessionInfo
- UsersListLocation
- VoteBodyParams
- VoteDeleteResponse
- VoteResponse
- VoteResponseStatus
- VoteResponseUser
- VoteStyle
Ауторизација 
Šeme autentifikacije definisane za API:
api_key
- Tip: API key
- Naziv parametra API key: x-api-key
- Lokacija: HTTP header
aggregate 
Aggregates documents by grouping them (if groupBy is provided) and applying multiple operations. Different operations (e.g. sum, countDistinct, avg, etc.) are supported.
Parameters
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| parentTenantId | string | query | Ne | |
| includeStats | boolean | query | Ne |
Response
Vraća: AggregateResponse
Primjer

getAuditLogs 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| limit | number | query | No | |
| skip | number | query | No | |
| order | string | query | No | |
| after | number | query | No | |
| before | number | query | No |
Odgovor
Vraća: GetAuditLogsResponse
Primer

logoutPublic 
Odgovor
Vraća: APIEmptyResponse
Primjer

blockFromCommentPublic 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: BlockSuccess
Primjer

unBlockCommentPublic 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| sso | string | query | No |
Odgovor
Vraća: UnblockSuccess
Primjer

checkedCommentsForBlocked 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentIds | string | query | Da | Lista ID‑ova komentara odvojena zarezom. |
| sso | string | query | Ne |
Odgovor
Vraća: CheckBlockedCommentsResponse
Primjer

blockUserFromComment 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| userId | string | query | No | |
| anonUserId | string | query | No |
Odgovor
Vraća: BlockSuccess
Primjer

createCommentPublic 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes | |
| broadcastId | string | query | Yes | |
| sessionId | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: SaveCommentsResponseWithPresence
Primjer

deleteComment 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| contextUserId | string | query | Ne | |
| isLive | boolean | query | Ne |
Odgovor
Vraća: DeleteCommentResult
Primjer

deleteCommentPublic 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| commentId | string | path | Yes | |
| broadcastId | string | query | Yes | |
| editKey | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: PublicAPIDeleteCommentResponse
Primjer

deleteCommentVote 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| commentId | string | path | Yes | |
| voteId | string | path | Yes | |
| urlId | string | query | Yes | |
| broadcastId | string | query | Yes | |
| editKey | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: VoteDeleteResponse
Primjer

flagComment 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | упит | Да | |
| id | string | путања | Да | |
| userId | string | упит | Не | |
| anonUserId | string | упит | Не |
Одговор
Враћа: FlagCommentResponse
Пример

getComment 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: APIGetCommentResponse
Primer

getComments 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| page | integer | query | No | |
| limit | integer | query | No | |
| skip | integer | query | No | |
| asTree | boolean | query | No | |
| skipChildren | integer | query | No | |
| limitChildren | integer | query | No | |
| maxTreeDepth | integer | query | No | |
| urlId | string | query | No | |
| userId | string | query | No | |
| anonUserId | string | query | No | |
| contextUserId | string | query | No | |
| hashTag | string | query | No | |
| parentId | string | query | No | |
| direction | string | query | No | |
| fromDate | integer | query | No | |
| toDate | integer | query | No |
Odgovor
Vraća: APIGetCommentsResponse
Primjer

getCommentsPublic 
req tenantId urlId
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| urlId | string | query | Da | |
| page | integer | query | Ne | |
| direction | string | query | Ne | |
| sso | string | query | Ne | |
| skip | integer | query | Ne | |
| skipChildren | integer | query | Ne | |
| limit | integer | query | Ne | |
| limitChildren | integer | query | Ne | |
| countChildren | boolean | query | Ne | |
| fetchPageForCommentId | string | query | Ne | |
| includeConfig | boolean | query | Ne | |
| countAll | boolean | query | Ne | |
| includei10n | boolean | query | Ne | |
| locale | string | query | Ne | |
| modules | string | query | Ne | |
| isCrawler | boolean | query | Ne | |
| includeNotificationCount | boolean | query | Ne | |
| asTree | boolean | query | Ne | |
| maxTreeDepth | integer | query | Ne | |
| useFullTranslationIds | boolean | query | Ne | |
| parentId | string | query | Ne | |
| searchText | string | query | Ne | |
| hashTags | array | query | Ne | |
| userId | string | query | Ne | |
| customConfigStr | string | query | Ne | |
| afterCommentId | string | query | Ne | |
| beforeCommentId | string | query | Ne |
Odgovor
Vraća: GetCommentsResponseWithPresencePublicComment
Primjer

getCommentText 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | put | Da | |
| commentId | string | put | Da | |
| editKey | string | upit | Ne | |
| sso | string | upit | Ne |
Odgovor
Vraća: PublicAPIGetCommentTextResponse
Primer

getCommentVoteUserNames 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| commentId | string | path | Da | |
| dir | integer | query | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: GetCommentVoteUserNamesSuccessResponse
Primer

lockComment 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| commentId | string | path | Yes | |
| broadcastId | string | query | Yes | |
| sso | string | query | No |
Odgovor
Vraća: APIEmptyResponse
Primjer

pinComment 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| commentId | string | path | Yes | |
| broadcastId | string | query | Yes | |
| sso | string | query | No |
Odgovor
Vraća: ChangeCommentPinStatusResponse
Primjer

saveComment 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| isLive | boolean | query | Ne | |
| doSpamCheck | boolean | query | Ne | |
| sendEmails | boolean | query | Ne | |
| populateNotifications | boolean | query | Ne |
Odgovor
Vraća: APISaveCommentResponse
Primjer

saveCommentsBulk 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| isLive | boolean | query | No | |
| doSpamCheck | boolean | query | No | |
| sendEmails | boolean | query | No | |
| populateNotifications | boolean | query | No |
Response
Vraća: SaveCommentsBulkResponse
Example

setCommentText 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| commentId | string | path | Yes | |
| broadcastId | string | query | Yes | |
| editKey | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: PublicAPISetCommentTextResponse
Primjer

unBlockUserFromComment 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| userId | string | query | Ne | |
| anonUserId | string | query | Ne |
Odgovor
Vraća: UnblockSuccess
Primjer

unFlagComment 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| userId | string | query | No | |
| anonUserId | string | query | No |
Odgovor
Vraća: FlagCommentResponse
Primjer

unLockComment 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| commentId | string | path | Yes | |
| broadcastId | string | query | Yes | |
| sso | string | query | No |
Response
Vraća: APIEmptyResponse
Example

unPinComment 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| commentId | string | path | Yes | |
| broadcastId | string | query | Yes | |
| sso | string | query | No |
Odgovor
Vraća: ChangeCommentPinStatusResponse
Primjer

updateComment 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| contextUserId | string | query | Ne | |
| doSpamCheck | boolean | query | Ne | |
| isLive | boolean | query | Ne |
Odgovor
Vraća: APIEmptyResponse
Primer

voteComment 
Parametri
| Imе | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| commentId | string | path | Yes | |
| urlId | string | query | Yes | |
| broadcastId | string | query | Yes | |
| sessionId | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: VoteResponse
Primer

getCommentsForUser 
Parameters
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| userId | string | query | No | |
| direction | string | query | No | |
| repliesToUserId | string | query | No | |
| page | number | query | No | |
| includei10n | boolean | query | No | |
| locale | string | query | No | |
| isCrawler | boolean | query | No |
Response
Vraća: GetCommentsForUserResponse
Example

addDomainConfig 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: AddDomainConfigResponse
Primjer

deleteDomainConfig 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| domain | string | path | Yes |
Odgovor
Vraća: DeleteDomainConfigResponse
Primjer

getDomainConfig 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| domain | string | path | Da |
Odgovor
Vraća: GetDomainConfigResponse
Primjer

getDomainConfigs 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes |
Response
Vraća: GetDomainConfigsResponse
Primjer

patchDomainConfig 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| domainToUpdate | string | path | Da |
Odgovor
Vraća: PatchDomainConfigResponse
Primer

putDomainConfig 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| domainToUpdate | string | path | Yes |
Odgovor
Vraća: PutDomainConfigResponse
Primjer

createEmailTemplate 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes |
Odgovor
Vraća: CreateEmailTemplateResponse
Primjer

deleteEmailTemplate 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

deleteEmailTemplateRenderError 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| errorId | string | path | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

getEmailTemplate 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: GetEmailTemplateResponse
Primer

getEmailTemplateDefinitions 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да |
Одговор
Враћа: GetEmailTemplateDefinitionsResponse
Пример

getEmailTemplateRenderErrors 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| skip | number | query | No |
Odgovor
Returns: GetEmailTemplateRenderErrorsResponse
Primjer

getEmailTemplates 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| skip | number | query | No |
Odgovor
Vraća: GetEmailTemplatesResponse
Primer

renderEmailTemplate 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| locale | string | query | No |
Одговор
Враћа: RenderEmailTemplateResponse
Пример

updateEmailTemplate 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Response
Vraća: APIEmptyResponse
Example

getEventLog 
req tenantId urlId userIdWS
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| urlId | string | query | Da | |
| userIdWS | string | query | Da | |
| startTime | integer | query | Da | |
| endTime | integer | query | Ne |
Odgovor
Returns: GetEventLogResponse
Primjer

getGlobalEventLog 
req tenantId urlId userIdWS
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes | |
| userIdWS | string | query | Yes | |
| startTime | integer | query | Yes | |
| endTime | integer | query | No |
Odgovor
Vraća: GetEventLogResponse
Primjer

createFeedPost 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| broadcastId | string | query | No | |
| isLive | boolean | query | No | |
| doSpamCheck | boolean | query | No | |
| skipDupCheck | boolean | query | No |
Odgovor
Vraća: CreateFeedPostsResponse
Primjer

createFeedPostPublic 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Response
Vraća: CreateFeedPostResponse
Example

deleteFeedPostPublic 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| postId | string | path | Yes | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: DeleteFeedPostPublicResponse
Primjer

getFeedPosts 
req tenantId afterId
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| afterId | string | query | Ne | |
| limit | integer | query | Ne | |
| tags | array | query | Ne |
Odgovor
Vraća: GetFeedPostsResponse
Primer

getFeedPostsPublic 
req tenantId afterId
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | putanja | Da | |
| afterId | string | upit | Ne | |
| limit | integer | upit | Ne | |
| tags | array | upit | Ne | |
| sso | string | upit | Ne | |
| isCrawler | boolean | upit | Ne | |
| includeUserInfo | boolean | upit | Ne |
Odgovor
Vraća: PublicFeedPostsResponse
Primjer

getFeedPostsStats 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| postIds | array | query | Yes | |
| sso | string | query | No |
Odgovor
Returns: FeedPostsStatsResponse
Primjer

getUserReactsPublic 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| postIds | array | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: UserReactsResponse
Primjer

reactFeedPostPublic 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| postId | string | path | Yes | |
| isUndo | boolean | query | No | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: ReactFeedPostResponse
Primjer

updateFeedPost 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: APIEmptyResponse
Primer

updateFeedPostPublic 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| postId | string | path | Yes | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: CreateFeedPostResponse
Primjer

flagCommentPublic 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| isFlagged | boolean | query | Yes | |
| sso | string | query | No |
Odgovor
Vraća: APIEmptyResponse
Primjer

getGifLarge 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| largeInternalURLSanitized | string | query | Da |
Odgovor
Vraća: GifGetLargeResponse
Primjer

getGifsSearch 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| search | string | query | Da | |
| locale | string | query | Ne | |
| rating | string | query | Ne | |
| page | number | query | Ne |
Odgovor
Vraća: GetGifsSearchResponse
Primer

getGifsTrending 
Parameters
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| locale | string | query | No | |
| rating | string | query | No | |
| page | number | query | No |
Response
Returns: GetGifsTrendingResponse
Example

addHashTag 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Response
Vraća: CreateHashTagResponse
Example

addHashTagsBulk 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: BulkCreateHashTagsResponse
Primjer

deleteHashTag 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| tag | string | path | Da |
Odgovor
Vraća: APIEmptyResponse
Primer

getHashTags 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| page | number | query | No |
Odgovor
Vraća: GetHashTagsResponse
Primer

patchHashTag 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| tag | string | path | Da |
Odgovor
Vraća: UpdateHashTagResponse
Primjer

deleteModerationVote 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| voteId | string | path | Da | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: VoteDeleteResponse
Primjer

getApiComments 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| page | number | query | Ne | |
| count | number | query | Ne | |
| text-search | string | query | Ne | |
| byIPFromComment | string | query | Ne | |
| filters | string | query | Ne | |
| searchFilters | string | query | Ne | |
| sorts | string | query | Ne | |
| demo | boolean | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: ModerationAPIGetCommentsResponse
Primjer

getApiExportStatus 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| batchJobId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: ModerationExportStatusResponse
Primer

getApiIds 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| text-search | string | query | No | |
| byIPFromComment | string | query | No | |
| filters | string | query | No | |
| searchFilters | string | query | No | |
| afterId | string | query | No | |
| demo | boolean | query | No | |
| sso | string | query | No |
Odgovor
Vraća: ModerationAPIGetCommentIdsResponse
Primjer

getBanUsersFromComment 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: GetBannedUsersFromCommentResponse
Primjer

getCommentBanStatus 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| sso | string | query | No |
Response
Returns: GetCommentBanStatusResponse
Example

getCommentChildren 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| sso | string | query | No |
Odgovor
Returns: ModerationAPIChildCommentsResponse
Primer

getCount 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| text-search | string | query | Ne | |
| byIPFromComment | string | query | Ne | |
| filter | string | query | Ne | |
| searchFilters | string | query | Ne | |
| demo | boolean | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: ModerationAPICountCommentsResponse
Primer

getCounts 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: GetBannedUsersCountResponse
Primer

getLogs 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| sso | string | query | No |
Odgovor
Vraća: ModerationAPIGetLogsResponse
Primjer

getManualBadges 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| sso | string | query | No |
Odgovor
Vraća: GetTenantManualBadgesResponse
Primer

getManualBadgesForUser 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| badgesUserId | string | query | Ne | |
| commentId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: GetUserManualBadgesResponse
Primjer

getModerationComment 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| includeEmail | boolean | query | No | |
| includeIP | boolean | query | No | |
| sso | string | query | No |
Odgovor
Vraća: ModerationAPICommentResponse
Primjer

getModerationCommentText 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: GetCommentTextResponse
Primer

getPreBanSummary 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| includeByUserIdAndEmail | boolean | query | Ne | |
| includeByIP | boolean | query | Ne | |
| includeByEmailDomain | boolean | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: PreBanSummary
Primer

getSearchCommentsSummary 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| value | string | query | No | |
| filters | string | query | No | |
| searchFilters | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: ModerationCommentSearchResponse
Primer

getSearchPages 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| value | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: ModerationPageSearchResponse
Primer

getSearchSites 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| value | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: ModerationSiteSearchResponse
Primjer

getSearchSuggest 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| text-search | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: ModerationSuggestResponse
Primjer

getSearchUsers 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| value | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: ModerationUserSearchResponse
Primer

getTrustFactor 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| userId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: GetUserTrustFactorResponse
Primjer

getUserBanPreference 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| sso | string | query | No |
Odgovor
Vraća: APIModerateGetUserBanPreferencesResponse
Primjer

getUserInternalProfile 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | query | No | |
| sso | string | query | No |
Response
Returns: GetUserInternalProfileResponse
Primer

postAdjustCommentVotes 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: AdjustVotesResponse
Primer

postApiExport 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| text-search | string | query | No | |
| byIPFromComment | string | query | No | |
| filters | string | query | No | |
| searchFilters | string | query | No | |
| sorts | string | query | No | |
| sso | string | query | No |
Одговор
Returns: ModerationExportResponse
Пример

postBanUserFromComment 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| banEmail | boolean | query | No | |
| banEmailDomain | boolean | query | No | |
| banIP | boolean | query | No | |
| deleteAllUsersComments | boolean | query | No | |
| bannedUntil | string | query | No | |
| isShadowBan | boolean | query | No | |
| updateId | string | query | No | |
| banReason | string | query | No | |
| sso | string | query | No |
Response
Vraća: BanUserFromCommentResult
Example

postBanUserUndo 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: APIEmptyResponse
Primjer

postBulkPreBanSummary 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| includeByUserIdAndEmail | boolean | query | Ne | |
| includeByIP | boolean | query | Ne | |
| includeByEmailDomain | boolean | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: BulkPreBanSummary
Primer

postCommentsByIds 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: ModerationAPIChildCommentsResponse
Primer

postFlagComment 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: APIEmptyResponse
Primer

postRemoveComment 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Response
Vraća: PostRemoveCommentApiResponse
Primjer

postRestoreDeletedComment 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: APIEmptyResponse
Primjer

postSetCommentApprovalStatus 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| approved | boolean | query | Ne | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: SetCommentApprovedResponse
Primjer

postSetCommentReviewStatus 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| reviewed | boolean | query | Ne | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: APIEmptyResponse
Primjer

postSetCommentSpamStatus 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| spam | boolean | query | Ne | |
| permNotSpam | boolean | query | Ne | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: APIEmptyResponse
Primjer

postSetCommentText 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: SetCommentTextResponse
Primjer

postUnFlagComment 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: APIEmptyResponse
Primer

postVote 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| direction | string | query | Ne | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Returns: VoteResponse
Primer

putAwardBadge 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| badgeId | string | query | Yes | |
| userId | string | query | No | |
| commentId | string | query | No | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: AwardUserBadgeResponse
Primjer

putCloseThread 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| urlId | string | query | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: APIEmptyResponse
Primer

putRemoveBadge 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| badgeId | string | query | Da | |
| userId | string | query | Ne | |
| commentId | string | query | Ne | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: RemoveUserBadgeResponse
Primjer

putReopenThread 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| urlId | string | query | Yes | |
| sso | string | query | No |
Response
Vraća: APIEmptyResponse
Example

setTrustFactor 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| userId | string | query | Ne | |
| trustFactor | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: SetUserTrustFactorResponse
Primjer

createModerator 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes |
Odgovor
Vraća: CreateModeratorResponse
Primjer

deleteModerator 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| sendEmail | string | query | Ne |
Odgovor
Vraća: APIEmptyResponse
Primjer

getModerator 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: GetModeratorResponse
Primer

getModerators 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| skip | number | query | Ne |
Odgovor
Vraća: GetModeratorsResponse
Primjer

sendInvite 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| fromName | string | query | Yes |
Одговор
Враћа: APIEmptyResponse
Пример

updateModerator 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

deleteNotificationCount 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Response
Vraća: APIEmptyResponse
Primjer

getCachedNotificationCount 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: GetCachedNotificationCountResponse
Primer

getNotificationCount 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| userId | string | query | No | |
| urlId | string | query | No | |
| fromCommentId | string | query | No | |
| viewed | boolean | query | No | |
| type | string | query | No |
Odgovor
Vraća: GetNotificationCountResponse
Primjer

getNotifications 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| userId | string | query | No | |
| urlId | string | query | No | |
| fromCommentId | string | query | No | |
| viewed | boolean | query | No | |
| type | string | query | No | |
| skip | number | query | No |
Odgovor
Returns: GetNotificationsResponse
Primer

updateNotification 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| userId | string | query | No |
Odgovor
Vraća: APIEmptyResponse
Primjer

createV1PageReact 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes | |
| title | string | query | No |
Odgovor
Vraća: CreateV1PageReact
Primjer

createV2PageReact 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes | |
| id | string | query | Yes | |
| title | string | query | No |
Odgovor
Vraća: CreateV1PageReact
Primjer

deleteV1PageReact 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes |
Odgovor
Vraća: CreateV1PageReact
Primer

deleteV2PageReact 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes | |
| id | string | query | Yes |
Odgovor
Vraća: CreateV1PageReact
Primjer

getV1PageLikes 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes |
Odgovor
Vraća: GetV1PageLikes
Primer

getV2PageReacts 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| urlId | string | query | Da |
Odgovor
Vraća: GetV2PageReacts
Primer

getV2PageReactUsers 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| urlId | string | query | Da | |
| id | string | query | Da |
Odgovor
Vraća: GetV2PageReactUsersResponse
Primjer

addPage 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes |
Response
Vraća: AddPageAPIResponse
Example

deletePage 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: DeletePageAPIResponse
Primjer

getOfflineUsers 
Past komentatori na stranici koji NIJE trenutno online. Sortirani po displayName. Koristite ovo nakon što ste iscrpili /users/online da prikažete sekciju „Members“. Cursor paginacija po commenterName: server prolazi kroz parcijalni {tenantId, urlId, commenterName} indeks od afterName napred putem $gt, bez $skip troška.
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes | Identifikator URL‑a stranice (čišćen na serveru). |
| afterName | string | query | No | Cursor: proslijedite nextAfterName iz prethodnog odgovora. |
| afterUserId | string | query | No | Cursor razrješivač: proslijedite nextAfterUserId iz prethodnog odgovora. Potrebno kada je afterName postavljen kako se ne bi izostavile stavke s istim imenom. |
Response
Returns: PageUsersOfflineResponse
Example

getOnlineUsers 
Currently-online viewers of a page: people whose websocket session is subscribed to the page right now.
Returns anonCount + totalCount (room-wide subscribers, including anon viewers we don't enumerate).
Trenutno online gledatelji stranice: osobe čija je websocket sesija trenutno pretplaćena na stranicu.
Vraća anonCount + totalCount (pretplatnici u cijeloj sobi, uključujući anonimne gledatelje koje ne nabrajamo).
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes | Identifikator URL-a stranice (čišćen na serveru). |
| afterName | string | query | No | Kursor: proslijedite nextAfterName iz prethodnog odgovora. |
| afterUserId | string | query | No | Kursor za razrješavanje neriješenih slučajeva: proslijedite nextAfterUserId iz prethodnog odgovora. Potrebno kada je postavljen afterName kako se ne bi izostavili unosi s istim imenom. |
Response
Returns: PageUsersOnlineResponse
Example

getPageByURLId 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| urlId | string | query | Da |
Odgovor
Vraća: GetPageByURLIdAPIResponse
Primjer

getPages 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: GetPagesAPIResponse
Primer

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.
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| cursor | string | query | No | Neproziran kursorski pokazivač za paginaciju koji se vraća kao nextCursor iz prethodnog zahtjeva. Povezano je sa istim sortBy. |
| limit | integer | query | No | 1..200, podrazumevano 50 |
| q | string | query | No | Opcionalni filter prefiksa naslova koji ne razlikuje velika i mala slova. |
| sortBy | string | query | No | Redoslijed sortiranja. updatedAt (podrazumevano, najnovije prvo), commentCount (najviše komentara prvo), ili title (abecedno). |
| hasComments | boolean | query | No | Ako je true, vraća samo stranice koje imaju bar jedan komentar. |
Response
Returns: GetPublicPagesResponse
Example

getUsersInfo 
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).
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| ids | string | query | Yes | UserId‑ovi odvojeni zarezom. |
Response
Returns: PageUsersInfoResponse
Primjer

patchPage 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: PatchPageAPIResponse
Primer

deletePendingWebhookEvent 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

getPendingWebhookEventCount 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | query | No | |
| externalId | string | query | No | |
| eventType | string | query | No | |
| type | string | query | No | |
| domain | string | query | No | |
| attemptCountGT | number | query | No |
Odgovor
Vraća: GetPendingWebhookEventCountResponse
Primjer

getPendingWebhookEvents 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | query | No | |
| externalId | string | query | No | |
| eventType | string | query | No | |
| type | string | query | No | |
| domain | string | query | No | |
| attemptCountGT | number | query | No | |
| skip | number | query | No |
Odgovor
Vraća: GetPendingWebhookEventsResponse
Primjer

createQuestionConfig 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: CreateQuestionConfigResponse
Primjer

deleteQuestionConfig 
Parametri
| Naziv | Tip | Lokacija | Obavezan | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

getQuestionConfig 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: GetQuestionConfigResponse
Primjer

getQuestionConfigs 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| skip | number | query | Ne |
Odgovor
Vraća: GetQuestionConfigsResponse
Primjer

updateQuestionConfig 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

createQuestionResult 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: CreateQuestionResultResponse
Primer

deleteQuestionResult 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

getQuestionResult 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: GetQuestionResultResponse
Primjer

getQuestionResults 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| urlId | string | query | Ne | |
| userId | string | query | Ne | |
| startDate | string | query | Ne | |
| questionId | string | query | Ne | |
| questionIds | string | query | Ne | |
| skip | number | query | Ne |
Odgovor
Vraća: GetQuestionResultsResponse
Primer

updateQuestionResult 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

aggregateQuestionResults 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| questionId | string | query | Ne | |
| questionIds | array | query | Ne | |
| urlId | string | query | Ne | |
| timeBucket | string | query | Ne | |
| startDate | string | query | Ne | |
| forceRecalculate | boolean | query | Ne |
Odgovor
Vraća: AggregateQuestionResultsResponse
Primjer

bulkAggregateQuestionResults 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| forceRecalculate | boolean | query | Ne |
Odgovor
Vraća: BulkAggregateQuestionResultsResponse
Primjer

combineCommentsWithQuestionResults 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| questionId | string | query | Ne | |
| questionIds | array | query | Ne | |
| urlId | string | query | Ne | |
| startDate | string | query | Ne | |
| forceRecalculate | boolean | query | Ne | |
| minValue | number | query | Ne | |
| maxValue | number | query | Ne | |
| limit | number | query | Ne |
Odgovor
Vraća: CombineQuestionResultsWithCommentsResponse
Primjer

addSSOUser 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: AddSSOUserAPIResponse
Primjer

deleteSSOUser 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| deleteComments | boolean | query | No | |
| commentDeleteMode | string | query | No |
Odgovor
Vraća: DeleteSSOUserAPIResponse
Primjer

getSSOUserByEmail 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| string | path | Da |
Response
Vraća: GetSSOUserByEmailAPIResponse
Example

getSSOUserById 
Parameters
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: GetSSOUserByIdAPIResponse
Primjer

getSSOUsers 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| skip | integer | query | Ne |
Odgovor
Vraća: GetSSOUsersResponse
Primjer

patchSSOUser 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| updateComments | boolean | query | No |
Odgovor
Vraća: PatchSSOUserAPIResponse
Primjer

putSSOUser 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| updateComments | boolean | query | Ne |
Odgovor
Vraća: PutSSOUserAPIResponse
Primjer

createSubscription 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes |
Odgovor
Vraća: CreateSubscriptionAPIResponse
Primjer

deleteSubscription 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| userId | string | query | Ne |
Odgovor
Vraća: DeleteSubscriptionAPIResponse
Primjer

getSubscriptions 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| userId | string | query | No |
Odgovor
Vraća: GetSubscriptionsAPIResponse
Primjer

updateSubscription 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| userId | string | query | No |
Odgovor
Vraća: UpdateSubscriptionAPIResponse
Primer

getTenantDailyUsages 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| yearNumber | number | query | No | |
| monthNumber | number | query | No | |
| dayNumber | number | query | No | |
| skip | number | query | No |
Odgovor
Vraća: GetTenantDailyUsagesResponse
Primjer

createTenantPackage 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Returns: CreateTenantPackageResponse
Primjer

deleteTenantPackage 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

getTenantPackage 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: GetTenantPackageResponse
Primjer

getTenantPackages 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| skip | number | query | Ne |
Odgovor
Vraća: GetTenantPackagesResponse
Primer

replaceTenantPackage 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

updateTenantPackage 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

createTenantUser 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes |
Odgovor
Vraća: CreateTenantUserResponse
Primjer

deleteTenantUser 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| deleteComments | string | query | No | |
| commentDeleteMode | string | query | No |
Odgovor
Vraća: APIEmptyResponse
Primjer

getTenantUser 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: GetTenantUserResponse
Primer

getTenantUsers 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| skip | number | query | Ne |
Odgovor
Vraća: GetTenantUsersResponse
Primjer

replaceTenantUser 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| updateComments | string | query | No |
Odgovor
Vraća: APIEmptyResponse
Primjer

sendLoginLink 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| redirectURL | string | query | Ne |
Odgovor
Vraća: APIEmptyResponse
Primjer

updateTenantUser 
Parameters
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| updateComments | string | query | No |
Response
Vraća: APIEmptyResponse
Primjer

createTenant 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Response
Vraća: CreateTenantResponse
Example

deleteTenant 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| sure | string | query | Ne |
Odgovor
Vraća: APIEmptyResponse
Primjer

getTenant 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Returns: GetTenantResponse
Primjer

getTenants 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| meta | string | query | No | |
| skip | number | query | No |
Odgovor
Vraća: GetTenantsResponse
Primjer

updateTenant 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: APIEmptyResponse
Primjer

changeTicketState 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| userId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: ChangeTicketStateResponse
Primjer

createTicket 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| userId | string | query | Yes |
Odgovor
Vraća: CreateTicketResponse
Primjer

getTicket 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| userId | string | query | No |
Odgovor
Vraća: GetTicketResponse
Primjer

getTickets 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| userId | string | query | No | |
| state | number | query | No | |
| skip | number | query | No | |
| limit | number | query | No |
Response
Vraća: GetTicketsResponse
Primjer

getTranslations 
Parametri
| Naziv | Tip | Lokacija | Potrebno | Opis |
|---|---|---|---|---|
| namespace | string | path | Da | |
| component | string | path | Da | |
| locale | string | query | Ne | |
| useFullTranslationIds | boolean | query | Ne |
Odgovor
Vraća: GetTranslationsResponse
Primer

uploadImage 
Upload and resize an image
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| sizePreset | string | query | Ne | Preset veličine: "Default" (1000x1000px) ili "CrossPlatform" (kreira veličine za popularne uređaje) |
| urlId | string | query | Ne | ID stranice s koje se vrši upload, za konfiguraciju |
Response
Vraća: UploadImageResponse
Example

getUserBadgeProgressById 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: APIGetUserBadgeProgressResponse
Primjer

getUserBadgeProgressByUserId 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| userId | string | path | Da |
Odgovor
Vraća: APIGetUserBadgeProgressResponse
Primjer

getUserBadgeProgressList 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| userId | string | query | Ne | |
| limit | number | query | Ne | |
| skip | number | query | Ne |
Odgovor
Vraća: APIGetUserBadgeProgressListResponse
Primjer

createUserBadge 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | upit | Da |
Odgovor
Vraća: APICreateUserBadgeResponse
Primjer

deleteUserBadge 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: APIEmptySuccessResponse
Primer

getUserBadge 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: APIGetUserBadgeResponse
Primjer

getUserBadges 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| userId | string | query | Ne | |
| badgeId | string | query | Ne | |
| type | number | query | Ne | |
| displayedOnComments | boolean | query | Ne | |
| limit | number | query | Ne | |
| skip | number | query | Ne |
Odgovor
Vraća: APIGetUserBadgesResponse
Primjer

updateUserBadge 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: APIEmptySuccessResponse
Primjer

getUserNotificationCount 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| sso | string | query | Ne |
Response
Vraća: GetUserNotificationCountResponse
Example

getUserNotifications 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| urlId | string | query | No | Koristi se za određivanje da li je trenutna stranica pretplaćena. |
| pageSize | integer | query | No | |
| afterId | string | query | No | |
| includeContext | boolean | query | No | |
| afterCreatedAt | integer | query | No | |
| unreadOnly | boolean | query | No | |
| dmOnly | boolean | query | No | |
| noDm | boolean | query | No | |
| includeTranslations | boolean | query | No | |
| includeTenantNotifications | boolean | query | No | |
| sso | string | query | No |
Odgovor
Vraća: GetMyNotificationsResponse
Primjer

resetUserNotificationCount 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| sso | string | query | No |
Odgovor
Vraća: ResetUserNotificationsResponse
Primer

resetUserNotifications 
Parameters
| Ime | Tip | Lokacija | Oblavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| afterId | string | query | No | |
| afterCreatedAt | integer | query | No | |
| unreadOnly | boolean | query | No | |
| dmOnly | boolean | query | No | |
| noDm | boolean | query | No | |
| sso | string | query | No |
Odgovor
Vraća: ResetUserNotificationsResponse
Primjer

updateUserNotificationCommentSubscriptionStatus 
Enable ili onemogući obaveštenja za određeni komentar.
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| notificationId | string | path | Yes | |
| optedInOrOut | string | path | Yes | |
| commentId | string | query | Yes | |
| sso | string | query | No |
Response
Returns: UpdateUserNotificationCommentSubscriptionStatusResponse
Example

updateUserNotificationPageSubscriptionStatus 
Enable or disable notifications for a page. When users are subscribed to a page, notifications are created for new root comments, and also
Parameters
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| urlId | string | query | Yes | |
| url | string | query | Yes | |
| pageTitle | string | query | Yes | |
| subscribedOrUnsubscribed | string | path | Yes | |
| sso | string | query | No |
Odgovor
Vraća: UpdateUserNotificationPageSubscriptionStatusResponse
Primjer

updateUserNotificationStatus 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| notificationId | string | path | Da | |
| newStatus | string | path | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: UpdateUserNotificationStatusResponse
Primjer

getUserPresenceStatuses 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| urlIdWS | string | query | Yes | |
| userIds | string | query | Yes |
Odgovor
Vraća: GetUserPresenceStatusesResponse
Primer

searchUsers 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes | |
| usernameStartsWith | string | query | No | |
| mentionGroupIds | array | query | No | |
| sso | string | query | No | |
| searchSection | string | query | No |
Odgovor
Vraća: SearchUsersResult
Primjer

getUser 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: GetUserResponse
Primjer

createVote 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | query | Yes | |
| direction | string | query | Yes | |
| userId | string | query | No | |
| anonUserId | string | query | No |
Response
Vraća: VoteResponse
Example

deleteVote 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| editKey | string | query | No |
Odgovor
Vraća: VoteDeleteResponse
Primjer

getVotes 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| urlId | string | query | Da |
Odgovor
Vraća: GetVotesResponse
Primer

getVotesForUser 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| urlId | string | query | Yes | |
| userId | string | query | No | |
| anonUserId | string | query | No |
Odgovor
Vraća: GetVotesForUserResponse
Primjer

Treba pomoć?
Ako naiđete na bilo kakve probleme ili imate pitanja u vezi PHP SDK-a, molimo:
Doprinosi
Doprinosi su dobrodošli! Molimo posjetite GitHub repozitorijum za smjernice o doprinosu.