
Jezik 🇭🇷 Hrvatski
Početak rada
API referenca
Dokumentacija
Autentikacija
Agregacija
Revizijski zapisi
Blokiranje zbog komentara
Provjera blokiranih komentara
Komentari
Komentari za korisnika
Konfiguracije domene
Predlošci e-pošte
Dnevnik događaja
Objave feeda
Prijava komentara
GIF-ovi
Hashtagovi
Moderacija
Moderatori
Broj obavijesti
Obavijesti
Reakcije stranice
Stranice
Webhook događaji na čekanju
Postavke pitanja
Rezultati pitanja
Agregacija rezultata pitanja
SSO korisnici
Pretplate
Dnevna upotreba najmoprimca
Paketi najmoprimca
Korisnici najmoprimca
Najmoprimci
Tiketi
Prijevodi
Učitaj sliku
Napredak znački korisnika
Značke korisnika
Obavijesti korisnika
Status prisutnosti korisnika
Pretraživanje korisnika
Korisnici
Glasovi
FastComments PHP SDK
Ovo je službeni PHP SDK za FastComments.
Službeni PHP SDK za FastComments API
Repozitorij
Instalacija i korištenje 
Zahtjevi
PHP 7.4 i novije. Također bi trebalo raditi s PHP 8.0.
Composer
Za instalaciju bindingsa putem Composer, dodajte sljedeće u composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/fastcomments/fastcomments-php.git"
}
],
"require": {
"fastcomments/fastcomments-php": "*@dev"
}
}
Zatim pokrenite composer install
Ručna instalacija
Preuzmite datoteke i uključite autoload.php:
<?php
require_once('/path/to/fastcomments/client/vendor/autoload.php');
Početak rada 
Slijedite postupak instalacije i zatim pokrenite sljedeće:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Konfigurirajte autorizaciju API ključa: api_key
$config = FastComments\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Poništite komentiranje ispod da biste postavili prefiks (npr. Bearer) za API ključ, ako je potrebno
// $config = FastComments\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');
$apiInstance = new FastComments\Client\Api\DefaultApi(
// Ako želite koristiti prilagođeni HTTP klijent, proslijedite svoj klijent koji implementira `GuzzleHttp\ClientInterface`.
// Ovo je neobavezno, kao zadani će se koristiti `GuzzleHttp\Client`.
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 klijenti 
The SDK izlaže tri klase API klijenta:
DefaultApi– metode autentificirane API ključem za korištenje na poslužitelju. Konfigurirajte API ključ kako je prikazano u Početak rada.PublicApi– javne metode koje ne zahtijevaju API ključ, sigurne za pozivanje iz preglednika i mobilnih aplikacija.ModerationApi– opsežan skup API‑ja za moderiranje u stvarnom vremenu i brzu moderaciju. Svaka metodaModerationApiprihvaća$ssoparametar i može se autentificirati putem SSO‑a ili FastComments.com kolačića sesije.
Korištenje PublicApi
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Javni metodi ne zahtijevaju API ključ.
$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štenje ModerationApi
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new FastComments\Client\Api\ModerationApi(
new GuzzleHttp\Client()
);
$sso = 'sso_example'; // string - SSO payload koji autentificira moderatora
try {
$result = $apiInstance->getCount([
'sso' => $sso,
]);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ModerationApi->getCount: ', $e->getMessage(), PHP_EOL;
}
}
API metode 
Svi URI-ji su relativni u odnosu na https://fastcomments.com
| Klasa | Metoda | 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 |
Modeli 
- 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
Autorizacija 
Autentikacijske sheme definirane za API:
api_key
- Tip: API ključ
- Naziv parametra API ključa: x-api-key
- Lokacija: HTTP zaglavlje
aggregate 
Aggregira dokumente grupiranjem (ako je groupBy naveden) i primjenom višestrukih operacija.
Podržane su različite operacije (npr. sum, countDistinct, avg, itd.).
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| parentTenantId | string | query | No | |
| includeStats | boolean | query | No |
Odgovor
Returns: AggregateResponse
Primjer

getAuditLogs 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| limit | number | query | Ne | |
| skip | number | query | Ne | |
| order | string | query | Ne | |
| after | number | query | Ne | |
| before | number | query | Ne |
Response
Vraća: GetAuditLogsResponse
Example

logoutPublic 
Odgovor
Vraća: APIEmptyResponse
Primjer

blockFromCommentPublic 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| sso | string | query | Ne |
Odgovor
Returns: BlockSuccess
Primjer

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

checkedCommentsForBlocked 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentIds | string | query | Yes | Lista ID‑ova komentara odvojenih zarezom. |
| sso | string | query | No |
Odgovor
Vraća: CheckBlockedCommentsResponse
Primjer

