
Idioma 🇧🇷 Português (Brasil)
Primeiros passos
Referência da API
Documentação
Autenticação
Agregação
Logs de Auditoria
Bloqueio por Comentário
Verificar Comentários Bloqueados
Comentários
Configurações de Domínio
Modelos de E-mail
Log de Eventos
Publicações do Feed
Marcar Comentário
Hashtags
Moderadores
Contagem de Notificações
Notificações
Páginas
Eventos de Webhook Pendentes
Configurações de Perguntas
Resultados de Perguntas
Agregação de Resultados de Perguntas
Usuários SSO
Assinaturas
Uso Diário do Tenant
Pacotes do Tenant
Usuários do Tenant
Tenants
Enviar Imagem
Progresso de Distintivo do Usuário
Distintivos de Usuário
Notificações do Usuário
Status de Presença do Usuário
Busca de Usuários
Usuários
Votos
FastComments PHP SDK
Este é o SDK oficial em PHP para o FastComments.
SDK oficial em PHP para a API do FastComments
Repositório
Instalação e Uso 
Requisitos
PHP 7.4 ou posterior. Também deve funcionar com PHP 8.0.
Composer
Para instalar os bindings via Composer, adicione o seguinte em composer.json:
{
"repositories": [
{
"type": "vcs",
"url": "https://github.com/fastcomments/fastcomments-php.git"
}
],
"require": {
"fastcomments/fastcomments-php": "*@dev"
}
}
Em seguida, execute composer install
Instalação Manual
Faça o download dos arquivos e inclua autoload.php:
<?php
require_once('/path/to/fastcomments/client/vendor/autoload.php');
Primeiros passos 
Siga o procedimento de instalação e então execute o seguinte:
<?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;
}
Endpoints da API 
Todas as URIs são relativas a https://fastcomments.com
| Classe | Método | Requisição HTTP | Descrição |
|---|---|---|---|
| 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 |
Modelos 
- 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
Autorização 
Esquemas de autenticação definidos para a API:
api_key
- Tipo: Chave de API
- Nome do parâmetro da chave de API: x-api-key
- Localização: cabeçalho HTTP
aggregate 
Agrega documentos agrupando-os (se groupBy for fornecido) e aplicando múltiplas operações. Diferentes operações (por exemplo sum, countDistinct, avg, etc.) são suportadas.
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| parentTenantId | string | query | Não | |
| includeStats | boolean | query | Não |
Resposta
Retorna: AggregationResponse
Exemplo

getAuditLogs 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| limit | number | query | Não | |
| skip | number | query | Não | |
| order | string | query | Não | |
| after | number | query | Não | |
| before | number | query | Não |
Resposta
Retorna: GetAuditLogs200Response
Exemplo

blockFromCommentPublic 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| commentId | string | path | Sim | |
| sso | string | query | Não |
Resposta
Retorna: BlockFromCommentPublic200Response
Exemplo

unBlockCommentPublic 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| commentId | string | path | Sim | |
| sso | string | query | Não |
Resposta
Retorna: UnBlockCommentPublic200Response
Exemplo

checkedCommentsForBlocked 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| commentIds | string | query | Sim | Uma lista separada por vírgulas de IDs de comentário. |
| sso | string | query | Não |
Resposta
Retorna: CheckedCommentsForBlocked200Response
Exemplo

blockUserFromComment 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| userId | string | query | Não | |
| anonUserId | string | query | Não |
Resposta
Retorna: BlockFromCommentPublic200Response
Exemplo

createCommentPublic 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| urlId | string | query | Sim | |
| broadcastId | string | query | Sim | |
| sessionId | string | query | Não | |
| sso | string | query | Não |
Resposta
Retorna: CreateCommentPublic200Response
Exemplo

deleteComment 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| contextUserId | string | query | Não | |
| isLive | boolean | query | Não |
Resposta
Retorna: DeleteComment200Response
Exemplo

deleteCommentPublic 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| commentId | string | path | Sim | |
| broadcastId | string | query | Sim | |
| editKey | string | query | Não | |
| sso | string | query | Não |
Resposta
Retorna: DeleteCommentPublic200Response
Exemplo

deleteCommentVote 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| commentId | string | path | Sim | |
| voteId | string | path | Sim | |
| urlId | string | query | Sim | |
| broadcastId | string | query | Sim | |
| editKey | string | query | Não | |
| sso | string | query | Não |
Resposta
Retorna: DeleteCommentVote200Response
Exemplo

