
Jezik 🇭🇷 Hrvatski
Dokumentacija
Početak
Referenca API-ja
Upotreba
Agregiranje
Revizijski dnevnici
Blokiranje iz komentara
Provjera blokiranih komentara
Komentari
Konfiguracije domena
Predlošci e-pošte
Zapisnik događaja
Objave u feedu
Označavanje komentara
Hashtagovi
Moderatori
Broj notifikacija
Notifikacije
Stranice
Čekajući webhook događaji
Konfiguracije pitanja
Rezultati pitanja
Agregacija rezultata pitanja
SSO korisnici
Pretplate
Dnevno korištenje tenanta
Paketi tenanta
Korisnici tenanta
Tenanti
Tiketi
Prijenos slike
Napredak znački korisnika
Značke korisnika
Obavijesti korisnika
Statusi prisutnosti korisnika
Pretraga korisnika
Korisnici
Glasovi
FastComments Nim SDK
Ovo je službeni Nim SDK za FastComments.
Službeni Nim SDK za FastComments API
Repozitorij
Instalacija 
Korištenje Nimble
nimble install fastcomments
Sastavljanje iz izvornog koda
nimble build
Sadržaj biblioteke
Ova biblioteka sadrži generirani API klijent i SSO alate koji olakšavaju rad s API-jem.
Javni i zaštićeni API-ji
Za API klijenta postoje dva API modula, api_default i api_public. api_default sadrži metode koje zahtijevaju vaš API ključ, a api_public sadrži pozive API-ja koje je moguće izvršiti izravno iz preglednika/mobilnog uređaja/itd. bez autentikacije.
Brzi početak 
Korištenje autentificiranih API-ja (DefaultAPI)
Važno: Autentificirani endpointi zahtijevaju da vaš API ključ bude postavljen kao zaglavlje 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"
# Izvršite autentificirane API pozive
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"
Korištenje javnih API-ja (PublicAPI)
Javni endpointi ne zahtijevaju autentifikaciju:
import httpclient
import fastcomments
import fastcomments/apis/api_public
let client = newHttpClient()
# Izvršite javne API pozive
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"
Uobičajeni problemi
- 401 authentication error: Provjerite jeste li postavili zaglavlje
x-api-keyna vaš HttpClient prije slanja zahtjeva DefaultAPI-ja:client.headers["x-api-key"] = "your-api-key" - Wrong API class: Koristite
api_defaultza autentificirane zahtjeve na strani servera,api_publicza zahtjeve na strani klijenta/javne zahtjeve.
Pozivi API-ja 
Sve API metode u ovom SDK-u vraćaju torke (Option[ResponseType], Response). Prvi element sadrži parsirani odgovor ako je uspješan, a drugi element je sirovi HTTP odgovor.
Primjer: Dohvaćanje komentara
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"
Napomene 
Broadcast ID-ovi
Vidjet ćete da trebate proslijediti broadcastId u nekim API pozivima. Kada primite događaje, vratit će vam se ovaj ID, pa ćete znati zanemariti događaj ako planirate optimistično primijeniti promjene na klijentu (što ćete vjerojatno htjeti učiniti jer pruža najbolje iskustvo). Ovdje proslijedite UUID. ID bi trebao biti dovoljno jedinstven da se ne pojavi dvaput u istoj sesiji preglednika.
SSO (Jedinstvena prijava)
Za primjere SSO-a, pogledajte dolje.
Korištenje SSO 
Jednostavni 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
Sigurni 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
Dokumentacija za FastComments 
Dokumentacija za API krajnje točke
Svi URI-ji su relativni na https://fastcomments.com
| Klasa | Metoda | HTTP zahtjev | 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 | Agregira dokumente grupiranjem istih (ako je groupBy naveden) i primjenom više operacija. Podržane su različite operacije (npr. sum, countDistinct, avg i dr.). |
| 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} | Omogućite ili onemogućite obavijesti za određeni komentar. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Omogućite ili onemogućite obavijesti za stranicu. Kada su korisnici pretplaćeni na stranicu, obavijesti se kreiraju za nove glavne komentare, a također i |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Učitajte i promijenite veličinu slike |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Dokumentacija za Modele
- 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-n
Agregiraj 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| aggregationRequest | AggregationRequest | Ne | |
| parentTenantId | string | Ne | |
| includeStats | bool | Ne |
Odgovor
Vraća: Option[AggregationResponse]
Primjer

