
Jezik 🇷🇸 Srpski (Latinica)
Dokumentacija
Početak rada
API referencia
Korišćenje
Agregacija
Dnevnici revizije
Blokiranje iz komentara
Provera blokiranih komentara
Komentari
Konfiguracije domena
Email šabloni
Dnevnik događaja
Objave feeda
Označavanje komentara
Hashtagovi
Moderatori
Broj obaveštenja
Obaveštenja
Stranice
Webhook događaji na čekanju
Podešavanja pitanja
Rezultati pitanja
Agregacija rezultata pitanja
SSO korisnici
Pretplate
Dnevna upotreba tenanta
Paketi tenanta
Korisnici tenanta
Tenanti
Otpremanje slike
Napredak značke korisnika
Korisničke značke
Obaveštenja korisnika
Status prisutnosti korisnika
Pretraga korisnika
Korisnici
Glasovi
FastComments Nim SDK
Ovo je zvanični Nim SDK za FastComments.
Zvanični Nim SDK za FastComments API
Repozitorijum
Instalacija 
Korišćenje Nimble
nimble install fastcomments
Izgradnja iz izvornog koda
nimble build
Sadržaj biblioteke
Ova biblioteka sadrži generisan API klijent i SSO alatke koje olakšavaju rad sa API-jem.
Javni naspram zaštićenih API-ja
Za API klijenta postoje dva API modula, api_default i api_public. api_default sadrži metode koje zahtevaju vaš API ključ, a api_public sadrži API pozive
koji se mogu izvršiti direktno iz pregledača/mobilnog uređaja/itd. bez autentifikacije.
Brzi početak 
Korišćenje autentifikovanih API-ja (DefaultAPI)
Važno: Autentifikovani endpointi zahtevaju 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"
# Napravite autentifikovane 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šćenje javnih API-ja (PublicAPI)
Javni endpointi ne zahtevaju autentifikaciju:
import httpclient
import fastcomments
import fastcomments/apis/api_public
let client = newHttpClient()
# Napravite 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 greška pri autentifikaciji: Uverite se da ste postavili zaglavlje
x-api-keyna svom HttpClient-u pre slanja DefaultAPI zahteva:client.headers["x-api-key"] = "your-api-key" - Pogrešna API klasa: Koristite
api_defaultza serverske autentifikovane zahteve, aapi_publicza klijentske/javne zahteve.
Korišćenje API-ja 
Sve API metode u ovom SDK vraćaju tuple (Option[ResponseType], Response). Prvi element sadrži parsirani odgovor ako je zahtev uspešan, a drugi element je sirovi HTTP odgovor.
Primer: Dohvatanje 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-jevi
Videćete da treba da prosledite broadcastId u nekim API pozivima. Kada primite događaje, dobićete ovaj ID nazad, pa ćete znati da ignorišete događaj ako planirate optimistično primeniti promene na klijentu (što ćete verovatno želeti, jer to pruža najbolje iskustvo). Prosledite ovde UUID. ID treba biti dovoljno jedinstven da se ne pojavi dva puta u jednoj sesiji pregledača.
SSO (Jedinstveno prijavljivanje)
Za primere SSO-a, pogledajte ispod.
Korišćenje SSO-a 
Jednostavan 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
Siguran 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 fastcomments
Dokumentacija za API krajnje tačke
Svi URI-ovi su relativni u odnosu na https://fastcomments.com
| Klasa | Metoda | HTTP zahtev | Opis |
|---|---|---|---|
| DefaultApi | addDomainConfig | POST /api/v1/domain-configs | |
| DefaultApi | addPage | POST /api/v1/pages | |
| DefaultApi | addSSOUser | POST /api/v1/sso-users | |
| DefaultApi | aggregate | POST /api/v1/aggregate | Agregira dokumente grupisanjem (ako je pružen groupBy) i primenom više operacija. Podržane su različite operacije (npr. sum, countDistinct, avg, itd.). |
| DefaultApi | aggregateQuestionResults | GET /api/v1/question-results-aggregation | |
| DefaultApi | blockUserFromComment | POST /api/v1/comments/{id}/block | |
| DefaultApi | bulkAggregateQuestionResults | POST /api/v1/question-results-aggregation/bulk | |
| DefaultApi | combineCommentsWithQuestionResults | GET /api/v1/question-results-aggregation/combine/comments | |
| DefaultApi | createFeedPost | POST /api/v1/feed-posts | |
| DefaultApi | createSubscription | POST /api/v1/subscriptions | |
| DefaultApi | createUserBadge | POST /api/v1/user-badges | |
| DefaultApi | deleteComment | DELETE /api/v1/comments/{id} | |
| DefaultApi | deleteDomainConfig | DELETE /api/v1/domain-configs/{domain} | |
| DefaultApi | deletePage | DELETE /api/v1/pages/{id} | |
| DefaultApi | deleteSSOUser | DELETE /api/v1/sso-users/{id} | |
| DefaultApi | deleteSubscription | DELETE /api/v1/subscriptions/{id} | |
| DefaultApi | deleteUserBadge | DELETE /api/v1/user-badges/{id} | |
| DefaultApi | flagComment | POST /api/v1/comments/{id}/flag | |
| DefaultApi | getAuditLogs | GET /api/v1/audit-logs | |
| DefaultApi | getComment | GET /api/v1/comments/{id} | |
| DefaultApi | getComments | GET /api/v1/comments | |
| DefaultApi | getDomainConfig | GET /api/v1/domain-configs/{domain} | |
| DefaultApi | getDomainConfigs | GET /api/v1/domain-configs | |
| DefaultApi | getFeedPosts | GET /api/v1/feed-posts | zahteva se tenantId afterId |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPages | GET /api/v1/pages | |
| DefaultApi | getSSOUserByEmail | GET /api/v1/sso-users/by-email/{email} | |
| DefaultApi | getSSOUserById | GET /api/v1/sso-users/by-id/{id} | |
| DefaultApi | getSSOUsers | GET /api/v1/sso-users | |
| DefaultApi | getSubscriptions | GET /api/v1/subscriptions | |
| DefaultApi | getUserBadge | GET /api/v1/user-badges/{id} | |
| DefaultApi | getUserBadgeProgressById | GET /api/v1/user-badge-progress/{id} | |
| DefaultApi | getUserBadgeProgressByUserId | GET /api/v1/user-badge-progress/user/{userId} | |
| DefaultApi | getUserBadgeProgressList | GET /api/v1/user-badge-progress | |
| DefaultApi | getUserBadges | GET /api/v1/user-badges | |
| DefaultApi | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | patchPage | PATCH /api/v1/pages/{id} | |
| DefaultApi | patchSSOUser | PATCH /api/v1/sso-users/{id} | |
| DefaultApi | putDomainConfig | PUT /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | putSSOUser | PUT /api/v1/sso-users/{id} | |
| DefaultApi | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| DefaultApi | unBlockUserFromComment | POST /api/v1/comments/{id}/un-block | |
| DefaultApi | unFlagComment | POST /api/v1/comments/{id}/un-flag | |
| DefaultApi | updateComment | PATCH /api/v1/comments/{id} | |
| DefaultApi | updateFeedPost | PATCH /api/v1/feed-posts/{id} | |
| DefaultApi | updateUserBadge | PUT /api/v1/user-badges/{id} | |
| PublicApi | blockFromCommentPublic | POST /block-from-comment/{commentId} | |
| PublicApi | checkedCommentsForBlocked | GET /check-blocked-comments | |
| PublicApi | createCommentPublic | POST /comments/{tenantId} | |
| PublicApi | createFeedPostPublic | POST /feed-posts/{tenantId} | |
| PublicApi | deleteCommentPublic | DELETE /comments/{tenantId}/{commentId} | |
| PublicApi | deleteCommentVote | DELETE /comments/{tenantId}/{commentId}/vote/{voteId} | |
| PublicApi | deleteFeedPostPublic | DELETE /feed-posts/{tenantId}/{postId} | |
| PublicApi | flagCommentPublic | POST /flag-comment/{commentId} | |
| PublicApi | getCommentText | GET /comments/{tenantId}/{commentId}/text | |
| PublicApi | getCommentVoteUserNames | GET /comments/{tenantId}/{commentId}/votes | |
| PublicApi | getCommentsPublic | GET /comments/{tenantId} | zahteva se tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | zahteva se tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | zahteva se tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | zahteva se 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 obaveštenja za određeni komentar. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Omogućite ili onemogućite obaveštenja za stranicu. Kada su korisnici pretplaćeni na stranicu, obaveštenja se kreiraju za nove korenske komentare, i takođe |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Otpremite i promenite veličinu slike |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Dokumentacija za modele
- APIAuditLog
- APIComment
- APICommentBase
- APICreateUserBadgeResponse
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIPage
- APISSOUser
- APIStatus
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfig_200_response
- AddDomainConfig_200_response_anyOf
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AggregateQuestionResultsResponse
- AggregateQuestionResults_200_response
- AggregateTimeBucket
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- BlockFromCommentParams
- BlockFromCommentPublic_200_response
- BlockSuccess
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkAggregateQuestionResults_200_response
- ChangeCommentPinStatusResponse
- 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
- CreateFeedPostParams
- CreateFeedPostPublic_200_response
- CreateFeedPostResponse
- CreateFeedPost_200_response
- CreateFeedPostsResponse
- CreateSubscriptionAPIResponse
- CreateUserBadgeParams
- CreateUserBadge_200_response
- CustomConfigParameters
- DeleteCommentAction
- DeleteCommentPublic_200_response
- DeleteCommentResult
- DeleteCommentVote_200_response
- DeleteComment_200_response
- DeleteDomainConfig_200_response
- DeleteFeedPostPublic_200_response
- DeleteFeedPostPublic_200_response_anyOf
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- DeletedCommentResultComment
- EventLogEntry
- FComment
- FComment_meta
- FeedPost
- FeedPostLink
- FeedPostMediaItem
- FeedPostMediaItemAsset
- FeedPostStats
- FeedPostsStatsResponse
- FindCommentsByRangeItem
- FindCommentsByRangeResponse
- FlagCommentPublic_200_response
- FlagCommentResponse
- FlagComment_200_response
- GetAuditLogsResponse
- GetAuditLogs_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
- GetEventLogResponse
- GetEventLog_200_response
- GetFeedPostsPublic_200_response
- GetFeedPostsResponse
- GetFeedPostsStats_200_response
- GetFeedPosts_200_response
- GetMyNotificationsResponse
- GetPageByURLIdAPIResponse
- GetPagesAPIResponse
- GetPublicFeedPostsResponse
- GetSSOUserByEmailAPIResponse
- GetSSOUserByIdAPIResponse
- GetSSOUsers_200_response
- GetSubscriptionsAPIResponse
- 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
- GifRating
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- LiveEvent
- LiveEventType
- LiveEvent_extraInfo
- LockComment_200_response
- MediaAsset
- MetaItem
- NotificationAndCount
- NotificationObjectType
- NotificationType
- PatchDomainConfigParams
- PatchPageAPIResponse
- PatchSSOUserAPIResponse
- PinComment_200_response
- PubSubComment
- PubSubCommentBase
- PubSubVote
- PublicAPIDeleteCommentResponse
- PublicAPIGetCommentTextResponse
- PublicAPISetCommentTextResponse
- PublicBlockFromCommentParams
- PublicComment
- PublicCommentBase
- PublicFeedPostsResponse
- PutSSOUserAPIResponse
- QueryPredicate
- QueryPredicate_value
- QuestionDatum
- QuestionRenderingType
- QuestionResult
- QuestionResultAggregationOverall
- QuestionSubQuestionVisibility
- QuestionWhenSave
- ReactBodyParams
- ReactFeedPostPublic_200_response
- ReactFeedPostResponse
- Record_string__before_string_or_null__after_string_or_null___value
- Record_string_string_or_number__value
- RenderableUserNotification
- RepeatCommentCheckIgnoredReason
- RepeatCommentHandlingAction
- ResetUserNotificationsResponse
- ResetUserNotifications_200_response
- SORT_DIR
- SSOSecurityLevel
- SaveCommentResponse
- SaveCommentResponseOptimized
- SaveComment_200_response
- SaveCommentsResponseWithPresence
- SearchUsersResponse
- SearchUsers_200_response
- SetCommentTextResult
- SetCommentText_200_response
- SizePreset
- SortDirections
- SpamRule
- UnBlockCommentPublic_200_response
- UnBlockFromCommentParams
- UnblockSuccess
- UpdatableCommentParams
- UpdateAPIPageData
- UpdateAPISSOUserData
- UpdateDomainConfigParams
- UpdateFeedPostParams
- UpdateUserBadgeParams
- UpdateUserBadge_200_response
- UpdateUserNotificationStatus_200_response
- UploadImageResponse
- UserBadge
- UserBadgeProgress
- UserNotification
- UserNotificationWriteResponse
- UserPresenceData
- UserReactsResponse
- UserSearchResult
- UserSessionInfo
- VoteBodyParams
- VoteComment_200_response
- VoteDeleteResponse
- VoteResponse
- VoteResponseUser
- VoteStyle
Dokumentacija za autorizaciju
api_key
- Tip: API ključ
- Naziv parametra API ključa: x-api-key
- Lokacija: HTTP zaglavlje
aggregate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| aggregationRequest | AggregationRequest | Ne | |
| parentTenantId | string | Ne | |
| includeStats | bool | Ne |
Odgovor
Vraća: Option[AggregationResponse]
Primer