flagComment 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes | |
| userId | string | query | No | |
| anonUserId | string | query | No |
Resposta
Retorna: FlagComment200Response
Exemplo

getComment 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: GetComment200Response
Exemplo

getComments 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| page | integer | query | Não | |
| limit | integer | query | Não | |
| skip | integer | query | Não | |
| asTree | boolean | query | Não | |
| skipChildren | integer | query | Não | |
| limitChildren | integer | query | Não | |
| maxTreeDepth | integer | query | Não | |
| urlId | string | query | Não | |
| userId | string | query | Não | |
| anonUserId | string | query | Não | |
| contextUserId | string | query | Não | |
| hashTag | string | query | Não | |
| parentId | string | query | Não | |
| direction | string | query | Não |
Resposta
Retorna: GetComments200Response
Exemplo

getCommentsPublic 
req tenantId urlId
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Yes | |
| urlId | string | query | Yes | |
| page | integer | query | No | |
| direction | string | query | No | |
| sso | string | query | No | |
| skip | integer | query | No | |
| skipChildren | integer | query | No | |
| limit | integer | query | No | |
| limitChildren | integer | query | No | |
| countChildren | boolean | query | No | |
| fetchPageForCommentId | string | query | No | |
| includeConfig | boolean | query | No | |
| countAll | boolean | query | No | |
| includei10n | boolean | query | No | |
| locale | string | query | No | |
| modules | string | query | No | |
| isCrawler | boolean | query | No | |
| includeNotificationCount | boolean | query | No | |
| asTree | boolean | query | No | |
| maxTreeDepth | integer | query | No | |
| useFullTranslationIds | boolean | query | No | |
| parentId | string | query | No | |
| searchText | string | query | No | |
| hashTags | array | query | No | |
| userId | string | query | No | |
| customConfigStr | string | query | No | |
| afterCommentId | string | query | No | |
| beforeCommentId | string | query | No |
Resposta
Retorna: GetCommentsPublic200Response
Exemplo

getCommentText 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| commentId | string | path | Sim | |
| editKey | string | query | Não | |
| sso | string | query | Não |
Resposta
Retorna: GetCommentText200Response
Exemplo

getCommentVoteUserNames 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| commentId | string | path | Sim | |
| dir | integer | query | Sim | |
| sso | string | query | Não |
Resposta
Retorna: GetCommentVoteUserNames200Response
Exemplo

lockComment 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| commentId | string | path | Sim | |
| broadcastId | string | query | Sim | |
| sso | string | query | Não |
Resposta
Retorna: LockComment200Response
Exemplo

pinComment 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| commentId | string | path | Sim | |
| broadcastId | string | query | Sim | |
| sso | string | query | Não |
Resposta
Retorna: PinComment200Response
Exemplo

saveComment 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| isLive | boolean | query | Não | |
| doSpamCheck | boolean | query | Não | |
| sendEmails | boolean | query | Não | |
| populateNotifications | boolean | query | Não |
Resposta
Retorna: SaveComment200Response
Exemplo

saveCommentsBulk 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| isLive | boolean | query | Não | |
| doSpamCheck | boolean | query | Não | |
| sendEmails | boolean | query | Não | |
| populateNotifications | boolean | query | Não |
Resposta
Retorna: SaveComment200Response
Exemplo

setCommentText 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| commentId | string | path | Sim | |
| broadcastId | string | query | Sim | |
| editKey | string | query | Não | |
| sso | string | query | Não |
Resposta
Retorna: SetCommentText200Response
Exemplo

unBlockUserFromComment 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| userId | string | query | Não | |
| anonUserId | string | query | Não |
Resposta
Retorna: UnBlockCommentPublic200Response
Exemplo

unFlagComment 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| userId | string | query | Não | |
| anonUserId | string | query | Não |
Resposta
Retorna: FlagComment200Response
Exemplo

unLockComment 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| commentId | string | path | Sim | |
| broadcastId | string | query | Sim | |
| sso | string | query | Não |
Resposta
Retorna: LockComment200Response
Exemplo

unPinComment 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| commentId | string | path | Sim | |
| broadcastId | string | query | Sim | |
| sso | string | query | Não |
Resposta
Retorna: PinComment200Response
Exemplo

updateComment 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| contextUserId | string | query | Não | |
| doSpamCheck | boolean | query | Não | |
| isLive | boolean | query | Não |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

