
Jezik 🇭🇷 Hrvatski
Početak rada
Referenca API-ja
Dokumentacija
Autentifikacija
Agregacija
Dnevnici audita
Blokiranje iz komentara
Provjera blokiranih komentara
Komentari
Konfiguracije domene
Predlošci e-pošte
Dnevnik događaja
Objave feeda
Prijava komentara
Hashtagovi
Moderatori
Broj obavijesti
Obavijesti
Stranice
Neobrađeni webhook događaji
Konfiguracije pitanja
Rezultati pitanja
Agregacija rezultata pitanja
SSO korisnici
Pretplate
Dnevna upotreba najmoprimca
Paketi najmoprimca
Korisnici najmoprimca
Najmoprimci
Prijenos slike
Napredak značke 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 upotreba 
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 
Molimo slijedite postupak instalacije i zatim pokrenite sljedeće:
<?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 krajnje točke 
Sve URI adrese su relativne u odnosu na https://fastcomments.com
| Klasa | Metoda | HTTP zahtjev | Opis |
|---|---|---|---|
| DefaultApi | addDomainConfig | POST /api/v1/domain-configs | |
| 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 | combineCommentsWithQuestionResults | GET /api/v1/question-results-aggregation/combine/comments | |
| DefaultApi | createFeedPost | POST /api/v1/feed-posts | |
| DefaultApi | createSubscription | POST /api/v1/subscriptions | |
| DefaultApi | createUserBadge | POST /api/v1/user-badges | |
| DefaultApi | deleteComment | DELETE /api/v1/comments/{id} | |
| DefaultApi | deleteDomainConfig | DELETE /api/v1/domain-configs/{domain} | |
| DefaultApi | deletePage | DELETE /api/v1/pages/{id} | |
| DefaultApi | deleteSSOUser | DELETE /api/v1/sso-users/{id} | |
| DefaultApi | deleteSubscription | DELETE /api/v1/subscriptions/{id} | |
| DefaultApi | deleteUserBadge | DELETE /api/v1/user-badges/{id} | |
| DefaultApi | flagComment | POST /api/v1/comments/{id}/flag | |
| DefaultApi | getAuditLogs | GET /api/v1/audit-logs | |
| 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 | getFeedPosts | GET /api/v1/feed-posts | |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPages | GET /api/v1/pages | |
| 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 | 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 | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| 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 | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| 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 | updateFeedPost | PATCH /api/v1/feed-posts/{id} | |
| DefaultApi | updateUserBadge | PUT /api/v1/user-badges/{id} | |
| 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 | deleteCommentPublic | DELETE /comments/{tenantId}/{commentId} | |
| PublicApi | deleteCommentVote | DELETE /comments/{tenantId}/{commentId}/vote/{voteId} | |
| PublicApi | deleteFeedPostPublic | DELETE /feed-posts/{tenantId}/{postId} | |
| PublicApi | flagCommentPublic | POST /flag-comment/{commentId} | |
| PublicApi | getCommentText | GET /comments/{tenantId}/{commentId}/text | |
| PublicApi | getCommentVoteUserNames | GET /comments/{tenantId}/{commentId}/votes | |
| 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 | getGlobalEventLog | GET /event-log/global/{tenantId} | |
| 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 | lockComment | POST /comments/{tenantId}/{commentId}/lock | |
| 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 
- APICreateUserBadgeResponse
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIPage
- APISSOUser
- APIStatus
- APIUserSubscription
- AddDomainConfig200Response
- AddDomainConfig200ResponseAnyOf
- AddDomainConfigParams
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AggregateQuestionResults200Response
- AggregateQuestionResultsResponse
- AggregateTimeBucket
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequestSort
- AggregationResponse
- AggregationResponseStats
- AggregationValue
- BlockFromCommentParams
- BlockFromCommentPublic200Response
- BlockSuccess
- BulkAggregateQuestionItem
- BulkAggregateQuestionResults200Response
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- ChangeCommentPinStatusResponse
- CheckBlockedCommentsResponse
- CheckedCommentsForBlocked200Response
- CombineCommentsWithQuestionResults200Response
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CreateAPIPageData
- CreateAPISSOUserData
- CreateAPIUserSubscriptionData
- CreateCommentParams
- CreateCommentPublic200Response
- CreateFeedPost200Response
- CreateFeedPostParams
- CreateFeedPostPublic200Response
- CreateFeedPostResponse
- CreateFeedPostsResponse
- CreateSubscriptionAPIResponse
- CreateUserBadge200Response
- CreateUserBadgeParams
- CustomConfigParameters
- DeleteComment200Response
- DeleteCommentAction
- DeleteCommentPublic200Response
- DeleteCommentResult
- DeleteCommentVote200Response
- DeleteDomainConfig200Response
- DeleteFeedPostPublic200Response
- DeleteFeedPostPublic200ResponseAnyOf
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- EventLogEntry
- FComment
- FCommentMeta
- FeedPost
- FeedPostLink
- FeedPostMediaItem
- FeedPostMediaItemAsset
- FeedPostStats
- FeedPostsStatsResponse
- FindCommentsByRangeItem
- FindCommentsByRangeResponse
- FlagComment200Response
- FlagCommentPublic200Response
- FlagCommentResponse
- GetAuditLogs200Response
- GetAuditLogsResponse
- GetComment200Response
- GetCommentText200Response
- GetCommentVoteUserNames200Response
- GetCommentVoteUserNamesSuccessResponse
- GetComments200Response
- GetCommentsPublic200Response
- GetCommentsResponsePublicComment
- GetCommentsResponseWithPresencePublicComment
- GetDomainConfig200Response
- GetDomainConfigs200Response
- GetDomainConfigs200ResponseAnyOf
- GetDomainConfigs200ResponseAnyOf1
- GetEventLog200Response
- GetEventLogResponse
- GetFeedPosts200Response
- GetFeedPostsPublic200Response
- GetFeedPostsResponse
- GetFeedPostsStats200Response
- GetMyNotificationsResponse
- GetPageByURLIdAPIResponse
- GetPagesAPIResponse
- GetPublicFeedPostsResponse
- GetSSOUserByEmailAPIResponse
- GetSSOUserByIdAPIResponse
- GetSSOUsers200Response
- GetSubscriptionsAPIResponse
- GetUserBadge200Response
- GetUserBadgeProgressById200Response
- GetUserBadgeProgressList200Response
- GetUserBadges200Response
- GetUserNotificationCount200Response
- GetUserNotificationCountResponse
- GetUserNotifications200Response
- GetUserPresenceStatuses200Response
- GetUserPresenceStatusesResponse
- GetUserReactsPublic200Response
- GifRating
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- ImportedAPIStatusFAILED
- ImportedAPIStatusSUCCESS
- LiveEvent
- LiveEventExtraInfo
- LiveEventType
- LockComment200Response
- MediaAsset
- MetaItem
- NotificationAndCount
- NotificationObjectType
- NotificationType
- PatchDomainConfigParams
- PatchPageAPIResponse
- PatchSSOUserAPIResponse
- PickAPICommentUpdatableCommentFields
- PickFCommentAPICommentFieldsKeys
- PickFCommentAPICommentFieldsKeysMeta
- PickFCommentApprovedOrCommentHTML
- PickFCommentIsDeletedOrCommentHTMLOrCommenterNameOrUserId
- PickFCommentPublicCommentFieldsKeys
- PickOmitFCommentDatePublicCommentPubSubFieldsKeys
- PickTenantAuditLogTenantAuditLogKeys
- PinComment200Response
- PubSubComment
- PubSubVote
- PublicAPIDeleteCommentResponse
- PublicAPIGetCommentTextResponse
- PublicAPISetCommentTextResponse
- PublicBlockFromCommentParams
- PublicComment
- PublicFeedPostsResponse
- PutSSOUserAPIResponse
- QueryPredicate
- QueryPredicateValue
- QuestionDatum
- QuestionRenderingType
- QuestionResult
- QuestionResultAggregationOverall
- QuestionSubQuestionVisibility
- QuestionWhenSave
- ReactBodyParams
- ReactFeedPostPublic200Response
- ReactFeedPostResponse
- RecordStringBeforeStringOrNullAfterStringOrNullValue
- RecordStringStringOrNumberValue
- RenderableUserNotification
- ResetUserNotifications200Response
- ResetUserNotificationsResponse
- SORTDIR
- SSOSecurityLevel
- SaveComment200Response
- SaveCommentResponse
- SaveCommentResponseOptimized
- SaveCommentsResponseWithPresence
- SearchUsers200Response
- SearchUsersResponse
- SetCommentText200Response
- SizePreset
- SortDirections
- SpamRule
- UnBlockCommentPublic200Response
- UnBlockFromCommentParams
- UnblockSuccess
- UpdateAPIPageData
- UpdateAPISSOUserData
- UpdateDomainConfigParams
- UpdateFeedPostParams
- UpdateUserBadge200Response
- UpdateUserBadgeParams
- UpdateUserNotificationStatus200Response
- UploadImageResponse
- UserBadge
- UserBadgeProgress
- UserNotification
- UserNotificationWriteResponse
- UserPresenceData
- UserReactsResponse
- UserSearchResult
- UserSessionInfo
- VoteBodyParams
- VoteComment200Response
- VoteDeleteResponse
- VoteDeleteResponseStatus
- 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 
Agregira dokumente grupiranjem (ako je groupBy naveden) i primjenom više operacija. Podržane su različite operacije (npr. sum, countDistinct, avg itd.).
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| parentTenantId | string | query | Ne | |
| includeStats | boolean | query | Ne |
Odgovor
Vraća: AggregationResponse
Primjer

