
Jezik 🇸🇮 Slovenščina
Dokumentacija
Začetek
API referenca
Uporaba
Agregiranje
Revizijski zapisi
Avtentikacija
Blokiranje pri komentiranju
Preveri blokirane komentarje
Komentarji
Komentarji za uporabnika
Konfiguracije domene
E-poštne predloge
Dnevnik dogodkov
Objave
Prijavi komentar
GIFi
Hashtagi
Moderacija
Moderatorji
Število obvestil
Obvestila
Reakcije strani
Strani
Čakajoči Webhook dogodki
Konfiguracije vprašanj
Rezultati vprašanj
Agregacija rezultatov vprašanj
SSO uporabniki
Naročnine
Dnevna uporaba najemnika
Paketi najemnika
Uporabniki najemnika
Najemniki
Vstopnice
Prevodi
Naloži sliko
Napredek značke uporabnika
Uporabniške značke
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 odjemalec API in SSO orodja za lažje delo z API-jem.
Javni in zavarovani API-ji
Za odjemalca API so na voljo trije moduli API, api_default, api_public in api_moderation. api_default vsebuje metode, ki zahtevajo vaš API ključ, api_public pa vsebuje klice API-ja, ki jih je mogoče izvajati neposredno iz brskalnika/mobilne naprave/itd. brez overjanja. Modul api_moderation vsebuje metode za nadzorno ploščo moderatorja.
Metode api_moderation zajemajo izpisovanje, štetje, iskanje in izvoz komentarjev in njihovih dnevnikov; moderacijske ukrepe, kot so odstranjevanje/obnavljanje komentarjev, prijavljanje, nastavljanje statusa pregleda/spama/odobritve, spreminjanje glasov ter ponovno odpiranje/zapiranje nití; prepovedi (blokiranje uporabnika glede komentiranja, razveljavitev prepovedi, povzetki pred prepovedjo, stanje in nastavitve prepovedi ter število prepovedanih uporabnikov); in značke ter zaupanje (podeljevanje/odstranjevanje značke, seznam ročnih značk, pridobivanje/nastavljanje faktorja zaupanja uporabnika in pridobitev notranjega profila uporabnika). Vsaka metoda api_moderation sprejme parameter sso, tako da je klic avtenticiran kot SSO moderator.
Hiter začetek 
Uporaba avtenticiranih API-jev (DefaultAPI)
Pomembno: Avtenticirane končne točke zahtevajo, da je vaš API ključ nastavljen v glavi 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"
# Izvedi avtenticirane API klice
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()
# Izvedi javne API klice
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"
Uporaba moderacijskih API-jev (ModerationAPI)
Moderacijske končne točke poganjajo nadzorno ploščo moderatorja in so avtenticirane z SSO žetonom aktivnega moderatorja:
import httpclient
import fastcomments
import fastcomments/apis/api_moderation
let client = newHttpClient()
# Naštej komentarje v moderacijskem vmesniku
let (response, httpResponse) = getApiComments(
httpClient = client,
page = 0,
count = 30,
textSearch = "",
byIPFromComment = "",
filters = "",
searchFilters = "",
sorts = "",
demo = false,
sso = "your-sso-token"
)
if response.isSome:
let resp = response.get()
echo "Found ", resp.comments.len, " comments"
Pogoste težave
- 401 napaka avtentikacije: Prepričajte se, da nastavite glavo
x-api-keyna svojem HttpClient pred izvajanjem DefaultAPI zahtev:client.headers["x-api-key"] = "your-api-key" - Napačen razred API: Uporabite
api_defaultza strežniške avtenticirane zahteve,api_publicza odjemalčeve/javne zahteve inapi_moderationza zahteve nadzorne plošče moderatorja.
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 API končne točke
Vsi URI-ji so relativni na https://fastcomments.com
| Razred | Metoda | HTTP zahteva | Opis |
|---|---|---|---|
| DefaultApi | addDomainConfig | POST /api/v1/domain-configs | |
| DefaultApi | addHashTag | POST /api/v1/hash-tags | |
| DefaultApi | addHashTagsBulk | POST /api/v1/hash-tags/bulk | |
| DefaultApi | addPage | POST /api/v1/pages | |
| DefaultApi | addSSOUser | POST /api/v1/sso-users | |
| DefaultApi | aggregate | POST /api/v1/aggregate | Združuje dokumente glede na skupine (če je podan groupBy) in izvaja 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 | changeTicketState | PATCH /api/v1/tickets/{id}/state | |
| DefaultApi | combineCommentsWithQuestionResults | GET /api/v1/question-results-aggregation/combine/comments | |
| DefaultApi | createEmailTemplate | POST /api/v1/email-templates | |
| DefaultApi | createFeedPost | POST /api/v1/feed-posts | |
| DefaultApi | createModerator | POST /api/v1/moderators | |
| DefaultApi | createQuestionConfig | POST /api/v1/question-configs | |
| DefaultApi | createQuestionResult | POST /api/v1/question-results | |
| DefaultApi | createSubscription | POST /api/v1/subscriptions | |
| DefaultApi | createTenant | POST /api/v1/tenants | |
| DefaultApi | createTenantPackage | POST /api/v1/tenant-packages | |
| DefaultApi | createTenantUser | POST /api/v1/tenant-users | |
| DefaultApi | createTicket | POST /api/v1/tickets | |
| DefaultApi | createUserBadge | POST /api/v1/user-badges | |
| DefaultApi | createVote | POST /api/v1/votes | |
| DefaultApi | deleteComment | DELETE /api/v1/comments/{id} | |
| DefaultApi | deleteDomainConfig | DELETE /api/v1/domain-configs/{domain} | |
| DefaultApi | deleteEmailTemplate | DELETE /api/v1/email-templates/{id} | |
| DefaultApi | deleteEmailTemplateRenderError | DELETE /api/v1/email-templates/{id}/render-errors/{errorId} | |
| DefaultApi | deleteHashTag | DELETE /api/v1/hash-tags/{tag} | |
| DefaultApi | deleteModerator | DELETE /api/v1/moderators/{id} | |
| DefaultApi | deleteNotificationCount | DELETE /api/v1/notification-count/{id} | |
| DefaultApi | deletePage | DELETE /api/v1/pages/{id} | |
| DefaultApi | deletePendingWebhookEvent | DELETE /api/v1/pending-webhook-events/{id} | |
| DefaultApi | deleteQuestionConfig | DELETE /api/v1/question-configs/{id} | |
| DefaultApi | deleteQuestionResult | DELETE /api/v1/question-results/{id} | |
| DefaultApi | deleteSSOUser | DELETE /api/v1/sso-users/{id} | |
| DefaultApi | deleteSubscription | DELETE /api/v1/subscriptions/{id} | |
| DefaultApi | deleteTenant | DELETE /api/v1/tenants/{id} | |
| DefaultApi | deleteTenantPackage | DELETE /api/v1/tenant-packages/{id} | |
| DefaultApi | deleteTenantUser | DELETE /api/v1/tenant-users/{id} | |
| DefaultApi | deleteUserBadge | DELETE /api/v1/user-badges/{id} | |
| DefaultApi | deleteVote | DELETE /api/v1/votes/{id} | |
| DefaultApi | flagComment | POST /api/v1/comments/{id}/flag | |
| DefaultApi | getAuditLogs | GET /api/v1/audit-logs | |
| DefaultApi | getCachedNotificationCount | GET /api/v1/notification-count/{id} | |
| DefaultApi | getComment | GET /api/v1/comments/{id} | |
| DefaultApi | getComments | GET /api/v1/comments | |
| DefaultApi | getDomainConfig | GET /api/v1/domain-configs/{domain} | |
| DefaultApi | getDomainConfigs | GET /api/v1/domain-configs | |
| DefaultApi | getEmailTemplate | GET /api/v1/email-templates/{id} | |
| DefaultApi | getEmailTemplateDefinitions | GET /api/v1/email-templates/definitions | |
| DefaultApi | getEmailTemplateRenderErrors | GET /api/v1/email-templates/{id}/render-errors | |
| DefaultApi | getEmailTemplates | GET /api/v1/email-templates | |
| DefaultApi | getFeedPosts | GET /api/v1/feed-posts | zahteva tenantId afterId |
| DefaultApi | getHashTags | GET /api/v1/hash-tags | |
| DefaultApi | getModerator | GET /api/v1/moderators/{id} | |
| DefaultApi | getModerators | GET /api/v1/moderators | |
| DefaultApi | getNotificationCount | GET /api/v1/notifications/count | |
| DefaultApi | getNotifications | GET /api/v1/notifications | |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPages | GET /api/v1/pages | |
| DefaultApi | getPendingWebhookEventCount | GET /api/v1/pending-webhook-events/count | |
| DefaultApi | getPendingWebhookEvents | GET /api/v1/pending-webhook-events | |
| DefaultApi | getQuestionConfig | GET /api/v1/question-configs/{id} | |
| DefaultApi | getQuestionConfigs | GET /api/v1/question-configs | |
| DefaultApi | getQuestionResult | GET /api/v1/question-results/{id} | |
| DefaultApi | getQuestionResults | GET /api/v1/question-results | |
| DefaultApi | getSSOUserByEmail | GET /api/v1/sso-users/by-email/{email} | |
| DefaultApi | getSSOUserById | GET /api/v1/sso-users/by-id/{id} | |
| DefaultApi | getSSOUsers | GET /api/v1/sso-users | |
| DefaultApi | getSubscriptions | GET /api/v1/subscriptions | |
| DefaultApi | getTenant | GET /api/v1/tenants/{id} | |
| DefaultApi | getTenantDailyUsages | GET /api/v1/tenant-daily-usage | |
| DefaultApi | getTenantPackage | GET /api/v1/tenant-packages/{id} | |
| DefaultApi | getTenantPackages | GET /api/v1/tenant-packages | |
| DefaultApi | getTenantUser | GET /api/v1/tenant-users/{id} | |
| DefaultApi | getTenantUsers | GET /api/v1/tenant-users | |
| DefaultApi | getTenants | GET /api/v1/tenants | |
| DefaultApi | getTicket | GET /api/v1/tickets/{id} | |
| DefaultApi | getTickets | GET /api/v1/tickets | |
| DefaultApi | getUser | GET /api/v1/users/{id} | |
| DefaultApi | getUserBadge | GET /api/v1/user-badges/{id} | |
| DefaultApi | getUserBadgeProgressById | GET /api/v1/user-badge-progress/{id} | |
| DefaultApi | getUserBadgeProgressByUserId | GET /api/v1/user-badge-progress/user/{userId} | |
| DefaultApi | getUserBadgeProgressList | GET /api/v1/user-badge-progress | |
| DefaultApi | getUserBadges | GET /api/v1/user-badges | |
| DefaultApi | getVotes | GET /api/v1/votes | |
| DefaultApi | getVotesForUser | GET /api/v1/votes/for-user | |
| DefaultApi | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | patchHashTag | PATCH /api/v1/hash-tags/{tag} | |
| DefaultApi | patchPage | PATCH /api/v1/pages/{id} | |
| DefaultApi | patchSSOUser | PATCH /api/v1/sso-users/{id} | |
| DefaultApi | putDomainConfig | PUT /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | putSSOUser | PUT /api/v1/sso-users/{id} | |
| DefaultApi | renderEmailTemplate | POST /api/v1/email-templates/render | |
| DefaultApi | replaceTenantPackage | PUT /api/v1/tenant-packages/{id} | |
| DefaultApi | replaceTenantUser | PUT /api/v1/tenant-users/{id} | |
| DefaultApi | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| DefaultApi | sendInvite | POST /api/v1/moderators/{id}/send-invite | |
| DefaultApi | sendLoginLink | POST /api/v1/tenant-users/{id}/send-login-link | |
| DefaultApi | unBlockUserFromComment | POST /api/v1/comments/{id}/un-block | |
| DefaultApi | unFlagComment | POST /api/v1/comments/{id}/un-flag | |
| DefaultApi | updateComment | PATCH /api/v1/comments/{id} | |
| DefaultApi | updateEmailTemplate | PATCH /api/v1/email-templates/{id} | |
| DefaultApi | updateFeedPost | PATCH /api/v1/feed-posts/{id} | |
| DefaultApi | updateModerator | PATCH /api/v1/moderators/{id} | |
| DefaultApi | updateNotification | PATCH /api/v1/notifications/{id} | |
| DefaultApi | updateQuestionConfig | PATCH /api/v1/question-configs/{id} | |
| DefaultApi | updateQuestionResult | PATCH /api/v1/question-results/{id} | |
| DefaultApi | updateSubscription | PATCH /api/v1/subscriptions/{id} | |
| DefaultApi | updateTenant | PATCH /api/v1/tenants/{id} | |
| DefaultApi | updateTenantPackage | PATCH /api/v1/tenant-packages/{id} | |
| DefaultApi | updateTenantUser | PATCH /api/v1/tenant-users/{id} | |
| DefaultApi | updateUserBadge | PUT /api/v1/user-badges/{id} | |
| ModerationApi | deleteModerationVote | DELETE /auth/my-account/moderate-comments/vote/{commentId}/{voteId} | |
| ModerationApi | getApiComments | GET /auth/my-account/moderate-comments/api/comments | |
| ModerationApi | getApiExportStatus | GET /auth/my-account/moderate-comments/api/export/status | |
| ModerationApi | getApiIds | GET /auth/my-account/moderate-comments/api/ids | |
| ModerationApi | getBanUsersFromComment | GET /auth/my-account/moderate-comments/ban-users/from-comment/{commentId} | |
| ModerationApi | getCommentBanStatus | GET /auth/my-account/moderate-comments/get-comment-ban-status/{commentId} | |
| ModerationApi | getCommentChildren | GET /auth/my-account/moderate-comments/comment-children/{commentId} | |
| ModerationApi | getCount | GET /auth/my-account/moderate-comments/count | |
| ModerationApi | getCounts | GET /auth/my-account/moderate-comments/banned-users/counts | |
| ModerationApi | getLogs | GET /auth/my-account/moderate-comments/logs/{commentId} | |
| ModerationApi | getManualBadges | GET /auth/my-account/moderate-comments/get-manual-badges | |
| ModerationApi | getManualBadgesForUser | GET /auth/my-account/moderate-comments/get-manual-badges-for-user | |
| ModerationApi | getModerationComment | GET /auth/my-account/moderate-comments/comment/{commentId} | |
| ModerationApi | getModerationCommentText | GET /auth/my-account/moderate-comments/get-comment-text/{commentId} | |
| ModerationApi | getPreBanSummary | GET /auth/my-account/moderate-comments/pre-ban-summary/{commentId} | |
| ModerationApi | getSearchCommentsSummary | GET /auth/my-account/moderate-comments/search/comments/summary | |
| ModerationApi | getSearchPages | GET /auth/my-account/moderate-comments/search/pages | |
| ModerationApi | getSearchSites | GET /auth/my-account/moderate-comments/search/sites | |
| ModerationApi | getSearchSuggest | GET /auth/my-account/moderate-comments/search/suggest | |
| ModerationApi | getSearchUsers | GET /auth/my-account/moderate-comments/search/users | |
| ModerationApi | getTrustFactor | GET /auth/my-account/moderate-comments/get-trust-factor | |
| ModerationApi | getUserBanPreference | GET /auth/my-account/moderate-comments/user-ban-preference | |
| ModerationApi | getUserInternalProfile | GET /auth/my-account/moderate-comments/get-user-internal-profile | |
| ModerationApi | postAdjustCommentVotes | POST /auth/my-account/moderate-comments/adjust-comment-votes/{commentId} | |
| ModerationApi | postApiExport | POST /auth/my-account/moderate-comments/api/export | |
| ModerationApi | postBanUserFromComment | POST /auth/my-account/moderate-comments/ban-user/from-comment/{commentId} | |
| ModerationApi | postBanUserUndo | POST /auth/my-account/moderate-comments/ban-user/undo | |
| ModerationApi | postBulkPreBanSummary | POST /auth/my-account/moderate-comments/bulk-pre-ban-summary | |
| ModerationApi | postCommentsByIds | POST /auth/my-account/moderate-comments/comments-by-ids | |
| ModerationApi | postFlagComment | POST /auth/my-account/moderate-comments/flag-comment/{commentId} | |
| ModerationApi | postRemoveComment | POST /auth/my-account/moderate-comments/remove-comment/{commentId} | |
| ModerationApi | postRestoreDeletedComment | POST /auth/my-account/moderate-comments/restore-deleted-comment/{commentId} | |
| ModerationApi | postSetCommentApprovalStatus | POST /auth/my-account/moderate-comments/set-comment-approval-status/{commentId} | |
| ModerationApi | postSetCommentReviewStatus | POST /auth/my-account/moderate-comments/set-comment-review-status/{commentId} | |
| ModerationApi | postSetCommentSpamStatus | POST /auth/my-account/moderate-comments/set-comment-spam-status/{commentId} | |
| ModerationApi | postSetCommentText | POST /auth/my-account/moderate-comments/set-comment-text/{commentId} | |
| ModerationApi | postUnFlagComment | POST /auth/my-account/moderate-comments/un-flag-comment/{commentId} | |
| ModerationApi | postVote | POST /auth/my-account/moderate-comments/vote/{commentId} | |
| ModerationApi | putAwardBadge | PUT /auth/my-account/moderate-comments/award-badge | |
| ModerationApi | putCloseThread | PUT /auth/my-account/moderate-comments/close-thread | |
| ModerationApi | putRemoveBadge | PUT /auth/my-account/moderate-comments/remove-badge | |
| ModerationApi | putReopenThread | PUT /auth/my-account/moderate-comments/reopen-thread | |
| ModerationApi | setTrustFactor | PUT /auth/my-account/moderate-comments/set-trust-factor | |
| 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 | createV1PageReact | POST /page-reacts/v1/likes/{tenantId} | |
| PublicApi | createV2PageReact | POST /page-reacts/v2/{tenantId} | |
| PublicApi | deleteCommentPublic | DELETE /comments/{tenantId}/{commentId} | |
| PublicApi | deleteCommentVote | DELETE /comments/{tenantId}/{commentId}/vote/{voteId} | |
| PublicApi | deleteFeedPostPublic | DELETE /feed-posts/{tenantId}/{postId} | |
| PublicApi | deleteV1PageReact | DELETE /page-reacts/v1/likes/{tenantId} | |
| PublicApi | deleteV2PageReact | DELETE /page-reacts/v2/{tenantId} | |
| PublicApi | flagCommentPublic | POST /flag-comment/{commentId} | |
| PublicApi | getCommentText | GET /comments/{tenantId}/{commentId}/text | |
| PublicApi | getCommentVoteUserNames | GET /comments/{tenantId}/{commentId}/votes | |
| PublicApi | getCommentsForUser | GET /comments-for-user | |
| PublicApi | getCommentsPublic | GET /comments/{tenantId} | zahteva tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | zahteva tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | zahteva tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGifLarge | GET /gifs/get-large/{tenantId} | |
| PublicApi | getGifsSearch | GET /gifs/search/{tenantId} | |
| PublicApi | getGifsTrending | GET /gifs/trending/{tenantId} | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | zahteva tenantId urlId userIdWS |
| PublicApi | getOfflineUsers | GET /pages/{tenantId}/users/offline | Pretekli komentatorji na strani, ki trenutno NISO na spletu. Razvrščeni po displayName. Uporabite to potem, ko izčrpate /users/online, za prikaz odseka »Člani«. Paginacija s kurzorjem po commenterName: strežnik prehodi delni indeks {tenantId, urlId, commenterName} naprej preko $gt, brez $skip stroška. |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | Trenutno prisotni gledalci strani: ljudje, katerih websocket seja je trenutno naročena na stran. Vrne anonCount + totalCount (vsi naročeni v sobi, vključno z anonimnimi gledalci, ki jih ne naštevamo). |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | Seznam strani za najemnika. Uporablja ga namizni odjemalec FChat za izpolnjevanje seznama sob. Zahteva, da je enableFChat nastavljen na true v prilagojeni konfiguraciji vsake strani. Strani, ki zahtevajo SSO, se filtrirajo glede na dostop skupine uporabnika, ki pošilja zahtevo. |
| PublicApi | getTranslations | GET /translations/{namespace}/{component} | |
| 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 | getUsersInfo | GET /pages/{tenantId}/users/info | Skupinski podatki o uporabnikih za najemnika. Glede na userIds vrne prikazne podatke iz User / SSOUser. Uporablja ga pripomoček za komentarje za obogatitev uporabnikov, ki so se pravkar pojavili z dogodkom prisotnosti. Brez konteksta strani: zasebnost je enotno zagotovljena (zasebni profili so zakriti). |
| PublicApi | getV1PageLikes | GET /page-reacts/v1/likes/{tenantId} | |
| PublicApi | getV2PageReactUsers | GET /page-reacts/v2/{tenantId}/list | |
| PublicApi | getV2PageReacts | GET /page-reacts/v2/{tenantId} | |
| PublicApi | lockComment | POST /comments/{tenantId}/{commentId}/lock | |
| PublicApi | logoutPublic | PUT /auth/logout | |
| 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 obvestila ustvarjajo za nove glavne komentarje, prav tako pa 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 za modele
- APIAuditLog
- APIBanUserChangeLog
- APIBanUserChangedValues
- APIBannedUser
- APIBannedUserWithMultiMatchInfo
- APIComment
- APICommentBase
- APICommentBase_meta
- APICommentCommonBannedUser
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIModerateGetUserBanPreferencesResponse
- APIModerateUserBanPreferences
- APIPage
- APISSOUser
- APISaveCommentResponse
- APIStatus
- APITenant
- APITenantDailyUsage
- APITicket
- APITicketDetail
- APITicketFile
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfigResponse
- AddDomainConfigResponse_anyOf
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AdjustCommentVotesParams
- AdjustVotesResponse
- AggregateQuestionResultsResponse
- AggregateResponse
- AggregateTimeBucket
- AggregationAPIError
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- AwardUserBadgeResponse
- BanUserFromCommentResult
- BanUserUndoParams
- BannedUserMatch
- BannedUserMatchType
- BannedUserMatch_matchedOnValue
- BillingInfo
- BlockFromCommentParams
- BlockSuccess
- BuildModerationFilterParams
- BuildModerationFilterResponse
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkCreateHashTagsBody
- BulkCreateHashTagsBody_tags_inner
- BulkCreateHashTagsResponse
- BulkCreateHashTagsResponse_results_inner
- BulkPreBanParams
- BulkPreBanSummary
- ChangeCommentPinStatusResponse
- ChangeTicketStateBody
- ChangeTicketStateResponse
- CheckBlockedCommentsResponse
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentLogData
- CommentLogEntry
- CommentLogType
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CommentsByIdsParams
- CreateAPIPageData
- CreateAPISSOUserData
- CreateAPIUserSubscriptionData
- CreateCommentParams
- CreateEmailTemplateBody
- CreateEmailTemplateResponse
- CreateFeedPostParams
- CreateFeedPostResponse
- CreateFeedPostsResponse
- CreateHashTagBody
- CreateHashTagResponse
- CreateModeratorBody
- CreateModeratorResponse
- CreateQuestionConfigBody
- CreateQuestionConfigResponse
- CreateQuestionResultBody
- CreateQuestionResultResponse
- CreateSubscriptionAPIResponse
- CreateTenantBody
- CreateTenantPackageBody
- CreateTenantPackageResponse
- CreateTenantResponse
- CreateTenantUserBody
- CreateTenantUserResponse
- CreateTicketBody
- CreateTicketResponse
- CreateUserBadgeParams
- CreateV1PageReact
- CustomConfigParameters
- CustomEmailTemplate
- DeleteCommentAction
- DeleteCommentResult
- DeleteDomainConfigResponse
- DeleteFeedPostPublicResponse
- DeleteHashTagRequestBody
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- [DeleteSubscriptionAPIResponse](https://github.com/FastComments/fastcomments
aggregate 
Agregira dokumente z združevanjem (če je podan groupBy) in izvajanjem več operacij. Podprte so različne operacije (npr. sum, countDistinct, avg itd.).
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| aggregationRequest | AggregationRequest | Ne | |
| parentTenantId | string | Ne | |
| includeStats | bool | Ne |
Odgovor
Vrne: Option[AggregateResponse]
Primer

getAuditLogs 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| limit | float64 | Ne | |
| skip | float64 | Ne | |
| order | SORTDIR | Ne | |
| after | float64 | Ne | |
| before | float64 | Ne |
Odgovor
Vrne: Option[GetAuditLogsResponse]
Primer

logoutPublic 
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

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

unBlockCommentPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[UnblockSuccess]
Primer

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

blockUserFromComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| blockFromCommentParams | BlockFromCommentParams | No | |
| userId | string | No | |
| anonUserId | string | No |
Odgovor
Vrača: Option[BlockSuccess]
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[SaveCommentsResponseWithPresence]
Primer

deleteComment 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| contextUserId | string | Ne | |
| isLive | bool | Ne |
Odgovor
Vrne: Option[DeleteCommentResult]
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[PublicAPIDeleteCommentResponse]
Primer

deleteCommentVote 
Parametri
| Name | Type | 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[VoteDeleteResponse]
Primer

flagComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vrača: Option[FlagCommentResponse]
Primer

getComment 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[APIGetCommentResponse]
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 | |
| fromDate | int64 | Ne | |
| toDate | int64 | Ne |
Odgovor
Vrača: Option[APIGetCommentsResponse]
Primer

getCommentsPublic 
req tenantId urlId
Parametri
| Ime | Tip | Zahtevano | 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
Vrne: Option[GetCommentsResponseWithPresencePublicComment]
Primer

getCommentText 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[PublicAPIGetCommentTextResponse]
Primer

getCommentVoteUserNames 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| dir | int | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[GetCommentVoteUserNamesSuccessResponse]
Primer

lockComment 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

pinComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| broadcastId | string | No | |
| sso | string | No |
Odziv
Vrne: Option[ChangeCommentPinStatusResponse]
Primer

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

saveCommentsBulk 
Parametri
| Ime | Type | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createCommentParams | seq[CreateCommentParams] | Ne | |
| isLive | bool | Ne | |
| doSpamCheck | bool | Ne | |
| sendEmails | bool | Ne | |
| populateNotifications | bool): (Option[seq[SaveCommentsBulkResponse]] | Ne | |
| id | string | Ne | |
| fromName | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
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[PublicAPISetCommentTextResponse]
Primer

unBlockUserFromComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vrne: Option[UnblockSuccess]
Primer

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

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

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

updateComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updatableCommentParams | UpdatableCommentParams | Ne | |
| contextUserId | string | Ne | |
| doSpamCheck | bool | Ne | |
| isLive | bool | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
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[VoteResponse]
Primer

getCommentsForUser 
Parametri
| Name | Type | Obvezno | Opis |
|---|---|---|---|
| userId | string | Ne | |
| direction | SortDirections | Ne | |
| repliesToUserId | string | Ne | |
| page | float64 | Ne | |
| includei10n | bool | Ne | |
| locale | string | Ne | |
| isCrawler | bool | Ne |
Odgovor
Vrne: Option[GetCommentsForUserResponse]
Primer

addDomainConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| addDomainConfigParams | AddDomainConfigParams | Ne |
Odgovor
Vrača: Option[AddDomainConfigResponse]
Primer

deleteDomainConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Ne |
Odgovor
Vrača: Option[DeleteDomainConfigResponse]
Primer

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

getDomainConfigs 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vrača: Option[GetDomainConfigsResponse]
Primer

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

putDomainConfig 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domainToUpdate | string | Ne | |
| updateDomainConfigParams | UpdateDomainConfigParams | Ne |
Odgovor
Vrne: Option[PutDomainConfigResponse]
Primer

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

deleteEmailTemplate 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Response
Vrača: Option[APIEmptyResponse]
Primer

deleteEmailTemplateRenderError 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| errorId | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

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

getEmailTemplateDefinitions 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vrača: Option[GetEmailTemplateDefinitionsResponse]
Primer

getEmailTemplateRenderErrors 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetEmailTemplateRenderErrorsResponse]
Primer

