
Taal 🇳🇱 Nederlands
Documentatie
Aan de slag
API-referentie
Gebruik
Aggregatie
Audit-logboeken
Blokkeren van reactie
Geblokkeerde reacties controleren
Reacties
Domeinconfiguraties
E-mailsjablonen
Gebeurtenislogboek
Feedberichten
Reactie markeren
Hashtags
Moderators
Aantal meldingen
Meldingen
Pagina's
Openstaande webhookgebeurtenissen
Vraagconfiguraties
Vraagresultaten
Aggregeren van vraagresultaten
SSO-gebruikers
Abonnementen
Dagelijks gebruik tenant
Tenantpakketten
Tenantgebruikers
Tenants
Afbeelding uploaden
Voortgang gebruikersbadge
Gebruikersbadges
Gebruikersmeldingen
Aanwezigheidsstatus 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 vanuit 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 te vergemakkelijken.
Openbare vs beveiligde API's
Voor de API-client zijn er twee API-modules, api_default en api_public. De api_default bevat methoden die uw API-sleutel vereisen, en api_public bevat API-aanroepen
die rechtstreeks vanuit een browser/mobiel apparaat/enz. kunnen worden gedaan zonder authenticatie.
Snel aan de slag 
Gebruik van geauthenticeerde API's (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"
# Maak geauthenticeerde API-aanroepen
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"
Gebruik van openbare API's (PublicAPI)
Openbare endpoints vereisen geen authenticatie:
import httpclient
import fastcomments
import fastcomments/apis/api_public
let client = newHttpClient()
# Maak openbare API-aanroepen
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"
Veelvoorkomende problemen
- 401 authentication error: Zorg ervoor dat u de
x-api-keyheader op uw HttpClient instelt voordat u DefaultAPI-aanvragen doet:client.headers["x-api-key"] = "your-api-key" - Wrong API class: Gebruik
api_defaultvoor server-side geauthenticeerde verzoeken,api_publicvoor client-side/openbare verzoeken.
API-aanroepen maken 
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"
Notities 
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 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 | addPage | POST /api/v1/pages | |
| DefaultApi | addSSOUser | POST /api/v1/sso-users | |
| DefaultApi | aggregate | POST /api/v1/aggregate | Aggregeert documenten door ze te groeperen (als groupBy wordt opgegeven) en meerdere bewerkingen toe te passen. Verschillende bewerkingen (bijv. sum, countDistinct, avg, enz.) 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 | combineCommentsWithQuestionResults | GET /api/v1/question-results-aggregation/combine/comments | |
| DefaultApi | createFeedPost | POST /api/v1/feed-posts | |
| DefaultApi | createSubscription | POST /api/v1/subscriptions | |
| DefaultApi | createUserBadge | POST /api/v1/user-badges | |
| DefaultApi | deleteComment | DELETE /api/v1/comments/{id} | |
| DefaultApi | deleteDomainConfig | DELETE /api/v1/domain-configs/{domain} | |
| DefaultApi | deletePage | DELETE /api/v1/pages/{id} | |
| DefaultApi | deleteSSOUser | DELETE /api/v1/sso-users/{id} | |
| DefaultApi | deleteSubscription | DELETE /api/v1/subscriptions/{id} | |
| DefaultApi | deleteUserBadge | DELETE /api/v1/user-badges/{id} | |
| DefaultApi | flagComment | POST /api/v1/comments/{id}/flag | |
| DefaultApi | getAuditLogs | GET /api/v1/audit-logs | |
| DefaultApi | getComment | GET /api/v1/comments/{id} | |
| DefaultApi | getComments | GET /api/v1/comments | |
| DefaultApi | getDomainConfig | GET /api/v1/domain-configs/{domain} | |
| DefaultApi | getDomainConfigs | GET /api/v1/domain-configs | |
| DefaultApi | getFeedPosts | GET /api/v1/feed-posts | vereist tenantId afterId |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPages | GET /api/v1/pages | |
| DefaultApi | getSSOUserByEmail | GET /api/v1/sso-users/by-email/{email} | |
| DefaultApi | getSSOUserById | GET /api/v1/sso-users/by-id/{id} | |
| DefaultApi | getSSOUsers | GET /api/v1/sso-users | |
| DefaultApi | getSubscriptions | GET /api/v1/subscriptions | |
| DefaultApi | getUserBadge | GET /api/v1/user-badges/{id} | |
| DefaultApi | getUserBadgeProgressById | GET /api/v1/user-badge-progress/{id} | |
| DefaultApi | getUserBadgeProgressByUserId | GET /api/v1/user-badge-progress/user/{userId} | |
| DefaultApi | getUserBadgeProgressList | GET /api/v1/user-badge-progress | |
| DefaultApi | getUserBadges | GET /api/v1/user-badges | |
| DefaultApi | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | patchPage | PATCH /api/v1/pages/{id} | |
| DefaultApi | patchSSOUser | PATCH /api/v1/sso-users/{id} | |
| DefaultApi | putDomainConfig | PUT /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | putSSOUser | PUT /api/v1/sso-users/{id} | |
| DefaultApi | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| DefaultApi | unBlockUserFromComment | POST /api/v1/comments/{id}/un-block | |
| DefaultApi | unFlagComment | POST /api/v1/comments/{id}/un-flag | |
| DefaultApi | updateComment | PATCH /api/v1/comments/{id} | |
| DefaultApi | updateFeedPost | PATCH /api/v1/feed-posts/{id} | |
| DefaultApi | updateUserBadge | PUT /api/v1/user-badges/{id} | |
| PublicApi | blockFromCommentPublic | POST /block-from-comment/{commentId} | |
| PublicApi | checkedCommentsForBlocked | GET /check-blocked-comments | |
| PublicApi | createCommentPublic | POST /comments/{tenantId} | |
| PublicApi | createFeedPostPublic | POST /feed-posts/{tenantId} | |
| PublicApi | deleteCommentPublic | DELETE /comments/{tenantId}/{commentId} | |
| PublicApi | deleteCommentVote | DELETE /comments/{tenantId}/{commentId}/vote/{voteId} | |
| PublicApi | deleteFeedPostPublic | DELETE /feed-posts/{tenantId}/{postId} | |
| PublicApi | flagCommentPublic | POST /flag-comment/{commentId} | |
| PublicApi | getCommentText | GET /comments/{tenantId}/{commentId}/text | |
| PublicApi | getCommentVoteUserNames | GET /comments/{tenantId}/{commentId}/votes | |
| PublicApi | getCommentsPublic | GET /comments/{tenantId} | 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 | getGlobalEventLog | GET /event-log/global/{tenantId} | vereist tenantId urlId userIdWS |
| PublicApi | getUserNotificationCount | GET /user-notifications/get-count | |
| PublicApi | getUserNotifications | GET /user-notifications | |
| PublicApi | getUserPresenceStatuses | GET /user-presence-status | |
| PublicApi | getUserReactsPublic | GET /feed-posts/{tenantId}/user-reacts | |
| PublicApi | lockComment | POST /comments/{tenantId}/{commentId}/lock | |
| PublicApi | pinComment | POST /comments/{tenantId}/{commentId}/pin | |
| PublicApi | reactFeedPostPublic | POST /feed-posts/{tenantId}/react/{postId} | |
| PublicApi | resetUserNotificationCount | POST /user-notifications/reset-count | |
| PublicApi | resetUserNotifications | POST /user-notifications/reset | |
| PublicApi | searchUsers | GET /user-search/{tenantId} | |
| PublicApi | setCommentText | POST /comments/{tenantId}/{commentId}/update-text | |
| PublicApi | unBlockCommentPublic | DELETE /block-from-comment/{commentId} | |
| PublicApi | unLockComment | POST /comments/{tenantId}/{commentId}/unlock | |
| PublicApi | unPinComment | POST /comments/{tenantId}/{commentId}/unpin | |
| PublicApi | updateFeedPostPublic | PUT /feed-posts/{tenantId}/{postId} | |
| PublicApi | updateUserNotificationCommentSubscriptionStatus | POST /user-notifications/{notificationId}/mark-opted/{optedInOrOut} | Schakel meldingen in of uit voor een specifieke opmerking. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Schakel meldingen in of uit voor een pagina. Wanneer gebruikers zijn geabonneerd op een pagina, worden er meldingen gemaakt voor nieuwe root-opmerkingen, en ook |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Upload en schaal een afbeelding |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Documentatie voor modellen
- APIAuditLog
- APIComment
- APICommentBase
- APICreateUserBadgeResponse
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIPage
- APISSOUser
- APIStatus
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfig_200_response
- AddDomainConfig_200_response_anyOf
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AggregateQuestionResultsResponse
- AggregateQuestionResults_200_response
- AggregateTimeBucket
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- BlockFromCommentParams
- BlockFromCommentPublic_200_response
- BlockSuccess
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkAggregateQuestionResults_200_response
- ChangeCommentPinStatusResponse
- CheckBlockedCommentsResponse
- CheckedCommentsForBlocked_200_response
- CombineCommentsWithQuestionResults_200_response
- CombineQuestionResultsWithCommentsResponse
- CommentData
- CommentHTMLRenderingMode
- CommentLogData
- CommentLogEntry
- CommentLogType
- CommentQuestionResultsRenderingType
- CommentQuestionsRequired
- CommentTextUpdateRequest
- CommentThreadDeletionMode
- CommentUserBadgeInfo
- CommentUserHashTagInfo
- CommentUserMentionInfo
- CommenterNameFormats
- CreateAPIPageData
- CreateAPISSOUserData
- CreateAPIUserSubscriptionData
- CreateCommentParams
- CreateCommentPublic_200_response
- CreateFeedPostParams
- CreateFeedPostPublic_200_response
- CreateFeedPostResponse
- CreateFeedPost_200_response
- CreateFeedPostsResponse
- CreateSubscriptionAPIResponse
- CreateUserBadgeParams
- CreateUserBadge_200_response
- CustomConfigParameters
- DeleteCommentAction
- DeleteCommentPublic_200_response
- DeleteCommentResult
- DeleteCommentVote_200_response
- DeleteComment_200_response
- DeleteDomainConfig_200_response
- DeleteFeedPostPublic_200_response
- DeleteFeedPostPublic_200_response_anyOf
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- DeletedCommentResultComment
- EventLogEntry
- FComment
- FComment_meta
- FeedPost
- FeedPostLink
- FeedPostMediaItem
- FeedPostMediaItemAsset
- FeedPostStats
- FeedPostsStatsResponse
- FindCommentsByRangeItem
- FindCommentsByRangeResponse
- FlagCommentPublic_200_response
- FlagCommentResponse
- FlagComment_200_response
- GetAuditLogsResponse
- GetAuditLogs_200_response
- GetCommentText_200_response
- GetCommentVoteUserNamesSuccessResponse
- GetCommentVoteUserNames_200_response
- GetComment_200_response
- GetCommentsPublic_200_response
- GetCommentsResponseWithPresence_PublicComment_
- GetCommentsResponse_PublicComment_
- GetComments_200_response
- GetDomainConfig_200_response
- GetDomainConfigs_200_response
- GetDomainConfigs_200_response_anyOf
- GetDomainConfigs_200_response_anyOf_1
- GetEventLogResponse
- GetEventLog_200_response
- GetFeedPostsPublic_200_response
- GetFeedPostsResponse
- GetFeedPostsStats_200_response
- GetFeedPosts_200_response
- GetMyNotificationsResponse
- GetPageByURLIdAPIResponse
- GetPagesAPIResponse
- GetPublicFeedPostsResponse
- GetSSOUserByEmailAPIResponse
- GetSSOUserByIdAPIResponse
- GetSSOUsers_200_response
- GetSubscriptionsAPIResponse
- GetUserBadgeProgressById_200_response
- GetUserBadgeProgressList_200_response
- GetUserBadge_200_response
- GetUserBadges_200_response
- GetUserNotificationCountResponse
- GetUserNotificationCount_200_response
- GetUserNotifications_200_response
- GetUserPresenceStatusesResponse
- GetUserPresenceStatuses_200_response
- GetUserReactsPublic_200_response
- GifRating
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- LiveEvent
- LiveEventType
- LiveEvent_extraInfo
- LockComment_200_response
- MediaAsset
- MetaItem
- NotificationAndCount
- NotificationObjectType
- NotificationType
- PatchDomainConfigParams
- PatchPageAPIResponse
- PatchSSOUserAPIResponse
- PinComment_200_response
- PubSubComment
- PubSubCommentBase
- PubSubVote
- PublicAPIDeleteCommentResponse
- PublicAPIGetCommentTextResponse
- PublicAPISetCommentTextResponse
- PublicBlockFromCommentParams
- PublicComment
- PublicCommentBase
- PublicFeedPostsResponse
- PutSSOUserAPIResponse
- QueryPredicate
- QueryPredicate_value
- QuestionDatum
- QuestionRenderingType
- QuestionResult
- QuestionResultAggregationOverall
- QuestionSubQuestionVisibility
- QuestionWhenSave
- ReactBodyParams
- ReactFeedPostPublic_200_response
- ReactFeedPostResponse
- Record_string__before_string_or_null__after_string_or_null___value
- Record_string_string_or_number__value
- RenderableUserNotification
- RepeatCommentCheckIgnoredReason
- RepeatCommentHandlingAction
- ResetUserNotificationsResponse
- ResetUserNotifications_200_response
- SORT_DIR
- SSOSecurityLevel
- SaveCommentResponse
- SaveCommentResponseOptimized
- SaveComment_200_response
- SaveCommentsResponseWithPresence
- SearchUsersResponse
- SearchUsers_200_response
- SetCommentTextResult
- SetCommentText_200_response
- SizePreset
- SortDirections
- SpamRule
- UnBlockCommentPublic_200_response
- UnBlockFromCommentParams
- UnblockSuccess
- UpdatableCommentParams
- UpdateAPIPageData
- UpdateAPISSOUserData
- UpdateDomainConfigParams
- UpdateFeedPostParams
- UpdateUserBadgeParams
- UpdateUserBadge_200_response
- UpdateUserNotificationStatus_200_response
- UploadImageResponse
- UserBadge
- UserBadgeProgress
- UserNotification
- UserNotificationWriteResponse
- UserPresenceData
- UserReactsResponse
- UserSearchResult
- UserSessionInfo
- VoteBodyParams
- VoteComment_200_response
- VoteDeleteResponse
- VoteResponse
- VoteResponseUser
- VoteStyle
Documentatie voor autorisatie
api_key
- Type: API key
- Naam van de API-sleutelparameter: x-api-key
- Locatie: HTTP-header
aggregate 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| aggregationRequest | AggregationRequest | Nee | |
| parentTenantId | string | Nee | |
| includeStats | bool | Nee |
Respons
Retourneert: Option[AggregationResponse]
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 |
Response
Retourneert: Option[GetAuditLogs_200_response]
Voorbeeld

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