getAuditLogs 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| limit | number | query | Ne | |
| skip | number | query | Ne | |
| order | string | query | Ne | |
| after | number | query | Ne | |
| before | number | query | Ne |
Odgovor
Vraća: GetAuditLogs200Response
Primjer

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

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

checkedCommentsForBlocked 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentIds | string | query | Da | Zarezom odvojeni popis ID-eva komentara. |
| sso | string | query | Ne |
Odgovor
Vraća: CheckedCommentsForBlocked200Response
Primjer

blockUserFromComment 
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: BlockFromCommentPublic200Response
Primjer

createCommentPublic 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| urlId | string | query | Da | |
| broadcastId | string | query | Da | |
| sessionId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: CreateCommentPublic200Response
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: DeleteComment200Response
Primjer

deleteCommentPublic 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| commentId | string | path | Da | |
| broadcastId | string | query | Da | |
| editKey | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: DeleteCommentPublic200Response
Primjer

deleteCommentVote 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | putanja | Da | |
| commentId | string | putanja | Da | |
| voteId | string | putanja | Da | |
| urlId | string | upit | Da | |
| broadcastId | string | upit | Da | |
| editKey | string | upit | Ne | |
| sso | string | upit | Ne |
Odgovor
Vraća: DeleteCommentVote200Response
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: FlagComment200Response
Primjer