Dohvati revizijske dnevnike 
Parametri
| Naziv | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| limit | float64 | Ne | |
| skip | float64 | Ne | |
| order | SORTDIR | Ne | |
| after | float64 | Ne | |
| before | float64 | Ne |
Odgovor
Vraća: Option[GetAuditLogs_200_response]
Primjer

Javno blokiranje korisnika iz komentara 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[BlockFromCommentPublic_200_response]
Primjer

Javno odblokiraj komentar 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[UnBlockCommentPublic_200_response]
Primjer

Provjeri komentare za blokirane 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentIds | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[CheckedCommentsForBlocked_200_response]
Primjer

Blokiraj korisnika iz komentara 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| blockFromCommentParams | BlockFromCommentParams | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: Option[BlockFromCommentPublic_200_response]
Primjer

Kreiraj komentar (javno) 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| broadcastId | string | Ne | |
| commentData | CommentData | Ne | |
| sessionId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[CreateCommentPublic_200_response]
Primjer

Obriši komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| contextUserId | string | Ne | |
| isLive | bool | Ne |
Odgovor
Vraća: Option[DeleteComment_200_response]
Primjer

Obriši komentar (javno) 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | No | |
| editKey | string | No | |
| sso | string | No |
Odgovor
Vraća: Option[DeleteCommentPublic_200_response]
Primjer

Obriši glas za komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| voteId | string | Ne | |
| urlId | string | Da | |
| broadcastId | string | Ne | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[DeleteCommentVote_200_response]
Primjer

Označi komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: Option[FlagComment_200_response]
Primjer

Dohvati komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetComment_200_response]
Primjer

Dohvati komentare 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| page | int | Ne | |
| limit | int | Ne | |
| skip | int | Ne | |
| asTree | bool | Ne | |
| skipChildren | int | Ne | |
| limitChildren | int | Ne | |
| maxTreeDepth | int | Ne | |
| urlId | string | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne | |
| contextUserId | string | Ne | |
| hashTag | string | Ne | |
| parentId | string | Ne | |
| direction | SortDirections | Ne |
Odgovor
Vraća: Option[GetComments_200_response]
Primjer

Dohvati komentare (javno) 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| page | int | Ne | |
| direction | SortDirections | Ne | |
| sso | string | Ne | |
| skip | int | Ne | |
| skipChildren | int | Ne | |
| limit | int | Ne | |
| limitChildren | int | Ne | |
| countChildren | bool | Ne | |
| fetchPageForCommentId | string | Ne | |
| includeConfig | bool | Ne | |
| countAll | bool | Ne | |
| includei10n | bool | Ne | |
| locale | string | Ne | |
| modules | string | Ne | |
| isCrawler | bool | Ne | |
| includeNotificationCount | bool | Ne | |
| asTree | bool | Ne | |
| maxTreeDepth | int | Ne | |
| useFullTranslationIds | bool | Ne | |
| parentId | string | Ne | |
| searchText | string | Ne | |
| hashTags | seq[string] | Ne | |
| userId | string | Ne | |
| customConfigStr | string | Ne | |
| afterCommentId | string | Ne | |
| beforeCommentId | string | Ne |
Odgovor
Vraća: Option[GetCommentsPublic_200_response]
Primjer

Dohvati tekst komentara 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[GetCommentText_200_response]
Primjer

Dohvati korisnička imena glasova komentara 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| dir | int | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[GetCommentVoteUserNames_200_response]
Primjer

