
Sprache 🇩🇪 Deutsch
Dokumentation
Erste Schritte
API-Referenz
Verwendung
Aggregation
Audit-Protokolle
Authentifizierung
Vom Kommentar blockieren
Gesperrte Kommentare prüfen
Kommentare
Kommentare für Benutzer
Domain-Konfigurationen
E-Mail-Vorlagen
Ereignisprotokoll
Feed-Beiträge
Kommentar melden
GIFs
Hashtags
Moderation
Moderatoren
Benachrichtigungsanzahl
Benachrichtigungen
Seitenreaktionen
Seiten
Ausstehende Webhook-Ereignisse
Fragekonfigurationen
Frageergebnisse
Aggregation der Frageergebnisse
SSO-Benutzer
Abonnements
Tägliche Nutzung des Mandanten
Mandantenpakete
Mandantenbenutzer
Mandanten
Tickets
Übersetzungen
Bild hochladen
Fortschritt der Benutzerabzeichen
Benutzerabzeichen
Benutzerbenachrichtigungen
Benutzer-Anwesenheitsstatus
Benutzersuche
Benutzer
Abstimmungen
FastComments Nim SDK
Dies ist das offizielle Nim-SDK für FastComments.
Offizielles Nim-SDK für die FastComments-API
Repository
Installation 
Verwendung von Nimble
nimble install fastcomments
Aus dem Quellcode bauen
nimble build
Inhalt der Bibliothek
Diese Bibliothek enthält den generierten API-Client und die SSO-Dienstprogramme, um die Arbeit mit der API zu vereinfachen.
Öffentliche vs. gesicherte APIs
Für den API-Client gibt es drei API-Module, api_default, api_public, und api_moderation. Das api_default enthält Methoden, die Ihren API-Schlüssel erfordern, und api_public enthält API-Aufrufe
die direkt aus einem Browser/mobilem Gerät/etc. ohne Authentifizierung ausgeführt werden können. Das api_moderation-Modul enthält Methoden für das Moderatoren-Dashboard.
Die api_moderation-Methoden decken das Auflisten, Zählen, Suchen und Exportieren von Kommentaren und deren Protokollen ab; Moderationsaktionen wie Entfernen/Wiederherstellen von Kommentaren, Markieren, Festlegen des Review-/Spam-/Genehmigungsstatus, Anpassen von Stimmen und Wiederöffnen/Schließen von Threads; Sperren (einen Benutzer von einem Kommentar sperren, eine Sperre rückgängig machen, Vor-Sperr-Zusammenfassungen, Sperrstatus und -einstellungen sowie Anzahl gesperrter Benutzer); und Abzeichen & Vertrauen (Verleihen/Entfernen eines Abzeichens, Auflisten manueller Abzeichen, Abrufen/Setzen des Vertrauensfaktors eines Benutzers und Abrufen des internen Profils eines Benutzers). Jede api_moderation-Methode akzeptiert einen sso-Parameter, sodass der Aufruf als SSO-Moderator authentifiziert wird.
Schnellstart 
Verwendung authentifizierter APIs (DefaultAPI)
Wichtig: Authentifizierte Endpunkte erfordern, dass Ihr API-Schlüssel als Header x-api-key gesetzt ist.
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"
# Authentifizierte API-Aufrufe durchführen
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"
Verwendung öffentlicher APIs (PublicAPI)
Öffentliche Endpunkte erfordern keine Authentifizierung:
import httpclient
import fastcomments
import fastcomments/apis/api_public
let client = newHttpClient()
# Öffentliche API-Aufrufe durchführen
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"
Verwendung der Moderations-APIs (ModerationAPI)
Moderations-Endpunkte versorgen das Moderatoren-Dashboard und werden mit einem SSO-Token für den handelnden Moderator authentifiziert:
import httpclient
import fastcomments
import fastcomments/apis/api_moderation
let client = newHttpClient()
# Kommentare im Moderations-Dashboard auflisten
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"
Häufige Probleme
- 401-Authentifizierungsfehler: Stellen Sie sicher, dass Sie den Header
x-api-keyauf Ihrem HttpClient setzen, bevor Sie DefaultAPI-Anfragen stellen:client.headers["x-api-key"] = "your-api-key" - Falsche API-Klasse: Verwenden Sie
api_defaultfür serverseitige authentifizierte Anfragen,api_publicfür clientseitige/öffentliche Anfragen, undapi_moderationfür Anfragen des Moderations-Dashboards.
API-Aufrufe 
Alle API-Methoden in diesem SDK geben Tupel von (Option[ResponseType], Response) zurück. Das erste Element enthält die geparste Antwort, falls erfolgreich, und das zweite Element ist die rohe HTTP-Antwort.
Beispiel: Kommentare abrufen
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"
Hinweise 
Broadcast-IDs
Sie werden sehen, dass Sie in einigen API-Aufrufen ein broadcastId übergeben sollen. Wenn Sie Ereignisse erhalten, bekommen Sie diese ID zurück, sodass Sie das Ereignis ignorieren können, falls Sie Änderungen optimistisch auf dem Client anwenden möchten
(was Sie wahrscheinlich tun werden, da es die beste Nutzererfahrung bietet). Übergeben Sie hier eine UUID. Die ID sollte eindeutig genug sein, um in einer Browsersitzung nicht zweimal aufzutreten.
SSO (Single Sign-On)
Für SSO-Beispiele siehe unten.
SSO-Verwendung 
Einfaches 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
Sicheres 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
Dokumentation für FastComments 
Dokumentation der API-Endpunkte
Alle URIs sind relativ zu https://fastcomments.com
| Klasse | Methode | HTTP-Anfrage | Beschreibung |
|---|---|---|---|
| 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 | Aggregiert Dokumente, indem sie gruppiert werden (wenn groupBy angegeben ist) und mehrere Operationen angewendet werden. Verschiedene Operationen (z. B. sum, countDistinct, avg, etc.) werden unterstützt. |
| 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 | benötigt 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} | benötigt tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | benötigt tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | benötigt 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} | benötigt tenantId urlId userIdWS |
| PublicApi | getOfflineUsers | GET /pages/{tenantId}/users/offline | Frühere Kommentatoren der Seite, die AKTUELL NICHT online sind. Sortiert nach displayName. Verwenden Sie dies, nachdem Sie /users/online ausgeschöpft haben, um einen „Mitglieder“-Abschnitt darzustellen. Cursor-Paginierung nach commenterName: Der Server durchsucht den partiellen {tenantId, urlId, commenterName}-Index vorwärts von afterName via $gt, kein $skip-Kosten. |
| PublicApi | getOnlineUsers | GET /pages/{tenantId}/users/online | Aktuell online Besucher einer Seite: Personen, deren Websocket-Sitzung derzeit auf die Seite abonniert ist. Gibt anonCount + totalCount zurück (raumweite Abonnenten, einschließlich anonymer Zuschauer, die nicht einzeln aufgeführt werden). |
| PublicApi | getPagesPublic | GET /pages/{tenantId} | Listet Seiten für einen Tenant auf. Wird vom FChat Desktop-Client verwendet, um seine Raumliste zu befüllen. Erfordert enableFChat als true in der aufgelösten benutzerdefinierten Konfiguration für jede Seite. Seiten, die SSO erfordern, werden anhand des Gruppen-Zugriffs des anfragenden Benutzers gefiltert. |
| 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 | Benutzerinformationen in großer Menge für einen Tenant. Gegeben userIds, werden Anzeigedaten aus User / SSOUser zurückgegeben. Wird vom Kommentar-Widget verwendet, um Benutzer anzureichern, die gerade durch ein Präsenz-Ereignis erschienen sind. Kein Seitenkontext: Privatsphäre wird einheitlich durchgesetzt (private Profile werden maskiert). |
| 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} | Aktiviert oder deaktiviert Benachrichtigungen für einen bestimmten Kommentar. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Aktiviert oder deaktiviert Benachrichtigungen für eine Seite. Wenn Benutzer eine Seite abonniert haben, werden Benachrichtigungen für neue Wurzelkommentare erstellt und ebenfalls |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Bild hochladen und skalieren |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Dokumentation der Modelle
- 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](
aggregate 
Fasst Dokumente zusammen, indem sie gruppiert werden (falls groupBy angegeben ist) und mehrere Operationen angewendet werden. Verschiedene Operationen (z. B. sum, countDistinct, avg usw.) werden unterstützt.
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| aggregationRequest | AggregationRequest | Nein | |
| parentTenantId | string | Nein | |
| includeStats | bool | Nein |
Antwort
Gibt zurück: Option[AggregateResponse]
Beispiel

getAuditLogs 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| limit | float64 | Nein | |
| skip | float64 | Nein | |
| order | SORTDIR | Nein | |
| after | float64 | Nein | |
| before | float64 | Nein |
Antwort
Gibt zurück: Option[GetAuditLogsResponse]
Beispiel

logoutPublic 
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

blockFromCommentPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[BlockSuccess]
Beispiel

unBlockCommentPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Nein | |
| sso | string | Nein |
Response
Gibt zurück: Option[UnblockSuccess]
Beispiel

checkedCommentsForBlocked 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentIds | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[CheckBlockedCommentsResponse]
Beispiel

blockUserFromComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| blockFromCommentParams | BlockFromCommentParams | Nein | |
| userId | string | Nein | |
| anonUserId | string | Nein |
Antwort
Gibt zurück: Option[BlockSuccess]
Beispiel

createCommentPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| broadcastId | string | Nein | |
| commentData | CommentData | Nein | |
| sessionId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[SaveCommentsResponseWithPresence]
Beispiel

deleteComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| contextUserId | string | Nein | |
| isLive | bool | Nein |
Antwort
Gibt zurück: Option[DeleteCommentResult]
Beispiel

deleteCommentPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nein | |
| editKey | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[PublicAPIDeleteCommentResponse]
Beispiel

deleteCommentVote 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| voteId | string | Nein | |
| urlId | string | Ja | |
| broadcastId | string | Nein | |
| editKey | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[VoteDeleteResponse]
Beispiel

flagComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| userId | string | Nein | |
| anonUserId | string | Nein |
Antwort
Gibt zurück: Option[FlagCommentResponse]
Beispiel

getComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[APIGetCommentResponse]
Beispiel

getComments 
Parameter
| Name | Type | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| page | int | Nein | |
| limit | int | Nein | |
| skip | int | Nein | |
| asTree | bool | Nein | |
| skipChildren | int | Nein | |
| limitChildren | int | Nein | |
| maxTreeDepth | int | Nein | |
| urlId | string | Ja | |
| userId | string | Nein | |
| anonUserId | string | Nein | |
| contextUserId | string | Nein | |
| hashTag | string | Nein | |
| parentId | string | Nein | |
| direction | SortDirections | Nein | |
| fromDate | int64 | Nein | |
| toDate | int64 | Nein |
Antwort
Gibt zurück: Option[APIGetCommentsResponse]
Beispiel

getCommentsPublic 
req tenantId urlId
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| page | int | Nein | |
| direction | SortDirections | Nein | |
| sso | string | Nein | |
| skip | int | Nein | |
| skipChildren | int | Nein | |
| limit | int | Nein | |
| limitChildren | int | Nein | |
| countChildren | bool | Nein | |
| fetchPageForCommentId | string | Nein | |
| includeConfig | bool | Nein | |
| countAll | bool | Nein | |
| includei10n | bool | Nein | |
| locale | string | Nein | |
| modules | string | Nein | |
| isCrawler | bool | Nein | |
| includeNotificationCount | bool | Nein | |
| asTree | bool | Nein | |
| maxTreeDepth | int | Nein | |
| useFullTranslationIds | bool | Nein | |
| parentId | string | Nein | |
| searchText | string | Nein | |
| hashTags | seq[string] | Nein | |
| userId | string | Nein | |
| customConfigStr | string | Nein | |
| afterCommentId | string | Nein | |
| beforeCommentId | string | Nein |
Antwort
Gibt zurück: Option[GetCommentsResponseWithPresencePublicComment]
Beispiel

getCommentText 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| editKey | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[PublicAPIGetCommentTextResponse]
Beispiel

getCommentVoteUserNames 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| dir | int | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[GetCommentVoteUserNamesSuccessResponse]
Beispiel

lockComment 
Parameter
| Name | Type | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

pinComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ChangeCommentPinStatusResponse]
Beispiel

saveComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createCommentParams | CreateCommentParams | Nein | |
| isLive | bool | Nein | |
| doSpamCheck | bool | Nein | |
| sendEmails | bool | Nein | |
| populateNotifications | bool | Nein |
Antwort
Gibt zurück: Option[APISaveCommentResponse]
Beispiel

saveCommentsBulk 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createCommentParams | seq[CreateCommentParams] | Nein | |
| isLive | bool | Nein | |
| doSpamCheck | bool | Nein | |
| sendEmails | bool | Nein | |
| populateNotifications | bool): (Option[seq[SaveCommentsBulkResponse]] | Nein | |
| id | string | Nein | |
| fromName | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

setCommentText 
Parameter
| Name | Type | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nein | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Nein | |
| editKey | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[PublicAPISetCommentTextResponse]
Beispiel

unBlockUserFromComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Nein | |
| userId | string | Nein | |
| anonUserId | string | Nein |
Antwort
Gibt zurück: Option[UnblockSuccess]
Beispiel

unFlagComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| userId | string | Nein | |
| anonUserId | string | Nein |
Antwort
Gibt zurück: Option[FlagCommentResponse]
Beispiel

unLockComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

unPinComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ChangeCommentPinStatusResponse]
Beispiel

updateComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updatableCommentParams | UpdatableCommentParams | Nein | |
| contextUserId | string | Nein | |
| doSpamCheck | bool | Nein | |
| isLive | bool | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

voteComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| urlId | string | Ja | |
| broadcastId | string | Nein | |
| voteBodyParams | VoteBodyParams | Nein | |
| sessionId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[VoteResponse]
Beispiel

getCommentsForUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| userId | string | Nein | |
| direction | SortDirections | Nein | |
| repliesToUserId | string | Nein | |
| page | float64 | Nein | |
| includei10n | bool | Nein | |
| locale | string | Nein | |
| isCrawler | bool | Nein |
Antwort
Gibt zurück: Option[GetCommentsForUserResponse]
Beispiel

addDomainConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| addDomainConfigParams | AddDomainConfigParams | No |
Antwort
Gibt zurück: Option[AddDomainConfigResponse]
Beispiel

deleteDomainConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| domain | string | Nein |
Antwort
Gibt zurück: Option[DeleteDomainConfigResponse]
Beispiel

getDomainConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| domain | string | Nein |
Antwort
Gibt zurück: Option[GetDomainConfigResponse]
Beispiel

getDomainConfigs 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja |
Antwort
Gibt zurück: Option[GetDomainConfigsResponse]
Beispiel

patchDomainConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| domainToUpdate | string | Nein | |
| patchDomainConfigParams | PatchDomainConfigParams | Nein |
Antwort
Gibt zurück: Option[PatchDomainConfigResponse]
Beispiel

putDomainConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| domainToUpdate | string | Nein | |
| updateDomainConfigParams | UpdateDomainConfigParams | Nein |
Antwort
Gibt zurück: Option[PutDomainConfigResponse]
Beispiel

createEmailTemplate 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createEmailTemplateBody | CreateEmailTemplateBody | Nein |
Antwort
Gibt zurück: Option[CreateEmailTemplateResponse]
Beispiel

deleteEmailTemplate 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

deleteEmailTemplateRenderError 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| errorId | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

getEmailTemplate 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[GetEmailTemplateResponse]
Beispiel

getEmailTemplateDefinitions 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja |
Antwort
Gibt zurück: Option[GetEmailTemplateDefinitionsResponse]
Beispiel

getEmailTemplateRenderErrors 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| skip | float64 | Nein |
Antwort
Gibt zurück: Option[GetEmailTemplateRenderErrorsResponse]
Beispiel