getAuditLogs 
Parametri
| Naziv | Tip | Obavezno | 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]
Primer

blockFromCommentPublic 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[BlockFromCommentPublic_200_response]
Primer

unBlockCommentPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Ne | |
| sso | string | Ne |
Response
Vraća: Option[UnBlockCommentPublic_200_response]
Primer

checkedCommentsForBlocked 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentIds | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[CheckedCommentsForBlocked_200_response]
Primer

blockUserFromComment 
Parametri
| Ime | 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]
Primer

createCommentPublic 
Parametri
| Name | Type | 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]
Primer

deleteComment 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| contextUserId | string | Ne | |
| isLive | bool | Ne |
Odgovor
Vraća: Option[DeleteComment_200_response]
Primer

deleteCommentPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[DeleteCommentPublic_200_response]
Primer

deleteCommentVote 
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]
Primer

flagComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: Option[FlagComment_200_response]
Primer

getComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetComment_200_response]
Primer

getComments 
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]
Primer

getCommentsPublic 
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]
Primer

getCommentText 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[GetCommentText_200_response]
Primer

getCommentVoteUserNames 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| dir | int | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[GetCommentVoteUserNames_200_response]
Primer

lockComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[LockComment_200_response]
Primer

pinComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[PinComment_200_response]
Primer

saveComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| 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]
Primer

saveCommentsBulk 
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]
Primer

setCommentText 
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]
Primer

unBlockUserFromComment 
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]
Primer

unFlagComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: Option[FlagComment_200_response]
Primer

unLockComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[LockComment_200_response]
Primer

unPinComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[PinComment_200_response]
Primer

updateComment 
Parametri
| Name | Type | 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]
Primer

voteComment 
Parametri
| Naziv | 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]
Primer

addDomainConfig 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| addDomainConfigParams | AddDomainConfigParams | Ne |
Odgovor
Vraća: Option[AddDomainConfig_200_response]
Primer

deleteDomainConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Ne |
Odgovor
Vraća: Option[DeleteDomainConfig_200_response]
Primer

getDomainConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Ne |
Odgovor
Vraća: Option[GetDomainConfig_200_response]
Primer

getDomainConfigs 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: Option[GetDomainConfigs_200_response]
Primer

patchDomainConfig 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domainToUpdate | string | Ne | |
| patchDomainConfigParams | PatchDomainConfigParams | Ne |
Odgovor
Vraća: Option[GetDomainConfig_200_response]
Primer

putDomainConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domainToUpdate | string | Ne | |
| updateDomainConfigParams | UpdateDomainConfigParams | Ne |
Odgovor
Vraća: Option[GetDomainConfig_200_response]
Primer

