
Język 🇵🇱 Polski
Dokumentacja
Pierwsze kroki
Referencja API
Użycie
Agregacja
Dzienniki audytu
Blokowanie z komentarza
Sprawdź zablokowane komentarze
Komentarze
Konfiguracje domen
Szablony e-mail
Dziennik zdarzeń
Wpisy kanału
Zgłoś komentarz
Hasztagi
Moderatorzy
Licznik powiadomień
Powiadomienia
Strony
Oczekujące zdarzenia webhook
Konfiguracje pytań
Wyniki pytań
Agregacja wyników pytań
Użytkownicy SSO
Subskrypcje
Dzienne użycie najemcy
Pakiety najemcy
Użytkownicy najemcy
Najemcy
Zgłoszenia
Przesyłanie obrazu
Postęp odznak użytkownika
Odznaki użytkownika
Powiadomienia użytkownika
Status obecności użytkownika
Wyszukiwanie użytkowników
Użytkownicy
Głosy
FastComments Nim SDK
To jest oficjalny SDK Nim dla FastComments.
Oficjalny SDK Nim dla API FastComments
Repozytorium
Instalacja 
Korzystanie z Nimble
nimble install fastcomments
Budowanie ze źródeł
nimble build
Zawartość biblioteki
Ta biblioteka zawiera wygenerowanego klienta API oraz narzędzia SSO, które ułatwiają pracę z API.
Publiczne vs Zabezpieczone API
Dla klienta API istnieją dwa moduły API, api_default i api_public. api_default zawiera metody, które wymagają Twojego klucza API, a api_public zawiera wywołania API, które można wykonywać bezpośrednio z przeglądarki/urządzenia mobilnego itp. bez uwierzytelniania.
Szybki start 
Używanie uwierzytelnionych API (DefaultAPI)
Ważne: Uwierzytelnione endpointy wymagają ustawienia klucza API jako nagłówka x-api-key.
import httpclient
import fastcomments
import fastcomments/apis/api_default
import fastcomments/models/model_comment_data
let client = newHttpClient()
client.headers["x-api-key"] = "your-api-key"
# Wykonaj uwierzytelnione wywołania API
let (response, httpResponse) = getComments(
httpClient = client,
tenantId = "your-tenant-id",
page = 0,
limit = 0,
skip = 0,
asTree = false,
skipChildren = 0,
limitChildren = 0,
maxTreeDepth = 0,
urlId = "your-url-id",
userId = "",
anonUserId = "",
contextUserId = "",
hashTag = "",
parentId = "",
direction = SortDirections.DESC
)
if response.isSome:
let resp = response.get()
if resp.comments.isSome:
echo "Found ", resp.comments.get().len, " comments"
Używanie publicznych API (PublicAPI)
Publiczne endpointy nie wymagają uwierzytelnienia:
import httpclient
import fastcomments
import fastcomments/apis/api_public
let client = newHttpClient()
# Wykonaj publiczne wywołania API
let (response, httpResponse) = getCommentsPublic(
httpClient = client,
tenantId = "your-tenant-id",
urlId = "your-url-id",
page = 0,
direction = SortDirections.DESC,
sso = "",
skip = 0,
skipChildren = 0,
limit = 0,
limitChildren = 0,
countChildren = false,
fetchPageForCommentId = "",
includeConfig = false,
countAll = false,
includei10n = false,
locale = "",
modules = "",
isCrawler = false,
includeNotificationCount = false,
asTree = false,
maxTreeDepth = 0,
useFullTranslationIds = false,
parentId = "",
searchText = "",
hashTags = @[],
userId = "",
customConfigStr = "",
afterCommentId = "",
beforeCommentId = ""
)
if response.isSome:
let resp = response.get()
if resp.comments.isSome:
echo "Found ", resp.comments.get().len, " comments"
Typowe problemy
- 401 authentication error: Upewnij się, że ustawiłeś nagłówek
x-api-keyna swoim HttpClient przed wykonywaniem żądań DefaultAPI:client.headers["x-api-key"] = "your-api-key" - Wrong API class: Użyj
api_defaultdla uwierzytelnionych żądań po stronie serwera,api_publicdla żądań po stronie klienta/publicznych.
Wywoływanie API 
Wszystkie metody API w tym SDK zwracają krotki (Option[ResponseType], Response). Pierwszy element zawiera sparsowaną odpowiedź w przypadku powodzenia, a drugi element to surowa odpowiedź HTTP.
Przykład: Pobieranie komentarzy
import httpclient
import options
import fastcomments
import fastcomments/apis/api_default
let client = newHttpClient()
client.headers["x-api-key"] = "your-api-key"
let (response, httpResponse) = getComments(
httpClient = client,
tenantId = "your-tenant-id",
page = 0,
limit = 0,
skip = 0,
asTree = false,
skipChildren = 0,
limitChildren = 0,
maxTreeDepth = 0,
urlId = "your-url-id",
userId = "",
anonUserId = "",
contextUserId = "",
hashTag = "",
parentId = "",
direction = SortDirections.DESC
)
if httpResponse.code == Http200:
if response.isSome:
let resp = response.get()
if resp.comments.isSome:
echo "Found ", resp.comments.get().len, " comments"
Uwagi 
Identyfikatory Broadcast
Zauważysz, że w niektórych wywołaniach API należy przekazać broadcastId. Gdy otrzymasz zdarzenia, otrzymasz ten identyfikator z powrotem, dzięki czemu będziesz wiedzieć, aby zignorować zdarzenie, jeśli planujesz optymistycznie zastosować zmiany po stronie klienta
(co prawdopodobnie zechcesz zrobić, ponieważ zapewnia to najlepsze wrażenia). Przekaż tutaj UUID. Identyfikator powinien być na tyle unikalny, by nie wystąpić dwukrotnie w sesji przeglądarki.
SSO (Logowanie jednokrotne)
Przykłady SSO znajdują się poniżej.
Użycie SSO 
Proste SSO
import fastcomments/sso
let user = newSimpleSSOUserData(
userId = "user-123",
email = "user@example.com",
avatar = "https://example.com/avatar.jpg"
)
let sso = newSimple(simpleUserData = user)
let token = sso.createToken()
echo "SSO Token: ", token
Bezpieczne SSO
import fastcomments/sso
let user = newSecureSSOUserData(
userId = "user-123",
email = "user@example.com",
username = "johndoe",
avatar = "https://example.com/avatar.jpg"
)
let apiKey = "your-api-key"
let sso = newSecure(apiKey = apiKey, secureUserData = user)
let token = sso.createToken()
echo "Secure SSO Token: ", token
Dokumentacja FastComments 
Dokumentacja punktów końcowych API
Wszystkie URI są względne względem https://fastcomments.com
| Klasa | Metoda | Żądanie HTTP | Opis |
|---|---|---|---|
| DefaultApi | addDomainConfig | POST /api/v1/domain-configs | |
| DefaultApi | addHashTag | POST /api/v1/hash-tags | |
| DefaultApi | addHashTagsBulk | POST /api/v1/hash-tags/bulk | |
| DefaultApi | addPage | POST /api/v1/pages | |
| DefaultApi | addSSOUser | POST /api/v1/sso-users | |
| DefaultApi | aggregate | POST /api/v1/aggregate | Agreguje dokumenty poprzez ich grupowanie (jeśli groupBy jest podany) i zastosowanie wielu operacji. Obsługiwane są różne operacje (np. sum, countDistinct, avg itp.). |
| 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 | req tenantId afterId |
| 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} | req tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | req tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | req tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | req tenantId urlId userIdWS |
| 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} | Włącz lub wyłącz powiadomienia dla określonego komentarza. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Włącz lub wyłącz powiadomienia dla strony. Gdy użytkownicy subskrybują stronę, powiadomienia są tworzone dla nowych rootowych komentarzy, a także |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Prześlij i zmień rozmiar obrazu |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Dokumentacja modeli
- APIAuditLog
- APIComment
- APICommentBase
- APICommentBase_meta
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIPage
- APISSOUser
- APIStatus
- APITenant
- APITenantDailyUsage
- APITicket
- APITicketDetail
- APITicketFile
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfig_200_response
- AddDomainConfig_200_response_anyOf
- AddHashTag_200_response
- AddHashTagsBulk_200_response
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AggregateQuestionResultsResponse
- AggregateQuestionResults_200_response
- AggregateTimeBucket
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- BillingInfo
- BlockFromCommentParams
- BlockFromCommentPublic_200_response
- BlockSuccess
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkAggregateQuestionResults_200_response
- BulkCreateHashTagsBody
- BulkCreateHashTagsBody_tags_inner
- BulkCreateHashTagsResponse
- ChangeCommentPinStatusResponse
- ChangeTicketStateBody
- ChangeTicketStateResponse
- ChangeTicketState_200_response
- CheckBlockedCommentsResponse
- CheckedCommentsForBlocked_200_response
- CombineCommentsWithQuestionResults_200_response
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentLogData
- CommentLogEntry
- CommentLogType
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CreateAPIPageData
- CreateAPISSOUserData
- CreateAPIUserSubscriptionData
- CreateCommentParams
- CreateCommentPublic_200_response
- CreateEmailTemplateBody
- CreateEmailTemplateResponse
- CreateEmailTemplate_200_response
- CreateFeedPostParams
- CreateFeedPostPublic_200_response
- CreateFeedPostResponse
- CreateFeedPost_200_response
- CreateFeedPostsResponse
- CreateHashTagBody
- CreateHashTagResponse
- CreateModeratorBody
- CreateModeratorResponse
- CreateModerator_200_response
- CreateQuestionConfigBody
- CreateQuestionConfigResponse
- CreateQuestionConfig_200_response
- CreateQuestionResultBody
- CreateQuestionResultResponse
- CreateQuestionResult_200_response
- CreateSubscriptionAPIResponse
- CreateTenantBody
- CreateTenantPackageBody
- CreateTenantPackageResponse
- CreateTenantPackage_200_response
- CreateTenantResponse
- CreateTenantUserBody
- CreateTenantUserResponse
- CreateTenantUser_200_response
- CreateTenant_200_response
- CreateTicketBody
- CreateTicketResponse
- CreateTicket_200_response
- CreateUserBadgeParams
- CreateUserBadge_200_response
- CustomConfigParameters
- CustomEmailTemplate
- DeleteCommentAction
- DeleteCommentPublic_200_response
- DeleteCommentResult
- DeleteCommentVote_200_response
- DeleteComment_200_response
- DeleteDomainConfig_200_response
- DeleteFeedPostPublic_200_response
- DeleteFeedPostPublic_200_response_anyOf
- DeleteHashTag_request
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- DeletedCommentResultComment
- DigestEmailFrequency
- EmailTemplateDefinition
- EmailTemplateRenderErrorResponse
- EventLogEntry
- FComment
- FComment_meta
- FeedPost
- FeedPostLink
- FeedPostMediaItem
- FeedPostMediaItemAsset
- FeedPostStats
- FeedPostsStatsResponse
- FindCommentsByRangeItem
- FindCommentsByRangeResponse
- FlagCommentPublic_200_response
- FlagCommentResponse
- FlagComment_200_response
- GetAuditLogsResponse
- GetAuditLogs_200_response
- GetCachedNotificationCountResponse
- GetCachedNotificationCount_200_response
- GetCommentText_200_response
- GetCommentVoteUserNamesSuccessResponse
- GetCommentVoteUserNames_200_response
- GetComment_200_response
- GetCommentsPublic_200_response
- GetCommentsResponseWithPresence_PublicComment_
- GetCommentsResponse_PublicComment_
- GetComments_200_response
- GetDomainConfig_200_response
- GetDomainConfigs_200_response
- GetDomainConfigs_200_response_anyOf
- GetDomainConfigs_200_response_anyOf_1
- GetEmailTemplateDefinitionsResponse
- GetEmailTemplateDefinitions_200_response
- GetEmailTemplateRenderErrorsResponse
- GetEmailTemplateRenderErrors_200_response
- GetEmailTemplateResponse
- GetEmailTemplate_200_response
- GetEmailTemplatesResponse
- GetEmailTemplates_200_response
- GetEventLogResponse
- GetEventLog_200_response
- GetFeedPostsPublic_200_response
- GetFeedPostsResponse
- GetFeedPostsStats_200_response
- GetFeedPosts_200_response
- GetHashTagsResponse
- GetHashTags_200_response
- GetModeratorResponse
- GetModerator_200_response
- GetModeratorsResponse
- GetModerators_200_response
- GetMyNotificationsResponse
- GetNotificationCountResponse
- GetNotificationCount_200_response
- GetNotificationsResponse
- GetNotifications_200_response
- GetPageByURLIdAPIResponse
- GetPagesAPIResponse
- GetPendingWebhookEventCountResponse
- GetPendingWebhookEventCount_200_response
- GetPendingWebhookEventsResponse
- GetPendingWebhookEvents_200_response
- GetPublicFeedPostsResponse
- GetQuestionConfigResponse
- GetQuestionConfig_200_response
- GetQuestionConfigsResponse
- GetQuestionConfigs_200_response
- GetQuestionResultResponse
- GetQuestionResult_200_response
- GetQuestionResultsResponse
- GetQuestionResults_200_response
- GetSSOUserByEmailAPIResponse
- GetSSOUserByIdAPIResponse
- GetSSOUsers_200_response
- GetSubscriptionsAPIResponse
- GetTenantDailyUsagesResponse
- GetTenantDailyUsages_200_response
- GetTenantPackageResponse
- GetTenantPackage_200_response
- GetTenantPackagesResponse
- GetTenantPackages_200_response
- GetTenantResponse
- GetTenantUserResponse
- GetTenantUser_200_response
- GetTenantUsersResponse
- GetTenantUsers_200_response
- GetTenant_200_response
- GetTenantsResponse
- GetTenants_200_response
- GetTicketResponse
- GetTicket_200_response
- GetTicketsResponse
- GetTickets_200_response
- GetUserBadgeProgressById_200_response
- GetUserBadgeProgressList_200_response
- GetUserBadge_200_response
- GetUserBadges_200_response
- GetUserNotificationCountResponse
- GetUserNotificationCount_200_response
- GetUserNotifications_200_response
- GetUserPresenceStatusesResponse
- GetUserPresenceStatuses_200_response
- GetUserReactsPublic_200_response
- GetUserResponse
- GetUser_200_response
- GetVotesForUserResponse
- GetVotesForUser_200_response
- GetVotesResponse
- GetVotes_200_response
- GifRating
- HeaderAccountNotification
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- [ImportedSiteType](https://github.com/FastComments/fastcomments-nim/blob/master/docs/Models/ImportedSite
Agreguj 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| aggregationRequest | AggregationRequest | Nie | |
| parentTenantId | string | Nie | |
| includeStats | bool | Nie |
Odpowiedź
Zwraca: Option[AggregationResponse]
Przykład

Pobierz dzienniki audytu 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| limit | float64 | Nie | |
| skip | float64 | Nie | |
| order | SORTDIR | Nie | |
| after | float64 | Nie | |
| before | float64 | Nie |
Odpowiedź
Zwraca: Option[GetAuditLogs_200_response]
Przykład

Zablokuj z publicznego komentarza 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[BlockFromCommentPublic_200_response]
Przykład

Odblokuj komentarz publiczny 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[UnBlockCommentPublic_200_response]
Przykład

Sprawdź komentarze pod kątem zablokowania 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentIds | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[CheckedCommentsForBlocked_200_response]
Przykład

Zablokuj użytkownika z komentarza 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| blockFromCommentParams | BlockFromCommentParams | Nie | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: Option[BlockFromCommentPublic_200_response]
Przykład

Utwórz komentarz publiczny 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak | |
| broadcastId | string | Nie | |
| commentData | CommentData | Nie | |
| sessionId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[CreateCommentPublic_200_response]
Przykład

Usuń komentarz 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| contextUserId | string | Nie | |
| isLive | bool | Nie |
Odpowiedź
Zwraca: Option[DeleteComment_200_response]
Przykład

Usuń komentarz publiczny 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| broadcastId | string | Nie | |
| editKey | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[DeleteCommentPublic_200_response]
Przykład

Usuń głos na komentarzu 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| voteId | string | Nie | |
| urlId | string | Tak | |
| broadcastId | string | Nie | |
| editKey | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[DeleteCommentVote_200_response]
Przykład

Zgłoś komentarz 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: Option[FlagComment_200_response]
Przykład

Pobierz komentarz 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetComment_200_response]
Przykład