getEmailTemplates 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | float64 | Nein |
Antwort
Rückgabe: Option[GetEmailTemplatesResponse]
Beispiel

renderEmailTemplate 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Nein | |
| locale | string | Nein |
Antwort
Gibt zurück: Option[RenderEmailTemplateResponse]
Beispiel

updateEmailTemplate 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | No |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

getEventLog 
req tenantId urlId userIdWS
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| userIdWS | string | Nein | |
| startTime | int64 | Nein | |
| endTime | int64 | Nein |
Antwort
Gibt zurück: Option[GetEventLogResponse]
Beispiel

getGlobalEventLog 
req tenantId urlId userIdWS
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| userIdWS | string | Nein | |
| startTime | int64 | Nein | |
| endTime | int64 | Nein |
Antwort
Gibt zurück: Option[GetEventLogResponse]
Beispiel

createFeedPost 
Parameter
| Name | Type | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createFeedPostParams | CreateFeedPostParams | Nein | |
| broadcastId | string | Nein | |
| isLive | bool | Nein | |
| doSpamCheck | bool | Nein | |
| skipDupCheck | bool | Nein |
Antwort
Gibt zurück: Option[CreateFeedPostsResponse]
Beispiel

createFeedPostPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createFeedPostParams | CreateFeedPostParams | Nein | |
| broadcastId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[CreateFeedPostResponse]
Beispiel

deleteFeedPostPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| postId | string | Nein | |
| broadcastId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[DeleteFeedPostPublicResponse]
Beispiel

getFeedPosts 
req tenantId afterId
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| afterId | string | Nein | |
| limit | int | Nein | |
| tags | seq[string] | Nein |
Antwort
Gibt zurück: Option[GetFeedPostsResponse]
Beispiel

getFeedPostsPublic 
req tenantId afterId
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| afterId | string | Nein | |
| limit | int | Nein | |
| tags | seq[string] | Nein | |
| sso | string | Nein | |
| isCrawler | bool | Nein | |
| includeUserInfo | bool | Nein |
Antwort
Gibt zurück: Option[PublicFeedPostsResponse]
Beispiel

getFeedPostsStats 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| postIds | seq[string] | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[FeedPostsStatsResponse]
Beispiel

getUserReactsPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| postIds | seq[string] | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[UserReactsResponse]
Beispiel

reactFeedPostPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| postId | string | Nein | |
| reactBodyParams | ReactBodyParams | Nein | |
| isUndo | bool | Nein | |
| broadcastId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ReactFeedPostResponse]
Beispiel

updateFeedPost 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| feedPost | FeedPost | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

updateFeedPostPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| postId | string | Nein | |
| updateFeedPostParams | UpdateFeedPostParams | Nein | |
| broadcastId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[CreateFeedPostResponse]
Beispiel

flagCommentPublic 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| isFlagged | bool | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

getGifLarge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| largeInternalURLSanitized | string | Nein |
Antwort
Gibt zurück: Option[GifGetLargeResponse]
Beispiel

getGifsSearch 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| search | string | Nein | |
| locale | string | Nein | |
| rating | string | Nein | |
| page | float64 | Nein |
Antwort
Gibt zurück: Option[GetGifsSearchResponse]
Beispiel

getGifsTrending 
Parameter
| Name | Type | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| locale | string | Nein | |
| rating | string | Nein | |
| page | float64 | Nein |
Antwort
Gibt zurück: Option[GetGifsTrendingResponse]
Beispiel

addHashTag 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createHashTagBody | CreateHashTagBody | Nein |
Antwort
Gibt zurück: Option[CreateHashTagResponse]
Beispiel

addHashTagsBulk 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Nein |
Antwort
Gibt zurück: Option[BulkCreateHashTagsResponse]
Beispiel

deleteHashTag 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tag | string | Nein | |
| tenantId | string | Ja | |
| deleteHashTagRequestBody | DeleteHashTagRequestBody | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

getHashTags 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| page | float64 | Nein |
Antwort
Gibt zurück: Option[GetHashTagsResponse]
Beispiel

patchHashTag 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tag | string | Nein | |
| tenantId | string | Ja | |
| updateHashTagBody | UpdateHashTagBody | Nein |
Antwort
Gibt zurück: Option[UpdateHashTagResponse]
Beispiel

deleteModerationVote 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| voteId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[VoteDeleteResponse]
Beispiel

getApiComments 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| page | float64 | Nein | |
| count | float64 | Nein | |
| textSearch | string | Nein | |
| byIPFromComment | string | Nein | |
| filters | string | Nein | |
| searchFilters | string | Nein | |
| sorts | string | Nein | |
| demo | bool | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationAPIGetCommentsResponse]
Beispiel

getApiExportStatus 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| batchJobId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationExportStatusResponse]
Beispiel

getApiIds 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| textSearch | string | Nein | |
| byIPFromComment | string | Nein | |
| filters | string | Nein | |
| searchFilters | string | Nein | |
| afterId | string | Nein | |
| demo | bool | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationAPIGetCommentIdsResponse]
Beispiel

getBanUsersFromComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[GetBannedUsersFromCommentResponse]
Beispiel

getCommentBanStatus 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[GetCommentBanStatusResponse]
Beispiel

getCommentChildren 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationAPIChildCommentsResponse]
Beispiel