createEmailTemplate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createEmailTemplateBody | CreateEmailTemplateBody | Ne |
Odgovor
Vraća: Option[CreateEmailTemplate_200_response]
Primer

deleteEmailTemplate 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

deleteEmailTemplateRenderError 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| errorId | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

getEmailTemplate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetEmailTemplate_200_response]
Primer

getEmailTemplateDefinitions 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: Option[GetEmailTemplateDefinitions_200_response]
Primer

getEmailTemplateRenderErrors 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetEmailTemplateRenderErrors_200_response]
Primer

getEmailTemplates 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetEmailTemplates_200_response]
Primer

renderEmailTemplate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| renderEmailTemplateBody | RenderEmailTemplateBody | No | |
| locale | string | No |
Odgovor
Vraća: Option[RenderEmailTemplate_200_response]
Primer

updateEmailTemplate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

getEventLog 
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]
Primer

getGlobalEventLog 
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]
Primer

createFeedPost 
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]
Primer

createFeedPostPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createFeedPostParams | CreateFeedPostParams | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[CreateFeedPostPublic_200_response]
Primer

deleteFeedPostPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[DeleteFeedPostPublic_200_response]
Primer

getFeedPosts 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| afterId | string | Ne | |
| limit | int | Ne | |
| tags | seq[string] | Ne |
Odgovor
Vraća: Option[GetFeedPosts_200_response]
Primer