blockUserFromComment 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | upit | Da | |
| id | string | put | Da | |
| userId | string | upit | Ne | |
| anonUserId | string | upit | Ne |
Odgovor
Returns: BlockSuccess
Primjer

createCommentPublic 
Parameters
| 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 |
Response
Vraća: SaveCommentsResponseWithPresence
Primjer

deleteComment 
Parametri
| Naziv | 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
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| commentId | string | path | Da | |
| broadcastId | string | query | Da | |
| editKey | string | query | Ne | |
| sso | string | query | Ne |
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 
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: FlagCommentResponse
Primjer

getComment 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Returns: APIGetCommentResponse
Primjer

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
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes | |
| page | integer | query | No | |
| direction | string | query | No | |
| sso | string | query | No | |
| skip | integer | query | No | |
| skipChildren | integer | query | No | |
| limit | integer | query | No | |
| limitChildren | integer | query | No | |
| countChildren | boolean | query | No | |
| fetchPageForCommentId | string | query | No | |
| includeConfig | boolean | query | No | |
| countAll | boolean | query | No | |
| includei10n | boolean | query | No | |
| locale | string | query | No | |
| modules | string | query | No | |
| isCrawler | boolean | query | No | |
| includeNotificationCount | boolean | query | No | |
| asTree | boolean | query | No | |
| maxTreeDepth | integer | query | No | |
| useFullTranslationIds | boolean | query | No | |
| parentId | string | query | No | |
| searchText | string | query | No | |
| hashTags | array | query | No | |
| userId | string | query | No | |
| customConfigStr | string | query | No | |
| afterCommentId | string | query | No | |
| beforeCommentId | string | query | No |
Odgovor
Vraća: GetCommentsResponseWithPresencePublicComment
Primjer

getCommentText 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| commentId | string | path | Da | |
| editKey | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: PublicAPIGetCommentTextResponse
Primjer

getCommentVoteUserNames 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| commentId | string | path | Yes | |
| dir | integer | query | Yes | |
| sso | string | query | No |
Odgovor
Vraća: GetCommentVoteUserNamesSuccessResponse
Primjer

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

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

saveComment 
Parametri
| Naziv | 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 
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: SaveCommentsBulkResponse
Primjer

setCommentText 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| commentId | string | path | Da | |
| broadcastId | string | query | Da | |
| editKey | string | query | Ne | |
| sso | string | query | Ne |
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 
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: APIEmptyResponse
Primjer

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
| Naziv | 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
Primjer

voteComment 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| commentId | string | path | Da | |
| urlId | string | query | Da | |
| broadcastId | string | query | Da | |
| sessionId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: VoteResponse
Primjer

getCommentsForUser 
Parametri
| Naziv | 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 |
Odgovor
Vraća: GetCommentsForUserResponse
Primjer

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

deleteDomainConfig 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | upit | Da | |
| domain | string | put | Da |
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 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: GetDomainConfigsResponse
Primjer

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

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 | Da |
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
| Naziv | 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 | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: GetEmailTemplateResponse
Primjer

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

getEmailTemplateRenderErrors 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| 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 | Da | |
| skip | number | query | Ne |
Odgovor
Vraća: GetEmailTemplatesResponse
Primjer

renderEmailTemplate 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| locale | string | query | Ne |
Odgovor
Vraća: RenderEmailTemplateResponse
Primjer

updateEmailTemplate 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

getEventLog 
req
tenantId
urlId
userIdWS
Parameters
| 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
Vraća: GetEventLogResponse
Example

getGlobalEventLog 
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
Vraća: GetEventLogResponse
Primjer

createFeedPost 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| broadcastId | string | query | Ne | |
| isLive | boolean | query | Ne | |
| doSpamCheck | boolean | query | Ne | |
| skipDupCheck | boolean | query | Ne |
Odgovor
Vraća: CreateFeedPostsResponse
Primjer

createFeedPostPublic 
Parameters
| Ime | Vrsta | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
Response
Vraća: CreateFeedPostResponse
Example

deleteFeedPostPublic 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| postId | string | path | Da | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
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
Primjer

getFeedPostsPublic 
req tenantId afterId
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| afterId | string | query | Ne | |
| limit | integer | query | Ne | |
| tags | array | query | Ne | |
| sso | string | query | Ne | |
| isCrawler | boolean | query | Ne | |
| includeUserInfo | boolean | query | 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
Vraća: FeedPostsStatsResponse
Primjer

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

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

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

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

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

getGifLarge 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| largeInternalURLSanitized | string | query | Yes |
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
Primjer