Zaključaj komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[LockComment_200_response]
Primjer

Zakači komentar 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[PinComment_200_response]
Primjer

Spremi komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createCommentParams | CreateCommentParams | Ne | |
| isLive | bool | Ne | |
| doSpamCheck | bool | Ne | |
| sendEmails | bool | Ne | |
| populateNotifications | bool | Ne |
Odgovor
Vraća: Option[SaveComment_200_response]
Primjer

Masovno spremi komentare 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createCommentParams | seq[CreateCommentParams] | Ne | |
| isLive | bool | Ne | |
| doSpamCheck | bool | Ne | |
| sendEmails | bool | Ne | |
| populateNotifications | bool): (Option[seq[SaveComment_200_response]] | Ne | |
| id | string | Ne | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: Option[UnBlockCommentPublic_200_response]
Primjer

Postavi tekst komentara 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Ne | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[SetCommentText_200_response]
Primjer

Odblokiraj korisnika iz komentara 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: Option[UnBlockCommentPublic_200_response]
Primjer

Ukloni oznaku s komentara 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: Option[FlagComment_200_response]
Primjer

Otključaj komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[LockComment_200_response]
Primjer

Ukloni prikvačenje komentara 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[PinComment_200_response]
Primjer

Ažuriraj komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updatableCommentParams | UpdatableCommentParams | Ne | |
| contextUserId | string | Ne | |
| doSpamCheck | bool | Ne | |
| isLive | bool | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Glasaj za komentar 
Parametri
| Name | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| urlId | string | Da | |
| broadcastId | string | Ne | |
| voteBodyParams | VoteBodyParams | Ne | |
| sessionId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[VoteComment_200_response]
Primjer

Dodaj konfiguraciju domene 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| addDomainConfigParams | AddDomainConfigParams | Ne |
Odgovor
Vraća: Option[AddDomainConfig_200_response]
Primjer

Obriši konfiguraciju domene 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Ne |
Odgovor
Vraća: Option[DeleteDomainConfig_200_response]
Primjer

Dohvati konfiguraciju domene 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Ne |
Odgovor
Vraća: Option[GetDomainConfig_200_response]
Primjer

Dohvati konfiguracije domena 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: Option[GetDomainConfigs_200_response]
Primjer

Djelomično ažuriraj konfiguraciju domene 
Parametri
| Naziv | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| domainToUpdate | string | No | |
| patchDomainConfigParams | PatchDomainConfigParams | No |
Odgovor
Vraća: Option[GetDomainConfig_200_response]
Primjer

Zamijeni konfiguraciju domene 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domainToUpdate | string | Ne | |
| updateDomainConfigParams | UpdateDomainConfigParams | Ne |
Odgovor
Vraća: Option[GetDomainConfig_200_response]
Primjer

Kreiraj predložak e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createEmailTemplateBody | CreateEmailTemplateBody | Ne |
Odgovor
Vraća: Option[CreateEmailTemplate_200_response]
Primjer

Obriši predložak e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Obriši grešku renderiranja predloška e-pošte 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| errorId | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dohvati predložak e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetEmailTemplate_200_response]
Primjer

Dohvati definicije predložaka e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: Option[GetEmailTemplateDefinitions_200_response]
Primjer

Dohvati greške renderiranja predložaka e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetEmailTemplateRenderErrors_200_response]
Primjer

Dohvati predloške e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetEmailTemplates_200_response]
Primjer

Renderiraj predložak e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Ne | |
| locale | string | Ne |
Odgovor
Vraća: Option[RenderEmailTemplate_200_response]
Primjer

Ažuriraj predložak e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dohvati zapisnik događaja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userIdWS | string | Ne | |
| startTime | int64 | Ne | |
| endTime | int64 | Ne |
Odgovor
Vraća: Option[GetEventLog_200_response]
Primjer