getCount 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| textSearch | string | Nein | |
| byIPFromComment | string | Nein | |
| filter | string | Nein | |
| searchFilters | string | Nein | |
| demo | bool | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationAPICountCommentsResponse]
Beispiel

getCounts 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| sso | string | Nein |
Antwort
Gibt zurück: Option[GetBannedUsersCountResponse]
Beispiel

getLogs 
Parameter
| Name | Type | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationAPIGetLogsResponse]
Beispiel

getManualBadges 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| sso | string | Nein |
Antwort
Gibt zurück: Option[GetTenantManualBadgesResponse]
Beispiel

getManualBadgesForUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| badgesUserId | string | Nein | |
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[GetUserManualBadgesResponse]
Beispiel

getModerationComment 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| commentId | string | Ja | |
| includeEmail | bool | Nein | |
| includeIP | bool | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationAPICommentResponse]
Beispiel

getModerationCommentText 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[GetCommentTextResponse]
Beispiel

getPreBanSummary 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| commentId | string | Ja | |
| includeByUserIdAndEmail | bool | Nein | |
| includeByIP | bool | Nein | |
| includeByEmailDomain | bool | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[PreBanSummary]
Beispiel

getSearchCommentsSummary 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| value | string | Nein | |
| filters | string | Nein | |
| searchFilters | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationCommentSearchResponse]
Beispiel

getSearchPages 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| value | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationPageSearchResponse]
Beispiel

getSearchSites 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| value | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationSiteSearchResponse]
Beispiel

getSearchSuggest 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| textSearch | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationSuggestResponse]
Beispiel

getSearchUsers 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| value | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationUserSearchResponse]
Beispiel

getTrustFactor 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| userId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[GetUserTrustFactorResponse]
Beispiel

getUserBanPreference 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| sso | string | Nein |
Antwort
Gibt zurück: Option[APIModerateGetUserBanPreferencesResponse]
Beispiel

getUserInternalProfile 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Rückgabe: Option[GetUserInternalProfileResponse]
Beispiel

postAdjustCommentVotes 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| adjustCommentVotesParams | AdjustCommentVotesParams | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[AdjustVotesResponse]
Beispiel

postApiExport 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| textSearch | string | Nein | |
| byIPFromComment | string | Nein | |
| filters | string | Nein | |
| searchFilters | string | Nein | |
| sorts | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationExportResponse]
Beispiel

postBanUserFromComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| banEmail | bool | Nein | |
| banEmailDomain | bool | Nein | |
| banIP | bool | Nein | |
| deleteAllUsersComments | bool | Nein | |
| bannedUntil | string | Nein | |
| isShadowBan | bool | Nein | |
| updateId | string | Nein | |
| banReason | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[BanUserFromCommentResult]
Beispiel

postBanUserUndo 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| banUserUndoParams | BanUserUndoParams | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

postBulkPreBanSummary 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| bulkPreBanParams | BulkPreBanParams | Nein | |
| includeByUserIdAndEmail | bool | Nein | |
| includeByIP | bool | Nein | |
| includeByEmailDomain | bool | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[BulkPreBanSummary]
Beispiel

postCommentsByIds 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentsByIdsParams | CommentsByIdsParams | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ModerationAPIChildCommentsResponse]
Beispiel

postFlagComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

postRemoveComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[PostRemoveCommentResponse]
Beispiel

postRestoreDeletedComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

postSetCommentApprovalStatus 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| approved | bool | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[SetCommentApprovedResponse]
Beispiel

postSetCommentReviewStatus 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| reviewed | bool | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

postSetCommentSpamStatus 
Parameters
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| spam | bool | Nein | |
| permNotSpam | bool | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

postSetCommentText 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| setCommentTextParams | SetCommentTextParams | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[SetCommentTextResponse]
Beispiel

postUnFlagComment 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

postVote 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| commentId | string | Ja | |
| direction | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[VoteResponse]
Beispiel

putAwardBadge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| badgeId | string | Nein | |
| userId | string | Nein | |
| commentId | string | Ja | |
| broadcastId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[AwardUserBadgeResponse]
Beispiel

putCloseThread 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| urlId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

putRemoveBadge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| badgeId | string | Nein | |
| userId | string | Nein | |
| commentId | string | Ja | |
| broadcastId | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[RemoveUserBadgeResponse]
Beispiel

putReopenThread 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| urlId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

setTrustFactor 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| userId | string | Nein | |
| trustFactor | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[SetUserTrustFactorResponse]
Beispiel

createModerator 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createModeratorBody | CreateModeratorBody | Nein |
Antwort
Gibt zurück: Option[CreateModeratorResponse]
Beispiel

deleteModerator 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| sendEmail | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

getModerator 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[GetModeratorResponse]
Beispiel

getModerators 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | float64 | Nein |
Antwort
Gibt zurück: Option[GetModeratorsResponse]
Beispiel

updateModerator 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updateModeratorBody | UpdateModeratorBody | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

deleteNotificationCount 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

getCachedNotificationCount 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[GetCachedNotificationCountResponse]
Beispiel

getNotificationCount 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nein | |
| urlId | string | Ja | |
| fromCommentId | string | Nein | |
| viewed | bool | Nein |
Antwort
Gibt zurück: Option[GetNotificationCountResponse]
Beispiel

getNotifications 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nein | |
| urlId | string | Ja | |
| fromCommentId | string | Nein | |
| viewed | bool | Nein | |
| skip | float64 | Nein |
Antwort
Gibt zurück: Option[GetNotificationsResponse]
Beispiel

