
Taal 🇳🇱 Nederlands
Documentatie
Aan de slag
API-referentie
Gebruik
Aggregatie
Auditlogs
Authenticatie
Blokkeren van reactie
Controle op geblokkeerde reacties
Reacties
Reacties voor gebruiker
Domeinconfiguraties
E-mailsjablonen
Gebeurtenislogboek
Feed-berichten
Reactie markeren
Gifs
Hashtags
Moderatie
Moderatoren
Aantal meldingen
Meldingen
Pagina-reacties
Pagina's
Wachtende webhook-evenementen
Vraagconfiguraties
Vraagresultaten
Aggregatie van vraagresultaten
SSO-gebruikers
Abonnementen
Dagelijks gebruik tenant
Tenant-pakketten
Tenant-gebruikers
Tenants
Tickets
Vertalingen
Afbeelding uploaden
Voortgang gebruikersbadge
Gebruikersbadges
Gebruikersmeldingen
Aanwezigheidsstatus van gebruikers
Gebruiker zoeken
Gebruikers
Stemmen
FastComments Nim SDK
Dit is de officiële Nim SDK voor FastComments.
Officiële Nim SDK voor de FastComments API
Repository
Installatie 
Nimble gebruiken
nimble install fastcomments
Bouwen vanaf de bron
nimble build
Inhoud van de bibliotheek
Deze bibliotheek bevat de gegenereerde API-client en de SSO-hulpprogramma's om het werken met de API gemakkelijker te maken.
Openbare versus beveiligde API's
Voor de API-client zijn er drie API-modules, api_default, api_public, en api_moderation. De api_default bevat methoden die uw API-sleutel vereisen, en api_public bevat API-aanroepen
die rechtstreeks vanuit een browser/mobiel apparaat/etc. zonder authenticatie kunnen worden gedaan. De api_moderation-module bevat methoden voor het moderatoren-dashboard.
De api_moderation-methoden omvatten het opsommen, tellen, doorzoeken en exporteren van opmerkingen en hun logboeken; moderatie-acties zoals het verwijderen/herstellen van opmerkingen, markeren, het instellen van review-/spam-/goedkeuringsstatus, het aanpassen van stemmen, en het heropenen/sluiten van threads; bans (het verbannen van een gebruiker van een opmerking, het ongedaan maken van een ban, pre-ban-samenvattingen, ban-status en voorkeuren, en aantallen gebande gebruikers); en badges & vertrouwen (toekennen/verwijderen van een badge, het opsommen van handmatige badges, het verkrijgen/instellen van iemands trust factor, en het ophalen van het interne profiel van een gebruiker). Elke api_moderation-methode accepteert een sso-parameter zodat de aanroep geauthenticeerd is als een SSO-moderator.
Snelstart 
Geauthenticeerde API's gebruiken (DefaultAPI)
Belangrijk: Geauthenticeerde endpoints vereisen dat uw API-sleutel is ingesteld als de x-api-key header.
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"
# Voer geauthenticeerde API-aanroepen uit
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"
Openbare API's gebruiken (PublicAPI)
Openbare endpoints vereisen geen authenticatie:
import httpclient
import fastcomments
import fastcomments/apis/api_public
let client = newHttpClient()
# Voer openbare API-aanroepen uit
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"
Moderatie-API's gebruiken (ModerationAPI)
Moderatie-endpoints voorzien het moderatiedashboard en worden geauthenticeerd met een SSO-token voor de actieve moderator:
import httpclient
import fastcomments
import fastcomments/apis/api_moderation
let client = newHttpClient()
# Lijst reacties in het moderatiedashboard
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"
Veelvoorkomende problemen
- 401 authenticatiefout: Zorg dat u de
x-api-keyheader op uw HttpClient instelt voordat u DefaultAPI-aanvragen doet:client.headers["x-api-key"] = "your-api-key" - Verkeerde API-klasse: Gebruik
api_defaultvoor server-side geauthenticeerde verzoeken,api_publicvoor client-side/openbare verzoeken, enapi_moderationvoor verzoeken van het moderatiedashboard.
API-aanroepen 
Alle API-methoden in deze SDK retourneren tuples van (Option[ResponseType], Response). Het eerste element bevat de geparste response als deze succesvol is, en het tweede element is de ruwe HTTP-respons.
Voorbeeld: Reacties ophalen
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"
Opmerkingen 
Broadcast-id's
Je zult zien dat je in sommige API-aanroepen een broadcastId moet meegeven. Wanneer je gebeurtenissen ontvangt, krijg je deze ID terug, zodat je weet dat je de gebeurtenis moet negeren als je van plan bent wijzigingen optimistisch op de client toe te passen
(wat je waarschijnlijk wilt doen omdat het de beste ervaring biedt). Geef hier een UUID door. De ID moet voldoende uniek zijn zodat deze niet twee keer in een browsersessie voorkomt.
SSO (Single Sign-On)
Voor SSO-voorbeelden, zie hieronder.
SSO-gebruik 
Eenvoudige 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
Beveiligde 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
Documentatie voor fastcomments 
Documentatie voor API-eindpunten
Alle URI's zijn relatief ten opzichte van https://fastcomments.com
| Klasse | Methode | HTTP-verzoek | Beschrijving |
|---|---|---|---|
| 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 | Aggregreert documenten door ze te groeperen (indien groupBy is opgegeven) en meerdere bewerkingen toe te passen. Verschillende bewerkingen (bijv. som, countDistinct, gemiddelde, etc.) worden ondersteund. |
| 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 | vereist 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} | vereist tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | vereist tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | vereist 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} | vereist tenantId urlId userIdWS |
| PublicApi | getOfflineUsers | GET /pages/{tenantId}/users/offline | Voorgaande reageerders op de pagina die NIET momenteel online zijn. Gesorteerd op displayName. Gebruik deze nadat /users/online is uitgeput om een "Leden"-sectie weer te geven. Cursor-paginatie op commenterName: server doorloopt de gedeeltelijke {tenantId, urlId, commenterName} index vanaf afterName vooruit via $gt, geen $skip-kosten. |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | Momenteel online kijkers van een pagina: mensen wiens websocket-sessie nu is geabonneerd op de pagina. Geeft anonCount + totalCount terug (abonnees over de hele ruimte, inclusief anonieme kijkers die we niet apart benoemen). |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | Lijst van pagina's voor een tenant. Wordt gebruikt door de FChat desktop-client om de kamerlijst te vullen. Vereist dat enableFChat waar is op de opgeloste aangepaste configuratie van elke pagina. Pagina's die SSO vereisen worden gefilterd op basis van de toegangsrechten van de opvragende gebruiker. |
| 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 | Bulk gebruikersinformatie voor een tenant. Gegeven userIds, retourneer display-informatie uit User / SSOUser. Wordt door de comment widget gebruikt om gebruikers die net via een presence-event zichtbaar werden te verrijken. Geen pagina-context: privacy wordt uniform afgedwongen (privé-profielen worden afgeschermd). |
| 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} | Schakel meldingen voor een specifiek commentaar in of uit. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Schakel meldingen voor een pagina in of uit. Wanneer gebruikers zich op een pagina abonneren, worden meldingen gemaakt voor nieuwe hoofdreacties, en ook |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Upload en verklein een afbeelding |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Documentatie voor Modellen
- 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
- DeletedCommentResultComment
- [DigestEmailFrequency](https://github.com/FastComments/fastcomments-nim/blob/master/docs/Models/DigestEmailFrequency
aggregate 
Voert aggregatie uit op documenten door ze te groeperen (als groupBy is opgegeven) en meerdere bewerkingen toe te passen. Verschillende bewerkingen (bijv. sum, countDistinct, avg, enz.) worden ondersteund.
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| aggregationRequest | AggregationRequest | Nee | |
| parentTenantId | string | Nee | |
| includeStats | bool | Nee |
Respons
Geeft terug: Option[AggregateResponse]
Voorbeeld

getAuditLogs 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| limit | float64 | Nee | |
| skip | float64 | Nee | |
| order | SORTDIR | Nee | |
| after | float64 | Nee | |
| before | float64 | Nee |
Respons
Retourneert: Option[GetAuditLogsResponse]
Voorbeeld

logoutPublic 
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

blockFromCommentPublic 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[BlockSuccess]
Voorbeeld

unBlockCommentPublic 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Nee | |
| sso | string | Nee |
Response
Geeft terug: Option[UnblockSuccess]
Voorbeeld

checkedCommentsForBlocked 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| commentIds | string | Nee | |
| sso | string | Nee |
Response
Retourneert: Option[CheckBlockedCommentsResponse]
Voorbeeld

blockUserFromComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| blockFromCommentParams | BlockFromCommentParams | No | |
| userId | string | No | |
| anonUserId | string | No |
Antwoord
Retourneert: Option[BlockSuccess]
Voorbeeld

createCommentPublic 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| broadcastId | string | Nee | |
| commentData | CommentData | Nee | |
| sessionId | string | Nee | |
| sso | string | Nee |
Antwoord
Geeft terug: Option[SaveCommentsResponseWithPresence]
Voorbeeld

deleteComment 
Parameters
| Name | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| contextUserId | string | Nee | |
| isLive | bool | Nee |
Respons
Geeft terug: Option[DeleteCommentResult]
Voorbeeld

deleteCommentPublic 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nee | |
| editKey | string | Nee | |
| sso | string | Nee |
Response
Retourneert: Option[PublicAPIDeleteCommentResponse]
Voorbeeld

deleteCommentVote 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| voteId | string | Nee | |
| urlId | string | Ja | |
| broadcastId | string | Nee | |
| editKey | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[VoteDeleteResponse]
Voorbeeld

flagComment 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| userId | string | Nee | |
| anonUserId | string | Nee |
Response
Retourneert: Option[FlagCommentResponse]
Example

getComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Retourneert: Option[APIGetCommentResponse]
Voorbeeld

getComments 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| page | int | Nee | |
| limit | int | Nee | |
| skip | int | Nee | |
| asTree | bool | Nee | |
| skipChildren | int | Nee | |
| limitChildren | int | Nee | |
| maxTreeDepth | int | Nee | |
| urlId | string | Ja | |
| userId | string | Nee | |
| anonUserId | string | Nee | |
| contextUserId | string | Nee | |
| hashTag | string | Nee | |
| parentId | string | Nee | |
| direction | SortDirections | Nee | |
| fromDate | int64 | Nee | |
| toDate | int64 | Nee |
Antwoord
Geeft terug: Option[APIGetCommentsResponse]
Voorbeeld

getCommentsPublic 
req tenantId urlId
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| page | int | Nee | |
| direction | SortDirections | Nee | |
| sso | string | Nee | |
| skip | int | Nee | |
| skipChildren | int | Nee | |
| limit | int | Nee | |
| limitChildren | int | Nee | |
| countChildren | bool | Nee | |
| fetchPageForCommentId | string | Nee | |
| includeConfig | bool | Nee | |
| countAll | bool | Nee | |
| includei10n | bool | Nee | |
| locale | string | Nee | |
| modules | string | Nee | |
| isCrawler | bool | Nee | |
| includeNotificationCount | bool | Nee | |
| asTree | bool | Nee | |
| maxTreeDepth | int | Nee | |
| useFullTranslationIds | bool | Nee | |
| parentId | string | Nee | |
| searchText | string | Nee | |
| hashTags | seq[string] | Nee | |
| userId | string | Nee | |
| customConfigStr | string | Nee | |
| afterCommentId | string | Nee | |
| beforeCommentId | string | Nee |
Respons
Retourneert: Option[GetCommentsResponseWithPresencePublicComment]
Voorbeeld

getCommentText 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| editKey | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[PublicAPIGetCommentTextResponse]
Voorbeeld

getCommentVoteUserNames 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| dir | int | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[GetCommentVoteUserNamesSuccessResponse]
Voorbeeld

lockComment 
Parameters
| Name | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

pinComment 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Antwoord
Retourneert: Option[ChangeCommentPinStatusResponse]
Voorbeeld

saveComment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createCommentParams | CreateCommentParams | Nee | |
| isLive | bool | Nee | |
| doSpamCheck | bool | Nee | |
| sendEmails | bool | Nee | |
| populateNotifications | bool | Nee |
Response
Retourneert: Option[APISaveCommentResponse]
Voorbeeld

saveCommentsBulk 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| createCommentParams | seq[CreateCommentParams] | Nee | |
| isLive | bool | Nee | |
| doSpamCheck | bool | Nee | |
| sendEmails | bool | Nee | |
| populateNotifications | bool): (Option[seq[SaveCommentsBulkResponse]] | Nee | |
| id | string | Nee | |
| fromName | string | Nee |
Antwoord
Retourneert: Option[APIEmptyResponse]
Voorbeeld

setCommentText 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nee | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Nee | |
| editKey | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[PublicAPISetCommentTextResponse]
Voorbeeld

unBlockUserFromComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| unBlockFromCommentParams | UnBlockFromCommentParams | No | |
| userId | string | No | |
| anonUserId | string | No |
Antwoord
Retourneert: Option[UnblockSuccess]
Voorbeeld

unFlagComment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| userId | string | Nee | |
| anonUserId | string | Nee |
Respons
Retourneert: Option[FlagCommentResponse]
Voorbeeld

unLockComment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

unPinComment 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[ChangeCommentPinStatusResponse]
Voorbeeld

updateComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updatableCommentParams | UpdatableCommentParams | Nee | |
| contextUserId | string | Nee | |
| doSpamCheck | bool | Nee | |
| isLive | bool | Nee |
Antwoord
Retourneert: Option[APIEmptyResponse]
Voorbeeld

voteComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| urlId | string | Ja | |
| broadcastId | string | Nee | |
| voteBodyParams | VoteBodyParams | Nee | |
| sessionId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[VoteResponse]
Voorbeeld

getCommentsForUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| userId | string | Nee | |
| direction | SortDirections | Nee | |
| repliesToUserId | string | Nee | |
| page | float64 | Nee | |
| includei10n | bool | Nee | |
| locale | string | Nee | |
| isCrawler | bool | Nee |
Respons
Geeft terug: Option[GetCommentsForUserResponse]
Voorbeeld

addDomainConfig 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| addDomainConfigParams | AddDomainConfigParams | Nee |
Antwoord
Retourneert: Option[AddDomainConfigResponse]
Voorbeeld

deleteDomainConfig 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| domain | string | Nee |
Response
Retourneert: Option[DeleteDomainConfigResponse]
Voorbeeld

getDomainConfig 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| domain | string | Nee |
Respons
Retourneert: Option[GetDomainConfigResponse]
Voorbeeld

getDomainConfigs 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja |
Respons
Geeft terug: Option[GetDomainConfigsResponse]
Voorbeeld

patchDomainConfig 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| domainToUpdate | string | Nee | |
| patchDomainConfigParams | PatchDomainConfigParams | Nee |
Respons
Retourneert: Option[PatchDomainConfigResponse]
Voorbeeld

putDomainConfig 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| domainToUpdate | string | Nee | |
| updateDomainConfigParams | UpdateDomainConfigParams | Nee |
Respons
Retourneert: Option[PutDomainConfigResponse]
Voorbeeld

createEmailTemplate 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createEmailTemplateBody | CreateEmailTemplateBody | Nee |
Antwoord
Retourneert: Option[CreateEmailTemplateResponse]
Voorbeeld

deleteEmailTemplate 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Response
Retourneert: Option[APIEmptyResponse]
Voorbeeld

deleteEmailTemplateRenderError 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| errorId | string | Nee |
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

getEmailTemplate 
Parameteren
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Antwoord
Geeft terug: Option[GetEmailTemplateResponse]
Voorbeeld

getEmailTemplateDefinitions 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja |
Antwoord
Retourneert: Option[GetEmailTemplateDefinitionsResponse]
Voorbeeld

getEmailTemplateRenderErrors 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| skip | float64 | Nee |
Antwoord
Retourneert: Option[GetEmailTemplateRenderErrorsResponse]
Voorbeeld

getEmailTemplates 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | float64 | Nee |
Respons
Retourneert: Option[GetEmailTemplatesResponse]
Voorbeeld

renderEmailTemplate 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Nee | |
| locale | string | Nee |
Respons
Retourneert: Option[RenderEmailTemplateResponse]
Voorbeeld

updateEmailTemplate 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Nee |
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

getEventLog 
req tenantId urlId userIdWS
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| userIdWS | string | Nee | |
| startTime | int64 | Nee | |
| endTime | int64 | Nee |
Antwoord
Retourneert: Option[GetEventLogResponse]
Voorbeeld

getGlobalEventLog 
req tenantId urlId userIdWS
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| userIdWS | string | No | |
| startTime | int64 | No | |
| endTime | int64 | No |
Respons
Geeft terug: Option[GetEventLogResponse]
Voorbeeld

createFeedPost 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createFeedPostParams | CreateFeedPostParams | Nee | |
| broadcastId | string | No | |
| isLive | bool | No | |
| doSpamCheck | bool | No | |
| skipDupCheck | bool | No |
Respons
Geeft terug: Option[CreateFeedPostsResponse]
Voorbeeld

createFeedPostPublic 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createFeedPostParams | CreateFeedPostParams | Nee | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[CreateFeedPostResponse]
Voorbeeld

deleteFeedPostPublic 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| postId | string | Nee | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Response
Retourneert: Option[DeleteFeedPostPublicResponse]
Voorbeeld

getFeedPosts 
req tenantId afterId
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| afterId | string | Nee | |
| limit | int | Nee | |
| tags | seq[string] | Nee |
Antwoord
Retourneert: Option[GetFeedPostsResponse]
Voorbeeld

getFeedPostsPublic 
req tenantId afterId
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| afterId | string | Nee | |
| limit | int | Nee | |
| tags | seq[string] | Nee | |
| sso | string | Nee | |
| isCrawler | bool | Nee | |
| includeUserInfo | bool | Nee |
Respons
Retourneert: Option[PublicFeedPostsResponse]
Voorbeeld

getFeedPostsStats 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| postIds | seq[string] | Nee | |
| sso | string | Nee |
Response
Retourneert: Option[FeedPostsStatsResponse]
Voorbeeld

getUserReactsPublic 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| postIds | seq[string] | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[UserReactsResponse]
Voorbeeld

reactFeedPostPublic 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| postId | string | Nee | |
| reactBodyParams | ReactBodyParams | Nee | |
| isUndo | bool | Nee | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[ReactFeedPostResponse]
Voorbeeld

updateFeedPost 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| feedPost | FeedPost | Nee |
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

updateFeedPostPublic 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| postId | string | Nee | |
| updateFeedPostParams | UpdateFeedPostParams | Nee | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Response
Retourneert: Option[CreateFeedPostResponse]
Voorbeeld

flagCommentPublic 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| isFlagged | bool | Nee | |
| sso | string | Nee |
Respons
Geeft terug: Option[APIEmptyResponse]
Voorbeeld

getGifLarge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| largeInternalURLSanitized | string | Nee |
Antwoord
Retourneert: Option[GifGetLargeResponse]
Voorbeeld

getGifsSearch 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| search | string | Nee | |
| locale | string | Nee | |
| rating | string | Nee | |
| page | float64 | Nee |
Respons
Retourneert: Option[GetGifsSearchResponse]
Voorbeeld

getGifsTrending 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| locale | string | Nee | |
| rating | string | Nee | |
| page | float64 | Nee |
Respons
Retourneert: Option[GetGifsTrendingResponse]
Voorbeeld

addHashTag 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createHashTagBody | CreateHashTagBody | Nee |
Respons
Retourneert: Option[CreateHashTagResponse]
Voorbeeld

addHashTagsBulk 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Nee |
Respons
Retourneert: Option[BulkCreateHashTagsResponse]
Voorbeeld

deleteHashTag 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tag | string | Nee | |
| tenantId | string | Ja | |
| deleteHashTagRequestBody | DeleteHashTagRequestBody | Nee |
Antwoord
Geeft terug: Option[APIEmptyResponse]
Voorbeeld

getHashTags 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| page | float64 | Nee |
Antwoord
Geeft terug: Option[GetHashTagsResponse]
Voorbeeld

patchHashTag 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tag | string | Nee | |
| tenantId | string | Ja | |
| updateHashTagBody | UpdateHashTagBody | Nee |
Antwoord
Retourneert: Option[UpdateHashTagResponse]
Voorbeeld

deleteModerationVote 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| voteId | string | Nee | |
| sso | string | Nee |
Antwoord
Retourneert: Option[VoteDeleteResponse]
Voorbeeld

getApiComments 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| page | float64 | Nee | |
| count | float64 | Nee | |
| textSearch | string | Nee | |
| byIPFromComment | string | Nee | |
| filters | string | Nee | |
| searchFilters | string | Nee | |
| sorts | string | Nee | |
| demo | bool | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[ModerationAPIGetCommentsResponse]
Voorbeeld

getApiExportStatus 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| batchJobId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[ModerationExportStatusResponse]
Voorbeeld

getApiIds 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| textSearch | string | No | |
| byIPFromComment | string | No | |
| filters | string | No | |
| searchFilters | string | No | |
| afterId | string | No | |
| demo | bool | No | |
| sso | string | No |
Response
Retourneert: Option[ModerationAPIGetCommentIdsResponse]
Voorbeeld

getBanUsersFromComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nee |
Respons
Retourneert: Option[GetBannedUsersFromCommentResponse]
Voorbeeld

getCommentBanStatus 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nee |
Respons
Retourneert: Option[GetCommentBanStatusResponse]
Voorbeeld

getCommentChildren 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nee |
Respons
Retourneert: Option[ModerationAPIChildCommentsResponse]
Voorbeeld

getCount 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| textSearch | string | Nee | |
| byIPFromComment | string | Nee | |
| filter | string | Nee | |
| searchFilters | string | Nee | |
| demo | bool | Nee | |
| sso | string | Nee |
Respons
Geeft terug: Option[ModerationAPICountCommentsResponse]
Voorbeeld

getCounts 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| sso | string | No |
Antwoord
Retourneert: Option[GetBannedUsersCountResponse]
Voorbeeld

getLogs 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nee |
Respons
Retourneert: Option[ModerationAPIGetLogsResponse]
Voorbeeld

getManualBadges 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| sso | string | Nee |
Respons
Retourneert: Option[GetTenantManualBadgesResponse]
Voorbeeld

getManualBadgesForUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| badgesUserId | string | Nee | |
| commentId | string | Ja | |
| sso | string | Nee |
Respons
Geeft terug: Option[GetUserManualBadgesResponse]
Voorbeeld

getModerationComment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| includeEmail | bool | Nee | |
| includeIP | bool | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[ModerationAPICommentResponse]
Voorbeeld

getModerationCommentText 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nee |
Antwoord
Retourneert: Option[GetCommentTextResponse]
Voorbeeld

getPreBanSummary 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| includeByUserIdAndEmail | bool | Nee | |
| includeByIP | bool | Nee | |
| includeByEmailDomain | bool | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[PreBanSummary]
Voorbeeld

getSearchCommentsSummary 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| value | string | Nee | |
| filters | string | Nee | |
| searchFilters | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[ModerationCommentSearchResponse]
Voorbeeld

getSearchPages 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| value | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[ModerationPageSearchResponse]
Voorbeeld

getSearchSites 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| value | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[ModerationSiteSearchResponse]
Voorbeeld

getSearchSuggest 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| textSearch | string | Nee | |
| sso | string | Nee |
Response
Retourneert: Option[ModerationSuggestResponse]
Voorbeeld

getSearchUsers 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| value | string | Nee | |
| sso | string | Nee |
Respons
Geeft terug: Option[ModerationUserSearchResponse]
Voorbeeld

getTrustFactor 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| userId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[GetUserTrustFactorResponse]
Voorbeeld

getUserBanPreference 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| sso | string | Nee |
Response
Retourneert: Option[APIModerateGetUserBanPreferencesResponse]
Voorbeeld

getUserInternalProfile 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nee |
Respons
Retourneert: Option[GetUserInternalProfileResponse]
Voorbeeld

postAdjustCommentVotes 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| adjustCommentVotesParams | AdjustCommentVotesParams | Nee | |
| sso | string | Nee |
Antwoord
Retourneert: Option[AdjustVotesResponse]
Voorbeeld

postApiExport 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| textSearch | string | Nee | |
| byIPFromComment | string | Nee | |
| filters | string | Nee | |
| searchFilters | string | Nee | |
| sorts | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[ModerationExportResponse]
Voorbeeld

postBanUserFromComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| banEmail | bool | Nee | |
| banEmailDomain | bool | Nee | |
| banIP | bool | Nee | |
| deleteAllUsersComments | bool | Nee | |
| bannedUntil | string | Nee | |
| isShadowBan | bool | Nee | |
| updateId | string | Nee | |
| banReason | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[BanUserFromCommentResult]
Voorbeeld

postBanUserUndo 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| banUserUndoParams | BanUserUndoParams | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

postBulkPreBanSummary 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| bulkPreBanParams | BulkPreBanParams | Nee | |
| includeByUserIdAndEmail | bool | Nee | |
| includeByIP | bool | Nee | |
| includeByEmailDomain | bool | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[BulkPreBanSummary]
Voorbeeld

postCommentsByIds 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentsByIdsParams | CommentsByIdsParams | Nee | |
| sso | string | Nee |
Antwoord
Retourneert: Option[ModerationAPIChildCommentsResponse]
Voorbeeld

postFlagComment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nee |
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

postRemoveComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nee |
Respons
Retourneert: Option[PostRemoveCommentResponse]
Voorbeeld

postRestoreDeletedComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nee |
Respons
Geeft terug: Option[APIEmptyResponse]
Voorbeeld

postSetCommentApprovalStatus 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| approved | bool | Nee | |
| sso | string | Nee |
Response
Retourneert: Option[SetCommentApprovedResponse]
Voorbeeld

postSetCommentReviewStatus 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| reviewed | bool | Nee | |
| sso | string | Nee |
Respons
Geeft terug: Option[APIEmptyResponse]
Voorbeeld

postSetCommentSpamStatus 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| spam | bool | Nee | |
| permNotSpam | bool | Nee | |
| sso | string | Nee |
Response
Retourneert: Option[APIEmptyResponse]
Voorbeeld

postSetCommentText 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| setCommentTextParams | SetCommentTextParams | Nee | |
| sso | string | Nee |
Antwoord
Retourneert: Option[SetCommentTextResponse]
Voorbeeld

postUnFlagComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nee |
Response
Retourneert: Option[APIEmptyResponse]
Voorbeeld

postVote 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| commentId | string | Ja | |
| direction | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[VoteResponse]
Voorbeeld

putAwardBadge 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| badgeId | string | Nee | |
| userId | string | Nee | |
| commentId | string | Ja | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[AwardUserBadgeResponse]
Voorbeeld

putCloseThread 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| urlId | string | Ja | |
| sso | string | Nee |
Antwoord
Geeft terug: Option[APIEmptyResponse]
Voorbeeld

putRemoveBadge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| badgeId | string | Nee | |
| userId | string | Nee | |
| commentId | string | Ja | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[RemoveUserBadgeResponse]
Voorbeeld

putReopenThread 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| urlId | string | Ja | |
| sso | string | Nee |
Antwoord
Retourneert: Option[APIEmptyResponse]
Voorbeeld

setTrustFactor 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| userId | string | No | |
| trustFactor | string | No | |
| sso | string | No |
Antwoord
Retourneert: Option[SetUserTrustFactorResponse]
Voorbeeld

createModerator 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createModeratorBody | CreateModeratorBody | Nee |
Respons
Geeft terug: Option[CreateModeratorResponse]
Voorbeeld

deleteModerator 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| sendEmail | string | Nee |
Reactie
Geeft terug: Option[APIEmptyResponse]
Voorbeeld

getModerator 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Retourneert: Option[GetModeratorResponse]
Voorbeeld

getModerators 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | float64 | Nee |
Respons
Geeft terug: Option[GetModeratorsResponse]
Voorbeeld

updateModerator 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateModeratorBody | UpdateModeratorBody | Nee |
Antwoord
Retourneert: Option[APIEmptyResponse]
Voorbeeld

deleteNotificationCount 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No |
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

getCachedNotificationCount 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Antwoord
Retourneert: Option[GetCachedNotificationCountResponse]
Voorbeeld

getNotificationCount 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nee | |
| urlId | string | Ja | |
| fromCommentId | string | Nee | |
| viewed | bool | Nee |
Response
Retourneert: Option[GetNotificationCountResponse]
Voorbeeld

getNotifications 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nee | |
| urlId | string | Ja | |
| fromCommentId | string | Nee | |
| viewed | bool | Nee | |
| skip | float64 | Nee |
Antwoord
Geeft terug: Option[GetNotificationsResponse]
Voorbeeld

updateNotification 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateNotificationBody | UpdateNotificationBody | Nee | |
| userId | string | Nee |
Respons
Geeft terug: Option[APIEmptyResponse]
Voorbeeld

createV1PageReact 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| title | string | Nee |
Response
Retourneert: Option[CreateV1PageReact]
Voorbeeld

createV2PageReact 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| id | string | Nee | |
| title | string | Nee |
Respons
Retourneert: Option[CreateV1PageReact]
Voorbeeld

deleteV1PageReact 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Respons
Geeft terug: Option[CreateV1PageReact]
Voorbeeld

deleteV2PageReact 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| id | string | Nee |
Respons
Retourneert: Option[CreateV1PageReact]
Voorbeeld

getV1PageLikes 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Respons
Geeft terug: Option[GetV1PageLikes]
Voorbeeld

getV2PageReacts 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Respons
Retourneert: Option[GetV2PageReacts]
Voorbeeld

getV2PageReactUsers 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| id | string | Nee |
Response
Retourneert: Option[GetV2PageReactUsersResponse]
Voorbeeld

addPage 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createAPIPageData | CreateAPIPageData | Nee |
Respons
Geeft terug: Option[AddPageAPIResponse]
Voorbeeld

deletePage 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Geeft terug: Option[DeletePageAPIResponse]
Voorbeeld

getOfflineUsers 
Eerdere reageerders op de pagina die op dit moment NIET online zijn. Gesorteerd op displayName. Gebruik dit nadat /users/online is uitgeput om een "Leden"-sectie weer te geven. Cursorpaginatie op commenterName: de server doorloopt de partiële {tenantId, urlId, commenterName} index vanaf afterName vooruit via $gt, geen $skip-kosten.
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| afterName | string | Nee | |
| afterUserId | string | Nee |
Respons
Geeft terug: Option[PageUsersOfflineResponse]
Voorbeeld

getOnlineUsers 
Momenteel online kijkers van een pagina: mensen wiens websocket session op dit moment op de pagina geabonneerd is. Retourneert anonCount + totalCount (kamer-brede abonnees, inclusief anonieme kijkers die we niet opsommen).
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| afterName | string | Nee | |
| afterUserId | string | Nee |
Response
Retourneert: Option[PageUsersOnlineResponse]
Voorbeeld

getPageByURLId 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Respons
Retourneert: Option[GetPageByURLIdAPIResponse]
Voorbeeld

getPages 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja |
Respons
Retourneert: Option[GetPagesAPIResponse]
Voorbeeld

getPagesPublic 
Lijst met pagina's voor een tenant. Gebruikt door de FChat-desktopclient om de lijst met kamers te vullen.
Vereist dat enableFChat op true staat in de opgeloste aangepaste configuratie voor elke pagina.
Pagina's die SSO vereisen worden gefilterd op basis van de groepsrechten van de aanvragende gebruiker.
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| cursor | string | Nee | |
| limit | int | Nee | |
| q | string | Nee | |
| sortBy | PagesSortBy | Nee | |
| hasComments | bool | Nee |
Antwoord
Retourneert: Option[GetPublicPagesResponse]
Voorbeeld

getUsersInfo 
Bulk gebruikersinformatie voor een tenant. Gegeven userIds, retourneer weergave-informatie van User / SSOUser. Wordt gebruikt door de commentaar-widget om gebruikers te verrijken die zojuist via een presence event verschenen. Geen paginacontext: privacy wordt uniform afgedwongen (privéprofielen worden gemaskeerd).
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| ids | string | Nee |
Antwoord
Retourneert: Option[PageUsersInfoResponse]
Voorbeeld

patchPage 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateAPIPageData | UpdateAPIPageData | Nee |
Respons
Retourneert: Option[PatchPageAPIResponse]
Voorbeeld

deletePendingWebhookEvent 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

getPendingWebhookEventCount 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| externalId | string | Nee | |
| eventType | string | Nee | |
| domain | string | Nee | |
| attemptCountGT | float64 | Nee |
Antwoord
Retourneert: Option[GetPendingWebhookEventCountResponse]
Voorbeeld

getPendingWebhookEvents 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| externalId | string | Nee | |
| eventType | string | Nee | |
| domain | string | Nee | |
| attemptCountGT | float64 | Nee | |
| skip | float64 | Nee |
Respons
Retourneert: Option[GetPendingWebhookEventsResponse]
Voorbeeld

createQuestionConfig 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| createQuestionConfigBody | CreateQuestionConfigBody | Nee |
Antwoord
Retourneert: Option[CreateQuestionConfigResponse]
Voorbeeld

deleteQuestionConfig 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Antwoord
Retourneert: Option[APIEmptyResponse]
Voorbeeld

getQuestionConfig 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Geeft terug: Option[GetQuestionConfigResponse]
Voorbeeld

getQuestionConfigs 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | float64 | Nee |
Response
Geeft terug: Option[GetQuestionConfigsResponse]
Voorbeeld

updateQuestionConfig 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Nee |
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

createQuestionResult 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createQuestionResultBody | CreateQuestionResultBody | Nee |
Antwoord
Retourneert: Option[CreateQuestionResultResponse]
Voorbeeld

deleteQuestionResult 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Geeft terug: Option[APIEmptyResponse]
Voorbeeld

getQuestionResult 
Parameters
| Naam | Type | Vereist | Omschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Retourneert: Option[GetQuestionResultResponse]
Voorbeeld

getQuestionResults 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| userId | string | Nee | |
| startDate | string | Nee | |
| questionId | string | Nee | |
| questionIds | string | Nee | |
| skip | float64 | Nee |
Antwoord
Retourneert: Option[GetQuestionResultsResponse]
Voorbeeld

updateQuestionResult 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateQuestionResultBody | UpdateQuestionResultBody | Nee |
Response
Retourneert: Option[APIEmptyResponse]
Voorbeeld

aggregateQuestionResults 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| questionId | string | Nee | |
| questionIds | seq[string] | Nee | |
| urlId | string | Ja | |
| timeBucket | AggregateTimeBucket | Nee | |
| startDate | string | Nee | |
| forceRecalculate | bool | Nee |
Antwoord
Retourneert: Option[AggregateQuestionResultsResponse]
Voorbeeld

bulkAggregateQuestionResults 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Nee | |
| forceRecalculate | bool | Nee |
Respons
Retourneert: Option[BulkAggregateQuestionResultsResponse]
Voorbeeld

combineCommentsWithQuestionResults 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| questionId | string | Nee | |
| questionIds | seq[string] | Nee | |
| urlId | string | Ja | |
| startDate | string | Nee | |
| forceRecalculate | bool | Nee | |
| minValue | float64 | Nee | |
| maxValue | float64 | Nee | |
| limit | float64 | Nee |
Respons
Retourneert: Option[CombineQuestionResultsWithCommentsResponse]
Voorbeeld

addSSOUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createAPISSOUserData | CreateAPISSOUserData | Nee |
Respons
Retourneert: Option[AddSSOUserAPIResponse]
Voorbeeld

deleteSSOUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| deleteComments | bool | Nee | |
| commentDeleteMode | string | Nee |
Respons
Retourneert: Option[DeleteSSOUserAPIResponse]
Voorbeeld

getSSOUserByEmail 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| string | Nee |
Antwoord
Retourneert: Option[GetSSOUserByEmailAPIResponse]
Voorbeeld

getSSOUserById 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Geeft terug: Option[GetSSOUserByIdAPIResponse]
Voorbeeld

getSSOUsers 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | int | Nee |
Respons
Retourneert: Option[GetSSOUsersResponse]
Voorbeeld

patchSSOUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateAPISSOUserData | UpdateAPISSOUserData | Nee | |
| updateComments | bool | Nee |
Respons
Retourneert: Option[PatchSSOUserAPIResponse]
Voorbeeld

putSSOUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateAPISSOUserData | UpdateAPISSOUserData | Nee | |
| updateComments | bool | Nee |
Antwoord
Retourneert: Option[PutSSOUserAPIResponse]
Voorbeeld

createSubscription 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Nee |
Respons
Retourneert: Option[CreateSubscriptionAPIResponse]
Voorbeeld

deleteSubscription 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| userId | string | Nee |
Antwoord
Retourneert: Option[DeleteSubscriptionAPIResponse]
Voorbeeld

getSubscriptions 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nee |
Respons
Geeft terug: Option[GetSubscriptionsAPIResponse]
Voorbeeld

updateSubscription 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Nee | |
| userId | string | Nee |
Respons
Retourneert: Option[UpdateSubscriptionAPIResponse]
Voorbeeld

getTenantDailyUsages 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| yearNumber | float64 | Nee | |
| monthNumber | float64 | Nee | |
| dayNumber | float64 | Nee | |
| skip | float64 | Nee |
Respons
Retourneert: Option[GetTenantDailyUsagesResponse]
Voorbeeld

createTenantPackage 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createTenantPackageBody | CreateTenantPackageBody | Nee |
Antwoord
Retourneert: Option[CreateTenantPackageResponse]
Voorbeeld

deleteTenantPackage 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Response
Geeft terug: Option[APIEmptyResponse]
Voorbeeld

getTenantPackage 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Response
Retourneert: Option[GetTenantPackageResponse]
Voorbeeld

getTenantPackages 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | float64 | Nee |
Antwoord
Retourneert: Option[GetTenantPackagesResponse]
Voorbeeld

replaceTenantPackage 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Nee |
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

updateTenantPackage 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateTenantPackageBody | UpdateTenantPackageBody | Nee |
Respons
Retourneert: Option[APIEmptyResponse]
Voorbeeld

createTenantUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createTenantUserBody | CreateTenantUserBody | Nee |
Antwoord
Retourneert: Option[CreateTenantUserResponse]
Voorbeeld

deleteTenantUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| deleteComments | string | Nee | |
| commentDeleteMode | string | Nee |
Antwoord
Geeft terug: Option[APIEmptyResponse]
Voorbeeld

getTenantUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Antwoord
Geeft terug: Option[GetTenantUserResponse]
Voorbeeld

getTenantUsers 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | float64 | Nee |
Antwoord
Retourneert: Option[GetTenantUsersResponse]
Voorbeeld

replaceTenantUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| replaceTenantUserBody | ReplaceTenantUserBody | Nee | |
| updateComments | string | Nee |
Response
Retourneert: Option[APIEmptyResponse]
Voorbeeld

sendLoginLink 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| redirectURL | string | Nee |
Antwoord
Retourneert: Option[APIEmptyResponse]
Voorbeeld

updateTenantUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateTenantUserBody | UpdateTenantUserBody | Nee | |
| updateComments | string | Nee |
Antwoord
Retourneert: Option[APIEmptyResponse]
Voorbeeld

createTenant 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createTenantBody | CreateTenantBody | Nee |
Respons
Geeft terug: Option[CreateTenantResponse]
Voorbeeld

deleteTenant 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| sure | string | Nee |
Response
Geeft terug: Option[APIEmptyResponse]
Voorbeeld

getTenant 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Geeft terug: Option[GetTenantResponse]
Voorbeeld

getTenants 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| meta | string | Nee | |
| skip | float64 | Nee |
Antwoord
Retourneert: Option[GetTenantsResponse]
Voorbeeld

updateTenant 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateTenantBody | UpdateTenantBody | Nee |
Respons
Geeft terug: Option[APIEmptyResponse]
Voorbeeld

changeTicketState 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nee | |
| id | string | Nee | |
| changeTicketStateBody | ChangeTicketStateBody | Nee |
Antwoord
Geeft terug: Option[ChangeTicketStateResponse]
Voorbeeld

createTicket 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nee | |
| createTicketBody | CreateTicketBody | Nee |
Antwoord
Retourneert: Option[CreateTicketResponse]
Voorbeeld

getTicket 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| userId | string | Nee |
Antwoord
Retourneert: Option[GetTicketResponse]
Voorbeeld

getTickets 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nee | |
| state | float64 | Nee | |
| skip | float64 | Nee | |
| limit | float64 | Nee |
Respons
Retourneert: Option[GetTicketsResponse]
Voorbeeld

getTranslations 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| namespace | string | No | |
| component | string | No | |
| locale | string | No | |
| useFullTranslationIds | bool | No |
Respons
Retourneert: Option[GetTranslationsResponse]
Voorbeeld

uploadImage 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| file | string | Nee | |
| sizePreset | SizePreset | Nee | |
| urlId | string | Ja |
Respons
Geeft terug: Option[UploadImageResponse]
Voorbeeld

getUserBadgeProgressById 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Response
Retourneert: Option[APIGetUserBadgeProgressResponse]
Voorbeeld

getUserBadgeProgressByUserId 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nee |
Respons
Retourneert: Option[APIGetUserBadgeProgressResponse]
Voorbeeld

getUserBadgeProgressList 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nee | |
| limit | float64 | Nee | |
| skip | float64 | Nee |
Respons
Geeft terug: Option[APIGetUserBadgeProgressListResponse]
Voorbeeld

createUserBadge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createUserBadgeParams | CreateUserBadgeParams | Nee |
Respons
Geeft terug: Option[APICreateUserBadgeResponse]
Voorbeeld

deleteUserBadge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Retourneert: Option[APIEmptySuccessResponse]
Voorbeeld

getUserBadge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Antwoord
Retourneert: Option[APIGetUserBadgeResponse]
Voorbeeld

getUserBadges 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nee | |
| badgeId | string | Nee | |
| displayedOnComments | bool | Nee | |
| limit | float64 | Nee | |
| skip | float64 | Nee |
Respons
Geeft terug: Option[APIGetUserBadgesResponse]
Voorbeeld

updateUserBadge 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateUserBadgeParams | UpdateUserBadgeParams | Nee |
Response
Retourneert: Option[APIEmptySuccessResponse]
Voorbeeld

getUserNotificationCount 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| sso | string | Nee |
Response
Retourneert: Option[GetUserNotificationCountResponse]
Example

getUserNotifications 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| pageSize | int | Nee | |
| afterId | string | Nee | |
| includeContext | bool | Nee | |
| afterCreatedAt | int64 | Nee | |
| unreadOnly | bool | Nee | |
| dmOnly | bool | Nee | |
| noDm | bool | Nee | |
| includeTranslations | bool | Nee | |
| includeTenantNotifications | bool | Nee | |
| sso | string | Nee |
Response
Retourneert: Option[GetMyNotificationsResponse]
Voorbeeld

resetUserNotificationCount 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| sso | string | Nee |
Antwoord
Retourneert: Option[ResetUserNotificationsResponse]
Voorbeeld

resetUserNotifications 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| afterId | string | Nee | |
| afterCreatedAt | int64 | Nee | |
| unreadOnly | bool | Nee | |
| dmOnly | bool | Nee | |
| noDm | bool | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[ResetUserNotificationsResponse]
Voorbeeld

updateUserNotificationCommentSubscriptionStatus 
Schakel meldingen in of uit voor een specifieke reactie.
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| notificationId | string | Nee | |
| optedInOrOut | string | Nee | |
| commentId | string | Ja | |
| sso | string | Nee |
Respons
Retourneert: Option[UpdateUserNotificationCommentSubscriptionStatusResponse]
Voorbeeld

updateUserNotificationPageSubscriptionStatus 
Schakel meldingen voor een pagina in of uit. Wanneer gebruikers zich op een pagina abonneren, worden meldingen aangemaakt voor nieuwe root-reacties, en ook
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| url | string | Nee | |
| pageTitle | string | Nee | |
| subscribedOrUnsubscribed | string | Nee | |
| sso | string | Nee |
Antwoord
Retourneert: Option[UpdateUserNotificationPageSubscriptionStatusResponse]
Voorbeeld

updateUserNotificationStatus 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| notificationId | string | Nee | |
| newStatus | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[UpdateUserNotificationStatusResponse]
Voorbeeld

getUserPresenceStatuses 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlIdWS | string | Nee | |
| userIds | string | Nee |
Antwoord
Retourneert: Option[GetUserPresenceStatusesResponse]
Voorbeeld

searchUsers 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| usernameStartsWith | string | No | |
| mentionGroupIds | seq[string] | No | |
| sso | string | No | |
| searchSection | string | No |
Respons
Retourneert: Option[SearchUsersResult]
Voorbeeld

getUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Retourneert: Option[GetUserResponse]
Voorbeeld

createVote 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| direction | string | Nee | |
| userId | string | Nee | |
| anonUserId | string | Nee |
Respons
Retourneert: Option[VoteResponse]
Voorbeeld

deleteVote 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| editKey | string | Nee |
Respons
Retourneert: Option[VoteDeleteResponse]
Voorbeeld

getVotes 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Antwoord
Geeft terug: Option[GetVotesResponse]
Voorbeeld

getVotesForUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| userId | string | Nee | |
| anonUserId | string | Nee |
Respons
Geeft terug: Option[GetVotesForUserResponse]
Voorbeeld

Hulp nodig?
Als u problemen ondervindt of vragen heeft over de Nim SDK, kunt u:
Bijdragen
Bijdragen zijn welkom! Bezoek de GitHub-repository voor richtlijnen voor bijdragen.