Dohvati globalni zapisnik događaja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userIdWS | string | Ne | |
| startTime | int64 | Ne | |
| endTime | int64 | Ne |
Odgovor
Vraća: Option[GetEventLog_200_response]
Primjer

Kreiraj objavu u feedu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createFeedPostParams | CreateFeedPostParams | Ne | |
| broadcastId | string | Ne | |
| isLive | bool | Ne | |
| doSpamCheck | bool | Ne | |
| skipDupCheck | bool | Ne |
Odgovor
Vraća: Option[CreateFeedPost_200_response]
Primjer

Kreiraj objavu u feedu (javno) 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createFeedPostParams | CreateFeedPostParams | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[CreateFeedPostPublic_200_response]
Primjer

Obriši objavu u feedu (javno) 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[DeleteFeedPostPublic_200_response]
Primjer

Dohvati objave u feedu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| afterId | string | Ne | |
| limit | int | Ne | |
| tags | seq[string] | Ne |
Odgovor
Vraća: Option[GetFeedPosts_200_response]
Primjer

Dohvati objave u feedu (javno) 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| afterId | string | Ne | |
| limit | int | Ne | |
| tags | seq[string] | Ne | |
| sso | string | Ne | |
| isCrawler | bool | Ne | |
| includeUserInfo | bool | Ne |
Odgovor
Vraća: Option[GetFeedPostsPublic_200_response]
Primjer

Dohvati statistiku objava u feedu 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| postIds | seq[string] | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[GetFeedPostsStats_200_response]
Primjer

Dohvati reakcije korisnika (javno) 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postIds | seq[string] | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[GetUserReactsPublic_200_response]
Primjer

Reagiraj na objavu u feedu (javno) 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Ne | |
| reactBodyParams | ReactBodyParams | Ne | |
| isUndo | bool | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[ReactFeedPostPublic_200_response]
Primjer

Ažuriraj objavu u feedu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| feedPost | FeedPost | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Ažuriraj objavu u feedu (javno) 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Ne | |
| updateFeedPostParams | UpdateFeedPostParams | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[CreateFeedPostPublic_200_response]
Primjer

Označi komentar (javno) 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| isFlagged | bool | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dodaj hashtag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createHashTagBody | CreateHashTagBody | Ne |
Odgovor
Vraća: Option[AddHashTag_200_response]
Primjer

Masovno dodaj hashtagove 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Ne |
Odgovor
Vraća: Option[AddHashTagsBulk_200_response]
Primjer

Obriši hashtag 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tag | string | Ne | |
| tenantId | string | Da | |
| deleteHashTagRequest | DeleteHashTagRequest | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dohvati hashtagove 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| page | float64 | Ne |
Odgovor
Vraća: Option[GetHashTags_200_response]
Primjer

Djelomično ažuriraj hashtag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tag | string | Ne | |
| tenantId | string | Da | |
| updateHashTagBody | UpdateHashTagBody | Ne |
Odgovor
Vraća: Option[PatchHashTag_200_response]
Primjer

Kreiraj moderatora 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| createModeratorBody | CreateModeratorBody | Ne |
Odgovor
Vraća: Option[CreateModerator_200_response]
Primjer

Obriši moderatora 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| sendEmail | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dohvati moderatora 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetModerator_200_response]
Primjer

Dohvati moderatore 
Parametri
| Naziv | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetModerators_200_response]
Primjer

Ažuriraj moderatora 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateModeratorBody | UpdateModeratorBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Obriši broj notifikacija 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dohvati keširani broj notifikacija 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetCachedNotificationCount_200_response]
Primjer

Dohvati broj notifikacija 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| urlId | string | Da | |
| fromCommentId | string | Ne | |
| viewed | bool | Ne |
Odgovor
Vraća: Option[GetNotificationCount_200_response]
Primjer

Dohvati notifikacije 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | No | |
| urlId | string | Yes | |
| fromCommentId | string | No | |
| viewed | bool | No | |
| skip | float64 | No |
Odgovor
Vraća: Option[GetNotifications_200_response]
Primjer