unBlockCommentPublic 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Nee | |
| sso | string | Nee |
Antwoord
Retourneert: Option[UnBlockCommentPublic_200_response]
Voorbeeld

checkedCommentsForBlocked 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentIds | string | Nee | |
| sso | string | Nee |
Response
Retourneert: Option[CheckedCommentsForBlocked_200_response]
Voorbeeld

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

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

deleteComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| contextUserId | string | Nee | |
| isLive | bool | Nee |
Respons
Retourneert: Option[DeleteComment_200_response]
Voorbeeld

deleteCommentPublic 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nee | |
| editKey | string | Nee | |
| sso | string | Nee |
Respons
Geeft terug: Option[DeleteCommentPublic_200_response]
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[DeleteCommentVote_200_response]
Voorbeeld

flagComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| userId | string | Nee | |
| anonUserId | string | Nee |
Respons
Retourneert: Option[FlagComment_200_response]
Voorbeeld

getComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Retourneert: Option[GetComment_200_response]
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 |
Respons
Retourneert: Option[GetComments_200_response]
Voorbeeld

getCommentsPublic 
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[GetCommentsPublic_200_response]
Voorbeeld

getCommentText 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| editKey | string | Nee | |
| sso | string | Nee |
Response
Retourneert: Option[GetCommentText_200_response]
Voorbeeld

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

lockComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Respons
Geeft terug: Option[LockComment_200_response]
Voorbeeld

pinComment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Antwoord
Retourneert: Option[PinComment_200_response]
Voorbeeld

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

saveCommentsBulk 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createCommentParams | seq[CreateCommentParams] | Nee | |
| isLive | bool | Nee | |
| doSpamCheck | bool | Nee | |
| sendEmails | bool | Nee | |
| populateNotifications | bool): (Option[seq[SaveComment_200_response]] | Nee | |
| id | string | Nee | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Nee | |
| userId | string | Nee | |
| anonUserId | string | Nee |
Antwoord
Geeft terug: Option[UnBlockCommentPublic_200_response]
Voorbeeld

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

unBlockUserFromComment 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Nee | |
| userId | string | Nee | |
| anonUserId | string | Nee |
Respons
Retourneert: Option[UnBlockCommentPublic_200_response]
Voorbeeld

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

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

unPinComment 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[PinComment_200_response]
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 |
Respons
Retourneert: Option[FlagCommentPublic_200_response]
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[VoteComment_200_response]
Voorbeeld

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

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

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

getDomainConfigs 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja |
Respons
Retourneert: Option[GetDomainConfigs_200_response]
Voorbeeld

patchDomainConfig 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| domainToUpdate | string | Nee | |
| patchDomainConfigParams | PatchDomainConfigParams | Nee |
Response
Geeft terug: Option[GetDomainConfig_200_response]
Voorbeeld

putDomainConfig 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| domainToUpdate | string | Nee | |
| updateDomainConfigParams | UpdateDomainConfigParams | Nee |
Antwoord
Retourneert: Option[GetDomainConfig_200_response]
Voorbeeld

createEmailTemplate 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Yes | |
| createEmailTemplateBody | CreateEmailTemplateBody | No |
Respons
Geeft terug: Option[CreateEmailTemplate_200_response]
Voorbeeld

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

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

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

getEmailTemplateDefinitions 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja |
Respons
Retourneert: Option[GetEmailTemplateDefinitions_200_response]
Voorbeeld

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

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

renderEmailTemplate 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Nee | |
| locale | string | Nee |
Antwoord
Retourneert: Option[RenderEmailTemplate_200_response]
Voorbeeld

updateEmailTemplate 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Nee |
Respons
Geeft terug: Option[FlagCommentPublic_200_response]
Voorbeeld

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

getGlobalEventLog 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| userIdWS | string | Nee | |
| startTime | int64 | Nee | |
| endTime | int64 | Nee |
Respons
Geeft terug: Option[GetEventLog_200_response]
Voorbeeld

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

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

deleteFeedPostPublic 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| postId | string | Nee | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[DeleteFeedPostPublic_200_response]
Voorbeeld

getFeedPosts 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| afterId | string | Nee | |
| limit | int | Nee | |
| tags | seq[string] | Nee |
Antwoord
Retourneert: Option[GetFeedPosts_200_response]
Voorbeeld

getFeedPostsPublic 
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 |
Antwoord
Retourneert: Option[GetFeedPostsPublic_200_response]
Voorbeeld

getFeedPostsStats 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| postIds | seq[string] | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[GetFeedPostsStats_200_response]
Voorbeeld

getUserReactsPublic 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| postIds | seq[string] | Nee | |
| sso | string | Nee |
Antwoord
Retourneert: Option[GetUserReactsPublic_200_response]
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
Geeft terug: Option[ReactFeedPostPublic_200_response]
Voorbeeld

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

updateFeedPostPublic 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| postId | string | Nee | |
| updateFeedPostParams | UpdateFeedPostParams | Nee | |
| broadcastId | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[CreateFeedPostPublic_200_response]
Voorbeeld

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

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

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

deleteHashTag 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tag | string | Nee | |
| tenantId | string | Ja | |
| deleteHashTagRequest | DeleteHashTagRequest | Nee |
Respons
Geeft terug: Option[FlagCommentPublic_200_response]
Voorbeeld

getHashTags 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| page | float64 | Nee |
Respons
Retourneert: Option[GetHashTags_200_response]
Voorbeeld

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

createModerator 
Parameters
| Name | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createModeratorBody | CreateModeratorBody | Nee |
Respons
Retourneert: Option[CreateModerator_200_response]
Voorbeeld

deleteModerator 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| sendEmail | string | Nee |
Respons
Retourneert: Option[FlagCommentPublic_200_response]
Voorbeeld

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

getModerators 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| skip | float64 | Nee |
Respons
Retourneert: Option[GetModerators_200_response]
Voorbeeld

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

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

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

getNotificationCount 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nee | |
| urlId | string | Ja | |
| fromCommentId | string | Nee | |
| viewed | bool | Nee |
Respons
Geeft terug: Option[GetNotificationCount_200_response]
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 |
Respons
Retourneert: Option[GetNotifications_200_response]
Voorbeeld

updateNotification 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateNotificationBody | UpdateNotificationBody | Nee | |
| userId | string | Nee |
Respons
Retourneert: Option[FlagCommentPublic_200_response]
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

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

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 |
Response
Retourneert: Option[FlagCommentPublic_200_response]
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
Geeft terug: Option[GetPendingWebhookEventCount_200_response]
Voorbeeld

getPendingWebhookEvents 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| externalId | string | Nee | |
| eventType | string | Nee | |
| domain | string | Nee | |
| attemptCountGT | float64 | Nee | |
| skip | float64 | Nee |
Antwoord
Geeft terug: Option[GetPendingWebhookEvents_200_response]
Voorbeeld

createQuestionConfig 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createQuestionConfigBody | CreateQuestionConfigBody | Nee |
Antwoord
Retourneert: Option[CreateQuestionConfig_200_response]
Voorbeeld

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

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

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

updateQuestionConfig 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Nee |
Antwoord
Retourneert: Option[FlagCommentPublic_200_response]
Voorbeeld

createQuestionResult 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| createQuestionResultBody | CreateQuestionResultBody | Nee |
Respons
Geeft terug: Option[CreateQuestionResult_200_response]
Voorbeeld

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

getQuestionResult 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Antwoord
Retourneert: Option[GetQuestionResult_200_response]
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 |
Respons
Geeft terug: Option[GetQuestionResults_200_response]
Voorbeeld

updateQuestionResult 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateQuestionResultBody | UpdateQuestionResultBody | Nee |
Respons
Retourneert: Option[FlagCommentPublic_200_response]
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[AggregateQuestionResults_200_response]
Voorbeeld

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

combineCommentsWithQuestionResults 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| 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 |
Response
Retourneert: Option[CombineCommentsWithQuestionResults_200_response]
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 |
Antwoord
Retourneert: Option[GetSSOUsers_200_response]
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

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

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

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

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

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

replaceTenantPackage 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | No |
Antwoord
Retourneert: Option[FlagCommentPublic_200_response]
Voorbeeld

updateTenantPackage 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | No | |
| updateTenantPackageBody | UpdateTenantPackageBody | No |
Respons
Retourneert: Option[FlagCommentPublic_200_response]
Voorbeeld

createTenantUser 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| createTenantUserBody | CreateTenantUserBody | Nee |
Response
Retourneert: Option[CreateTenantUser_200_response]
Voorbeeld

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

getTenantUser 
Parameters
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Retourneert: Option[GetTenantUser_200_response]
Voorbeeld

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

replaceTenantUser 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| replaceTenantUserBody | ReplaceTenantUserBody | Nee | |
| updateComments | string | Nee |
Antwoord
Retourneert: Option[FlagCommentPublic_200_response]
Voorbeeld

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

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

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

deleteTenant 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| sure | string | Nee |
Respons
Retourneert: Option[FlagCommentPublic_200_response]
Voorbeeld

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

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

updateTenant 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateTenantBody | UpdateTenantBody | Nee |
Antwoord
Retourneert: Option[FlagCommentPublic_200_response]
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 | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee |
Respons
Retourneert: Option[GetUserBadgeProgressById_200_response]
Voorbeeld

getUserBadgeProgressByUserId 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Yes | |
| userId | string | No |
Respons
Retourneert: Option[GetUserBadgeProgressById_200_response]
Voorbeeld

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

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

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

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

getUserBadges 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| userId | string | Nee | |
| badgeId | string | Nee | |
| displayedOnComments | bool | Nee | |
| limit | float64 | Nee | |
| skip | float64 | Nee |
Antwoord
Retourneert: Option[GetUserBadges_200_response]
Voorbeeld

updateUserBadge 
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Ja | |
| id | string | Nee | |
| updateUserBadgeParams | UpdateUserBadgeParams | Nee |
Response
Retourneert: Option[UpdateUserBadge_200_response]
Voorbeeld

getUserNotificationCount 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Yes | |
| sso | string | No |
Antwoord
Retourneert: Option[GetUserNotificationCount_200_response]
Voorbeeld

getUserNotifications 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | 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 | |
| sso | string | Nee |
Respons
Retourneert: Option[GetUserNotifications_200_response]
Voorbeeld

resetUserNotificationCount 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| sso | string | Nee |
Antwoord
Retourneert: Option[ResetUserNotifications_200_response]
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
Geeft terug: Option[ResetUserNotifications_200_response]
Voorbeeld

updateUserNotificationCommentSubscriptionStatus 
Parameters
| Name | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| notificationId | string | Nee | |
| optedInOrOut | string | Nee | |
| commentId | string | Ja | |
| sso | string | Nee |
Antwoord
Retourneert: Option[UpdateUserNotificationStatus_200_response]
Voorbeeld

updateUserNotificationPageSubscriptionStatus 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| url | string | Nee | |
| pageTitle | string | Nee | |
| subscribedOrUnsubscribed | string | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[UpdateUserNotificationStatus_200_response]
Voorbeeld

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

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

searchUsers 
Parameteren
| Naam | Type | Verplicht | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| usernameStartsWith | string | Nee | |
| mentionGroupIds | seq[string] | Nee | |
| sso | string | Nee |
Respons
Retourneert: Option[SearchUsers_200_response]
Voorbeeld

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

createVote 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| commentId | string | Ja | |
| direction | string | Nee | |
| userId | string | Nee | |
| anonUserId | string | Nee |
Respons
Retourneert: Option[VoteComment_200_response]
Voorbeeld

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

getVotes 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes |
Antwoord
Retourneert: Option[GetVotes_200_response]
Voorbeeld

getVotesForUser 
Parameters
| Naam | Type | Vereist | Beschrijving |
|---|---|---|---|
| tenantId | string | Ja | |
| urlId | string | Ja | |
| userId | string | Nee | |
| anonUserId | string | Nee |
Response
Retourneert: Option[GetVotesForUser_200_response]
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.