Pobierz komentarze 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| page | int | Nie | |
| limit | int | Nie | |
| skip | int | Nie | |
| asTree | bool | Nie | |
| skipChildren | int | Nie | |
| limitChildren | int | Nie | |
| maxTreeDepth | int | Nie | |
| urlId | string | Tak | |
| userId | string | Nie | |
| anonUserId | string | Nie | |
| contextUserId | string | Nie | |
| hashTag | string | Nie | |
| parentId | string | Nie | |
| direction | SortDirections | Nie |
Odpowiedź
Zwraca: Option[GetComments_200_response]
Przykład

Pobierz komentarze publiczne 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak | |
| page | int | Nie | |
| direction | SortDirections | Nie | |
| sso | string | Nie | |
| skip | int | Nie | |
| skipChildren | int | Nie | |
| limit | int | Nie | |
| limitChildren | int | Nie | |
| countChildren | bool | Nie | |
| fetchPageForCommentId | string | Nie | |
| includeConfig | bool | Nie | |
| countAll | bool | Nie | |
| includei10n | bool | Nie | |
| locale | string | Nie | |
| modules | string | Nie | |
| isCrawler | bool | Nie | |
| includeNotificationCount | bool | Nie | |
| asTree | bool | Nie | |
| maxTreeDepth | int | Nie | |
| useFullTranslationIds | bool | Nie | |
| parentId | string | Nie | |
| searchText | string | Nie | |
| hashTags | seq[string] | Nie | |
| userId | string | Nie | |
| customConfigStr | string | Nie | |
| afterCommentId | string | Nie | |
| beforeCommentId | string | Nie |
Odpowiedź
Zwraca: Option[GetCommentsPublic_200_response]
Przykład