Ažuriraj notifikaciju 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| updateNotificationBody | UpdateNotificationBody | No | |
| userId | string | No |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dodaj stranicu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPIPageData | CreateAPIPageData | Ne |
Odgovor
Vraća: Option[AddPageAPIResponse]
Primjer

Obriši stranicu 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[DeletePageAPIResponse]
Primjer

Dohvati stranicu prema URL ID-u 
Parametri
| Naziv | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vraća: Option[GetPageByURLIdAPIResponse]
Primjer

Dohvati stranice 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: Option[GetPagesAPIResponse]
Primjer

Djelomično ažuriraj stranicu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateAPIPageData | UpdateAPIPageData | Ne |
Odgovor
Vraća: Option[PatchPageAPIResponse]
Primjer

Obriši čekajući webhook događaj 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dohvati broj čekajućih webhook događaja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| externalId | string | Ne | |
| eventType | string | Ne | |
| domain | string | Ne | |
| attemptCountGT | float64 | Ne |
Odgovor
Vraća: Option[GetPendingWebhookEventCount_200_response]
Primjer

Dohvati čekajuće webhook događaje 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| externalId | string | Ne | |
| eventType | string | Ne | |
| domain | string | Ne | |
| attemptCountGT | float64 | Ne | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetPendingWebhookEvents_200_response]
Primjer

Kreiraj konfiguraciju pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionConfigBody | CreateQuestionConfigBody | Ne |
Odgovor
Vraća: Option[CreateQuestionConfig_200_response]
Primjer

Obriši konfiguraciju pitanja 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dohvati konfiguraciju pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetQuestionConfig_200_response]
Primjer

Dohvati konfiguracije pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetQuestionConfigs_200_response]
Primjer

Ažuriraj konfiguraciju pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Kreiraj rezultat pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionResultBody | CreateQuestionResultBody | Ne |
Odgovor
Vraća: Option[CreateQuestionResult_200_response]
Primjer

Obriši rezultat pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dohvati rezultat pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetQuestionResult_200_response]
Primjer

Dohvati rezultate pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userId | string | Ne | |
| startDate | string | Ne | |
| questionId | string | Ne | |
| questionIds | string | Ne | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetQuestionResults_200_response]
Primjer

Ažuriraj rezultat pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateQuestionResultBody | UpdateQuestionResultBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Agregiraj rezultate pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| questionId | string | No | |
| questionIds | seq[string] | No | |
| urlId | string | Yes | |
| timeBucket | AggregateTimeBucket | No | |
| startDate | string | No | |
| forceRecalculate | bool | No |
Odgovor
Vraća: Option[AggregateQuestionResults_200_response]
Primjer

Masovno agregiraj rezultate pitanja 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Ne | |
| forceRecalculate | bool | Ne |
Odgovor
Vraća: Option[BulkAggregateQuestionResults_200_response]
Primjer

Poveži komentare s rezultatima pitanja 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| questionId | string | No | |
| questionIds | seq[string] | No | |
| urlId | string | Yes | |
| startDate | string | No | |
| forceRecalculate | bool | No | |
| minValue | float64 | No | |
| maxValue | float64 | No | |
| limit | float64 | No |
Odgovor
Vraća: Option[CombineCommentsWithQuestionResults_200_response]
Primjer

Dodaj SSO korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPISSOUserData | CreateAPISSOUserData | Ne |
Odgovor
Vraća: Option[AddSSOUserAPIResponse]
Primjer

Obriši SSO korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| deleteComments | bool | Ne | |
| commentDeleteMode | string | Ne |
Odgovor
Vraća: Option[DeleteSSOUserAPIResponse]
Primjer

Dohvati SSO korisnika po e-pošti 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| string | Ne |
Odgovor
Vraća: Option[GetSSOUserByEmailAPIResponse]
Primjer