getEmailTemplates 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetEmailTemplatesResponse]
Primer

renderEmailTemplate 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Ne | |
| locale | string | Ne |
Odgovor
Vrne: Option[RenderEmailTemplateResponse]
Primer

updateEmailTemplate 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

getEventLog 
req tenantId urlId userIdWS
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userIdWS | string | Ne | |
| startTime | int64 | Ne | |
| endTime | int64 | Ne |
Odziv
Vrne: Option[GetEventLogResponse]
Primer

getGlobalEventLog 
req tenantId urlId userIdWS
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userIdWS | string | Ne | |
| startTime | int64 | Ne | |
| endTime | int64 | Ne |
Odgovor
Vrne: Option[GetEventLogResponse]
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[CreateFeedPostsResponse]
Primer

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

deleteFeedPostPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrača: Option[DeleteFeedPostPublicResponse]
Primer

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

getFeedPostsPublic 
req tenantId afterId
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 |
Odgovor
Vrne: Option[PublicFeedPostsResponse]
Primer

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

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

reactFeedPostPublic 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Ne | |
| reactBodyParams | ReactBodyParams | Ne | |
| isUndo | bool | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrača: Option[ReactFeedPostResponse]
Primer

updateFeedPost 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| feedPost | FeedPost | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
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[CreateFeedPostResponse]
Primer

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