Pobierz tekst komentarza 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| editKey | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[GetCommentText_200_response]
Przykład

Pobierz nazwy użytkowników głosujących na komentarz 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| dir | int | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[GetCommentVoteUserNames_200_response]
Przykład

Zablokuj komentarz 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| broadcastId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[LockComment_200_response]
Przykład

Przypnij komentarz 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| broadcastId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[PinComment_200_response]
Przykład

Zapisz komentarz 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createCommentParams | CreateCommentParams | Nie | |
| isLive | bool | Nie | |
| doSpamCheck | bool | Nie | |
| sendEmails | bool | Nie | |
| populateNotifications | bool | Nie |
Odpowiedź
Zwraca: Option[SaveComment_200_response]
Przykład

Zapisz komentarze zbiorczo 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createCommentParams | seq[CreateCommentParams] | Nie | |
| isLive | bool | Nie | |
| doSpamCheck | bool | Nie | |
| sendEmails | bool | Nie | |
| populateNotifications | bool): (Option[seq[SaveComment_200_response]] | Nie | |
| id | string | Nie | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Nie | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: Option[UnBlockCommentPublic_200_response]
Przykład

Ustaw tekst komentarza 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| broadcastId | string | Nie | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Nie | |
| editKey | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[SetCommentText_200_response]
Przykład

Odblokuj użytkownika z komentarza 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Nie | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: Option[UnBlockCommentPublic_200_response]
Przykład

Cofnij zgłoszenie komentarza 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: Option[FlagComment_200_response]
Przykład

Odblokuj komentarz 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| broadcastId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[LockComment_200_response]
Przykład

Usuń przypięcie komentarza 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| broadcastId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[PinComment_200_response]
Przykład

Zaktualizuj komentarz 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updatableCommentParams | UpdatableCommentParams | Nie | |
| contextUserId | string | Nie | |
| doSpamCheck | bool | Nie | |
| isLive | bool | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Zagłosuj na komentarz 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| urlId | string | Tak | |
| broadcastId | string | Nie | |
| voteBodyParams | VoteBodyParams | Nie | |
| sessionId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[VoteComment_200_response]
Przykład

Dodaj konfigurację domeny 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| addDomainConfigParams | AddDomainConfigParams | Nie |
Odpowiedź
Zwraca: Option[AddDomainConfig_200_response]
Przykład

Usuń konfigurację domeny 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| domain | string | Nie |
Odpowiedź
Zwraca: Option[DeleteDomainConfig_200_response]
Przykład

Pobierz konfigurację domeny 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| domain | string | Nie |
Odpowiedź
Zwraca: Option[GetDomainConfig_200_response]
Przykład

Pobierz konfiguracje domen 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak |
Odpowiedź
Zwraca: Option[GetDomainConfigs_200_response]
Przykład

Zmień konfigurację domeny 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| domainToUpdate | string | Nie | |
| patchDomainConfigParams | PatchDomainConfigParams | Nie |
Odpowiedź
Zwraca: Option[GetDomainConfig_200_response]
Przykład

Zastąp konfigurację domeny 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| domainToUpdate | string | Nie | |
| updateDomainConfigParams | UpdateDomainConfigParams | Nie |
Odpowiedź
Zwraca: Option[GetDomainConfig_200_response]
Przykład

Utwórz szablon e-mail 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createEmailTemplateBody | CreateEmailTemplateBody | Nie |
Odpowiedź
Zwraca: Option[CreateEmailTemplate_200_response]
Przykład

Usuń szablon e-mail 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Usuń błąd renderowania szablonu e-mail 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| errorId | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Pobierz szablon e-mail 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetEmailTemplate_200_response]
Przykład