Dohvati SSO korisnika po ID-u 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetSSOUserByIdAPIResponse]
Primjer

Dohvati SSO korisnike 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | int | Ne |
Odgovor
Vraća: Option[GetSSOUsers_200_response]
Primjer

Djelomično ažuriraj SSO korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateAPISSOUserData | UpdateAPISSOUserData | Ne | |
| updateComments | bool | Ne |
Odgovor
Vraća: Option[PatchSSOUserAPIResponse]
Primjer

Zamijeni SSO korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateAPISSOUserData | UpdateAPISSOUserData | Ne | |
| updateComments | bool | Ne |
Odgovor
Vraća: Option[PutSSOUserAPIResponse]
Primjer

Kreiraj pretplatu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Ne |
Odgovor
Vraća: Option[CreateSubscriptionAPIResponse]
Primjer

Obriši pretplatu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| userId | string | Ne |
Odgovor
Vraća: Option[DeleteSubscriptionAPIResponse]
Primjer

Dohvati pretplate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne |
Odgovor
Vraća: Option[GetSubscriptionsAPIResponse]
Primjer

Ažuriraj pretplatu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Ne | |
| userId | string | Ne |
Odgovor
Vraća: Option[UpdateSubscriptionAPIResponse]
Primjer

Dohvati dnevno korištenje tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| yearNumber | float64 | Ne | |
| monthNumber | float64 | Ne | |
| dayNumber | float64 | Ne | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetTenantDailyUsages_200_response]
Primjer

Kreiraj paket tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantPackageBody | CreateTenantPackageBody | Ne |
Odgovor
Vraća: Option[CreateTenantPackage_200_response]
Primjer

Obriši paket tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dohvati paket tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetTenantPackage_200_response]
Primjer

Dohvati pakete tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetTenantPackages_200_response]
Primjer

Zamijeni paket tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Ažuriraj paket tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateTenantPackageBody | UpdateTenantPackageBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Kreiraj korisnika tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantUserBody | CreateTenantUserBody | Ne |
Odgovor
Vraća: Option[CreateTenantUser_200_response]
Primjer

Obriši korisnika tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| deleteComments | string | Ne | |
| commentDeleteMode | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dohvati korisnika tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetTenantUser_200_response]
Primjer

Dohvati korisnike tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetTenantUsers_200_response]
Primjer

Zamijeni korisnika tenanta 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| replaceTenantUserBody | ReplaceTenantUserBody | Ne | |
| updateComments | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Pošalji poveznicu za prijavu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| redirectURL | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Ažuriraj korisnika tenanta 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateTenantUserBody | UpdateTenantUserBody | Ne | |
| updateComments | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Kreiraj tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantBody | CreateTenantBody | Ne |
Odgovor
Vraća: Option[CreateTenant_200_response]
Primjer

Obriši tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| sure | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Dohvati tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetTenant_200_response]
Primjer

Dohvati tenante 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| meta | string | Ne | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetTenants_200_response]
Primjer

Ažuriraj tenanta 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateTenantBody | UpdateTenantBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primjer

Promijeni stanje tiketa 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| id | string | Ne | |
| changeTicketStateBody | ChangeTicketStateBody | Ne |
Odgovor
Vraća: Option[ChangeTicketState_200_response]
Primjer

Kreiraj tiket 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| createTicketBody | CreateTicketBody | Ne |
Odgovor
Vraća: Option[CreateTicket_200_response]
Primjer

Dohvati tiket 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| userId | string | Ne |
Odgovor
Vraća: Option[GetTicket_200_response]
Primjer

Dohvati tikete 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| state | float64 | Ne | |
| skip | float64 | Ne | |
| limit | float64 | Ne |
Odgovor
Vraća: Option[GetTickets_200_response]
Primjer