voteComment 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| commentId | string | path | Sim | |
| urlId | string | query | Sim | |
| broadcastId | string | query | Sim | |
| sessionId | string | query | Não | |
| sso | string | query | Não |
Resposta
Retorna: VoteComment200Response
Exemplo

addDomainConfig 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: AddDomainConfig200Response
Exemplo

deleteDomainConfig 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| domain | string | path | Yes |
Resposta
Retorna: DeleteDomainConfig200Response
Exemplo

getDomainConfig 
Parâmetros
| Nome | Tipo | Location | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| domain | string | path | Sim |
Resposta
Retorna: GetDomainConfig200Response
Exemplo

getDomainConfigs 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Response
Retorna: GetDomainConfigs200Response
Exemplo

patchDomainConfig 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| domainToUpdate | string | path | Sim |
Resposta
Retorna: GetDomainConfig200Response
Exemplo

putDomainConfig 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| domainToUpdate | string | path | Sim |
Resposta
Retorna: GetDomainConfig200Response
Exemplo

createEmailTemplate 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: CreateEmailTemplate200Response
Exemplo

deleteEmailTemplate 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

deleteEmailTemplateRenderError 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| errorId | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

getEmailTemplate 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: GetEmailTemplate200Response
Exemplo

getEmailTemplateDefinitions 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: GetEmailTemplateDefinitions200Response
Exemplo

getEmailTemplateRenderErrors 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| skip | number | query | Não |
Resposta
Retorna: GetEmailTemplateRenderErrors200Response
Exemplo

getEmailTemplates 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| skip | number | query | Não |
Resposta
Retorna: GetEmailTemplates200Response
Exemplo

renderEmailTemplate 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| locale | string | query | Não |
Resposta
Retorna: RenderEmailTemplate200Response
Exemplo

updateEmailTemplate 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

getEventLog 
req tenantId urlId userIdWS
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| urlId | string | query | Sim | |
| userIdWS | string | query | Sim | |
| startTime | integer | query | Sim | |
| endTime | integer | query | Sim |
Resposta
Retorna: GetEventLog200Response
Exemplo

getGlobalEventLog 
req tenantId urlId userIdWS
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| urlId | string | query | Sim | |
| userIdWS | string | query | Sim | |
| startTime | integer | query | Sim | |
| endTime | integer | query | Sim |
Resposta
Retorna: GetEventLog200Response
Exemplo

createFeedPost 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| broadcastId | string | query | Não | |
| isLive | boolean | query | Não | |
| doSpamCheck | boolean | query | Não | |
| skipDupCheck | boolean | query | Não |
Resposta
Retorna: CreateFeedPost200Response
Exemplo

createFeedPostPublic 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| broadcastId | string | query | Não | |
| sso | string | query | Não |
Resposta
Retorna: CreateFeedPostPublic200Response
Exemplo

deleteFeedPostPublic 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| postId | string | path | Sim | |
| broadcastId | string | query | Não | |
| sso | string | query | Não |
Resposta
Retorna: DeleteFeedPostPublic200Response
Exemplo

getFeedPosts 
req tenantId afterId
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| afterId | string | query | Não | |
| limit | integer | query | Não | |
| tags | array | query | Não |
Resposta
Retorna: GetFeedPosts200Response
Exemplo

getFeedPostsPublic 
req tenantId afterId
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| afterId | string | query | Não | |
| limit | integer | query | Não | |
| tags | array | query | Não | |
| sso | string | query | Não | |
| isCrawler | boolean | query | Não | |
| includeUserInfo | boolean | query | Não |
Resposta
Retorna: GetFeedPostsPublic200Response
Exemplo

getFeedPostsStats 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| postIds | array | query | Sim | |
| sso | string | query | Não |
Resposta
Retorna: GetFeedPostsStats200Response
Exemplo

getUserReactsPublic 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | caminho | Sim | |
| postIds | array | consulta | Não | |
| sso | string | consulta | Não |
Resposta
Retorna: GetUserReactsPublic200Response
Exemplo

reactFeedPostPublic 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| postId | string | path | Sim | |
| isUndo | boolean | query | Não | |
| broadcastId | string | query | Não | |
| sso | string | query | Não |
Resposta
Retorna: ReactFeedPostPublic200Response
Exemplo

updateFeedPost 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