Pobierz definicje szablonów e-mail 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak |
Odpowiedź
Zwraca: Option[GetEmailTemplateDefinitions_200_response]
Przykład

Pobierz błędy renderowania szablonów e-mail 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetEmailTemplateRenderErrors_200_response]
Przykład

Pobierz szablony e-mail 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetEmailTemplates_200_response]
Przykład

Renderuj szablon e-mail 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Nie | |
| locale | string | Nie |
Odpowiedź
Zwraca: Option[RenderEmailTemplate_200_response]
Przykład

Zaktualizuj szablon e-mail 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Pobierz dziennik zdarzeń 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak | |
| userIdWS | string | Nie | |
| startTime | int64 | Nie | |
| endTime | int64 | Nie |
Odpowiedź
Zwraca: Option[GetEventLog_200_response]
Przykład

Pobierz globalny dziennik zdarzeń 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak | |
| userIdWS | string | Nie | |
| startTime | int64 | Nie | |
| endTime | int64 | Nie |
Odpowiedź
Zwraca: Option[GetEventLog_200_response]
Przykład

Utwórz wpis w kanale 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createFeedPostParams | CreateFeedPostParams | Nie | |
| broadcastId | string | Nie | |
| isLive | bool | Nie | |
| doSpamCheck | bool | Nie | |
| skipDupCheck | bool | Nie |
Odpowiedź
Zwraca: Option[CreateFeedPost_200_response]
Przykład

