
Jezik 🇸🇮 Slovenščina
Dokumentacija
Začetek
Referenca API-ja
Uporaba
Agregiranje
Revizijski dnevniki
Blokiranje iz komentarja
Preverjanje blokiranih komentarjev
Komentarji
Konfiguracije domene
Predloge e-pošte
Dnevnik dogodkov
Objave vira
Označi komentar
Hashtagi
Moderatorji
Število obvestil
Obvestila
Strani
Čakajoči Webhook dogodki
Konfiguracije vprašanj
Rezultati vprašanj
Agregacija rezultatov vprašanj
SSO uporabniki
Naročnine
Dnevna poraba najemnika
Paketi najemnika
Uporabniki najemnika
Najemniki
Naloži sliko
Napredek značke uporabnika
Značke uporabnika
Uporabniška obvestila
Status prisotnosti uporabnika
Iskanje uporabnikov
Uporabniki
Glasovi
FastComments Nim SDK
To je uradni Nim SDK za FastComments.
Uradni Nim SDK za FastComments API
Repozitorij
Namestitev 
Uporaba Nimble
nimble install fastcomments
Gradnja iz izvorne kode
nimble build
Vsebina knjižnice
Ta knjižnica vsebuje generiran API odjemalec in SSO orodja, ki poenostavijo delo z API-jem.
Javni in zaščiteni API-ji
Za API odjemalca so na voljo dva modula API: api_default in api_public. api_default vsebuje metode, ki zahtevajo vaš API ključ, in api_public vsebuje klice API-ja
ki jih je mogoče izvesti neposredno iz brskalnika/mobilne naprave/itd brez overjanja.
Hiter začetek 
Uporaba avtenticiranih API-jev (DefaultAPI)
Pomembno: Avtenticirane končne točke zahtevajo, da je vaš API ključ nastavljen kot glava 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"
# Izvedite avtenticirane klice API
let (response, httpResponse) = getComments(
httpClient = client,
tenantId = "your-tenant-id",
page = 0,
limit = 0,
skip = 0,
asTree = false,
skipChildren = 0,
limitChildren = 0,
maxTreeDepth = 0,
urlId = "your-url-id",
userId = "",
anonUserId = "",
contextUserId = "",
hashTag = "",
parentId = "",
direction = SortDirections.DESC
)
if response.isSome:
let resp = response.get()
if resp.comments.isSome:
echo "Found ", resp.comments.get().len, " comments"
Uporaba javnih API-jev (PublicAPI)
Javne končne točke ne zahtevajo avtentikacije:
import httpclient
import fastcomments
import fastcomments/apis/api_public
let client = newHttpClient()
# Izvedite javne klice API
let (response, httpResponse) = getCommentsPublic(
httpClient = client,
tenantId = "your-tenant-id",
urlId = "your-url-id",
page = 0,
direction = SortDirections.DESC,
sso = "",
skip = 0,
skipChildren = 0,
limit = 0,
limitChildren = 0,
countChildren = false,
fetchPageForCommentId = "",
includeConfig = false,
countAll = false,
includei10n = false,
locale = "",
modules = "",
isCrawler = false,
includeNotificationCount = false,
asTree = false,
maxTreeDepth = 0,
useFullTranslationIds = false,
parentId = "",
searchText = "",
hashTags = @[],
userId = "",
customConfigStr = "",
afterCommentId = "",
beforeCommentId = ""
)
if response.isSome:
let resp = response.get()
if resp.comments.isSome:
echo "Found ", resp.comments.get().len, " comments"
Pogoste težave
- 401 authentication error: Prepričajte se, da je glava
x-api-keynastavljena na vašem HttpClient pred pošiljanjem zahtev DefaultAPI:client.headers["x-api-key"] = "your-api-key" - Wrong API class: Uporabite
api_defaultza strežniške avtenticirane zahteve,api_publicza odjemalske/javne zahteve.
Klicanje API-ja 
Vse API metode v tem SDK vračajo pare (Option[ResponseType], Response). Prvi element vsebuje razčlenjen odgovor, če je zahteva uspešna, drugi element pa je surovi HTTP odgovor.
Primer: Pridobivanje komentarjev
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"
Opombe 
ID-ji oddaj
Opazili boste, da morate v nekaterih klicih API posredovati broadcastId. Ko prejmete dogodke, boste ta ID prejeli nazaj, zato boste vedeli, naj dogodek prezrete, če nameravate optimistično uporabiti spremembe na odjemalcu
(kar boste verjetno želeli narediti, saj zagotavlja najboljšo izkušnjo). Tukaj posredujte UUID. ID naj bo dovolj edinstven, da se v eni seji brskalnika ne pojavi dvakrat.
SSO (Enkratna prijava)
Za primere SSO glejte spodaj.
Uporaba SSO 
Enostaven 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
Varen 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 končne točke
Vse URI so relativne na https://fastcomments.com
| Razred | Metoda | HTTP zahteva | 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 | Združuje dokumente z grupiranjem (če je podano groupBy) in izvajanjem več operacij. Podprte so različne 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 | zahtevano 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} | zahtevano tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | zahtevano tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | zahtevano tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | zahtevano 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} | Omogoči ali onemogoči obvestila za določen komentar. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Omogoči ali onemogoči obvestila za stran. Ko so uporabniki naročeni na stran, se ustvarijo obvestila za nove osnovne komentarje, in tudi |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Naloži in spremeni velikost slike |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Dokumentacija modelov
- 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
- 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 avtorizacijo
api_key
- Vrsta: API key
- Ime parametra API ključa: x-api-key
- Lokacija: HTTP header
aggregate 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| aggregationRequest | AggregationRequest | Ne | |
| parentTenantId | string | Ne | |
| includeStats | bool | Ne |
Odgovor
Vrne: Option[AggregationResponse]
Primer

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