getGifLarge 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| largeInternalURLSanitized | string | Ne |
Odgovor
Vrne: Option[GifGetLargeResponse]
Primer

getGifsSearch 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| search | string | Ne | |
| locale | string | Ne | |
| rating | string | Ne | |
| page | float64 | Ne |
Odgovor
Vrne: Option[GetGifsSearchResponse]
Primer

getGifsTrending 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| locale | string | Ne | |
| rating | string | Ne | |
| page | float64 | Ne |
Odziv
Vrne: Option[GetGifsTrendingResponse]
Primer

addHashTag 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createHashTagBody | CreateHashTagBody | Ne |
Odgovor
Vrne: Option[CreateHashTagResponse]
Primer

addHashTagsBulk 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Ne |
Odgovor
Vrne: Option[BulkCreateHashTagsResponse]
Primer

deleteHashTag 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tag | string | Ne | |
| tenantId | string | Da | |
| deleteHashTagRequestBody | DeleteHashTagRequestBody | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

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

patchHashTag 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tag | string | Ne | |
| tenantId | string | Da | |
| updateHashTagBody | UpdateHashTagBody | Ne |
Odziv
Vrne: Option[UpdateHashTagResponse]
Primer

deleteModerationVote 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| voteId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[VoteDeleteResponse]
Primer