Utwórz publiczny wpis w kanale 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createFeedPostParams | CreateFeedPostParams | Nie | |
| broadcastId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[CreateFeedPostPublic_200_response]
Przykład

Usuń publiczny wpis w kanale 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| postId | string | Nie | |
| broadcastId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[DeleteFeedPostPublic_200_response]
Przykład

Pobierz wpisy kanału 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| afterId | string | Nie | |
| limit | int | Nie | |
| tags | seq[string] | Nie |
Odpowiedź
Zwraca: Option[GetFeedPosts_200_response]
Przykład

Pobierz publiczne wpisy kanału 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| afterId | string | Nie | |
| limit | int | Nie | |
| tags | seq[string] | Nie | |
| sso | string | Nie | |
| isCrawler | bool | Nie | |
| includeUserInfo | bool | Nie |
Odpowiedź
Zwraca: Option[GetFeedPostsPublic_200_response]
Przykład

Pobierz statystyki wpisów kanału 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| postIds | seq[string] | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[GetFeedPostsStats_200_response]
Przykład

Pobierz publiczne reakcje użytkowników 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| postIds | seq[string] | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[GetUserReactsPublic_200_response]
Przykład

Zareaguj na publiczny wpis kanału 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| postId | string | Nie | |
| reactBodyParams | ReactBodyParams | Nie | |
| isUndo | bool | Nie | |
| broadcastId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[ReactFeedPostPublic_200_response]
Przykład