blockFromCommentPublic 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[BlockFromCommentPublic_200_response]
Primer

unBlockCommentPublic 
Parametri
| Name | Type | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Ne | |
| sso | string | Ne |
Odgovor
Vrača: Option[UnBlockCommentPublic_200_response]
Primer

checkedCommentsForBlocked 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentIds | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[CheckedCommentsForBlocked_200_response]
Primer

blockUserFromComment 
Parametri
| Name | Type | Obvezno | 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
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| broadcastId | string | Ne | |
| commentData | CommentData | Ne | |
| sessionId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[CreateCommentPublic_200_response]
Primer

deleteComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| contextUserId | string | Ne | |
| isLive | bool | Ne |
Odziv
Vrne: Option[DeleteComment_200_response]
Primer

deleteCommentPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[DeleteCommentPublic_200_response]
Primer

deleteCommentVote 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| voteId | string | Ne | |
| urlId | string | Da | |
| broadcastId | string | Ne | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[DeleteCommentVote_200_response]
Primer

flagComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vrne: Option[FlagComment_200_response]
Primer

getComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[GetComment_200_response]
Primer

getComments 
Parametri
| Ime | Tip | Obvezno | 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
Vrne: Option[GetComments_200_response]
Primer

getCommentsPublic 
Parametri
| Ime | Tip | Obvezno | 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 | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vrača: Option[GetCommentText_200_response]
Primer

getCommentVoteUserNames 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| dir | int | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[GetCommentVoteUserNames_200_response]
Primer

lockComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrača: Option[LockComment_200_response]
Primer

pinComment 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[PinComment_200_response]
Primer

saveComment 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createCommentParams | CreateCommentParams | Ne | |
| isLive | bool | Ne | |
| doSpamCheck | bool | Ne | |
| sendEmails | bool | Ne | |
| populateNotifications | bool | Ne |
Odgovor
Vrne: Option[SaveComment_200_response]
Primer

saveCommentsBulk 
Parametri
| Ime | Tip | Obvezno | 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
Vrne: Option[UnBlockCommentPublic_200_response]
Primer