getComment 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: GetComment200Response
Primjer

getComments 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| page | integer | query | Ne | |
| limit | integer | query | Ne | |
| skip | integer | query | Ne | |
| asTree | boolean | query | Ne | |
| skipChildren | integer | query | Ne | |
| limitChildren | integer | query | Ne | |
| maxTreeDepth | integer | query | Ne | |
| urlId | string | query | Ne | |
| userId | string | query | Ne | |
| anonUserId | string | query | Ne | |
| contextUserId | string | query | Ne | |
| hashTag | string | query | Ne | |
| parentId | string | query | Ne | |
| direction | string | query | Ne |
Odgovor
Vraća: GetComments200Response
Primjer

getCommentsPublic 
req tenantId urlId
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| 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: GetCommentsPublic200Response
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: GetCommentText200Response
Primjer

getCommentVoteUserNames 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| commentId | string | path | Da | |
| dir | integer | query | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: GetCommentVoteUserNames200Response
Primjer

lockComment 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| commentId | string | path | Da | |
| broadcastId | string | query | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: LockComment200Response
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: PinComment200Response
Primjer

saveComment 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| isLive | boolean | query | Ne | |
| doSpamCheck | boolean | query | Ne | |
| sendEmails | boolean | query | Ne | |
| populateNotifications | boolean | query | Ne |
Odgovor
Vraća: SaveComment200Response
Primjer

saveCommentsBulk 
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: SaveComment200Response
Primjer

setCommentText 
Parametri
| Name | Type | 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: SetCommentText200Response
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: UnBlockCommentPublic200Response
Primjer