getFeedPostsPublic 
Parametri
| Ime | 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]
Primer

getFeedPostsStats 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postIds | seq[string] | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[GetFeedPostsStats_200_response]
Primer

getUserReactsPublic 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| postIds | seq[string] | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[GetUserReactsPublic_200_response]
Primer

reactFeedPostPublic 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| 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]
Primer

updateFeedPost 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| feedPost | FeedPost | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

updateFeedPostPublic 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Ne | |
| updateFeedPostParams | UpdateFeedPostParams | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[CreateFeedPostPublic_200_response]
Primer

flagCommentPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| isFlagged | bool | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

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

addHashTagsBulk 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Ne |
Odgovor
Vraća: Option[AddHashTagsBulk_200_response]
Primer

deleteHashTag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tag | string | Ne | |
| tenantId | string | Da | |
| deleteHashTagRequest | DeleteHashTagRequest | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

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

patchHashTag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tag | string | Ne | |
| tenantId | string | Da | |
| updateHashTagBody | UpdateHashTagBody | Ne |
Odgovor
Vraća: Option[PatchHashTag_200_response]
Primer

createModerator 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createModeratorBody | CreateModeratorBody | Ne |
Odgovor
Vraća: Option[CreateModerator_200_response]
Primer

deleteModerator 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| sendEmail | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

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

getModerators 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetModerators_200_response]
Primer

updateModerator 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateModeratorBody | UpdateModeratorBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

deleteNotificationCount 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

getCachedNotificationCount 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetCachedNotificationCount_200_response]
Primer

getNotificationCount 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| urlId | string | Da | |
| fromCommentId | string | Ne | |
| viewed | bool | Ne |
Odgovor
Vraća: Option[GetNotificationCount_200_response]
Primer

getNotifications 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| urlId | string | Da | |
| fromCommentId | string | Ne | |
| viewed | bool | Ne | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetNotifications_200_response]
Primer

updateNotification 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateNotificationBody | UpdateNotificationBody | Ne | |
| userId | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