Zaktualizuj wpis kanału 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| feedPost | FeedPost | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Zaktualizuj publiczny wpis kanału 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| postId | string | Nie | |
| updateFeedPostParams | UpdateFeedPostParams | Nie | |
| broadcastId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[CreateFeedPostPublic_200_response]
Przykład

Zgłoś komentarz publiczny 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| isFlagged | bool | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Dodaj hasztag 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createHashTagBody | CreateHashTagBody | Nie |
Odpowiedź
Zwraca: Option[AddHashTag_200_response]
Przykład

Dodaj hasztagi zbiorczo 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Nie |
Odpowiedź
Zwraca: Option[AddHashTagsBulk_200_response]
Przykład

Usuń hasztag 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tag | string | Nie | |
| tenantId | string | Tak | |
| deleteHashTagRequest | DeleteHashTagRequest | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Pobierz hasztagi 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| page | float64 | Nie |
Odpowiedź
Zwraca: Option[GetHashTags_200_response]
Przykład

Zmień hasztag 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tag | string | Nie | |
| tenantId | string | Tak | |
| updateHashTagBody | UpdateHashTagBody | Nie |
Odpowiedź
Zwraca: Option[PatchHashTag_200_response]
Przykład

Utwórz moderatora 
Parameters
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createModeratorBody | CreateModeratorBody | Nie |
Odpowiedź
Zwraca: Option[CreateModerator_200_response]
Przykład

Usuń moderatora 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| sendEmail | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Pobierz moderatora 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetModerator_200_response]
Przykład

Pobierz moderatorów 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetModerators_200_response]
Przykład

Zaktualizuj moderatora 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateModeratorBody | UpdateModeratorBody | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Usuń licznik powiadomień 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Pobierz zbuforowany licznik powiadomień 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetCachedNotificationCount_200_response]
Przykład

Pobierz licznik powiadomień 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie | |
| urlId | string | Tak | |
| fromCommentId | string | Nie | |
| viewed | bool | Nie |
Odpowiedź
Zwraca: Option[GetNotificationCount_200_response]
Przykład

Pobierz powiadomienia 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie | |
| urlId | string | Tak | |
| fromCommentId | string | Nie | |
| viewed | bool | Nie | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetNotifications_200_response]
Przykład

Zaktualizuj powiadomienie 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateNotificationBody | UpdateNotificationBody | Nie | |
| userId | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Dodaj stronę 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createAPIPageData | CreateAPIPageData | Nie |
Odpowiedź
Zwraca: Option[AddPageAPIResponse]
Przykład

Usuń stronę 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[DeletePageAPIResponse]
Przykład

Pobierz stronę po URL/ID 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak |
Odpowiedź
Zwraca: Option[GetPageByURLIdAPIResponse]
Przykład

Pobierz strony 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak |
Odpowiedź
Zwraca: Option[GetPagesAPIResponse]
Przykład

Zmień stronę (PATCH) 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateAPIPageData | UpdateAPIPageData | Nie |
Odpowiedź
Zwraca: Option[PatchPageAPIResponse]
Przykład

Usuń oczekujące zdarzenie webhook 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Pobierz liczbę oczekujących zdarzeń webhook 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| externalId | string | Nie | |
| eventType | string | Nie | |
| domain | string | Nie | |
| attemptCountGT | float64 | Nie |
Odpowiedź
Zwraca: Option[GetPendingWebhookEventCount_200_response]
Przykład

Pobierz oczekujące zdarzenia webhook 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| externalId | string | Nie | |
| eventType | string | Nie | |
| domain | string | Nie | |
| attemptCountGT | float64 | Nie | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetPendingWebhookEvents_200_response]
Przykład

Utwórz konfigurację pytania 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createQuestionConfigBody | CreateQuestionConfigBody | Nie |
Odpowiedź
Zwraca: Option[CreateQuestionConfig_200_response]
Przykład

Usuń konfigurację pytania 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Pobierz konfigurację pytania 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetQuestionConfig_200_response]
Przykład

Pobierz konfiguracje pytań 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetQuestionConfigs_200_response]
Przykład

Zaktualizuj konfigurację pytania 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Utwórz wynik pytania 
Parametry
| Name | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createQuestionResultBody | CreateQuestionResultBody | Nie |
Odpowiedź
Zwraca: Option[CreateQuestionResult_200_response]
Przykład

Usuń wynik pytania 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Pobierz wynik pytania 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetQuestionResult_200_response]
Przykład

Pobierz wyniki pytań 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak | |
| userId | string | Nie | |
| startDate | string | Nie | |
| questionId | string | Nie | |
| questionIds | string | Nie | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetQuestionResults_200_response]
Przykład

Zaktualizuj wynik pytania 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateQuestionResultBody | UpdateQuestionResultBody | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Agreguj wyniki pytań 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| questionId | string | Nie | |
| questionIds | seq[string] | Nie | |
| urlId | string | Tak | |
| timeBucket | AggregateTimeBucket | Nie | |
| startDate | string | Nie | |
| forceRecalculate | bool | Nie |
Odpowiedź
Zwraca: Option[AggregateQuestionResults_200_response]
Przykład

