
Језик 🇲🇪 Српски (Црна Гора)
Увод
API референца
Документација
Аутентификација
Агрегација
Дневници ревизије
Блокирање по коментару
Провера блокираних коментара
Коментари
Конфигурације домена
Шаблони е-поште
Дневник догађаја
Објаве фида
Пријави коментар
Хештегови
Модератори
Број обавештења
Обавештења
Странице
Нерешени вебхукови догађаји
Конфигурације питања
Резултати питања
Агрегација резултата питања
SSO корисници
Претплате
Дневна употреба тенанта
Пакети тенанта
Тенант корисници
Тенанти
Отпреми слику
Напредак ознаке корисника
Ознаке корисника
Обавештења корисника
Статуси присуства корисника
Претрага корисника
Корисници
Гласови
FastComments PHP SDK
Ово је званични PHP SDK за FastComments.
Званични PHP SDK за FastComments API
Репозиторијум
Инсталација и употреба 
Захтеви
PHP 7.4 и новије. Требало би да ради и са PHP 8.0.
Composer
Да бисте инсталирали биндинге преко Composer, додајте следеће у composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/fastcomments/fastcomments-php.git"
}
],
"require": {
"fastcomments/fastcomments-php": "*@dev"
}
}
Затим покрените composer install
Ручна инсталација
Преузмите фајлове и укључите autoload.php:
<?php
require_once('/path/to/fastcomments/client/vendor/autoload.php');
Увод 
Молимо пратите процедуру инсталације и затим покрените следеће:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Конфигуришите ауторизацију API кључа: api_key
$config = FastComments\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Откоментирајте доле да бисте подесили префикс (нпр. Bearer) за API кључ, ако је потребно
// $config = FastComments\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');
$apiInstance = new FastComments\Client\Api\DefaultApi(
// Ако желите да користите прилагођен http клијент, проследите ваш клијент који имплементира `GuzzleHttp\ClientInterface`.
// Ово је опционално, `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 крајње тачке 
Сви URI-ови су релативни у односу на https://fastcomments.com
| Класа | Метод | HTTP захтев | Опис |
|---|---|---|---|
| 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 |
Модели 
- 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
Ауторизација 
Šeme autentifikacije definisane za API:
api_key
- Tip: API key
- Naziv parametra API key: x-api-key
- Lokacija: HTTP header
aggregate 
Агрегира документе групишући их (ако је groupBy наведeн) и примењући више операција. Подржане су различите операције (нпр. sum, countDistinct, avg итд.).
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| parentTenantId | string | query | Не | |
| includeStats | boolean | query | Не |
Одговор
Враћа: AggregationResponse
Пример

getAuditLogs 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| limit | number | query | Не | |
| skip | number | query | Не | |
| order | string | query | Не | |
| after | number | query | Не | |
| before | number | query | Не |
Одговор
Враћа: GetAuditLogs200Response
Пример

blockFromCommentPublic 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| commentId | string | path | Yes | |
| sso | string | query | No |
Одговор
Враћа: BlockFromCommentPublic200Response
Пример

unBlockCommentPublic 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| commentId | string | path | Да | |
| sso | string | query | Не |
Одговор
Враћа: UnBlockCommentPublic200Response
Пример

checkedCommentsForBlocked 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| commentIds | string | query | Da | Lista ID-eva komentara razdvojena zarezom. |
| 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
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| 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
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| contextUserId | string | query | Ne | |
| isLive | boolean | query | Ne |
Odgovor
Vraća: DeleteComment200Response
Primjer

deleteCommentPublic 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| commentId | string | path | Да | |
| broadcastId | string | query | Да | |
| editKey | string | query | Не | |
| sso | string | query | Не |
Одговор
Враћа: DeleteCommentPublic200Response
Пример

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

flagComment 
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

getComment 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: GetComment200Response
Пример

getComments 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| page | integer | query | Не | |
| limit | integer | query | Не | |
| skip | integer | query | Не | |
| asTree | boolean | query | Не | |
| skipChildren | integer | query | Не | |
| limitChildren | integer | query | Не | |
| maxTreeDepth | integer | query | Не | |
| urlId | string | query | Не | |
| userId | string | query | Не | |
| anonUserId | string | query | Не | |
| contextUserId | string | query | Не | |
| hashTag | string | query | Не | |
| parentId | string | query | Не | |
| direction | string | query | Не |
Одговор
Враћа: GetComments200Response
Пример

getCommentsPublic 
req tenantId urlId
Parameters
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| urlId | string | query | Да | |
| page | integer | query | Не | |
| direction | string | query | Не | |
| sso | string | query | Не | |
| skip | integer | query | Не | |
| skipChildren | integer | query | Не | |
| limit | integer | query | Не | |
| limitChildren | integer | query | Не | |
| countChildren | boolean | query | Не | |
| fetchPageForCommentId | string | query | Не | |
| includeConfig | boolean | query | Не | |
| countAll | boolean | query | Не | |
| includei10n | boolean | query | Не | |
| locale | string | query | Не | |
| modules | string | query | Не | |
| isCrawler | boolean | query | Не | |
| includeNotificationCount | boolean | query | Не | |
| asTree | boolean | query | Не | |
| maxTreeDepth | integer | query | Не | |
| useFullTranslationIds | boolean | query | Не | |
| parentId | string | query | Не | |
| searchText | string | query | Не | |
| hashTags | array | query | Не | |
| userId | string | query | Не | |
| customConfigStr | string | query | Не | |
| afterCommentId | string | query | Не | |
| beforeCommentId | string | query | Не |
Одговор
Враћа: GetCommentsPublic200Response
Пример

getCommentText 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| commentId | string | path | Да | |
| editKey | string | query | Не | |
| sso | string | query | Не |
Одговор
Враћа: GetCommentText200Response
Пример

getCommentVoteUserNames 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| commentId | string | path | Yes | |
| dir | integer | query | Yes | |
| sso | string | query | No |
Одговор
Враћа: GetCommentVoteUserNames200Response
Примјер

lockComment 
Параметри
| Име | Тип | Локација | Потребно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| commentId | string | path | Да | |
| broadcastId | string | query | Да | |
| sso | string | query | Не |
Одговор
Враћа: LockComment200Response
Пример

pinComment 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| commentId | string | path | Да | |
| broadcastId | string | query | Да | |
| sso | string | query | Не |
Одговор
Враћа: PinComment200Response
Пример

saveComment 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| isLive | boolean | query | Не | |
| doSpamCheck | boolean | query | Не | |
| sendEmails | boolean | query | Не | |
| populateNotifications | boolean | query | Не |
Одговор
Враћа: SaveComment200Response
Пример

saveCommentsBulk 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| isLive | boolean | query | Не | |
| doSpamCheck | boolean | query | Не | |
| sendEmails | boolean | query | Не | |
| populateNotifications | boolean | query | Не |
Одговор
Vraća: SaveComment200Response
Пример

setCommentText 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| commentId | string | path | Да | |
| broadcastId | string | query | Да | |
| editKey | string | query | Не | |
| sso | string | query | Не |
Одговор
Враћа: SetCommentText200Response
Пример

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

unFlagComment 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да | |
| userId | string | query | Не | |
| anonUserId | string | query | Не |
Одговор
Враћа: FlagComment200Response
Пример

unLockComment 
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
Primer

unPinComment 
Parametri
| Naziv | Type | Location | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | path | Da | |
| commentId | string | path | Da | |
| broadcastId | string | query | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: PinComment200Response
Primjer

updateComment 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да | |
| contextUserId | string | query | Не | |
| doSpamCheck | boolean | query | Не | |
| isLive | boolean | query | Не |
Одговор
Враћа: FlagCommentPublic200Response
Пример

voteComment 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| commentId | string | path | Да | |
| urlId | string | query | Да | |
| broadcastId | string | query | Да | |
| sessionId | string | query | Не | |
| sso | string | query | Не |
Одговор
Враћа: VoteComment200Response
Пример

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

deleteDomainConfig 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| domain | string | path | Да |
Одговор
Враћа: DeleteDomainConfig200Response
Пример

getDomainConfig 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| domain | string | path | Да |
Одговор
Враћа: GetDomainConfig200Response
Пример

getDomainConfigs 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да |
Одговор
Враћа: GetDomainConfigs200Response
Пример

patchDomainConfig 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| domainToUpdate | string | path | Да |
Одговор
Враћа: GetDomainConfig200Response
Пример

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

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

deleteEmailTemplate 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: FlagCommentPublic200Response
Пример

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

getEmailTemplate 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: GetEmailTemplate200Response
Пример

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

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

getEmailTemplates 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| skip | number | query | Не |
Одговор
Враћа: GetEmailTemplates200Response
Пример

renderEmailTemplate 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| locale | string | query | Не |
Одговор
Враћа: RenderEmailTemplate200Response
Пример

updateEmailTemplate 
Parametri
| Name | Type | Location | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

getEventLog 
req tenantId urlId userIdWS
Параметри
| Име | Тип | Локација | Потребно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| urlId | string | query | Да | |
| userIdWS | string | query | Да | |
| startTime | integer | query | Да | |
| endTime | integer | query | Да |
Одговор
Враћа: GetEventLog200Response
Пример

getGlobalEventLog 
req tenantId urlId userIdWS
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| urlId | string | query | Да | |
| userIdWS | string | query | Да | |
| startTime | integer | query | Да | |
| endTime | integer | query | Да |
Одговор
Враћа: GetEventLog200Response
Пример

createFeedPost 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| broadcastId | string | query | Не | |
| isLive | boolean | query | Не | |
| doSpamCheck | boolean | query | Не | |
| skipDupCheck | boolean | query | Не |
Одговор
Враћа: CreateFeedPost200Response
Пример

createFeedPostPublic 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| broadcastId | string | query | Не | |
| sso | string | query | Не |
Одговор
Враћа: CreateFeedPostPublic200Response
Пример

deleteFeedPostPublic 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| postId | string | path | Да | |
| broadcastId | string | query | Не | |
| sso | string | query | Не |
Одговор
Враћа: DeleteFeedPostPublic200Response
Пример

getFeedPosts 
req tenantId afterId
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| afterId | string | query | Не | |
| limit | integer | query | Не | |
| tags | array | query | Не |
Одговор
Враћа: GetFeedPosts200Response
Пример

getFeedPostsPublic 
req tenantId afterId
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| afterId | string | query | Не | |
| limit | integer | query | Не | |
| tags | array | query | Не | |
| sso | string | query | Не | |
| isCrawler | boolean | query | Не | |
| includeUserInfo | boolean | query | Не |
Одговор
Враћа: GetFeedPostsPublic200Response
Пример

getFeedPostsStats 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| postIds | array | query | Да | |
| sso | string | query | Не |
Одговор
Враћа: GetFeedPostsStats200Response
Пример

getUserReactsPublic 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| postIds | array | query | Не | |
| sso | string | query | Не |
Одговор
Враћа: GetUserReactsPublic200Response
Пример

reactFeedPostPublic 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| postId | string | path | Да | |
| isUndo | boolean | query | Не | |
| broadcastId | string | query | Не | |
| sso | string | query | Не |
Одговор
Враћа: ReactFeedPostPublic200Response
Пример

updateFeedPost 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: FlagCommentPublic200Response
Пример

updateFeedPostPublic 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| postId | string | path | Да | |
| broadcastId | string | query | Не | |
| sso | string | query | Не |
Одговор
Враћа: CreateFeedPostPublic200Response
Пример

flagCommentPublic 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| commentId | string | path | Да | |
| isFlagged | boolean | query | Да | |
| sso | string | query | Не |
Одговор
Враћа: FlagCommentPublic200Response
Пример

addHashTag 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Не |
Одговор
Враћа: AddHashTag200Response
Пример

addHashTagsBulk 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | No |
Одговор
Враћа: AddHashTagsBulk200Response
Примјер

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

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

patchHashTag 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tag | string | path | Да | |
| tenantId | string | query | Не |
Одговор
Враћа: PatchHashTag200Response
Пример

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

deleteModerator 
Параметри
| Назив | Type | Location | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да | |
| sendEmail | string | query | Не |
Одговор
Враћа: FlagCommentPublic200Response
Пример

getModerator 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: GetModerator200Response
Примјер

getModerators 
Параметри
| Име | Тип | Локација | Потребно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| skip | number | query | Не |
Одговор
Враћа: GetModerators200Response
Пример

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

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

deleteNotificationCount 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: FlagCommentPublic200Response
Пример

getCachedNotificationCount 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: GetCachedNotificationCount200Response
Пример

getNotificationCount 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| userId | string | query | Не | |
| urlId | string | query | Не | |
| fromCommentId | string | query | Не | |
| viewed | boolean | query | Не | |
| type | string | query | Не |
Одговор
Враћа: GetNotificationCount200Response
Пример

getNotifications 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| userId | string | query | Не | |
| urlId | string | query | Не | |
| fromCommentId | string | query | Не | |
| viewed | boolean | query | Не | |
| type | string | query | Не | |
| skip | number | query | Не |
Одговор
Враћа: GetNotifications200Response
Пример

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 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да |
Одговор
Враћа: AddPageAPIResponse
Пример

deletePage 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: DeletePageAPIResponse
Пример

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

getPages 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes |
Одговор
Враћа: GetPagesAPIResponse
Примјер

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

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

getPendingWebhookEventCount 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| commentId | string | query | Не | |
| externalId | string | query | Не | |
| eventType | string | query | Не | |
| type | string | query | Не | |
| domain | string | query | Не | |
| attemptCountGT | number | query | Не |
Одговор
Враћа: GetPendingWebhookEventCount200Response
Пример

getPendingWebhookEvents 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| commentId | string | query | Не | |
| externalId | string | query | Не | |
| eventType | string | query | Не | |
| type | string | query | Не | |
| domain | string | query | Не | |
| attemptCountGT | number | query | Не | |
| skip | number | query | Не |
Одговор
Враћа: GetPendingWebhookEvents200Response
Пример

createQuestionConfig 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да |
Одговор
Враћа: CreateQuestionConfig200Response
Пример

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

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

getQuestionConfigs 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| skip | number | query | Не |
Одговор
Враћа: GetQuestionConfigs200Response
Пример

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

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

deleteQuestionResult 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Odgovor
Vraća: FlagCommentPublic200Response
Primer

getQuestionResult 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: GetQuestionResult200Response
Пример

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 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: FlagCommentPublic200Response
Пример

aggregateQuestionResults 
Parametri
| 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 |
Odgovor
Vraća: AggregateQuestionResults200Response
Primjer

bulkAggregateQuestionResults 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| forceRecalculate | boolean | query | Не |
Одговор
Враћа: BulkAggregateQuestionResults200Response
Пример

combineCommentsWithQuestionResults 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| questionId | string | query | Не | |
| questionIds | array | query | Не | |
| urlId | string | query | Не | |
| startDate | string | query | Не | |
| forceRecalculate | boolean | query | Не | |
| minValue | number | query | Не | |
| maxValue | number | query | Не | |
| limit | number | query | Не |
Одговор
Враћа: CombineCommentsWithQuestionResults200Response
Пример

addSSOUser 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Yes |
Одговор
Враћа: AddSSOUserAPIResponse
Пример

deleteSSOUser 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да | |
| deleteComments | boolean | query | Не | |
| commentDeleteMode | string | query | Не |
Одговор
Враћа: DeleteSSOUserAPIResponse
Примјер

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

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

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

patchSSOUser 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да | |
| updateComments | boolean | query | Не |
Одговор
Враћа: PatchSSOUserAPIResponse
Пример

putSSOUser 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да | |
| updateComments | boolean | query | Не |
Одговор
Враћа: PutSSOUserAPIResponse
Примјер

createSubscription 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes |
Одговор
Враћа: CreateSubscriptionAPIResponse
Пример

deleteSubscription 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | упит | Да | |
| id | string | путања | Да | |
| userId | string | упит | Не |
Одговор
Враћа: DeleteSubscriptionAPIResponse
Пример

getSubscriptions 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| userId | string | query | Не |
Одговор
Враћа: GetSubscriptionsAPIResponse
Пример

getTenantDailyUsages 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| yearNumber | number | query | No | |
| monthNumber | number | query | No | |
| dayNumber | number | query | No | |
| skip | number | query | No |
Одговор
Враћа: GetTenantDailyUsages200Response
Пример

createTenantPackage 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да |
Одговор
Враћа: CreateTenantPackage200Response
Пример

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

getTenantPackage 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: GetTenantPackage200Response
Пример

getTenantPackages 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| skip | number | query | Не |
Одговор
Враћа: GetTenantPackages200Response
Пример

replaceTenantPackage 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Одговор
Враћа: FlagCommentPublic200Response
Пример

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

createTenantUser 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да |
Одговор
Враћа: CreateTenantUser200Response
Примјер

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

getTenantUser 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Одговор
Враћа: GetTenantUser200Response
Пример

getTenantUsers 
Параметри
| Име | Type | Location | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| skip | number | query | No |
Одговор
Враћа: GetTenantUsers200Response
Пример

replaceTenantUser 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да | |
| updateComments | string | query | Не |
Одговор
Враћа: FlagCommentPublic200Response
Пример

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

updateTenantUser 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да | |
| updateComments | string | query | Не |
Одговор
Враћа: FlagCommentPublic200Response
Пример

createTenant 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да |
Одговор
Враћа: CreateTenant200Response
Пример

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

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

getTenants 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| meta | string | query | Ne | |
| skip | number | query | Ne |
Odgovor
Vraća: GetTenants200Response
Primer

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

uploadImage 
Отпреми и промени величину слике
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| sizePreset | string | query | No | Пресет величине: "Default" (1000x1000px) or "CrossPlatform" (creates sizes for popular devices) |
| urlId | string | query | No | ID странице са које се врши отпремање, за конфигурацију |
Одговор
Враћа: UploadImageResponse
Пример

getUserBadgeProgressById 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: GetUserBadgeProgressById200Response
Пример

getUserBadgeProgressByUserId 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| userId | string | path | Да |
Одговор
Враћа: GetUserBadgeProgressById200Response
Примјер

getUserBadgeProgressList 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| userId | string | query | No | |
| limit | number | query | No | |
| skip | number | query | No |
Одговор
Враћа: GetUserBadgeProgressList200Response
Пример

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

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

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

getUserBadges 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| userId | string | query | Не | |
| badgeId | string | query | Не | |
| type | number | query | Не | |
| displayedOnComments | boolean | query | Не | |
| limit | number | query | Не | |
| skip | number | query | Не |
Одговор
Враћа: GetUserBadges200Response
Пример

updateUserBadge 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: UpdateUserBadge200Response
Пример

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

getUserNotifications 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| 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 | |
| sso | string | query | No |
Одговор
Враћа: GetUserNotifications200Response
Пример

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

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 
Омогућите или онемогућите обавештења за одређени коментар.
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| notificationId | string | path | Да | |
| optedInOrOut | string | path | Да | |
| commentId | string | query | Да | |
| sso | string | query | Не |
Одговор
Враћа: UpdateUserNotificationStatus200Response
Пример

updateUserNotificationPageSubscriptionStatus 
Omogući ili onemogući notifikacije za stranicu. Kada su korisnici pretplaćeni na stranicu, kreiraju se notifikacije za nove komentare prvog nivoa, i takođe
Parametri
| 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 |
Odgovor
Vraća: UpdateUserNotificationStatus200Response
Primjer

updateUserNotificationStatus 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| notificationId | string | path | Da | |
| newStatus | string | path | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: UpdateUserNotificationStatus200Response
Primjer

getUserPresenceStatuses 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| urlIdWS | string | query | Да | |
| userIds | string | query | Да |
Одговор
Враћа: GetUserPresenceStatuses200Response
Пример

searchUsers 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| urlId | string | query | Да | |
| usernameStartsWith | string | query | Да | |
| mentionGroupIds | array | query | Не | |
| sso | string | query | Не |
Одговор
Враћа: SearchUsers200Response
Пример

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

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

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

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

getVotesForUser 
Parametri
| Ime | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| urlId | string | query | Da | |
| userId | string | query | Ne | |
| anonUserId | string | query | Ne |
Odgovor
Vraća: GetVotesForUser200Response
Primjer

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