getApiComments 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| page | float64 | Ne | |
| count | float64 | Ne | |
| textSearch | string | Ne | |
| byIPFromComment | string | Ne | |
| filters | string | Ne | |
| searchFilters | string | Ne | |
| sorts | string | Ne | |
| demo | bool | Ne | |
| sso | string | Ne |
Odgovor
Vrača: Option[ModerationAPIGetCommentsResponse]
Primer

getApiExportStatus 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| batchJobId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[ModerationExportStatusResponse]
Primer

getApiIds 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| textSearch | string | Ne | |
| byIPFromComment | string | Ne | |
| filters | string | Ne | |
| searchFilters | string | Ne | |
| afterId | string | Ne | |
| demo | bool | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[ModerationAPIGetCommentIdsResponse]
Primer

getBanUsersFromComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vrača: Option[GetBannedUsersFromCommentResponse]
Primer

getCommentBanStatus 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| sso | string | Ne |
Odziv
Vrne: Option[GetCommentBanStatusResponse]
Primer

getCommentChildren 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: Option[ModerationAPIChildCommentsResponse]
Primer

getCount 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| textSearch | string | Ne | |
| byIPFromComment | string | Ne | |
| filter | string | Ne | |
| searchFilters | string | Ne | |
| demo | bool | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[ModerationAPICountCommentsResponse]
Primer