Zbiorcza agregacja wyników pytań 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Nie | |
| forceRecalculate | bool | Nie |
Odpowiedź
Zwraca: Option[BulkAggregateQuestionResults_200_response]
Przykład

Połącz komentarze z wynikami pytań 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| questionId | string | Nie | |
| questionIds | seq[string] | Nie | |
| urlId | string | Tak | |
| startDate | string | Nie | |
| forceRecalculate | bool | Nie | |
| minValue | float64 | Nie | |
| maxValue | float64 | Nie | |
| limit | float64 | Nie |
Odpowiedź
Zwraca: Option[CombineCommentsWithQuestionResults_200_response]
Przykład

Dodaj użytkownika SSO 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createAPISSOUserData | CreateAPISSOUserData | Nie |
Odpowiedź
Zwraca: Option[AddSSOUserAPIResponse]
Przykład

Usuń użytkownika SSO 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| deleteComments | bool | Nie | |
| commentDeleteMode | string | Nie |
Odpowiedź
Zwraca: Option[DeleteSSOUserAPIResponse]
Przykład

Pobierz użytkownika SSO po e-mailu 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| string | Nie |
Odpowiedź
Zwraca: Option[GetSSOUserByEmailAPIResponse]
Przykład

Pobierz użytkownika SSO po ID 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetSSOUserByIdAPIResponse]
Przykład

Pobierz użytkowników SSO 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| skip | int | Nie |
Odpowiedź
Zwraca: Option[GetSSOUsers_200_response]
Przykład

Zmień użytkownika SSO (PATCH) 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateAPISSOUserData | UpdateAPISSOUserData | Nie | |
| updateComments | bool | Nie |
Odpowiedź
Zwraca: Option[PatchSSOUserAPIResponse]
Przykład

Zastąp użytkownika SSO (PUT) 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateAPISSOUserData | UpdateAPISSOUserData | Nie | |
| updateComments | bool | Nie |
Odpowiedź
Zwraca: Option[PutSSOUserAPIResponse]
Przykład

Utwórz subskrypcję 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Nie |
Odpowiedź
Zwraca: Option[CreateSubscriptionAPIResponse]
Przykład

Usuń subskrypcję 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| userId | string | Nie |
Odpowiedź
Zwraca: Option[DeleteSubscriptionAPIResponse]
Przykład

Pobierz subskrypcje 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie |
Odpowiedź
Zwraca: Option[GetSubscriptionsAPIResponse]
Przykład

Zaktualizuj subskrypcję 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Nie | |
| userId | string | Nie |
Odpowiedź
Zwraca: Option[UpdateSubscriptionAPIResponse]
Przykład

Pobierz dzienne użycie najemcy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| yearNumber | float64 | Nie | |
| monthNumber | float64 | Nie | |
| dayNumber | float64 | Nie | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetTenantDailyUsages_200_response]
Przykład

Utwórz pakiet najemcy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createTenantPackageBody | CreateTenantPackageBody | Nie |
Odpowiedź
Zwraca: Option[CreateTenantPackage_200_response]
Przykład

Usuń pakiet najemcy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Pobierz pakiet najemcy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetTenantPackage_200_response]
Przykład

Pobierz pakiety najemcy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetTenantPackages_200_response]
Przykład

Zastąp pakiet najemcy 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Nie |
Response
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Zaktualizuj pakiet najemcy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateTenantPackageBody | UpdateTenantPackageBody | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Utwórz użytkownika najemcy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createTenantUserBody | CreateTenantUserBody | Nie |
Odpowiedź
Zwraca: Option[CreateTenantUser_200_response]
Przykład

Usuń użytkownika najemcy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| deleteComments | string | Nie | |
| commentDeleteMode | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Pobierz użytkownika najemcy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetTenantUser_200_response]
Przykład

Pobierz użytkowników najemcy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetTenantUsers_200_response]
Przykład

Zastąp użytkownika najemcy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| replaceTenantUserBody | ReplaceTenantUserBody | Nie | |
| updateComments | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Wyślij link do logowania 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| redirectURL | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Zaktualizuj użytkownika najemcy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateTenantUserBody | UpdateTenantUserBody | Nie | |
| updateComments | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Utwórz najemcę 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createTenantBody | CreateTenantBody | Nie |
Odpowiedź
Zwraca: Option[CreateTenant_200_response]
Przykład

Usuń najemcę 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| sure | string | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Pobierz najemcę 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetTenant_200_response]
Przykład

Pobierz najemców 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| meta | string | Nie | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetTenants_200_response]
Przykład

Zaktualizuj najemcę 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateTenantBody | UpdateTenantBody | Nie |
Odpowiedź
Zwraca: Option[FlagCommentPublic_200_response]
Przykład

Zmień stan zgłoszenia 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie | |
| id | string | Nie | |
| changeTicketStateBody | ChangeTicketStateBody | Nie |
Odpowiedź
Zwraca: Option[ChangeTicketState_200_response]
Przykład