getGifsTrending 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| locale | string | query | No | |
| rating | string | query | No | |
| page | number | query | No |
Odgovor
Vraća: GetGifsTrendingResponse
Primjer

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

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

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

getHashTags 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| page | number | query | Ne |
Odgovor
Vraća: GetHashTagsResponse
Primjer

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

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

getApiComments 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| page | number | query | No | |
| count | number | query | No | |
| text-search | string | query | No | |
| byIPFromComment | string | query | No | |
| filters | string | query | No | |
| searchFilters | string | query | No | |
| sorts | string | query | No | |
| demo | boolean | query | No | |
| sso | string | query | No |
Response
Vraća: ModerationAPIGetCommentsResponse
Primjer

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

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 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: GetCommentBanStatusResponse
Primjer

getCommentChildren 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: ModerationAPIChildCommentsResponse
Primjer

getCount 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| text-search | string | query | No | |
| byIPFromComment | string | query | No | |
| filter | string | query | No | |
| searchFilters | string | query | No | |
| demo | boolean | query | No | |
| sso | string | query | No |
Odgovor
Vraća: ModerationAPICountCommentsResponse
Primjer

getCounts 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| sso | string | query | Ne |
Response
Vraća: GetBannedUsersCountResponse
Example

getLogs 
Parameters
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| sso | string | query | Ne |
Response
Returns: ModerationAPIGetLogsResponse
Primjer

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

getManualBadgesForUser 
Parametri
| Naziv | 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
Primjer

getPreBanSummary 
Parametri
| Naziv | Tip | Lokacija | Obligatorno | 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
Primjer

getSearchCommentsSummary 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| value | string | query | Ne | |
| filters | string | query | Ne | |
| searchFilters | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: ModerationCommentSearchResponse
Primjer

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

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 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| text-search | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: ModerationSuggestResponse
Primjer

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

getTrustFactor 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| userId | string | query | Ne | |
| sso | string | query | Ne |
Response
Vraća: GetUserTrustFactorResponse
Example

getUserBanPreference 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| sso | string | query | No |
Odgovor
Vraća: APIModerateGetUserBanPreferencesResponse
Primjer

getUserInternalProfile 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: GetUserInternalProfileResponse
Primjer

postAdjustCommentVotes 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Odgovor
Returns: AdjustVotesResponse
Primjer

postApiExport 
Parametri
| Ime | 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 | |
| sorts | string | query | No | |
| sso | string | query | No |
Odgovor
Vraća: ModerationExportResponse
Primjer

postBanUserFromComment 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| banEmail | boolean | query | Ne | |
| banEmailDomain | boolean | query | Ne | |
| banIP | boolean | query | Ne | |
| deleteAllUsersComments | boolean | query | Ne | |
| bannedUntil | string | query | Ne | |
| isShadowBan | boolean | query | Ne | |
| updateId | string | query | Ne | |
| banReason | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Returns: BanUserFromCommentResult
Primjer

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

postBulkPreBanSummary 
Parametri
| Naziv | Tip | Lokacija | Potrebno | 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
Primjer

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

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

postRemoveComment 
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: PostRemoveCommentApiResponse
Primjer

postRestoreDeletedComment 
Parametri
| Naziv | Vrsta | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: APIEmptyResponse
Primjer

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

postSetCommentReviewStatus 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| reviewed | boolean | query | No | |
| broadcastId | string | query | No | |
| sso | string | query | No |
Response
Vraća: APIEmptyResponse
Primjer

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

postSetCommentText 
Parametri
| Naziv | 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
| 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

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

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
Returns: 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
Primjer

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 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| urlId | string | query | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: APIEmptyResponse
Primjer

setTrustFactor 
Parametri
| Naziv | 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 | Da |
Odgovor
Vraća: CreateModeratorResponse
Primjer

deleteModerator 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| sendEmail | string | query | Ne |
Odgovor
Returns: APIEmptyResponse
Primjer

getModerator 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | upit | Da | |
| id | string | put | Da |
Odgovor
Vraća: GetModeratorResponse
Primjer

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

sendInvite 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| fromName | string | query | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

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 | Da | |
| id | string | path | Da |
Response
Returns: APIEmptyResponse
Example

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

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
Vraća: GetNotificationsResponse
Primjer

updateNotification 
Parameters
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| userId | string | query | Ne |
Response
Vraća: APIEmptyResponse
Example

createV1PageReact 
Parameters
| Ime | Vrsta | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes | |
| title | string | query | No |
Response
Vraća: CreateV1PageReact
Example