updateNotification 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updateNotificationBody | UpdateNotificationBody | Nein | |
| userId | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

createV1PageReact 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| title | string | No |
Antwort
Gibt zurück: Option[CreateV1PageReact]
Beispiel

createV2PageReact 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| id | string | Nein | |
| title | string | Nein |
Antwort
Gibt zurück: Option[CreateV1PageReact]
Beispiel

deleteV1PageReact 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Antwort
Gibt zurück: Option[CreateV1PageReact]
Beispiel

deleteV2PageReact 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[CreateV1PageReact]
Beispiel

getV1PageLikes 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Antwort
Gibt zurück: Option[GetV1PageLikes]
Beispiel

getV2PageReacts 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Antwort
Gibt zurück: Option[GetV2PageReacts]
Beispiel

getV2PageReactUsers 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[GetV2PageReactUsersResponse]
Beispiel

addPage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createAPIPageData | CreateAPIPageData | Nein |
Antwort
Gibt zurück: Option[AddPageAPIResponse]
Beispiel

deletePage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[DeletePageAPIResponse]
Beispiel

getOfflineUsers 
Frühere Kommentierende auf der Seite, die momentan NICHT online sind. Sortiert nach displayName. Verwenden Sie dies, nachdem Sie /users/online abgefragt haben, um einen "Members"-Abschnitt anzuzeigen. Cursor-Paginierung auf commenterName: Der Server durchläuft den partiellen Index {tenantId, urlId, commenterName} index ab afterName vorwärts mittels $gt, ohne $skip-Kosten.
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| afterName | string | Nein | |
| afterUserId | string | Nein |
Antwort
Gibt zurück: Option[PageUsersOfflineResponse]
Beispiel

getOnlineUsers 
Momentan online befindliche Betrachter einer Seite: Personen, deren WebSocket-Sitzung zurzeit auf die Seite abonniert ist. Gibt anonCount + totalCount zurück (raumweite Abonnenten, einschließlich anonymer Betrachter, die wir nicht aufzählen).
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| afterName | string | Nein | |
| afterUserId | string | Nein |
Antwort
Gibt zurück: Option[PageUsersOnlineResponse]
Beispiel

getPageByURLId 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Antwort
Gibt zurück: Option[GetPageByURLIdAPIResponse]
Beispiel

getPages 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja |
Antwort
Gibt zurück: Option[GetPagesAPIResponse]
Beispiel

getPagesPublic 
Listet Seiten für einen Mandanten. Wird vom FChat-Desktop-Client verwendet, um dessen Raumliste zu füllen.
Erfordert, dass enableFChat für jede Seite in der aufgelösten Custom-Konfiguration auf true gesetzt ist.
Seiten, die SSO benötigen, werden anhand des Gruppen-Zugriffs des anfragenden Benutzers gefiltert.
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| cursor | string | Nein | |
| limit | int | Nein | |
| q | string | Nein | |
| sortBy | PagesSortBy | Nein | |
| hasComments | bool | Nein |
Antwort
Gibt zurück: Option[GetPublicPagesResponse]
Beispiel

getUsersInfo 
Massenbenutzerinformationen für einen Mandanten. Anhand der userIds werden Anzeigeinformationen aus User / SSOUser zurückgegeben. Vom Kommentar-Widget verwendet, um Benutzer anzureichern, die gerade durch ein Presence-Ereignis erschienen sind. Kein Seitenkontext: der Datenschutz wird einheitlich durchgesetzt (private Profile werden maskiert).
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| ids | string | Nein |
Antwort
Gibt zurück: Option[PageUsersInfoResponse]
Beispiel

patchPage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updateAPIPageData | UpdateAPIPageData | Nein |
Antwort
Gibt zurück: Option[PatchPageAPIResponse]
Beispiel

deletePendingWebhookEvent 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

getPendingWebhookEventCount 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| externalId | string | Nein | |
| eventType | string | Nein | |
| domain | string | Nein | |
| attemptCountGT | float64 | Nein |
Antwort
Gibt zurück: Option[GetPendingWebhookEventCountResponse]
Beispiel

getPendingWebhookEvents 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| externalId | string | Nein | |
| eventType | string | Nein | |
| domain | string | Nein | |
| attemptCountGT | float64 | Nein | |
| skip | float64 | Nein |
Antwort
Gibt zurück: Option[GetPendingWebhookEventsResponse]
Beispiel

createQuestionConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createQuestionConfigBody | CreateQuestionConfigBody | Nein |
Antwort
Gibt zurück: Option[CreateQuestionConfigResponse]
Beispiel

deleteQuestionConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

getQuestionConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Rückgabe: Option[GetQuestionConfigResponse]
Beispiel

getQuestionConfigs 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | float64 | Nein |
Antwort
Gibt zurück: Option[GetQuestionConfigsResponse]
Beispiel

updateQuestionConfig 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

createQuestionResult 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createQuestionResultBody | CreateQuestionResultBody | Nein |
Antwort
Gibt zurück: Option[CreateQuestionResultResponse]
Beispiel

deleteQuestionResult 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

getQuestionResult 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[GetQuestionResultResponse]
Beispiel

getQuestionResults 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| userId | string | Nein | |
| startDate | string | Nein | |
| questionId | string | Nein | |
| questionIds | string | Nein | |
| skip | float64 | Nein |
Antwort
Gibt zurück: Option[GetQuestionResultsResponse]
Beispiel