getCounts 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| sso | string | Ne |
Odgovor
Vrne: Option[GetBannedUsersCountResponse]
Primer

getLogs 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: Option[ModerationAPIGetLogsResponse]
Primer

getManualBadges 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| sso | string | Ne |
Odgovor
Vrne: Option[GetTenantManualBadgesResponse]
Primer

getManualBadgesForUser 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| badgesUserId | string | Ne | |
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: Option[GetUserManualBadgesResponse]
Primer

getModerationComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| includeEmail | bool | Ne | |
| includeIP | bool | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[ModerationAPICommentResponse]
Primer

getModerationCommentText 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: Option[GetCommentTextResponse]
Primer

getPreBanSummary 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| includeByUserIdAndEmail | bool | Ne | |
| includeByIP | bool | Ne | |
| includeByEmailDomain | bool | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[PreBanSummary]
Primer

getSearchCommentsSummary 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| value | string | Ne | |
| filters | string | Ne | |
| searchFilters | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[ModerationCommentSearchResponse]
Primer

getSearchPages 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| value | string | Ne | |
| sso | string | Ne |
Odgovor
Vrača: Option[ModerationPageSearchResponse]
Primer

getSearchSites 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| value | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[ModerationSiteSearchResponse]
Primer

getSearchSuggest 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| textSearch | string | Ne | |
| sso | string | Ne |
Odgovor
Vrača: Option[ModerationSuggestResponse]
Primer