unFlagComment 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| userId | string | query | Ne | |
| anonUserId | string | query | Ne |
Odgovor
Vraća: FlagComment200Response
Primjer

unLockComment 
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: LockComment200Response
Primjer

unPinComment 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| commentId | string | path | Da | |
| broadcastId | string | query | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: PinComment200Response
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: FlagCommentPublic200Response
Primjer

voteComment 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| 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: VoteComment200Response
Primjer

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

deleteDomainConfig 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| domain | string | path | Da |
Odgovor
Vraća: DeleteDomainConfig200Response
Primjer

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

getDomainConfigs 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: GetDomainConfigs200Response
Primjer

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

putDomainConfig 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| domainToUpdate | string | path | Da |
Odgovor
Vraća: GetDomainConfig200Response
Primjer

createEmailTemplate 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: CreateEmailTemplate200Response
Primjer

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

deleteEmailTemplateRenderError 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| errorId | string | path | Da |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

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

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

getEmailTemplateRenderErrors 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | upit | Da | |
| id | string | putanja | Da | |
| skip | number | upit | Ne |
Odgovor
Vraća: GetEmailTemplateRenderErrors200Response
Primjer

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

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

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

getEventLog 
req tenantId urlId userIdWS
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| urlId | string | query | Da | |
| userIdWS | string | query | Da | |
| startTime | integer | query | Da | |
| endTime | integer | query | Da |
Response
Vraća: GetEventLog200Response
Primjer

getGlobalEventLog 
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 | Da |
Odgovor
Vraća: GetEventLog200Response
Primjer

createFeedPost 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| broadcastId | string | query | Ne | |
| isLive | boolean | query | Ne | |
| doSpamCheck | boolean | query | Ne | |
| skipDupCheck | boolean | query | Ne |
Odgovor
Vraća: CreateFeedPost200Response
Primjer

createFeedPostPublic 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: CreateFeedPostPublic200Response
Primjer

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

getFeedPosts 
zahtjev tenantId afterId
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| afterId | string | query | Ne | |
| limit | integer | query | Ne | |
| tags | array | query | Ne |
Odgovor
Vraća: GetFeedPosts200Response
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: GetFeedPostsPublic200Response
Primjer

getFeedPostsStats 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | putanja | Da | |
| postIds | array | upit | Da | |
| sso | string | upit | Ne |
Odgovor
Vraća: GetFeedPostsStats200Response
Primjer

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

reactFeedPostPublic 
Parametri
| Name | Tip | Location | 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: ReactFeedPostPublic200Response
Primjer

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

updateFeedPostPublic 
Parametri
| Name | Type | Location | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| postId | string | path | Da | |
| broadcastId | string | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: CreateFeedPostPublic200Response
Primjer

flagCommentPublic 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | path | Da | |
| isFlagged | boolean | query | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

addHashTag 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Ne |
Odgovor
Vraća: AddHashTag200Response
Primjer

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

deleteHashTag 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tag | string | path | Da | |
| tenantId | string | query | Ne |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

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

patchHashTag 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tag | string | path | Da | |
| tenantId | string | query | Ne |
Response
Vraća: PatchHashTag200Response
Primjer

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

deleteModerator 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| sendEmail | string | query | Ne |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

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

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

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

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

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

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

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

getNotifications 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| userId | string | query | Ne | |
| urlId | string | query | Ne | |
| fromCommentId | string | query | Ne | |
| viewed | boolean | query | Ne | |
| type | string | query | Ne | |
| skip | number | query | Ne |
Odgovor
Vraća: GetNotifications200Response
Primjer

updateNotification 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| userId | string | query | Ne |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

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

deletePage 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: DeletePageAPIResponse
Primjer

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

getPages 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: GetPagesAPIResponse
Primjer

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

deletePendingWebhookEvent 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Response
Vraća: FlagCommentPublic200Response
Primjer

getPendingWebhookEventCount 
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 |
Response
Vraća: GetPendingWebhookEventCount200Response
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: GetPendingWebhookEvents200Response
Primjer

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

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

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

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

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

createQuestionResult 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: CreateQuestionResult200Response
Primjer

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

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

getQuestionResults 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| 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: GetQuestionResults200Response
Primjer

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

aggregateQuestionResults 
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| 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 |
Response
Vraća: AggregateQuestionResults200Response
Primjer

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