updateFeedPostPublic 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| postId | string | path | Sim | |
| broadcastId | string | query | Não | |
| sso | string | query | Não |
Resposta
Retorna: CreateFeedPostPublic200Response
Exemplo

flagCommentPublic 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| commentId | string | path | Sim | |
| isFlagged | boolean | query | Sim | |
| sso | string | query | Não |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

addHashTag 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Não |
Resposta
Retorna: AddHashTag200Response
Exemplo

addHashTagsBulk 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | No |
Resposta
Retorna: AddHashTagsBulk200Response
Exemplo

deleteHashTag 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tag | string | path | Sim | |
| tenantId | string | query | Não |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

getHashTags 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| page | number | query | Não |
Resposta
Retorna: GetHashTags200Response
Exemplo

patchHashTag 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tag | string | path | Sim | |
| tenantId | string | query | Não |
Resposta
Retorna: PatchHashTag200Response
Exemplo

createModerator 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: CreateModerator200Response
Exemplo

deleteModerator 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| sendEmail | string | query | Não |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

getModerator 
Parameters
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Response
Retorna: GetModerator200Response
Exemplo

getModerators 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| skip | number | query | Não |
Resposta
Retorna: GetModerators200Response
Exemplo

sendInvite 
Parâmetros
| Nome | Tipo | Location | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| fromName | string | query | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

updateModerator 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

deleteNotificationCount 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

getCachedNotificationCount 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: GetCachedNotificationCount200Response
Exemplo

getNotificationCount 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| userId | string | query | Não | |
| urlId | string | query | Não | |
| fromCommentId | string | query | Não | |
| viewed | boolean | query | Não | |
| type | string | query | Não |
Resposta
Retorna: GetNotificationCount200Response
Exemplo

getNotifications 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| userId | string | query | Não | |
| urlId | string | query | Não | |
| fromCommentId | string | query | Não | |
| viewed | boolean | query | Não | |
| type | string | query | Não | |
| skip | number | query | Não |
Resposta
Retorna: GetNotifications200Response
Exemplo

updateNotification 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| userId | string | query | Não |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

addPage 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: AddPageAPIResponse
Exemplo

deletePage 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: DeletePageAPIResponse
Exemplo

getPageByURLId 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| urlId | string | query | Sim |
Resposta
Retorna: GetPageByURLIdAPIResponse
Exemplo

getPages 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: GetPagesAPIResponse
Exemplo

patchPage 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: PatchPageAPIResponse
Exemplo

deletePendingWebhookEvent 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

getPendingWebhookEventCount 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| commentId | string | query | Não | |
| externalId | string | query | Não | |
| eventType | string | query | Não | |
| type | string | query | Não | |
| domain | string | query | Não | |
| attemptCountGT | number | query | Não |
Resposta
Retorna: GetPendingWebhookEventCount200Response
Exemplo

getPendingWebhookEvents 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| commentId | string | query | Não | |
| externalId | string | query | Não | |
| eventType | string | query | Não | |
| type | string | query | Não | |
| domain | string | query | Não | |
| attemptCountGT | number | query | Não | |
| skip | number | query | Não |
Resposta
Retorna: GetPendingWebhookEvents200Response
Exemplo

createQuestionConfig 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: CreateQuestionConfig200Response
Exemplo

deleteQuestionConfig 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

getQuestionConfig 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: GetQuestionConfig200Response
Exemplo

getQuestionConfigs 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| skip | number | query | Não |
Resposta
Retorna: GetQuestionConfigs200Response
Exemplo

updateQuestionConfig 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

createQuestionResult 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: CreateQuestionResult200Response
Exemplo

deleteQuestionResult 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

getQuestionResult 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: GetQuestionResult200Response
Exemplo

getQuestionResults 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| urlId | string | query | Não | |
| userId | string | query | Não | |
| startDate | string | query | Não | |
| questionId | string | query | Não | |
| questionIds | string | query | Não | |
| skip | number | query | Não |
Resposta
Retorna: GetQuestionResults200Response
Exemplo

updateQuestionResult 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

aggregateQuestionResults 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| questionId | string | query | Não | |
| questionIds | array | query | Não | |
| urlId | string | query | Não | |
| timeBucket | string | query | Não | |
| startDate | string | query | Não | |
| forceRecalculate | boolean | query | Não |
Resposta
Retorna: AggregateQuestionResults200Response
Exemplo

bulkAggregateQuestionResults 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| forceRecalculate | boolean | query | Não |
Resposta
Retorna: BulkAggregateQuestionResults200Response
Exemplo