addPage 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| createAPIPageData | CreateAPIPageData | Ne |
Odgovor
Vraća: Option[AddPageAPIResponse]
Primer

deletePage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[DeletePageAPIResponse]
Primer

getPageByURLId 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vraća: Option[GetPageByURLIdAPIResponse]
Primer

getPages 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: Option[GetPagesAPIResponse]
Primer

patchPage 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateAPIPageData | UpdateAPIPageData | Ne |
Odgovor
Vraća: Option[PatchPageAPIResponse]
Primer

deletePendingWebhookEvent 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

getPendingWebhookEventCount 
Parametri
| Ime | 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]
Primer

getPendingWebhookEvents 
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]
Primer

createQuestionConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionConfigBody | CreateQuestionConfigBody | Ne |
Odgovor
Vraća: Option[CreateQuestionConfig_200_response]
Primer

deleteQuestionConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

getQuestionConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetQuestionConfig_200_response]
Primer

getQuestionConfigs 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetQuestionConfigs_200_response]
Primer

updateQuestionConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

createQuestionResult 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionResultBody | CreateQuestionResultBody | Ne |
Odgovor
Vraća: Option[CreateQuestionResult_200_response]
Primer

deleteQuestionResult 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

getQuestionResult 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetQuestionResult_200_response]
Primer

getQuestionResults 
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]
Primer

updateQuestionResult 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateQuestionResultBody | UpdateQuestionResultBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

aggregateQuestionResults 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| questionId | string | Ne | |
| questionIds | seq[string] | Ne | |
| urlId | string | Da | |
| timeBucket | AggregateTimeBucket | Ne | |
| startDate | string | Ne | |
| forceRecalculate | bool | Ne |
Odgovor
Vraća: Option[AggregateQuestionResults_200_response]
Primer

bulkAggregateQuestionResults 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Ne | |
| forceRecalculate | bool | Ne |
Odgovor
Vraća: Option[BulkAggregateQuestionResults_200_response]
Primer

combineCommentsWithQuestionResults 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| questionId | string | Ne | |
| questionIds | seq[string] | Ne | |
| urlId | string | Da | |
| startDate | string | Ne | |
| forceRecalculate | bool | Ne | |
| minValue | float64 | Ne | |
| maxValue | float64 | Ne | |
| limit | float64 | Ne |
Odgovor
Vraća: Option[CombineCommentsWithQuestionResults_200_response]
Primer

addSSOUser 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| createAPISSOUserData | CreateAPISSOUserData | Ne |
Odgovor
Vraća: Option[AddSSOUserAPIResponse]
Primer

deleteSSOUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| deleteComments | bool | Ne | |
| commentDeleteMode | string | Ne |
Odgovor
Vraća: Option[DeleteSSOUserAPIResponse]
Primer

getSSOUserByEmail 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| string | Ne |
Odgovor
Vraća: Option[GetSSOUserByEmailAPIResponse]
Primer

getSSOUserById 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetSSOUserByIdAPIResponse]
Primer

getSSOUsers 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| skip | int | Ne |
Odgovor
Vraća: Option[GetSSOUsers_200_response]
Primer

patchSSOUser 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateAPISSOUserData | UpdateAPISSOUserData | Ne | |
| updateComments | bool | Ne |
Odgovor
Vraća: Option[PatchSSOUserAPIResponse]
Primer

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

createSubscription 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Ne |
Odgovor
Vraća: Option[CreateSubscriptionAPIResponse]
Primer

deleteSubscription 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| userId | string | No |
Odgovor
Vraća: Option[DeleteSubscriptionAPIResponse]
Primer

getSubscriptions 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne |
Odgovor
Vraća: Option[GetSubscriptionsAPIResponse]
Primer

getTenantDailyUsages 
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]
Primer

createTenantPackage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantPackageBody | CreateTenantPackageBody | Ne |
Odgovor
Vraća: Option[CreateTenantPackage_200_response]
Primer