combineCommentsWithQuestionResults 
Parametri
| Ime | 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: CombineCommentsWithQuestionResults200Response
Primjer

addSSOUser 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da |
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 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| string | path | Da |
Odgovor
Vraća: GetSSOUserByEmailAPIResponse
Primjer

getSSOUserById 
Parametri
| Naziv | 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: GetSSOUsers200Response
Primjer

patchSSOUser 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| updateComments | boolean | query | Ne |
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 | Da |
Odgovor
Vraća: CreateSubscriptionAPIResponse
Primjer

deleteSubscription 
Parametri
| Naziv | 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 | Da | |
| userId | string | query | Ne |
Odgovor
Vraća: GetSubscriptionsAPIResponse
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: GetTenantDailyUsages200Response
Primjer

createTenantPackage 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: CreateTenantPackage200Response
Primjer

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

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

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

replaceTenantPackage 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

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

createTenantUser 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: CreateTenantUser200Response
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: FlagCommentPublic200Response
Primjer

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

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

replaceTenantUser 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| updateComments | string | query | Ne |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

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

updateTenantUser 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| updateComments | string | query | Ne |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

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

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

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

getTenants 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| meta | string | query | No | |
| skip | number | query | No |
Response
Vraća: GetTenants200Response
Primjer

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

uploadImage 
Prenesi i promijeni veličinu slike
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| sizePreset | string | query | Ne | Preset veličine: "Default" (1000x1000px) ili "CrossPlatform" (stvara veličine za popularne uređaje) |
| urlId | string | query | Ne | ID stranice s koje se obavlja prijenos, za konfiguraciju |
Odgovor
Vraća: UploadImageResponse
Primjer

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

getUserBadgeProgressByUserId 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| userId | string | path | Da |
Odgovor
Vraća: GetUserBadgeProgressById200Response
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: GetUserBadgeProgressList200Response
Primjer

createUserBadge 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: CreateUserBadge200Response
Primjer

deleteUserBadge 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: UpdateUserBadge200Response
Primjer

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

getUserBadges 
Parametri
| 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 |
Odgovor
Vraća: GetUserBadges200Response
Primjer

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

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

getUserNotifications 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| pageSize | integer | query | Ne | |
| afterId | string | query | Ne | |
| includeContext | boolean | query | Ne | |
| afterCreatedAt | integer | query | Ne | |
| unreadOnly | boolean | query | Ne | |
| dmOnly | boolean | query | Ne | |
| noDm | boolean | query | Ne | |
| includeTranslations | boolean | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: GetUserNotifications200Response
Primjer

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

resetUserNotifications 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| afterId | string | query | Ne | |
| afterCreatedAt | integer | query | Ne | |
| unreadOnly | boolean | query | Ne | |
| dmOnly | boolean | query | Ne | |
| noDm | boolean | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: ResetUserNotifications200Response
Primjer

updateUserNotificationCommentSubscriptionStatus 
Omogućite ili onemogućite obavijesti za određeni komentar.
Parametri
| 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 |
Odgovor
Vraća: UpdateUserNotificationStatus200Response
Primjer

updateUserNotificationPageSubscriptionStatus 
Omogućite ili onemogućite obavijesti za stranicu. Kada su korisnici pretplaćeni na stranicu, obavijesti se stvaraju za nove root komentare, i također
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| 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: UpdateUserNotificationStatus200Response
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: UpdateUserNotificationStatus200Response
Primjer

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

searchUsers 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| urlId | string | query | Da | |
| usernameStartsWith | string | query | Da | |
| mentionGroupIds | array | query | Ne | |
| sso | string | query | Ne |
Odgovor
Vraća: SearchUsers200Response
Primjer

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

createVote 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentId | string | query | Da | |
| direction | string | query | Da | |
| userId | string | query | Ne | |
| anonUserId | string | query | Ne |
Odgovor
Vraća: VoteComment200Response
Primjer

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

getVotes 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | upit | Da | |
| urlId | string | upit | Da |
Odgovor
Vraća: GetVotes200Response
Primjer

getVotesForUser 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| urlId | string | query | Da | |
| userId | string | query | Ne | |
| anonUserId | string | query | Ne |
Odgovor
Vraća: GetVotesForUser200Response
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.