getSearchUsers 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| value | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[ModerationUserSearchResponse]
Primer

getTrustFactor 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| userId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrača: Option[GetUserTrustFactorResponse]
Primer

getUserBanPreference 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| sso | string | Ne |
Odgovor
Vrne: Option[APIModerateGetUserBanPreferencesResponse]
Primer

getUserInternalProfile 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: Option[GetUserInternalProfileResponse]
Primer

postAdjustCommentVotes 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| commentId | string | Da | |
| adjustCommentVotesParams | AdjustCommentVotesParams | Ne | |
| sso | string | Ne |
Odziv
Vrača: Option[AdjustVotesResponse]
Primer

postApiExport 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| textSearch | string | Ne | |
| byIPFromComment | string | Ne | |
| filters | string | Ne | |
| searchFilters | string | Ne | |
| sorts | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[ModerationExportResponse]
Primer

postBanUserFromComment 
Parameters
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| banEmail | bool | Ne | |
| banEmailDomain | bool | Ne | |
| banIP | bool | Ne | |
| deleteAllUsersComments | bool | Ne | |
| bannedUntil | string | Ne | |
| isShadowBan | bool | Ne | |
| updateId | string | Ne | |
| banReason | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[BanUserFromCommentResult]
Primer

postBanUserUndo 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| banUserUndoParams | BanUserUndoParams | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

