
Језик 🇲🇪 Српски (Црна Гора)
Почетак
API референца
Документација
Аутентификација
Агрегирање
Дневници ревизије
Блокирање из коментара
Провера блокираних коментара
Коментари
Конфигурације домена
Шаблони е-поште
Дневник догађаја
Објаве фида
Пријави коментар
Хештегови
Модератори
Број обавештења
Обавештења
Странице
Вебхук догађаји на чекању
Конфигурације питања
Резултати питања
Агрегација резултата питања
SSO корисници
Претплате
Дневна употреба тенанта
Пакети тенанта
Корисници тенанта
Тенанти
Тикети
Учитај слику
Напредак ознака корисника
Ознаке корисника
Обавештења корисника
Статуси присутности корисника
Претрага корисника
Корисници
Гласови
FastComments PHP SDK
Ово је званични PHP SDK за FastComments.
Званични PHP SDK за FastComments API
Репозиторијум
Инсталација и употреба 
Захтеви
PHP 7.4 и новије. Требало би да ради и са PHP 8.0.
Composer
Да бисте инсталирали биндинге преко Composer, додајте следеће у composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/fastcomments/fastcomments-php.git"
}
],
"require": {
"fastcomments/fastcomments-php": "*@dev"
}
}
Затим покрените composer install
Ручна инсталација
Преузмите фајлове и укључите autoload.php:
<?php
require_once('/path/to/fastcomments/client/vendor/autoload.php');
Почетак 
Молимо пратите процедуру инсталације и потом покрените следеће:
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: api_key
$config = FastComments\Client\Configuration::getDefaultConfiguration()->setApiKey('x-api-key', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = FastComments\Client\Configuration::getDefaultConfiguration()->setApiKeyPrefix('x-api-key', 'Bearer');
$apiInstance = new FastComments\Client\Api\DefaultApi(
// If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
// This is optional, `GuzzleHttp\Client` will be used as default.
new GuzzleHttp\Client(),
$config
);
$tenant_id = 'tenant_id_example'; // string
$add_domain_config_params = new \FastComments\Client\Model\AddDomainConfigParams(); // \FastComments\Client\Model\AddDomainConfigParams
try {
$result = $apiInstance->addDomainConfig($tenant_id, $add_domain_config_params);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling DefaultApi->addDomainConfig: ', $e->getMessage(), PHP_EOL;
}
API крајње тачке 
Сви URI-јеви су релативни у односу на https://fastcomments.com
| Класа | Метод | HTTP захтјев | Опис |
|---|---|---|---|
| DefaultApi | addDomainConfig | POST /api/v1/domain-configs | |
| DefaultApi | addHashTag | POST /api/v1/hash-tags | |
| DefaultApi | addHashTagsBulk | POST /api/v1/hash-tags/bulk | |
| DefaultApi | addPage | POST /api/v1/pages | |
| DefaultApi | addSSOUser | POST /api/v1/sso-users | |
| DefaultApi | aggregate | POST /api/v1/aggregate | |
| DefaultApi | aggregateQuestionResults | GET /api/v1/question-results-aggregation | |
| DefaultApi | blockUserFromComment | POST /api/v1/comments/{id}/block | |
| DefaultApi | bulkAggregateQuestionResults | POST /api/v1/question-results-aggregation/bulk | |
| DefaultApi | changeTicketState | PATCH /api/v1/tickets/{id}/state | |
| DefaultApi | combineCommentsWithQuestionResults | GET /api/v1/question-results-aggregation/combine/comments | |
| DefaultApi | createEmailTemplate | POST /api/v1/email-templates | |
| DefaultApi | createFeedPost | POST /api/v1/feed-posts | |
| DefaultApi | createModerator | POST /api/v1/moderators | |
| DefaultApi | createQuestionConfig | POST /api/v1/question-configs | |
| DefaultApi | createQuestionResult | POST /api/v1/question-results | |
| DefaultApi | createSubscription | POST /api/v1/subscriptions | |
| DefaultApi | createTenant | POST /api/v1/tenants | |
| DefaultApi | createTenantPackage | POST /api/v1/tenant-packages | |
| DefaultApi | createTenantUser | POST /api/v1/tenant-users | |
| DefaultApi | createTicket | POST /api/v1/tickets | |
| DefaultApi | createUserBadge | POST /api/v1/user-badges | |
| DefaultApi | createVote | POST /api/v1/votes | |
| DefaultApi | deleteComment | DELETE /api/v1/comments/{id} | |
| DefaultApi | deleteDomainConfig | DELETE /api/v1/domain-configs/{domain} | |
| DefaultApi | deleteEmailTemplate | DELETE /api/v1/email-templates/{id} | |
| DefaultApi | deleteEmailTemplateRenderError | DELETE /api/v1/email-templates/{id}/render-errors/{errorId} | |
| DefaultApi | deleteHashTag | DELETE /api/v1/hash-tags/{tag} | |
| DefaultApi | deleteModerator | DELETE /api/v1/moderators/{id} | |
| DefaultApi | deleteNotificationCount | DELETE /api/v1/notification-count/{id} | |
| DefaultApi | deletePage | DELETE /api/v1/pages/{id} | |
| DefaultApi | deletePendingWebhookEvent | DELETE /api/v1/pending-webhook-events/{id} | |
| DefaultApi | deleteQuestionConfig | DELETE /api/v1/question-configs/{id} | |
| DefaultApi | deleteQuestionResult | DELETE /api/v1/question-results/{id} | |
| DefaultApi | deleteSSOUser | DELETE /api/v1/sso-users/{id} | |
| DefaultApi | deleteSubscription | DELETE /api/v1/subscriptions/{id} | |
| DefaultApi | deleteTenant | DELETE /api/v1/tenants/{id} | |
| DefaultApi | deleteTenantPackage | DELETE /api/v1/tenant-packages/{id} | |
| DefaultApi | deleteTenantUser | DELETE /api/v1/tenant-users/{id} | |
| DefaultApi | deleteUserBadge | DELETE /api/v1/user-badges/{id} | |
| DefaultApi | deleteVote | DELETE /api/v1/votes/{id} | |
| DefaultApi | flagComment | POST /api/v1/comments/{id}/flag | |
| DefaultApi | getAuditLogs | GET /api/v1/audit-logs | |
| DefaultApi | getCachedNotificationCount | GET /api/v1/notification-count/{id} | |
| DefaultApi | getComment | GET /api/v1/comments/{id} | |
| DefaultApi | getComments | GET /api/v1/comments | |
| DefaultApi | getDomainConfig | GET /api/v1/domain-configs/{domain} | |
| DefaultApi | getDomainConfigs | GET /api/v1/domain-configs | |
| DefaultApi | getEmailTemplate | GET /api/v1/email-templates/{id} | |
| DefaultApi | getEmailTemplateDefinitions | GET /api/v1/email-templates/definitions | |
| DefaultApi | getEmailTemplateRenderErrors | GET /api/v1/email-templates/{id}/render-errors | |
| DefaultApi | getEmailTemplates | GET /api/v1/email-templates | |
| DefaultApi | getFeedPosts | GET /api/v1/feed-posts | |
| DefaultApi | getHashTags | GET /api/v1/hash-tags | |
| DefaultApi | getModerator | GET /api/v1/moderators/{id} | |
| DefaultApi | getModerators | GET /api/v1/moderators | |
| DefaultApi | getNotificationCount | GET /api/v1/notifications/count | |
| DefaultApi | getNotifications | GET /api/v1/notifications | |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPages | GET /api/v1/pages | |
| DefaultApi | getPendingWebhookEventCount | GET /api/v1/pending-webhook-events/count | |
| DefaultApi | getPendingWebhookEvents | GET /api/v1/pending-webhook-events | |
| DefaultApi | getQuestionConfig | GET /api/v1/question-configs/{id} | |
| DefaultApi | getQuestionConfigs | GET /api/v1/question-configs | |
| DefaultApi | getQuestionResult | GET /api/v1/question-results/{id} | |
| DefaultApi | getQuestionResults | GET /api/v1/question-results | |
| DefaultApi | getSSOUserByEmail | GET /api/v1/sso-users/by-email/{email} | |
| DefaultApi | getSSOUserById | GET /api/v1/sso-users/by-id/{id} | |
| DefaultApi | getSSOUsers | GET /api/v1/sso-users | |
| DefaultApi | getSubscriptions | GET /api/v1/subscriptions | |
| DefaultApi | getTenant | GET /api/v1/tenants/{id} | |
| DefaultApi | getTenantDailyUsages | GET /api/v1/tenant-daily-usage | |
| DefaultApi | getTenantPackage | GET /api/v1/tenant-packages/{id} | |
| DefaultApi | getTenantPackages | GET /api/v1/tenant-packages | |
| DefaultApi | getTenantUser | GET /api/v1/tenant-users/{id} | |
| DefaultApi | getTenantUsers | GET /api/v1/tenant-users | |
| DefaultApi | getTenants | GET /api/v1/tenants | |
| DefaultApi | getTicket | GET /api/v1/tickets/{id} | |
| DefaultApi | getTickets | GET /api/v1/tickets | |
| DefaultApi | getUser | GET /api/v1/users/{id} | |
| DefaultApi | getUserBadge | GET /api/v1/user-badges/{id} | |
| DefaultApi | getUserBadgeProgressById | GET /api/v1/user-badge-progress/{id} | |
| DefaultApi | getUserBadgeProgressByUserId | GET /api/v1/user-badge-progress/user/{userId} | |
| DefaultApi | getUserBadgeProgressList | GET /api/v1/user-badge-progress | |
| DefaultApi | getUserBadges | GET /api/v1/user-badges | |
| DefaultApi | getVotes | GET /api/v1/votes | |
| DefaultApi | getVotesForUser | GET /api/v1/votes/for-user | |
| DefaultApi | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | patchHashTag | PATCH /api/v1/hash-tags/{tag} | |
| DefaultApi | patchPage | PATCH /api/v1/pages/{id} | |
| DefaultApi | patchSSOUser | PATCH /api/v1/sso-users/{id} | |
| DefaultApi | putDomainConfig | PUT /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | putSSOUser | PUT /api/v1/sso-users/{id} | |
| DefaultApi | renderEmailTemplate | POST /api/v1/email-templates/render | |
| DefaultApi | replaceTenantPackage | PUT /api/v1/tenant-packages/{id} | |
| DefaultApi | replaceTenantUser | PUT /api/v1/tenant-users/{id} | |
| DefaultApi | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| DefaultApi | sendInvite | POST /api/v1/moderators/{id}/send-invite | |
| DefaultApi | sendLoginLink | POST /api/v1/tenant-users/{id}/send-login-link | |
| DefaultApi | unBlockUserFromComment | POST /api/v1/comments/{id}/un-block | |
| DefaultApi | unFlagComment | POST /api/v1/comments/{id}/un-flag | |
| DefaultApi | updateComment | PATCH /api/v1/comments/{id} | |
| DefaultApi | updateEmailTemplate | PATCH /api/v1/email-templates/{id} | |
| DefaultApi | updateFeedPost | PATCH /api/v1/feed-posts/{id} | |
| DefaultApi | updateModerator | PATCH /api/v1/moderators/{id} | |
| DefaultApi | updateNotification | PATCH /api/v1/notifications/{id} | |
| DefaultApi | updateQuestionConfig | PATCH /api/v1/question-configs/{id} | |
| DefaultApi | updateQuestionResult | PATCH /api/v1/question-results/{id} | |
| DefaultApi | updateSubscription | PATCH /api/v1/subscriptions/{id} | |
| DefaultApi | updateTenant | PATCH /api/v1/tenants/{id} | |
| DefaultApi | updateTenantPackage | PATCH /api/v1/tenant-packages/{id} | |
| DefaultApi | updateTenantUser | PATCH /api/v1/tenant-users/{id} | |
| DefaultApi | updateUserBadge | PUT /api/v1/user-badges/{id} | |
| 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 |
Модели 
- APIAuditLog
- APIComment
- APICommentBase
- APICommentBaseMeta
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIPage
- APISSOUser
- APIStatus
- APITenant
- APITenantDailyUsage
- APITicket
- APITicketDetail
- APITicketFile
- APIUserSubscription
- AddDomainConfig200Response
- AddDomainConfig200ResponseAnyOf
- AddDomainConfigParams
- AddHashTag200Response
- AddHashTagsBulk200Response
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AggregateQuestionResults200Response
- AggregateQuestionResultsResponse
- AggregateTimeBucket
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequestSort
- AggregationResponse
- AggregationResponseStats
- AggregationValue
- BillingInfo
- BlockFromCommentParams
- BlockFromCommentPublic200Response
- BlockSuccess
- BulkAggregateQuestionItem
- BulkAggregateQuestionResults200Response
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkCreateHashTagsBody
- BulkCreateHashTagsBodyTagsInner
- BulkCreateHashTagsResponse
- ChangeCommentPinStatusResponse
- ChangeTicketState200Response
- ChangeTicketStateBody
- ChangeTicketStateResponse
- CheckBlockedCommentsResponse
- CheckedCommentsForBlocked200Response
- CombineCommentsWithQuestionResults200Response
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentLogData
- CommentLogEntry
- CommentLogType
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CreateAPIPageData
- CreateAPISSOUserData
- CreateAPIUserSubscriptionData
- CreateCommentParams
- CreateCommentPublic200Response
- CreateEmailTemplate200Response
- CreateEmailTemplateBody
- CreateEmailTemplateResponse
- CreateFeedPost200Response
- CreateFeedPostParams
- CreateFeedPostPublic200Response
- CreateFeedPostResponse
- CreateFeedPostsResponse
- CreateHashTagBody
- CreateHashTagResponse
- CreateModerator200Response
- CreateModeratorBody
- CreateModeratorResponse
- CreateQuestionConfig200Response
- CreateQuestionConfigBody
- CreateQuestionConfigResponse
- CreateQuestionResult200Response
- CreateQuestionResultBody
- CreateQuestionResultResponse
- CreateSubscriptionAPIResponse
- CreateTenant200Response
- CreateTenantBody
- CreateTenantPackage200Response
- CreateTenantPackageBody
- CreateTenantPackageResponse
- CreateTenantResponse
- CreateTenantUser200Response
- CreateTenantUserBody
- CreateTenantUserResponse
- CreateTicket200Response
- CreateTicketBody
- CreateTicketResponse
- CreateUserBadge200Response
- CreateUserBadgeParams
- CustomConfigParameters
- CustomEmailTemplate
- DeleteComment200Response
- DeleteCommentAction
- DeleteCommentPublic200Response
- DeleteCommentResult
- DeleteCommentVote200Response
- DeleteDomainConfig200Response
- DeleteFeedPostPublic200Response
- DeleteFeedPostPublic200ResponseAnyOf
- DeleteHashTagRequest
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- DeletedCommentResultComment
- DigestEmailFrequency
- EmailTemplateDefinition
- EmailTemplateRenderErrorResponse
- EventLogEntry
- FComment
- FCommentMeta
- FeedPost
- FeedPostLink
- FeedPostMediaItem
- FeedPostMediaItemAsset
- FeedPostStats
- FeedPostsStatsResponse
- FindCommentsByRangeItem
- FindCommentsByRangeResponse
- FlagComment200Response
- FlagCommentPublic200Response
- FlagCommentResponse
- GetAuditLogs200Response
- GetAuditLogsResponse
- GetCachedNotificationCount200Response
- GetCachedNotificationCountResponse
- GetComment200Response
- GetCommentText200Response
- GetCommentVoteUserNames200Response
- GetCommentVoteUserNamesSuccessResponse
- GetComments200Response
- GetCommentsPublic200Response
- GetCommentsResponsePublicComment
- GetCommentsResponseWithPresencePublicComment
- GetDomainConfig200Response
- GetDomainConfigs200Response
- GetDomainConfigs200ResponseAnyOf
- GetDomainConfigs200ResponseAnyOf1
- GetEmailTemplate200Response
- GetEmailTemplateDefinitions200Response
- GetEmailTemplateDefinitionsResponse
- GetEmailTemplateRenderErrors200Response
- GetEmailTemplateRenderErrorsResponse
- GetEmailTemplateResponse
- GetEmailTemplates200Response
- GetEmailTemplatesResponse
- GetEventLog200Response
- GetEventLogResponse
- GetFeedPosts200Response
- GetFeedPostsPublic200Response
- GetFeedPostsResponse
- GetFeedPostsStats200Response
- GetHashTags200Response
- GetHashTagsResponse
- GetModerator200Response
- GetModeratorResponse
- GetModerators200Response
- GetModeratorsResponse
- GetMyNotificationsResponse
- GetNotificationCount200Response
- GetNotificationCountResponse
- GetNotifications200Response
- GetNotificationsResponse
- GetPageByURLIdAPIResponse
- GetPagesAPIResponse
- GetPendingWebhookEventCount200Response
- GetPendingWebhookEventCountResponse
- GetPendingWebhookEvents200Response
- GetPendingWebhookEventsResponse
- GetPublicFeedPostsResponse
- GetQuestionConfig200Response
- GetQuestionConfigResponse
- GetQuestionConfigs200Response
- GetQuestionConfigsResponse
- GetQuestionResult200Response
- GetQuestionResultResponse
- GetQuestionResults200Response
- GetQuestionResultsResponse
- GetSSOUserByEmailAPIResponse
- GetSSOUserByIdAPIResponse
- GetSSOUsers200Response
- GetSubscriptionsAPIResponse
- GetTenant200Response
- GetTenantDailyUsages200Response
- GetTenantDailyUsagesResponse
- GetTenantPackage200Response
- GetTenantPackageResponse
- GetTenantPackages200Response
- GetTenantPackagesResponse
- GetTenantResponse
- GetTenantUser200Response
- GetTenantUserResponse
- GetTenantUsers200Response
- GetTenantUsersResponse
- GetTenants200Response
- GetTenantsResponse
- GetTicket200Response
- GetTicketResponse
- GetTickets200Response
- GetTicketsResponse
- GetUser200Response
- GetUserBadge200Response
- GetUserBadgeProgressById200Response
- GetUserBadgeProgressList200Response
- GetUserBadges200Response
- GetUserNotificationCount200Response
- GetUserNotificationCountResponse
- GetUserNotifications200Response
- GetUserPresenceStatuses200Response
- GetUserPresenceStatusesResponse
- GetUserReactsPublic200Response
- GetUserResponse
- GetVotes200Response
- GetVotesForUser200Response
- GetVotesForUserResponse
- GetVotesResponse
- GifRating
- HeaderAccountNotification
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- ImportedSiteType
- LiveEvent
- LiveEventExtraInfo
- LiveEventType
- LockComment200Response
- MediaAsset
- MentionAutoCompleteMode
- MetaItem
- Moderator
- NotificationAndCount
- NotificationObjectType
- NotificationType
- PatchDomainConfigParams
- PatchHashTag200Response
- PatchPageAPIResponse
- PatchSSOUserAPIResponse
- PendingCommentToSyncOutbound
- PinComment200Response
- PubSubComment
- PubSubCommentBase
- PubSubVote
- PublicAPIDeleteCommentResponse
- PublicAPIGetCommentTextResponse
- PublicAPISetCommentTextResponse
- PublicBlockFromCommentParams
- PublicComment
- PublicCommentBase
- PublicFeedPostsResponse
- PublicVote
- PutSSOUserAPIResponse
- QueryPredicate
- QueryPredicateValue
- QuestionConfig
- QuestionConfigCustomOptionsInner
- QuestionDatum
- QuestionRenderingType
- QuestionResult
- QuestionResultAggregationOverall
- QuestionSubQuestionVisibility
- QuestionWhenSave
- ReactBodyParams
- ReactFeedPostPublic200Response
- ReactFeedPostResponse
- RecordStringBeforeStringOrNullAfterStringOrNullValue
- RecordStringStringOrNumberValue
- RenderEmailTemplate200Response
- RenderEmailTemplateBody
- RenderEmailTemplateResponse
- RenderableUserNotification
- RepeatCommentCheckIgnoredReason
- RepeatCommentHandlingAction
- ReplaceTenantPackageBody
- ReplaceTenantUserBody
- ResetUserNotifications200Response
- ResetUserNotificationsResponse
- SORTDIR
- SSOSecurityLevel
- SaveComment200Response
- SaveCommentResponse
- SaveCommentResponseOptimized
- SaveCommentsResponseWithPresence
- SearchUsers200Response
- SearchUsersResponse
- SearchUsersSectionedResponse
- SetCommentText200Response
- SetCommentTextResult
- SizePreset
- SortDirections
- SpamRule
- TOSConfig
- TenantHashTag
- TenantPackage
- UnBlockCommentPublic200Response
- UnBlockFromCommentParams
- UnblockSuccess
- UpdatableCommentParams
- UpdateAPIPageData
- UpdateAPISSOUserData
- UpdateAPIUserSubscriptionData
- UpdateDomainConfigParams
- UpdateEmailTemplateBody
- UpdateFeedPostParams
- UpdateHashTagBody
- UpdateHashTagResponse
- UpdateModeratorBody
- UpdateNotificationBody
- UpdateQuestionConfigBody
- UpdateQuestionResultBody
- UpdateSubscriptionAPIResponse
- UpdateTenantBody
- UpdateTenantPackageBody
- UpdateTenantUserBody
- UpdateUserBadge200Response
- UpdateUserBadgeParams
- UpdateUserNotificationStatus200Response
- UploadImageResponse
- User
- UserBadge
- UserBadgeProgress
- UserNotification
- UserNotificationCount
- UserNotificationWriteResponse
- UserPresenceData
- UserReactsResponse
- UserSearchResult
- UserSearchSection
- UserSearchSectionResult
- UserSessionInfo
- VoteBodyParams
- VoteComment200Response
- VoteDeleteResponse
- VoteResponse
- VoteResponseStatus
- VoteResponseUser
- VoteStyle
Ауторизација 
Šeme autentifikacije definisane za API:
api_key
- Tip: API key
- Naziv parametra API key: x-api-key
- Lokacija: HTTP header
Агрегирај 
Агрегира документе групишући их (ако је groupBy наведeн) и примењући више операција. Подржане су различите операције (нпр. sum, countDistinct, avg итд.).
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| parentTenantId | string | query | Не | |
| includeStats | boolean | query | Не |
Одговор
Враћа: AggregationResponse
Пример

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

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

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

Провери коментаре за блокиране 
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

Блокирај корисника (због коментара) 
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

Креирај јавни коментар 
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

Обриши коментар 
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

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

Обриши глас за коментар 
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

Пријави коментар 
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

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

Добиј коментаре 
Параметри
| 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
Пример

Добиј јавне коментаре 
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
Пример

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

Добиј имена корисника који су гласали за коментар 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| commentId | string | path | Yes | |
| dir | integer | query | Yes | |
| sso | string | query | No |
Одговор
Враћа: GetCommentVoteUserNames200Response
Примјер

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

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

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

Масовно сачувај коментаре 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| isLive | boolean | query | Не | |
| doSpamCheck | boolean | query | Не | |
| sendEmails | boolean | query | Не | |
| populateNotifications | boolean | query | Не |
Одговор
Vraća: SaveComment200Response
Пример

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

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

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

Откључај коментар 
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

Одкачи коментар 
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

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

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

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

Обриши конфигурацију домена 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| domain | string | path | Да |
Одговор
Враћа: DeleteDomainConfig200Response
Пример

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

Добиј конфигурације домена 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да |
Одговор
Враћа: GetDomainConfigs200Response
Пример

Делићно ажурирај конфигурацију домена 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| domainToUpdate | string | path | Да |
Одговор
Враћа: GetDomainConfig200Response
Пример

Постави конфигурацију домена 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| domainToUpdate | string | path | Yes |
Odgovor
Vraća: GetDomainConfig200Response
Primjer

Креирај шаблон е-поште 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: CreateEmailTemplate200Response
Primjer

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

Обриши грешку рендеровања шаблона е-поште 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| errorId | string | path | Da |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

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

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

Добиј грешке при рендеровању шаблона е-поште 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| skip | number | query | Ne |
Odgovor
Vraća: GetEmailTemplateRenderErrors200Response
Primjer

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

Рендеруј шаблон е-поште 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| locale | string | query | Не |
Одговор
Враћа: RenderEmailTemplate200Response
Пример

Ажурирај шаблон е-поште 
Parametri
| Name | Type | Location | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

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

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

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

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

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

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

Добиј јавне објаве фида 
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
Пример

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

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

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

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

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

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

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

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

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

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

Делићно ажурирај хештег 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tag | string | path | Да | |
| tenantId | string | query | Не |
Одговор
Враћа: PatchHashTag200Response
Пример

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

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

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

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

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

Ажурирај модератора 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

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

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

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

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

Ажурирај обавештење 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| userId | string | query | Ne |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

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

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

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

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

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

Обриши вебхук догађај на чекању 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: FlagCommentPublic200Response
Primer

Добиј број вебхук догађаја на чекању 
Параметри
| 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
Пример

Добиј вебхук догађаје на чекању 
Параметри
| Име | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| 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
Пример

Креирај конфигурацију питања 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да |
Одговор
Враћа: CreateQuestionConfig200Response
Пример

Обриши конфигурацију питања 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: FlagCommentPublic200Response
Primer

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

Добиј конфигурације питања 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| skip | number | query | Не |
Одговор
Враћа: GetQuestionConfigs200Response
Пример

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

Креирај резултат питања 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da |
Odgovor
Vraća: CreateQuestionResult200Response
Primjer

Обриши резултат питања 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Odgovor
Vraća: FlagCommentPublic200Response
Primer

Добиј резултат питања 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: GetQuestionResult200Response
Пример

Добиј резултате питања 
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

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

Агрегирај резултате питања 
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

Масовно агрегирај резултате питања 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| forceRecalculate | boolean | query | Не |
Одговор
Враћа: BulkAggregateQuestionResults200Response
Пример

Комбинуј коментаре са резултатима питања 
Параметри
| Назив | Тип | Локација | Обавезно | Опис |
|---|---|---|---|---|
| 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
Пример

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

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

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

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

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

Делићно ажурирај SSO корисника 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да | |
| updateComments | boolean | query | Не |
Одговор
Враћа: PatchSSOUserAPIResponse
Пример

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

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

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

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

Ажурирај претплату 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| userId | string | query | Ne |
Odgovor
Vraća: UpdateSubscriptionAPIResponse
Primjer

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

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

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

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

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

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

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

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

Обриши корисника тенанта 
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

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

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

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

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

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

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

Обриши тенанта 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da | |
| sure | string | query | Ne |
Odgovor
Vraća: FlagCommentPublic200Response
Primjer

Добиј тенанта 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: GetTenant200Response
Primjer

Добиј тенанте 
Parametri
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| meta | string | query | Ne | |
| skip | number | query | Ne |
Odgovor
Vraća: GetTenants200Response
Primer

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

Промени стање тикета 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| userId | string | query | Da | |
| id | string | path | Da |
Odgovor
Vraća: ChangeTicketState200Response
Primjer

Креирај тикет 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| userId | string | query | Da |
Odgovor
Vraća: CreateTicket200Response
Primjer

Добиј тикет 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да | |
| userId | string | query | Не |
Одговор
Враћа: GetTicket200Response
Примјер

Добиј тикете 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| userId | string | query | Не | |
| state | number | query | Не | |
| skip | number | query | Не | |
| limit | number | query | Не |
Одговор
Враћа: GetTickets200Response
Пример

Учитај слику 
Отпреми и промени величину слике
Параметри
| 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
Пример

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

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

Добиј листу напредака ознака корисника 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| userId | string | query | No | |
| limit | number | query | No | |
| skip | number | query | No |
Одговор
Враћа: GetUserBadgeProgressList200Response
Пример

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

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

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

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

Ажурирај ознаку корисника 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Да | |
| id | string | path | Да |
Одговор
Враћа: UpdateUserBadge200Response
Пример

Добиј број обавештења корисника 
Parametri
| Naziv | Tip | Lokacija | Obavezno | Opis |
|---|---|---|---|---|
| tenantId | string | query | Da | |
| sso | string | query | Ne |
Odgovor
Vraća: GetUserNotificationCount200Response
Primjer

Добиј обавештења корисника 
Параметри
| 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
Пример

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

Ресетуј обавештења корисника 
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

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

Ажурирај статус претплате корисника на обавештења о страници 
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

Ажурирај статус обавештења корисника 
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

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

Претражи кориснике 
Параметри
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Да | |
| urlId | string | query | Да | |
| usernameStartsWith | string | query | Не | |
| mentionGroupIds | array | query | Не | |
| sso | string | query | Не | |
| searchSection | string | query | Не |
Одговор
Враћа: SearchUsers200Response
Пример

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

Креирај глас 
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

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

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

Добиј гласове за корисника 
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.