deleteTenantPackage 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

getTenantPackage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetTenantPackage_200_response]
Primer

getTenantPackages 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetTenantPackages_200_response]
Primer

replaceTenantPackage 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

updateTenantPackage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateTenantPackageBody | UpdateTenantPackageBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

createTenantUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantUserBody | CreateTenantUserBody | Ne |
Response
Vraća: Option[CreateTenantUser_200_response]
Primer

deleteTenantUser 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| deleteComments | string | Ne | |
| commentDeleteMode | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

getTenantUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetTenantUser_200_response]
Primer

getTenantUsers 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetTenantUsers_200_response]
Primer

replaceTenantUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| replaceTenantUserBody | ReplaceTenantUserBody | Ne | |
| updateComments | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

sendLoginLink 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| redirectURL | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

updateTenantUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateTenantUserBody | UpdateTenantUserBody | Ne | |
| updateComments | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

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

deleteTenant 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| sure | string | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

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

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

updateTenant 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateTenantBody | UpdateTenantBody | Ne |
Odgovor
Vraća: Option[FlagCommentPublic_200_response]
Primer

uploadImage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| file | string | Ne | |
| sizePreset | SizePreset | Ne | |
| urlId | string | Da |
Odgovor
Vraća: Option[UploadImageResponse]
Primer

getUserBadgeProgressById 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetUserBadgeProgressById_200_response]
Primer

getUserBadgeProgressByUserId 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne |
Odgovor
Vraća: Option[GetUserBadgeProgressById_200_response]
Primer

getUserBadgeProgressList 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| limit | float64 | Ne | |
| skip | float64 | Ne |
Odgovor
Vraća: Option[GetUserBadgeProgressList_200_response]
Primer

createUserBadge 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createUserBadgeParams | CreateUserBadgeParams | Ne |
Odgovor
Vraća: Option[CreateUserBadge_200_response]
Primer

deleteUserBadge 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[UpdateUserBadge_200_response]
Primer

getUserBadge 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vraća: Option[GetUserBadge_200_response]
Primer

getUserBadges 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| 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]
Primer

updateUserBadge 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateUserBadgeParams | UpdateUserBadgeParams | Ne |
Odgovor
Vraća: Option[UpdateUserBadge_200_response]
Primer

getUserNotificationCount 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: Option[GetUserNotificationCount_200_response]
Primer

getUserNotifications 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| 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]
Primer

resetUserNotificationCount 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: Option[ResetUserNotifications_200_response]
Primer

resetUserNotifications 
Parametri
| Naziv | Tip | 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]
Primer

updateUserNotificationCommentSubscriptionStatus 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Ne | |
| optedInOrOut | string | Ne | |
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: Option[UpdateUserNotificationStatus_200_response]
Primer

updateUserNotificationPageSubscriptionStatus 
Parametri
| Ime | 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]
Primer

updateUserNotificationStatus 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Ne | |
| newStatus | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[UpdateUserNotificationStatus_200_response]
Primer

getUserPresenceStatuses 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlIdWS | string | Ne | |
| userIds | string | Ne |
Odgovor
Vraća: Option[GetUserPresenceStatuses_200_response]
Primer

searchUsers 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| usernameStartsWith | string | Ne | |
| mentionGroupIds | seq[string] | Ne | |
| sso | string | Ne |
Odgovor
Vraća: Option[SearchUsers_200_response]
Primer

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

createVote 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| direction | string | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: Option[VoteComment_200_response]
Primer

deleteVote 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| editKey | string | Ne |
Odgovor
Vraća: Option[DeleteCommentVote_200_response]
Primer

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

getVotesForUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: Option[GetVotesForUser_200_response]
Primer

Trebate pomoć?
Ako naiđete na bilo kakve probleme ili imate pitanja u vezi Nim SDK-a, molimo vas:
Doprinosi
Doprinosi su dobrodošli! Molimo posetite GitHub repozitorijum za smernice o doprinosu.