postBulkPreBanSummary 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| bulkPreBanParams | BulkPreBanParams | Ne | |
| includeByUserIdAndEmail | bool | Ne | |
| includeByIP | bool | Ne | |
| includeByEmailDomain | bool | Ne | |
| sso | string | Ne |
Odgovor
Vrača: Option[BulkPreBanSummary]
Primer

postCommentsByIds 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentsByIdsParams | CommentsByIdsParams | Ne | |
| sso | string | Ne |
Odziv
Vrne: Option[ModerationAPIChildCommentsResponse]
Primer

postFlagComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

postRemoveComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: Option[PostRemoveCommentResponse]
Primer

postRestoreDeletedComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

postSetCommentApprovalStatus 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Yes | |
| approved | bool | No | |
| sso | string | No |
Odgovor
Vrne: Option[SetCommentApprovedResponse]
Primer

postSetCommentReviewStatus 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| reviewed | bool | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

postSetCommentSpamStatus 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| spam | bool | Ne | |
| permNotSpam | bool | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

postSetCommentText 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| setCommentTextParams | SetCommentTextParams | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[SetCommentTextResponse]
Primer

postUnFlagComment 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

postVote 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| commentId | string | Da | |
| direction | string | Ne | |
| sso | string | Ne |
Odziv
Vrne: Option[VoteResponse]
Primer

putAwardBadge 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| badgeId | string | Ne | |
| userId | string | Ne | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odziv
Vrne: Option[AwardUserBadgeResponse]
Primer

putCloseThread 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| urlId | string | Da | |
| sso | string | Ne |
Odgovor
Vrača: Option[APIEmptyResponse]
Primer

putRemoveBadge 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| badgeId | string | Ne | |
| userId | string | Ne | |
| commentId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[RemoveUserBadgeResponse]
Primer

putReopenThread 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| urlId | string | Da | |
| sso | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

setTrustFactor 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| userId | string | Ne | |
| trustFactor | string | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[SetUserTrustFactorResponse]
Primer

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

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

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

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

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

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

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

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

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

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

createV1PageReact 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| title | string | Ne |
Odgovor
Vrne: Option[CreateV1PageReact]
Primer

createV2PageReact 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| id | string | Ne | |
| title | string | Ne |
Odgovor
Vrne: Option[CreateV1PageReact]
Primer

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

deleteV2PageReact 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| id | string | Ne |
Odgovor
Vrača: Option[CreateV1PageReact]
Primer

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

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

getV2PageReactUsers 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| id | string | Ne |
Odgovor
Vrne: Option[GetV2PageReactUsersResponse]
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

getOfflineUsers 
Prejšnji komentatorji na strani, ki trenutno niso online. Razvrščeno po displayName. Uporabite to po izčrpanju /users/online, da prikažete razdelek "Člani". Straničenje z kurzorjem po commenterName: strežnik prehaja parcialni indeks {tenantId, urlId, commenterName} od afterName naprej z uporabo $gt, brez stroška $skip.
Parameters
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| afterName | string | Ne | |
| afterUserId | string | Ne |
Odziv
Vrne: Option[PageUsersOfflineResponse]
Primer

getOnlineUsers 
Trenutno prisotni gledalci strani: osebe, katerih websocket seja je trenutno naročena na stran. Vrača anonCount + totalCount (naročniki v celotni sobi, vključno z anonimnimi gledalci, ki jih ne navajamo).
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| afterName | string | No | |
| afterUserId | string | No |
Odgovor
Vrača: Option[PageUsersOnlineResponse]
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

getPagesPublic 
Seznam strani za najemnika. Uporablja ga namizni odjemalec FChat za napolnitev svojega seznama sob. Zahteva, da ima enableFChat vrednost true v razrešeni prilagojeni konfiguraciji za vsako stran. Strani, ki zahtevajo SSO, so filtrirane glede na dostop skupin uporabnika, ki poizveduje.
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| cursor | string | Ne | |
| limit | int | Ne | |
| q | string | Ne | |
| sortBy | PagesSortBy | Ne | |
| hasComments | bool | Ne |
Odgovor
Vrne: Option[GetPublicPagesResponse]
Primer

getUsersInfo 
Paketne informacije o uporabnikih za najemnika. Glede na userIds vrne prikazne informacije iz User / SSOUser. Uporablja se v widgetu za komentarje za obogatitev uporabnikov, ki so se pravkar pojavili preko dogodka prisotnosti. Brez konteksta strani: zasebnost je dosledno uveljavljena (zasebni profili so zamaskirani).
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| ids | string | Ne |
Odgovor
Vrne: Option[PageUsersInfoResponse]
Primer

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

deletePendingWebhookEvent 
Parametri
| Name | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrača: Option[APIEmptyResponse]
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 |
Odziv
Vrača: Option[GetPendingWebhookEventCountResponse]
Primer

getPendingWebhookEvents 
Parametri
| Ime | Tip | Zahtevano | 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[GetPendingWebhookEventsResponse]
Primer

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

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

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

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