createV2PageReact 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | put | Da | |
| urlId | string | upit | Da | |
| id | string | upit | Da | |
| title | string | upit | Ne |
Odgovor
Vraća: CreateV1PageReact
Primjer

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

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
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes |
Odgovor
Vraća: GetV1PageLikes
Primjer

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

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 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes |
Odgovor
Vraća: AddPageAPIResponse
Primjer

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

getOfflineUsers 
Prethodni komentatori na stranici koji NISU trenutno online. Sortirani po displayName.
Koristite ovo nakon što iscrpite /users/online za prikaz odjeljka "Članovi".
Paginacija pokazivača po commenterName: poslužitelj prolazi kroz djelomični {tenantId, urlId, commenterName} indeks od afterName naprijed putem $gt, bez troška $skip.
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes | Identifikator URL-a stranice (čišćen na poslužitelju). |
| afterName | string | query | No | Cursor: proslijedite nextAfterName iz prethodnog odgovora. |
| afterUserId | string | query | No | Cursor tiebreaker: proslijedite nextAfterUserId iz prethodnog odgovora. Potrebno kada je postavljen afterName kako se izjednačenja po imenu ne bi izgubila unosi. |
Response
Vraća: PageUsersOfflineResponse
Example

getOnlineUsers 
Trenutno online gledatelji stranice: ljudi čija je WebSocket sesija pretplaćena na stranicu u ovom trenutku.
Vraća anonCount + totalCount (pretplatnici na cijelu sobu, uključujući anonimne gledatelje koje ne nabrajamo).
Parametri
| 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 razrješivač nerazlučivosti: proslijedite nextAfterUserId iz prethodnog odgovora. Obavezno kada je postavljeno afterName kako bi se izbjeglo izostavljanje zapisa uslijed istih imena. |
Odgovor
Vraća: PageUsersOnlineResponse
Primjer

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

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

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.
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| cursor | string | query | Ne | Neprozirni kursorski pokazivač za paginaciju vraćen kao nextCursor iz prethodnog zahtjeva. Povezano s istim sortBy. |
| limit | integer | query | Ne | 1..200, zadano 50 |
| q | string | query | Ne | Opcionalni filter prefiksa naslova koji ne razlikuje veličinu slova. |
| sortBy | string | query | Ne | Redoslijed sortiranja. updatedAt (zadano, najnoviji prvi), commentCount (najviše komentara prvi), ili title (abecedno). |
| hasComments | boolean | query | Ne | Ako je true, vrati samo stranice s barem jednim komentarom. |
Odgovor
Vraća: GetPublicPagesResponse
Primjer

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
Example

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

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

getPendingWebhookEventCount 
Parametri
| Naziv | Vrsta | 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 | Da | |
| commentId | string | query | Ne | |
| externalId | string | query | Ne | |
| eventType | string | query | Ne | |
| type | string | query | Ne | |
| domain | string | query | Ne | |
| attemptCountGT | number | query | Ne | |
| skip | number | query | Ne |
Odgovor
Vraća: GetPendingWebhookEventsResponse
Primjer

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

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

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

getQuestionConfigs 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| skip | number | query | Ne |
Odgovor
Vraća: GetQuestionConfigsResponse
Primjer

updateQuestionConfig 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: APIEmptyResponse
Primjer

createQuestionResult 
Parametri
| Naziv | Vrsta | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: CreateQuestionResultResponse
Primjer

deleteQuestionResult 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Response
Vraća: APIEmptyResponse
Example

getQuestionResult 
Parametri
| Naziv | 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 | Yes | |
| urlId | string | query | No | |
| userId | string | query | No | |
| startDate | string | query | No | |
| questionId | string | query | No | |
| questionIds | string | query | No | |
| skip | number | query | No |
Odgovor
Vraća: GetQuestionResultsResponse
Primjer

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

aggregateQuestionResults 
Parametri
| Naziv | 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 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| forceRecalculate | boolean | query | Ne |
Odgovor
Vraća: BulkAggregateQuestionResultsResponse
Primjer

combineCommentsWithQuestionResults 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| questionId | string | query | No | |
| questionIds | array | query | No | |
| urlId | string | query | No | |
| startDate | string | query | No | |
| forceRecalculate | boolean | query | No | |
| minValue | number | query | No | |
| maxValue | number | query | No | |
| limit | number | query | No |
Odgovor
Vraća: CombineQuestionResultsWithCommentsResponse
Primjer

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

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

getSSOUserByEmail 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| string | path | Da |
Response
Vraća: GetSSOUserByEmailAPIResponse
Primjer

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

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

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

putSSOUser 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| updateComments | boolean | query | No |
Odgovor
Vraća: PutSSOUserAPIResponse
Primjer

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