setCommentText 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Ne | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[SetCommentText_200_response]
Primer

unBlockUserFromComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| 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
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vrne: Option[FlagComment_200_response]
Primer

unLockComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[LockComment_200_response]
Primer

unPinComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[PinComment_200_response]
Primer

updateComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updatableCommentParams | UpdatableCommentParams | Ne | |
| contextUserId | string | Ne | |
| doSpamCheck | bool | Ne | |
| isLive | bool | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

voteComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| urlId | string | Da | |
| broadcastId | string | Ne | |
| voteBodyParams | VoteBodyParams | Ne | |
| sessionId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[VoteComment_200_response]
Primer

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

deleteDomainConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Ne |
Odziv
Vrne: Option[DeleteDomainConfig_200_response]
Primer

getDomainConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Ne |
Odgovor
Vrne: Option[GetDomainConfig_200_response]
Primer

getDomainConfigs 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odziv
Vrne: Option[GetDomainConfigs_200_response]
Primer

patchDomainConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domainToUpdate | string | Ne | |
| patchDomainConfigParams | PatchDomainConfigParams | Ne |
Odgovor
Vrne: Option[GetDomainConfig_200_response]
Primer

putDomainConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domainToUpdate | string | Ne | |
| updateDomainConfigParams | UpdateDomainConfigParams | Ne |
Odgovor
Vrača: Option[GetDomainConfig_200_response]
Primer

createEmailTemplate 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createEmailTemplateBody | CreateEmailTemplateBody | Ne |
Odgovor
Vrača: Option[CreateEmailTemplate_200_response]
Primer

deleteEmailTemplate 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odziv
Vrne: Option[FlagCommentPublic_200_response]
Primer

deleteEmailTemplateRenderError 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| errorId | string | Ne |
Odgovor
Vrača: Option[FlagCommentPublic_200_response]
Primer

getEmailTemplate 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[GetEmailTemplate_200_response]
Primer

getEmailTemplateDefinitions 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odziv
Vrne: Option[GetEmailTemplateDefinitions_200_response]
Primer

getEmailTemplateRenderErrors 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetEmailTemplateRenderErrors_200_response]
Primer

getEmailTemplates 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetEmailTemplates_200_response]
Primer

renderEmailTemplate 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Ne | |
| locale | string | Ne |
Odziv
Vrne: Option[RenderEmailTemplate_200_response]
Primer

updateEmailTemplate 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Ne |
Odgovor
Vrača: Option[FlagCommentPublic_200_response]
Primer

getEventLog 
Parametri
| Name | Type | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userIdWS | string | Ne | |
| startTime | int64 | Ne | |
| endTime | int64 | Ne |
Odgovor
Vrne: Option[GetEventLog_200_response]
Primer

getGlobalEventLog 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userIdWS | string | Ne | |
| startTime | int64 | Ne | |
| endTime | int64 | Ne |
Odgovor
Vrne: Option[GetEventLog_200_response]
Primer

createFeedPost 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createFeedPostParams | CreateFeedPostParams | Ne | |
| broadcastId | string | Ne | |
| isLive | bool | Ne | |
| doSpamCheck | bool | Ne | |
| skipDupCheck | bool | Ne |
Odgovor
Vrne: Option[CreateFeedPost_200_response]
Primer

createFeedPostPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createFeedPostParams | CreateFeedPostParams | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[CreateFeedPostPublic_200_response]
Primer

deleteFeedPostPublic 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[DeleteFeedPostPublic_200_response]
Primer

getFeedPosts 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| afterId | string | Ne | |
| limit | int | Ne | |
| tags | seq[string] | Ne |
Odgovor
Vrne: Option[GetFeedPosts_200_response]
Primer

getFeedPostsPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| afterId | string | Ne | |
| limit | int | Ne | |
| tags | seq[string] | Ne | |
| sso | string | Ne | |
| isCrawler | bool | Ne | |
| includeUserInfo | bool | Ne |
Odziv
Vrne: Option[GetFeedPostsPublic_200_response]
Primer