combineCommentsWithQuestionResults 
Parâmetros
| Nome | Type | Location | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| questionId | string | query | Não | |
| questionIds | array | query | Não | |
| urlId | string | query | Não | |
| startDate | string | query | Não | |
| forceRecalculate | boolean | query | Não | |
| minValue | number | query | Não | |
| maxValue | number | query | Não | |
| limit | number | query | Não |
Resposta
Retorna: CombineCommentsWithQuestionResults200Response
Exemplo

addSSOUser 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: AddSSOUserAPIResponse
Exemplo

deleteSSOUser 
Parâmetros
| Nome | Type | Location | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| deleteComments | boolean | query | Não | |
| commentDeleteMode | string | query | Não |
Resposta
Retorna: DeleteSSOUserAPIResponse
Exemplo

getSSOUserByEmail 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| string | path | Sim |
Resposta
Retorna: GetSSOUserByEmailAPIResponse
Exemplo

getSSOUserById 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: GetSSOUserByIdAPIResponse
Exemplo

getSSOUsers 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| skip | integer | query | Não |
Resposta
Retorna: GetSSOUsers200Response
Exemplo

patchSSOUser 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| updateComments | boolean | query | Não |
Resposta
Retorna: PatchSSOUserAPIResponse
Exemplo

putSSOUser 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| updateComments | boolean | query | Não |
Resposta
Retorna: PutSSOUserAPIResponse
Exemplo

createSubscription 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: CreateSubscriptionAPIResponse
Exemplo

deleteSubscription 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| userId | string | query | Não |
Resposta
Retorna: DeleteSubscriptionAPIResponse
Exemplo

getSubscriptions 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| userId | string | query | Não |
Resposta
Retorna: GetSubscriptionsAPIResponse
Exemplo

getTenantDailyUsages 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| yearNumber | number | query | Não | |
| monthNumber | number | query | Não | |
| dayNumber | number | query | Não | |
| skip | number | query | Não |
Resposta
Retorna: GetTenantDailyUsages200Response
Exemplo

createTenantPackage 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: CreateTenantPackage200Response
Exemplo

deleteTenantPackage 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| id | string | path | Yes |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

getTenantPackage 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: GetTenantPackage200Response
Exemplo

getTenantPackages 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| skip | number | query | Não |
Resposta
Retorna: GetTenantPackages200Response
Exemplo

replaceTenantPackage 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

updateTenantPackage 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

createTenantUser 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: CreateTenantUser200Response
Exemplo

deleteTenantUser 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| deleteComments | string | query | Não | |
| commentDeleteMode | string | query | Não |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

getTenantUser 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: GetTenantUser200Response
Exemplo

getTenantUsers 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| skip | number | query | Não |
Resposta
Retorna: GetTenantUsers200Response
Exemplo

replaceTenantUser 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| updateComments | string | query | Não |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

sendLoginLink 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| redirectURL | string | query | Não |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

updateTenantUser 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| updateComments | string | query | Não |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

createTenant 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: CreateTenant200Response
Exemplo

deleteTenant 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| sure | string | query | Não |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

getTenant 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: GetTenant200Response
Exemplo

getTenants 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| meta | string | query | Não | |
| skip | number | query | Não |
Resposta
Retorna: GetTenants200Response
Exemplo

updateTenant 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: FlagCommentPublic200Response
Exemplo

uploadImage 
Enviar e redimensionar uma imagem
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | caminho | Sim | |
| sizePreset | string | consulta | Não | Predefinição de tamanho: "Default" (1000x1000px) ou "CrossPlatform" (cria tamanhos para dispositivos populares) |
| urlId | string | consulta | Não | ID da página de onde o upload está sendo realizado, para configuração |
Resposta
Retorna: UploadImageResponse
Exemplo

getUserBadgeProgressById 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: GetUserBadgeProgressById200Response
Exemplo

getUserBadgeProgressByUserId 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| userId | string | path | Sim |
Resposta
Retorna: GetUserBadgeProgressById200Response
Exemplo

getUserBadgeProgressList 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| userId | string | query | Não | |
| limit | number | query | Não | |
| skip | number | query | Não |
Resposta
Retorna: GetUserBadgeProgressList200Response
Exemplo

createUserBadge 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim |
Resposta
Retorna: CreateUserBadge200Response
Exemplo