Utwórz zgłoszenie 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie | |
| createTicketBody | CreateTicketBody | Nie |
Odpowiedź
Zwraca: Option[CreateTicket_200_response]
Przykład

Pobierz zgłoszenie 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| userId | string | Nie |
Odpowiedź
Zwraca: Option[GetTicket_200_response]
Przykład

Pobierz zgłoszenia 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie | |
| state | float64 | Nie | |
| skip | float64 | Nie | |
| limit | float64 | Nie |
Odpowiedź
Zwraca: Option[GetTickets_200_response]
Przykład

Prześlij obraz 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| file | string | Nie | |
| sizePreset | SizePreset | Nie | |
| urlId | string | Tak |
Odpowiedź
Zwraca: Option[UploadImageResponse]
Przykład

Pobierz postęp odznaki użytkownika po ID 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetUserBadgeProgressById_200_response]
Przykład

Pobierz postęp odznak po ID użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie |
Odpowiedź
Zwraca: Option[GetUserBadgeProgressById_200_response]
Przykład

Pobierz listę postępów odznak użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie | |
| limit | float64 | Nie | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetUserBadgeProgressList_200_response]
Przykład

Utwórz odznakę użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createUserBadgeParams | CreateUserBadgeParams | Nie |
Odpowiedź
Zwraca: Option[CreateUserBadge_200_response]
Przykład

Usuń odznakę użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[UpdateUserBadge_200_response]
Przykład

Pobierz odznakę użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetUserBadge_200_response]
Przykład

Pobierz odznaki użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie | |
| badgeId | string | Nie | |
| displayedOnComments | bool | Nie | |
| limit | float64 | Nie | |
| skip | float64 | Nie |
Odpowiedź
Zwraca: Option[GetUserBadges_200_response]
Przykład

Zaktualizuj odznakę użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| updateUserBadgeParams | UpdateUserBadgeParams | Nie |
Odpowiedź
Zwraca: Option[UpdateUserBadge_200_response]
Przykład

Pobierz liczbę powiadomień użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| sso | string | No |
Odpowiedź
Zwraca: Option[GetUserNotificationCount_200_response]
Przykład

Pobierz powiadomienia użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| pageSize | int | Nie | |
| afterId | string | Nie | |
| includeContext | bool | Nie | |
| afterCreatedAt | int64 | Nie | |
| unreadOnly | bool | Nie | |
| dmOnly | bool | Nie | |
| noDm | bool | Nie | |
| includeTranslations | bool | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[GetUserNotifications_200_response]
Przykład

Zresetuj licznik powiadomień użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[ResetUserNotifications_200_response]
Przykład

Zresetuj powiadomienia użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| afterId | string | Nie | |
| afterCreatedAt | int64 | Nie | |
| unreadOnly | bool | Nie | |
| dmOnly | bool | Nie | |
| noDm | bool | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[ResetUserNotifications_200_response]
Przykład

Zaktualizuj status subskrypcji powiadomień o komentarzach użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| notificationId | string | Nie | |
| optedInOrOut | string | Nie | |
| commentId | string | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[UpdateUserNotificationStatus_200_response]
Przykład

Zaktualizuj status subskrypcji powiadomień o stronie użytkownika 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| url | string | No | |
| pageTitle | string | No | |
| subscribedOrUnsubscribed | string | No | |
| sso | string | No |
Odpowiedź
Zwraca: Option[UpdateUserNotificationStatus_200_response]
Przykład

Zaktualizuj status powiadomienia użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| notificationId | string | Nie | |
| newStatus | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: Option[UpdateUserNotificationStatus_200_response]
Przykład

Pobierz statusy obecności użytkowników 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlIdWS | string | Nie | |
| userIds | string | Nie |
Odpowiedź
Zwraca: Option[GetUserPresenceStatuses_200_response]
Przykład

Wyszukaj użytkowników 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| usernameStartsWith | string | No | |
| mentionGroupIds | seq[string] | No | |
| sso | string | No | |
| searchSection | string | No |
Odpowiedź
Zwraca: Option[SearchUsers_200_response]
Przykład

Pobierz użytkownika 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie |
Odpowiedź
Zwraca: Option[GetUser_200_response]
Przykład

Utwórz głos 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| direction | string | Nie | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: Option[VoteComment_200_response]
Przykład

Usuń głos 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Nie | |
| editKey | string | Nie |
Odpowiedź
Zwraca: Option[DeleteCommentVote_200_response]
Przykład

Pobierz głosy 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak |
Odpowiedź
Zwraca: Option[GetVotes_200_response]
Przykład

Pobierz głosy dla użytkownika 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: Option[GetVotesForUser_200_response]
Przykład

Potrzebujesz pomocy?
Jeśli napotkasz jakiekolwiek problemy lub masz pytania dotyczące Nim SDK, prosimy:
Wkład
Wkład jest mile widziany! Odwiedź repozytorium GitHub w celu zapoznania się z wytycznymi dotyczącymi kontrybucji.