getFeedPostsStats 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| postIds | seq[string] | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[GetFeedPostsStats_200_response]
Primer

getUserReactsPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postIds | seq[string] | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[GetUserReactsPublic_200_response]
Primer

reactFeedPostPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| postId | string | No | |
| reactBodyParams | ReactBodyParams | No | |
| isUndo | bool | No | |
| broadcastId | string | No | |
| sso | string | No |
Odgovor
Vrne: Option[ReactFeedPostPublic_200_response]
Primer

updateFeedPost 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| feedPost | FeedPost | Ne |
Odgovor
Vrača: Option[FlagCommentPublic_200_response]
Primer

updateFeedPostPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Ne | |
| updateFeedPostParams | UpdateFeedPostParams | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[CreateFeedPostPublic_200_response]
Primer

flagCommentPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| isFlagged | bool | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

addHashTag 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| createHashTagBody | CreateHashTagBody | Ne |
Odgovor
Vrne: Option[AddHashTag_200_response]
Primer

addHashTagsBulk 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Ne |
Odgovor
Vrne: Option[AddHashTagsBulk_200_response]
Primer

deleteHashTag 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tag | string | Ne | |
| tenantId | string | Da | |
| deleteHashTagRequest | DeleteHashTagRequest | Ne |
Odgovor
Vrača: Option[FlagCommentPublic_200_response]
Primer

getHashTags 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| page | float64 | Ne |
Odgovor
Vrne: Option[GetHashTags_200_response]
Primer

patchHashTag 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tag | string | Ne | |
| tenantId | string | Da | |
| updateHashTagBody | UpdateHashTagBody | Ne |
Odgovor
Vrača: Option[PatchHashTag_200_response]
Primer

createModerator 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createModeratorBody | CreateModeratorBody | Ne |
Odgovor
Vrne: Option[CreateModerator_200_response]
Primer

deleteModerator 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| sendEmail | string | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

getModerator 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[GetModerator_200_response]
Primer

getModerators 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetModerators_200_response]
Primer

updateModerator 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateModeratorBody | UpdateModeratorBody | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

deleteNotificationCount 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

getCachedNotificationCount 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrača: Option[GetCachedNotificationCount_200_response]
Primer

getNotificationCount 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| urlId | string | Da | |
| fromCommentId | string | Ne | |
| viewed | bool | Ne |
Odgovor
Vrne: Option[GetNotificationCount_200_response]
Primer

getNotifications 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| urlId | string | Da | |
| fromCommentId | string | Ne | |
| viewed | bool | Ne | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetNotifications_200_response]
Primer

updateNotification 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateNotificationBody | UpdateNotificationBody | Ne | |
| userId | string | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

addPage 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPIPageData | CreateAPIPageData | Ne |
Odgovor
Vrača: Option[AddPageAPIResponse]
Primer

deletePage 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrača: Option[DeletePageAPIResponse]
Primer

getPageByURLId 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vrne: Option[GetPageByURLIdAPIResponse]
Primer

getPages 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vrne: Option[GetPagesAPIResponse]
Primer

patchPage 
Parametri
| Name | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateAPIPageData | UpdateAPIPageData | Ne |
Odgovor
Vrača: Option[PatchPageAPIResponse]
Primer

deletePendingWebhookEvent 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrača: Option[FlagCommentPublic_200_response]
Primer

getPendingWebhookEventCount 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| 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
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| externalId | string | Ne | |
| eventType | string | Ne | |
| domain | string | Ne | |
| attemptCountGT | float64 | Ne | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetPendingWebhookEvents_200_response]
Primer

createQuestionConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionConfigBody | CreateQuestionConfigBody | Ne |
Odgovor
Vrne: Option[CreateQuestionConfig_200_response]
Primer

deleteQuestionConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

getQuestionConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrača: Option[GetQuestionConfig_200_response]
Primer

getQuestionConfigs 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odziv
Vrne: Option[GetQuestionConfigs_200_response]
Primer

updateQuestionConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Ne |
Odgovor
Vrača: Option[FlagCommentPublic_200_response]
Primer

createQuestionResult 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionResultBody | CreateQuestionResultBody | Ne |
Odgovor
Vrača: Option[CreateQuestionResult_200_response]
Primer

deleteQuestionResult 
Parametri
| Name | Type | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

getQuestionResult 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[GetQuestionResult_200_response]
Primer

getQuestionResults 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| 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
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateQuestionResultBody | UpdateQuestionResultBody | Ne |
Odgovor
Vrača: Option[FlagCommentPublic_200_response]
Primer

aggregateQuestionResults 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| questionId | string | Ne | |
| questionIds | seq[string] | Ne | |
| urlId | string | Da | |
| timeBucket | AggregateTimeBucket | Ne | |
| startDate | string | Ne | |
| forceRecalculate | bool | Ne |
Odgovor
Vrne: Option[AggregateQuestionResults_200_response]
Primer

bulkAggregateQuestionResults 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Ne | |
| forceRecalculate | bool | Ne |
Odgovor
Vrača: Option[BulkAggregateQuestionResults_200_response]
Primer

combineCommentsWithQuestionResults 
Parametri
| Name | Type | Obvezno | Opis |
|---|---|---|---|
| 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
Vrne: Option[CombineCommentsWithQuestionResults_200_response]
Primer

addSSOUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPISSOUserData | CreateAPISSOUserData | Ne |
Odgovor
Vrača: Option[AddSSOUserAPIResponse]
Primer

deleteSSOUser 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| deleteComments | bool | Ne | |
| commentDeleteMode | string | Ne |
Odgovor
Vrne: Option[DeleteSSOUserAPIResponse]
Primer

getSSOUserByEmail 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| string | Ne |
Odgovor
Vrne: Option[GetSSOUserByEmailAPIResponse]
Primer

getSSOUserById 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[GetSSOUserByIdAPIResponse]
Primer

getSSOUsers 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | int | Ne |
Odgovor
Vrne: Option[GetSSOUsers_200_response]
Primer

patchSSOUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateAPISSOUserData | UpdateAPISSOUserData | Ne | |
| updateComments | bool | Ne |
Odgovor
Vrne: Option[PatchSSOUserAPIResponse]
Primer

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

createSubscription 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Ne |
Odziv
Vrača: Option[CreateSubscriptionAPIResponse]
Primer

deleteSubscription 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| userId | string | Ne |
Odgovor
Vrne: Option[DeleteSubscriptionAPIResponse]
Primer

getSubscriptions 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne |
Odgovor
Vrne: Option[GetSubscriptionsAPIResponse]
Primer

getTenantDailyUsages 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| yearNumber | float64 | Ne | |
| monthNumber | float64 | Ne | |
| dayNumber | float64 | Ne | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetTenantDailyUsages_200_response]
Primer

createTenantPackage 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantPackageBody | CreateTenantPackageBody | Ne |
Odgovor
Vrača: Option[CreateTenantPackage_200_response]
Primer

deleteTenantPackage 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

getTenantPackage 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[GetTenantPackage_200_response]
Primer

getTenantPackages 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetTenantPackages_200_response]
Primer

replaceTenantPackage 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

updateTenantPackage 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateTenantPackageBody | UpdateTenantPackageBody | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

createTenantUser 
Parametri
| Ime | Vrsta | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantUserBody | CreateTenantUserBody | Ne |
Odziv
Vrne: Option[CreateTenantUser_200_response]
Primer

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

getTenantUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odziv
Vrne: Option[GetTenantUser_200_response]
Primer

getTenantUsers 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vrača: Option[GetTenantUsers_200_response]
Primer

replaceTenantUser 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| replaceTenantUserBody | ReplaceTenantUserBody | Ne | |
| updateComments | string | Ne |
Odgovor
Vrača: Option[FlagCommentPublic_200_response]
Primer