deleteUserBadge 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: UpdateUserBadge200Response
Exemplo

getUserBadge 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: GetUserBadge200Response
Exemplo

getUserBadges 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| userId | string | query | Não | |
| badgeId | string | query | Não | |
| type | number | query | Não | |
| displayedOnComments | boolean | query | Não | |
| limit | number | query | Não | |
| skip | number | query | Não |
Resposta
Retorna: GetUserBadges200Response
Exemplo

updateUserBadge 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: UpdateUserBadge200Response
Exemplo

getUserNotificationCount 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| sso | string | query | Não |
Resposta
Retorna: GetUserNotificationCount200Response
Exemplo

getUserNotifications 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| pageSize | integer | query | Não | |
| afterId | string | query | Não | |
| includeContext | boolean | query | Não | |
| afterCreatedAt | integer | query | Não | |
| unreadOnly | boolean | query | Não | |
| dmOnly | boolean | query | Não | |
| noDm | boolean | query | Não | |
| includeTranslations | boolean | query | Não | |
| sso | string | query | Não |
Resposta
Retorna: GetUserNotifications200Response
Exemplo

resetUserNotificationCount 
Parâmetros
| Nome | Tipo | Local | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| sso | string | query | Não |
Resposta
Retorna: ResetUserNotifications200Response
Exemplo

resetUserNotifications 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Yes | |
| afterId | string | query | No | |
| afterCreatedAt | integer | query | No | |
| unreadOnly | boolean | query | No | |
| dmOnly | boolean | query | No | |
| noDm | boolean | query | No | |
| sso | string | query | No |
Resposta
Retorna: ResetUserNotifications200Response
Exemplo

updateUserNotificationCommentSubscriptionStatus 
Ativar ou desativar notificações para um comentário específico.
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| notificationId | string | path | Sim | |
| optedInOrOut | string | path | Sim | |
| commentId | string | query | Sim | |
| sso | string | query | Não |
Resposta
Retorna: UpdateUserNotificationStatus200Response
Exemplo

updateUserNotificationPageSubscriptionStatus 
Ativar ou desativar notificações para uma página. Quando usuários estão inscritos em uma página, notificações são criadas para novos comentários raiz, e também
Parameters
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| urlId | string | query | Sim | |
| url | string | query | Sim | |
| pageTitle | string | query | Sim | |
| subscribedOrUnsubscribed | string | path | Sim | |
| sso | string | query | Não |
Response
Retorna: UpdateUserNotificationStatus200Response
Exemplo

updateUserNotificationStatus 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| notificationId | string | path | Sim | |
| newStatus | string | path | Sim | |
| sso | string | query | Não |
Resposta
Retorna: UpdateUserNotificationStatus200Response
Exemplo

getUserPresenceStatuses 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| urlIdWS | string | query | Sim | |
| userIds | string | query | Sim |
Resposta
Retorna: GetUserPresenceStatuses200Response
Exemplo

searchUsers 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | path | Sim | |
| urlId | string | query | Sim | |
| usernameStartsWith | string | query | Sim | |
| mentionGroupIds | array | query | Não | |
| sso | string | query | Não |
Resposta
Retorna: SearchUsers200Response
Exemplo

getUser 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim |
Resposta
Retorna: GetUser200Response
Exemplo

createVote 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| commentId | string | query | Sim | |
| direction | string | query | Sim | |
| userId | string | query | Não | |
| anonUserId | string | query | Não |
Resposta
Retorna: VoteComment200Response
Exemplo

deleteVote 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| id | string | path | Sim | |
| editKey | string | query | Não |
Resposta
Retorna: DeleteCommentVote200Response
Exemplo

getVotes 
Parâmetros
| Name | Type | Location | Required | Description |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| urlId | string | query | Sim |
Resposta
Retorna: GetVotes200Response
Exemplo

getVotesForUser 
Parâmetros
| Nome | Tipo | Localização | Obrigatório | Descrição |
|---|---|---|---|---|
| tenantId | string | query | Sim | |
| urlId | string | query | Sim | |
| userId | string | query | Não | |
| anonUserId | string | query | Não |
Resposta
Retorna: GetVotesForUser200Response
Exemplo

Precisa de ajuda?
Se você encontrar algum problema ou tiver dúvidas sobre o SDK PHP, por favor:
Contribuindo
Contribuições são bem-vindas! Por favor, visite o repositório do GitHub para as diretrizes de contribuição.