deleteSubscription 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| userId | string | query | No |
Response
Returns: DeleteSubscriptionAPIResponse
Example

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

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

getTenantDailyUsages 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| yearNumber | number | query | Ne | |
| monthNumber | number | query | Ne | |
| dayNumber | number | query | Ne | |
| skip | number | query | Ne |
Odgovor
Vraća: GetTenantDailyUsagesResponse
Primjer

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

deleteTenantPackage 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
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
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| skip | number | query | No |
Odgovor
Vraća: GetTenantPackagesResponse
Primjer

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

updateTenantPackage 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Response
Vraća: APIEmptyResponse
Example

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

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

getTenantUser 
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: GetTenantUserResponse
Primjer

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 | Yes | |
| id | string | path | Yes | |
| redirectURL | string | query | No |
Odgovor
Vraća: APIEmptyResponse
Primjer

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

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

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

getTenant 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: 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
| Naziv | 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 
Parameters
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| userId | string | query | No |
Odgovor
Vraća: GetTicketResponse
Primjer

getTickets 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| userId | string | query | No | |
| state | number | query | No | |
| skip | number | query | No | |
| limit | number | query | No |
Odgovor
Returns: GetTicketsResponse
Primjer

getTranslations 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| namespace | string | path | Yes | |
| component | string | path | Yes | |
| locale | string | query | No | |
| useFullTranslationIds | boolean | query | No |
Odgovor
Vraća: GetTranslationsResponse
Primjer

uploadImage 
Učitaj i promijeni veličinu slike
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| sizePreset | string | query | Ne | Predefinirani set veličina: "Default" (1000x1000px) ili "CrossPlatform" (kreira veličine za popularne uređaje) |
| urlId | string | query | Ne | ID stranice s koju se obavlja upload, za konfiguraciju |
Odgovor
Vraća: UploadImageResponse
Primjer

getUserBadgeProgressById 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
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
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| userId | string | query | No | |
| limit | number | query | No | |
| skip | number | query | No |
Odgovor
Vraća: APIGetUserBadgeProgressListResponse
Primjer

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

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

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

getUserBadges 
Parameters
| Naziv | 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 |
Response
Vraća: APIGetUserBadgesResponse
Primjer

updateUserBadge 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | upit | Da | |
| id | string | putanja | Da |
Odgovor
Vraća: APIEmptySuccessResponse
Primjer

getUserNotificationCount 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| sso | string | query | No |
Odgovor
Vraća: GetUserNotificationCountResponse
Primjer

getUserNotifications 
Parametri
| Ime | Tip | Lokacija | Potrebno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| urlId | string | query | No | Koristi se za određivanje je li 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
Returns: GetMyNotificationsResponse
Primjer

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

resetUserNotifications 
Parameters
| Naziv | Vrsta | Lokacija | Obavezno | 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 |
Response
Vraća: ResetUserNotificationsResponse
Example

updateUserNotificationCommentSubscriptionStatus 
Enable or disable notifications for a specific comment.
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| notificationId | string | path | Da | |
| optedInOrOut | string | path | Da | |
| commentId | string | query | Da | |
| sso | string | query | Ne |
Response
Returns: UpdateUserNotificationCommentSubscriptionStatusResponse
Primjer

updateUserNotificationPageSubscriptionStatus 
Omogući ili onemogući obavijesti za stranicu. Kada su korisnici pretplaćeni na stranicu, obavijesti se stvaraju za nove korijenske komentare, i također.
Parameters
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| urlId | string | query | Da | |
| url | string | query | Da | |
| pageTitle | string | query | Da | |
| subscribedOrUnsubscribed | string | path | Da | |
| sso | string | query | Ne |
Response
Returns: UpdateUserNotificationPageSubscriptionStatusResponse
Example

updateUserNotificationStatus 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| notificationId | string | path | Yes | |
| newStatus | string | path | Yes | |
| sso | string | query | No |
Odgovor
Vraća: UpdateUserNotificationStatusResponse
Primjer

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

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
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Odgovor
Vraća: GetUserResponse
Primjer

createVote 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | query | Da | |
| direction | string | query | Da | |
| userId | string | query | Ne | |
| anonUserId | string | query | Ne |
Odgovor
Vraća: VoteResponse
Primjer

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

getVotes 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| urlId | string | query | Da |
Odgovor
Returns: GetVotesResponse
Primjer

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

Trebate pomoć?
Ako naiđete na bilo kakve probleme ili imate pitanja u vezi PHP SDK-a, molimo:
Doprinosi
Doprinosi su dobrodošli! Posjetite GitHub repozitorij za smjernice za doprinos.