Prenesi sliku 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| file | string | Ne | |
| sizePreset | SizePreset | Ne | |
| urlId | string | Da |
Odgovor
Vraća: Option[UploadImageResponse]
Primjer

Dohvati napredak značke korisnika po ID-u 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetUserBadgeProgressById_200_response]
Primjer

Dohvati napredak značke korisnika po ID-u korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne |
Odgovor
Vraća: Option[GetUserBadgeProgressById_200_response]
Primjer

Dohvati popis napretka znački korisnika 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| limit | float64 | Ne | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetUserBadgeProgressList_200_response]
Primjer

Kreiraj značku korisnika 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createUserBadgeParams | CreateUserBadgeParams | Ne |
Odgovor
Vraća: Option[CreateUserBadge_200_response]
Primjer

Obriši značku korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[UpdateUserBadge_200_response]
Primjer

Dohvati značku korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetUserBadge_200_response]
Primjer

Dohvati značke korisnika 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| badgeId | string | Ne | |
| displayedOnComments | bool | Ne | |
| limit | float64 | Ne | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetUserBadges_200_response]
Primjer

Ažuriraj značku korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateUserBadgeParams | UpdateUserBadgeParams | Ne |
Odgovor
Vraća: Option[UpdateUserBadge_200_response]
Primjer

Dohvati broj obavijesti korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: Option[GetUserNotificationCount_200_response]
Primjer

Dohvati obavijesti korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| pageSize | int | Ne | |
| afterId | string | Ne | |
| includeContext | bool | Ne | |
| afterCreatedAt | int64 | Ne | |
| unreadOnly | bool | Ne | |
| dmOnly | bool | Ne | |
| noDm | bool | Ne | |
| includeTranslations | bool | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[GetUserNotifications_200_response]
Primjer

Resetiraj broj obavijesti korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: Option[ResetUserNotifications_200_response]
Primjer

Resetiraj obavijesti korisnika 
Parametri
| Naziv | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| afterId | string | Ne | |
| afterCreatedAt | int64 | Ne | |
| unreadOnly | bool | Ne | |
| dmOnly | bool | Ne | |
| noDm | bool | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[ResetUserNotifications_200_response]
Primjer

Ažuriraj status pretplate korisnika za obavijesti o komentarima 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Ne | |
| optedInOrOut | string | Ne | |
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: Option[UpdateUserNotificationStatus_200_response]
Primjer

Ažuriraj status pretplate korisnika za obavijesti o stranicama 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| url | string | Ne | |
| pageTitle | string | Ne | |
| subscribedOrUnsubscribed | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[UpdateUserNotificationStatus_200_response]
Primjer

Ažuriraj status obavijesti korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Ne | |
| newStatus | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[UpdateUserNotificationStatus_200_response]
Primjer

Dohvati statuse prisutnosti korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlIdWS | string | Ne | |
| userIds | string | Ne |
Odgovor
Vraća: Option[GetUserPresenceStatuses_200_response]
Primjer

Pretraži korisnike 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| usernameStartsWith | string | Ne | |
| mentionGroupIds | seq[string] | Ne | |
| sso | string | Ne | |
| searchSection | string | Ne |
Odgovor
Vraća: Option[SearchUsers_200_response]
Primjer

Dohvati korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetUser_200_response]
Primjer

Kreiraj glas 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| direction | string | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: Option[VoteComment_200_response]
Primjer

Obriši glas 
Parametri
| Naziv | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| editKey | string | Ne |
Odgovor
Vraća: Option[DeleteCommentVote_200_response]
Primjer

Dohvati glasove 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vraća: Option[GetVotes_200_response]
Primjer

Dohvati glasove za korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: Option[GetVotesForUser_200_response]
Primjer

Trebate pomoć?
Ako naiđete na bilo kakve probleme ili imate pitanja u vezi Nim SDK-a, molimo:
Doprinosi
Doprinosi su dobrodošli! Posjetite GitHub repozitorij za smjernice o doprinosima.