updateQuestionResult 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updateQuestionResultBody | UpdateQuestionResultBody | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

aggregateQuestionResults 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| questionId | string | Nein | |
| questionIds | seq[string] | Nein | |
| urlId | string | Ja | |
| timeBucket | AggregateTimeBucket | Nein | |
| startDate | string | Nein | |
| forceRecalculate | bool | Nein |
Antwort
Gibt zurück: Option[AggregateQuestionResultsResponse]
Beispiel

bulkAggregateQuestionResults 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Nein | |
| forceRecalculate | bool | Nein |
Antwort
Gibt zurück: Option[BulkAggregateQuestionResultsResponse]
Beispiel

combineCommentsWithQuestionResults 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| questionId | string | Nein | |
| questionIds | seq[string] | Nein | |
| urlId | string | Ja | |
| startDate | string | Nein | |
| forceRecalculate | bool | Nein | |
| minValue | float64 | Nein | |
| maxValue | float64 | Nein | |
| limit | float64 | Nein |
Antwort
Gibt zurück: Option[CombineQuestionResultsWithCommentsResponse]
Beispiel

addSSOUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createAPISSOUserData | CreateAPISSOUserData | Nein |
Antwort
Gibt zurück: Option[AddSSOUserAPIResponse]
Beispiel

deleteSSOUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| deleteComments | bool | Nein | |
| commentDeleteMode | string | Nein |
Antwort
Gibt zurück: Option[DeleteSSOUserAPIResponse]
Beispiel

getSSOUserByEmail 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| string | Nein |
Antwort
Gibt zurück: Option[GetSSOUserByEmailAPIResponse]
Beispiel

getSSOUserById 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[GetSSOUserByIdAPIResponse]
Beispiel

getSSOUsers 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | int | Nein |
Antwort
Gibt zurück: Option[GetSSOUsersResponse]
Beispiel

patchSSOUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updateAPISSOUserData | UpdateAPISSOUserData | Nein | |
| updateComments | bool | Nein |
Antwort
Gibt zurück: Option[PatchSSOUserAPIResponse]
Beispiel

putSSOUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updateAPISSOUserData | UpdateAPISSOUserData | Nein | |
| updateComments | bool | Nein |
Antwort
Gibt zurück: Option[PutSSOUserAPIResponse]
Beispiel

createSubscription 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Nein |
Antwort
Gibt zurück: Option[CreateSubscriptionAPIResponse]
Beispiel

deleteSubscription 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| userId | string | Nein |
Antwort
Gibt zurück: Option[DeleteSubscriptionAPIResponse]
Beispiel

getSubscriptions 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nein |
Antwort
Gibt zurück: Option[GetSubscriptionsAPIResponse]
Beispiel

updateSubscription 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Nein | |
| userId | string | Nein |
Antwort
Gibt zurück: Option[UpdateSubscriptionAPIResponse]
Beispiel

getTenantDailyUsages 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| yearNumber | float64 | Nein | |
| monthNumber | float64 | Nein | |
| dayNumber | float64 | Nein | |
| skip | float64 | Nein |
Antwort
Gibt zurück: Option[GetTenantDailyUsagesResponse]
Beispiel

createTenantPackage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createTenantPackageBody | CreateTenantPackageBody | Nein |
Antwort
Gibt zurück: Option[CreateTenantPackageResponse]
Beispiel

deleteTenantPackage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

getTenantPackage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[GetTenantPackageResponse]
Beispiel

getTenantPackages 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | float64 | Nein |
Antwort
Gibt zurück: Option[GetTenantPackagesResponse]
Beispiel

replaceTenantPackage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

updateTenantPackage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updateTenantPackageBody | UpdateTenantPackageBody | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

createTenantUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createTenantUserBody | CreateTenantUserBody | Nein |
Antwort
Gibt zurück: Option[CreateTenantUserResponse]
Beispiel

deleteTenantUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| deleteComments | string | Nein | |
| commentDeleteMode | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

getTenantUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[GetTenantUserResponse]
Beispiel

getTenantUsers 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | float64 | Nein |
Antwort
Gibt zurück: Option[GetTenantUsersResponse]
Beispiel

replaceTenantUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| replaceTenantUserBody | ReplaceTenantUserBody | Nein | |
| updateComments | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

sendLoginLink 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| redirectURL | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

updateTenantUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updateTenantUserBody | UpdateTenantUserBody | Nein | |
| updateComments | string | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

createTenant 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createTenantBody | CreateTenantBody | Nein |
Antwort
Gibt zurück: Option[CreateTenantResponse]
Beispiel

deleteTenant 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| sure | string | No |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

getTenant 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[GetTenantResponse]
Beispiel

getTenants 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| meta | string | Nein | |
| skip | float64 | Nein |
Antwort
Gibt zurück: Option[GetTenantsResponse]
Beispiel

updateTenant 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updateTenantBody | UpdateTenantBody | Nein |
Antwort
Gibt zurück: Option[APIEmptyResponse]
Beispiel

changeTicketState 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nein | |
| id | string | Nein | |
| changeTicketStateBody | ChangeTicketStateBody | Nein |
Antwort
Gibt zurück: Option[ChangeTicketStateResponse]
Beispiel

createTicket 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nein | |
| createTicketBody | CreateTicketBody | Nein |
Antwort
Gibt zurück: Option[CreateTicketResponse]
Beispiel