sendLoginLink 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| redirectURL | string | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

updateTenantUser 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateTenantUserBody | UpdateTenantUserBody | Ne | |
| updateComments | string | Ne |
Odgovor
Vrne: Option[FlagCommentPublic_200_response]
Primer

createTenant 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantBody | CreateTenantBody | Ne |
Odgovor
Vrne: Option[CreateTenant_200_response]
Primer

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

getTenant 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[GetTenant_200_response]
Primer

getTenants 
Parametri
| Ime | Tip | Obvezno | 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 |
Odziv
Vrača: Option[FlagCommentPublic_200_response]
Primer

uploadImage 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| file | string | Ne | |
| sizePreset | SizePreset | Ne | |
| urlId | string | Da |
Odgovor
Vrne: Option[UploadImageResponse]
Primer

getUserBadgeProgressById 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrača: Option[GetUserBadgeProgressById_200_response]
Primer

getUserBadgeProgressByUserId 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne |
Odgovor
Vrne: Option[GetUserBadgeProgressById_200_response]
Primer

getUserBadgeProgressList 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| limit | float64 | Ne | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetUserBadgeProgressList_200_response]
Primer

createUserBadge 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createUserBadgeParams | CreateUserBadgeParams | Ne |
Odgovor
Vrača: Option[CreateUserBadge_200_response]
Primer

deleteUserBadge 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[UpdateUserBadge_200_response]
Primer

getUserBadge 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[GetUserBadge_200_response]
Primer

getUserBadges 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| badgeId | string | Ne | |
| displayedOnComments | bool | Ne | |
| limit | float64 | Ne | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetUserBadges_200_response]
Primer

updateUserBadge 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateUserBadgeParams | UpdateUserBadgeParams | Ne |
Odgovor
Vrača: Option[UpdateUserBadge_200_response]
Primer

getUserNotificationCount 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: Option[GetUserNotificationCount_200_response]
Primer

getUserNotifications 
Parameters
| 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
Vrne: Option[GetUserNotifications_200_response]
Primer

resetUserNotificationCount 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: Option[ResetUserNotifications_200_response]
Primer

resetUserNotifications 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| afterId | string | Ne | |
| afterCreatedAt | int64 | Ne | |
| unreadOnly | bool | Ne | |
| dmOnly | bool | Ne | |
| noDm | bool | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[ResetUserNotifications_200_response]
Primer

updateUserNotificationCommentSubscriptionStatus 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Ne | |
| optedInOrOut | string | Ne | |
| commentId | string | Da | |
| sso | string | Ne |
Odziv
Vrača: Option[UpdateUserNotificationStatus_200_response]
Primer

updateUserNotificationPageSubscriptionStatus 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| url | string | Ne | |
| pageTitle | string | Ne | |
| subscribedOrUnsubscribed | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[UpdateUserNotificationStatus_200_response]
Primer

updateUserNotificationStatus 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Ne | |
| newStatus | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[UpdateUserNotificationStatus_200_response]
Primer

getUserPresenceStatuses 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlIdWS | string | Ne | |
| userIds | string | Ne |
Odgovor
Vrne: Option[GetUserPresenceStatuses_200_response]
Primer

searchUsers 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| usernameStartsWith | string | Ne | |
| mentionGroupIds | seq[string] | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[SearchUsers_200_response]
Primer

getUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrača: Option[GetUser_200_response]
Primer

createVote 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| direction | string | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vrne: Option[VoteComment_200_response]
Primer

deleteVote 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| editKey | string | Ne |
Odgovor
Vrne: Option[DeleteCommentVote_200_response]
Primer

getVotes 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vrne: Option[GetVotes_200_response]
Primer

getVotesForUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vrača: Option[GetVotesForUser_200_response]
Primer

Potrebujete pomoč?
Če naletite na težave ali imate vprašanja v zvezi z Nim SDK, prosimo:
Prispevanje
Prispevki so dobrodošli! Prosimo, obiščite GitHub repozitorij za smernice o prispevanju.