updateQuestionConfig 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

createQuestionResult 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionResultBody | CreateQuestionResultBody | Ne |
Odgovor
Vrne: Option[CreateQuestionResultResponse]
Primer

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

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

getQuestionResults 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userId | string | Ne | |
| startDate | string | Ne | |
| questionId | string | Ne | |
| questionIds | string | Ne | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetQuestionResultsResponse]
Primer

updateQuestionResult 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateQuestionResultBody | UpdateQuestionResultBody | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

aggregateQuestionResults 
Parametri
| Name | Tip | Zahtevano | Opis |
|---|---|---|---|
| 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[AggregateQuestionResultsResponse]
Primer

bulkAggregateQuestionResults 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Ne | |
| forceRecalculate | bool | Ne |
Odgovor
Vrne: Option[BulkAggregateQuestionResultsResponse]
Primer

combineCommentsWithQuestionResults 
Parametri
| Ime | Tip | 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[CombineQuestionResultsWithCommentsResponse]
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 | Type | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | int | Ne |
Odgovor
Vrne: Option[GetSSOUsersResponse]
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

updateSubscription 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Ne | |
| userId | string | Ne |
Odgovor
Vrne: Option[UpdateSubscriptionAPIResponse]
Primer

getTenantDailyUsages 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| yearNumber | float64 | Ne | |
| monthNumber | float64 | Ne | |
| dayNumber | float64 | Ne | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[GetTenantDailyUsagesResponse]
Primer

createTenantPackage 
Parametri
| Ime | Tip | Zahtevano | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantPackageBody | CreateTenantPackageBody | Ne |
Odziv
Vrača: Option[CreateTenantPackageResponse]
Primer

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

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

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

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

updateTenantPackage 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateTenantPackageBody | UpdateTenantPackageBody | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

createTenantUser 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantUserBody | CreateTenantUserBody | Ne |
Odziv
Vrne: Option[CreateTenantUserResponse]
Primer

deleteTenantUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| deleteComments | string | Ne | |
| commentDeleteMode | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

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

getTenantUsers 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| skip | float64 | Ne |
Odgovor
Vrača: Option[GetTenantUsersResponse]
Primer

replaceTenantUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| replaceTenantUserBody | ReplaceTenantUserBody | Ne | |
| updateComments | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

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

updateTenantUser 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateTenantUserBody | UpdateTenantUserBody | Ne | |
| updateComments | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

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

deleteTenant 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| sure | string | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

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

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

updateTenant 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateTenantBody | UpdateTenantBody | Ne |
Odgovor
Vrne: Option[APIEmptyResponse]
Primer

changeTicketState 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| id | string | Ne | |
| changeTicketStateBody | ChangeTicketStateBody | Ne |
Odgovor
Vrne: Option[ChangeTicketStateResponse]
Primer

createTicket 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| createTicketBody | CreateTicketBody | Ne |
Odgovor
Vrne: Option[CreateTicketResponse]
Primer

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

getTickets 
Parametri
| Ime | Vrsta | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| state | float64 | Ne | |
| skip | float64 | Ne | |
| limit | float64 | Ne |
Odgovor
Vrne: Option[GetTicketsResponse]
Primer

getTranslations 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| namespace | string | Ne | |
| component | string | Ne | |
| locale | string | Ne | |
| useFullTranslationIds | bool | Ne |
Odgovor
Vrača: Option[GetTranslationsResponse]
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
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne |
Odgovor
Vrača: Option[APIGetUserBadgeProgressResponse]
Primer

getUserBadgeProgressByUserId 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne |
Odgovor
Vrne: Option[APIGetUserBadgeProgressResponse]
Primer

getUserBadgeProgressList 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| limit | float64 | Ne | |
| skip | float64 | Ne |
Odgovor
Vrne: Option[APIGetUserBadgeProgressListResponse]
Primer

createUserBadge 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createUserBadgeParams | CreateUserBadgeParams | Ne |
Odgovor
Vrne: Option[APICreateUserBadgeResponse]
Primer

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

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

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

updateUserBadge 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Ne | |
| updateUserBadgeParams | UpdateUserBadgeParams | Ne |
Odgovor
Vrne: Option[APIEmptySuccessResponse]
Primer

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

getUserNotifications 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | 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 | |
| includeTenantNotifications | bool | Ne | |
| sso | string | Ne |
Odgovor
Vrne: Option[GetMyNotificationsResponse]
Primer

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

resetUserNotifications 
Parametri
| Ime | Tip | Obvezno | 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[ResetUserNotificationsResponse]
Primer

updateUserNotificationCommentSubscriptionStatus 
Omogočite ali onemogočite obvestila za določen komentar.
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| notificationId | string | No | |
| optedInOrOut | string | No | |
| commentId | string | Yes | |
| sso | string | No |
Odgovor
Vrača: Option[UpdateUserNotificationCommentSubscriptionStatusResponse]
Primer

updateUserNotificationPageSubscriptionStatus 
Omogočite ali onemogočite obvestila za stran. Ko so uporabniki naročeni na stran, se ustvarijo obvestila za nove vrhnje komentarje, in tudi
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[UpdateUserNotificationPageSubscriptionStatusResponse]
Primer

updateUserNotificationStatus 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Ne | |
| newStatus | string | Ne | |
| sso | string | Ne |
Odziv
Vrača: Option[UpdateUserNotificationStatusResponse]
Primer

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

searchUsers 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| usernameStartsWith | string | Ne | |
| mentionGroupIds | seq[string] | Ne | |
| sso | string | Ne | |
| searchSection | string | Ne |
Odgovor
Vrne: Option[SearchUsersResult]
Primer

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

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

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

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

getVotesForUser 
Parametri
| Ime | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vrne: Option[GetVotesForUserResponse]
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.