getTicket 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| userId | string | Nein |
Antwort
Gibt zurück: Option[GetTicketResponse]
Beispiel

getTickets 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nein | |
| state | float64 | Nein | |
| skip | float64 | Nein | |
| limit | float64 | Nein |
Antwort
Gibt zurück: Option[GetTicketsResponse]
Beispiel

getTranslations 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| namespace | string | Nein | |
| component | string | Nein | |
| locale | string | Nein | |
| useFullTranslationIds | bool | Nein |
Antwort
Gibt zurück: Option[GetTranslationsResponse]
Beispiel

uploadImage 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| file | string | Nein | |
| sizePreset | SizePreset | Nein | |
| urlId | string | Ja |
Antwort
Gibt zurück: Option[UploadImageResponse]
Beispiel

getUserBadgeProgressById 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[APIGetUserBadgeProgressResponse]
Beispiel

getUserBadgeProgressByUserId 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nein |
Antwort
Gibt zurück: Option[APIGetUserBadgeProgressResponse]
Beispiel

getUserBadgeProgressList 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nein | |
| limit | float64 | Nein | |
| skip | float64 | Nein |
Antwort
Gibt zurück: Option[APIGetUserBadgeProgressListResponse]
Beispiel

createUserBadge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| createUserBadgeParams | CreateUserBadgeParams | Nein |
Antwort
Gibt zurück: Option[APICreateUserBadgeResponse]
Beispiel

deleteUserBadge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[APIEmptySuccessResponse]
Beispiel

getUserBadge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Rückgabe: Option[APIGetUserBadgeResponse]
Beispiel

getUserBadges 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nein | |
| badgeId | string | Nein | |
| displayedOnComments | bool | Nein | |
| limit | float64 | Nein | |
| skip | float64 | Nein |
Antwort
Gibt zurück: Option[APIGetUserBadgesResponse]
Beispiel

updateUserBadge 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| updateUserBadgeParams | UpdateUserBadgeParams | Nein |
Antwort
Gibt zurück: Option[APIEmptySuccessResponse]
Beispiel

getUserNotificationCount 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[GetUserNotificationCountResponse]
Beispiel

getUserNotifications 
Parameter
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| pageSize | int | Nein | |
| afterId | string | Nein | |
| includeContext | bool | Nein | |
| afterCreatedAt | int64 | Nein | |
| unreadOnly | bool | Nein | |
| dmOnly | bool | Nein | |
| noDm | bool | Nein | |
| includeTranslations | bool | Nein | |
| includeTenantNotifications | bool | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[GetMyNotificationsResponse]
Beispiel

resetUserNotificationCount 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ResetUserNotificationsResponse]
Beispiel

resetUserNotifications 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| afterId | string | Nein | |
| afterCreatedAt | int64 | Nein | |
| unreadOnly | bool | Nein | |
| dmOnly | bool | Nein | |
| noDm | bool | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[ResetUserNotificationsResponse]
Beispiel

updateUserNotificationCommentSubscriptionStatus 
Benachrichtigungen für einen bestimmten Kommentar aktivieren oder deaktivieren.
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| notificationId | string | Nein | |
| optedInOrOut | string | Nein | |
| commentId | string | Ja | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[UpdateUserNotificationCommentSubscriptionStatusResponse]
Beispiel

updateUserNotificationPageSubscriptionStatus 
Benachrichtigungen für eine Seite aktivieren oder deaktivieren. Wenn Benutzer für eine Seite abonniert sind, werden Benachrichtigungen erstellt für neue Root-Kommentare, und auch
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| url | string | Nein | |
| pageTitle | string | Nein | |
| subscribedOrUnsubscribed | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[UpdateUserNotificationPageSubscriptionStatusResponse]
Beispiel

updateUserNotificationStatus 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| notificationId | string | Nein | |
| newStatus | string | Nein | |
| sso | string | Nein |
Antwort
Gibt zurück: Option[UpdateUserNotificationStatusResponse]
Beispiel

getUserPresenceStatuses 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlIdWS | string | Nein | |
| userIds | string | Nein |
Antwort
Gibt zurück: Option[GetUserPresenceStatusesResponse]
Beispiel

searchUsers 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| usernameStartsWith | string | Nein | |
| mentionGroupIds | seq[string] | Nein | |
| sso | string | Nein | |
| searchSection | string | Nein |
Antwort
Gibt zurück: Option[SearchUsersResult]
Beispiel

getUser 
Parameter
| Name | Type | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein |
Antwort
Gibt zurück: Option[GetUserResponse]
Beispiel

createVote 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| direction | string | Nein | |
| userId | string | Nein | |
| anonUserId | string | Nein |
Antwort
Gibt zurück: Option[VoteResponse]
Beispiel

deleteVote 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nein | |
| editKey | string | Nein |
Antwort
Gibt zurück: Option[VoteDeleteResponse]
Beispiel

getVotes 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja |
Antwort
Gibt zurück: Option[GetVotesResponse]
Beispiel

getVotesForUser 
Parameter
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| userId | string | Nein | |
| anonUserId | string | Nein |
Antwort
Gibt zurück: Option[GetVotesForUserResponse]
Beispiel

Benötigen Sie Hilfe?
Wenn Sie auf Probleme stoßen oder Fragen zum Nim SDK haben, bitte:
Mitwirken
Beiträge sind willkommen! Bitte besuchen Sie das GitHub-Repository für Beitragsrichtlinien.