
Język 🇵🇱 Polski
Dokumentacja
Pierwsze kroki
Referencja API
Użycie
Agregacja
Dzienniki audytu
Blokowanie z komentarza
Sprawdzanie zablokowanych komentarzy
Komentarze
Konfiguracje domen
Szablony e-mail
Dziennik zdarzeń
Posty
Zgłaszanie komentarza
Hashtagi
Moderatorzy
Liczba powiadomień
Powiadomienia
Strony
Oczekujące zdarzenia webhook
Konfiguracje pytań
Wyniki pytań
Agregacja wyników pytań
Użytkownicy SSO
Subskrypcje
Dzienne wykorzystanie najemcy
Pakiety najemcy
Użytkownicy najemcy
Najemcy
Prześlij obraz
Postęp odznak użytkownika
Odznaki użytkownika
Powiadomienia użytkownika
Status obecności użytkownika
Wyszukiwanie użytkowników
Użytkownicy
Głosy
FastComments C++ SDK
Oto oficjalne SDK C++ dla FastComments.
Oficjalne SDK C++ dla API FastComments
Repozytorium
Wymagania 
- C++17 lub nowszy
- CMake 3.14 lub nowszy
- OpenSSL
- C++ REST SDK (cpprestsdk)
- Boost
- Google Test (automatycznie pobierany do testów)
Instalacja 
Instalacja zależności
sudo apt install libcpprest-dev libboost-all-dev
Budowanie ze źródeł
mkdir build
cd build
cmake ..
make
Instalacja
sudo make install
Zawartość biblioteki
Ta biblioteka zawiera wygenerowanego klienta API oraz narzędzia SSO, aby ułatwić pracę z API.
Publiczne vs. zabezpieczone API
Dla klienta API istnieją dwie klasy, DefaultAPI i PublicAPI. DefaultAPI zawiera metody, które wymagają twojego klucza API, a PublicAPI zawiera wywołania API, które można wykonywać bezpośrednio z przeglądarki/urządzenia mobilnego/itd. bez uwierzytelniania.
Szybki start 
Korzystanie z uwierzytelnionych API (DefaultAPI)
Ważne:
- Musisz ustawić base URL (generator cpp-restsdk nie odczytuje go ze specyfikacji OpenAPI)
- Musisz ustawić swój klucz API w ApiClient zanim wykonasz żądania uwierzytelnione. Jeśli tego nie zrobisz, żądania zakończą się błędem 401.
#include <iostream>
#include "FastCommentsClient/api/DefaultApi.h"
#include "FastCommentsClient/ApiClient.h"
#include "FastCommentsClient/ApiConfiguration.h"
int main() {
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
// WYMAGANE: Ustaw base URL (wybierz region)
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com")); // US
// LUB: config->setBaseUrl(utility::conversions::to_string_t("https://eu.fastcomments.com")); // EU
// WYMAGANE: Ustaw swój klucz API
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_API_KEY_HERE"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::DefaultApi api(apiClient);
// Teraz wykonaj uwierzytelnione wywołania API
return 0;
}
Korzystanie z publicznych API (PublicAPI)
Publiczne endpointy nie wymagają uwierzytelnienia:
#include <iostream>
#include "FastCommentsClient/api/PublicApi.h"
#include "FastCommentsClient/ApiClient.h"
#include "FastCommentsClient/ApiConfiguration.h"
int main() {
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
// WYMAGANE: Ustaw base URL
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::PublicApi publicApi(apiClient);
// Wykonaj publiczne wywołania API
return 0;
}
Typowe problemy
- Błąd "URI must contain a hostname": Upewnij się, że wywołujesz
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"))przed utworzeniem ApiClient. Generator cpp-restsdk nie odczytuje automatycznie adresu serwera ze specyfikacji OpenAPI. - Błąd 401 "missing-api-key": Upewnij się, że wywołujesz
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_KEY"))przed utworzeniem instancji DefaultAPI. - Nieprawidłowa klasa API: Użyj
DefaultAPIdla uwierzytelnionych żądań po stronie serwera,PublicAPIdla żądań po stronie klienta/publicznych.
Wywoływanie API: synchroniczne vs asynchroniczne 
Wszystkie metody API w tym SDK zwracają pplx::task<std::shared_ptr<ResponseType>> z C++ REST SDK. Daje to elastyczność w obsłudze odpowiedzi API.
Wywołania synchroniczne za pomocą .get()
Użyj .get(), aby zablokować wywołujący wątek aż do zakończenia żądania i pobrać wynik synchronicznie:
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"));
config->setApiKey(utility::conversions::to_string_t("api_key"),
utility::conversions::to_string_t("YOUR_API_KEY"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::DefaultApi api(apiClient);
// Wywołaj .get(), aby zablokować i pobrać wynik synchronicznie
auto response = api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
boost::none, // strona
boost::none, // limit
boost::none, // pomiń
boost::none, // jako drzewo
boost::none, // pomiń potomków
boost::none, // limit potomków
boost::none, // maksymalna głębokość drzewa
utility::conversions::to_string_t("your-url-id"), // identyfikator URL
boost::none, // identyfikator użytkownika
boost::none, // identyfikator anonimowego użytkownika
boost::none, // identyfikator użytkownika kontekstu
boost::none, // hashtag
boost::none, // identyfikator rodzica
boost::none // kierunek
).get(); // Blokuje aż do zakończenia żądania HTTP
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
Wywołania asynchroniczne za pomocą .then()
Użyj .then(), aby wykonać operacje asynchronicznie bez blokowania, korzystając z callbacków:
auto config = std::make_shared<org::openapitools::client::api::ApiConfiguration>();
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"));
config->setApiKey(utility::conversions::to_string_t("api_key"),
utility::conversions::to_string_t("YOUR_API_KEY"));
auto apiClient = std::make_shared<org::openapitools::client::api::ApiClient>(config);
org::openapitools::client::api::DefaultApi api(apiClient);
// Użyj .then() do asynchronicznego wykonywania opartego na callbackach
api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
boost::none, boost::none, boost::none, boost::none, boost::none,
boost::none, boost::none,
utility::conversions::to_string_t("your-url-id"),
boost::none, boost::none, boost::none, boost::none, boost::none, boost::none
).then([](std::shared_ptr<GetComments_200_response> response) {
// To uruchamia się asynchronicznie po zakończeniu żądania
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
});
// Wykonanie kontynuuje natychmiast bez blokowania
std::cout << "Request sent, continuing..." << std::endl;
Wybór między wywołaniem synchronicznym a asynchronicznym
Wybór zależy od środowiska uruchomieniowego i architektury aplikacji:
.get() (blokujące, synchroniczne)
- Blokuje wywołujący wątek aż do zakończenia żądania HTTP
- Prostszy przebieg kodu, łatwiej go zrozumieć
- Odpowiednie dla dedykowanych wątków roboczych, przetwarzania wsadowego lub narzędzi wiersza poleceń
- Nieodpowiednie dla pętli zdarzeń, wątków GUI lub serwerów jednowątkowych
.then() (asynchroniczne, nieblokujące)
- Zwraca natychmiast, callback wykonuje się po zakończeniu żądania
- Nie blokuje wywołującego wątku
- Wymagane w architekturach zdarzeniowych, aplikacjach GUI lub jednowątkowych pętlach zdarzeń
- Umożliwia łączenie wielu operacji
- Bardziej złożony przepływ sterowania
Zestaw testowy SDK używa wyłącznie .get(), co jest odpowiednie w środowisku testowym, gdzie blokowanie jest akceptowalne.
Notatki 
Identyfikatory Broadcast
Zauważysz, że w niektórych wywołaniach API trzeba przekazać broadcastId. Gdy otrzymasz zdarzenia, otrzymasz z powrotem ten identyfikator, dzięki czemu będziesz mógł zignorować zdarzenie, jeśli planujesz optymistycznie zastosować zmiany po stronie klienta
(na co prawdopodobnie zechcesz się zdecydować, ponieważ zapewnia to najlepsze doświadczenie). Przekaż tutaj UUID. Identyfikator powinien być na tyle unikalny, aby nie wystąpił dwukrotnie w sesji przeglądarki.
SSO (logowanie jednokrotne)
Przykłady SSO znajdziesz poniżej.
Użycie SSO 
Proste SSO
#include <fastcomments/sso/fastcomments_sso.hpp>
#include <iostream>
using namespace fastcomments::sso;
int main() {
SimpleSSOUserData user("user-123", "user@example.com", "https://example.com/avatar.jpg");
FastCommentsSSO sso = FastCommentsSSO::newSimple(user);
std::string token = sso.createToken();
std::cout << "SSO Token: " << token << std::endl;
return 0;
}
Bezpieczne SSO
#include <fastcomments/sso/fastcomments_sso.hpp>
#include <iostream>
using namespace fastcomments::sso;
int main() {
SecureSSOUserData user("user-123", "user@example.com", "johndoe", "https://example.com/avatar.jpg");
std::string apiKey = "your-api-key";
FastCommentsSSO sso = FastCommentsSSO::newSecure(apiKey, user);
std::string token = sso.createToken();
std::cout << "Secure SSO Token: " << token << std::endl;
return 0;
}
Dokumentacja fastcomments 
Dokumentacja końcowych punktów API
Wszystkie URI są względne względem https://fastcomments.com
| Klasa | Metoda | Żądanie HTTP | Opis |
|---|---|---|---|
| DefaultApi | addDomainConfig | POST /api/v1/domain-configs | |
| DefaultApi | addHashTag | POST /api/v1/hash-tags | |
| DefaultApi | addHashTagsBulk | POST /api/v1/hash-tags/bulk | |
| DefaultApi | addPage | POST /api/v1/pages | |
| DefaultApi | addSSOUser | POST /api/v1/sso-users | |
| DefaultApi | aggregate | POST /api/v1/aggregate | Agreguje dokumenty poprzez ich grupowanie (jeśli groupBy jest podane) i wykonywanie wielu operacji. Różne operacje (np. sum, countDistinct, avg, itp.) są obsługiwane. |
| 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 | 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 | 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 | wymaga 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 | 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 | 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} | |
| 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} | wymaga tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | wymaga tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | wymaga tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | wymaga 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} | Włącz lub wyłącz powiadomienia dla konkretnego komentarza. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Włącz lub wyłącz powiadomienia dla strony. Gdy użytkownicy są zapisani na stronę, powiadomienia są tworzone dla nowych głównych komentarzy oraz także |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Prześlij i zmień rozmiar obrazu |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Dokumentacja modeli
- APIAuditLog
- APIComment
- APICommentBase
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIPage
- APISSOUser
- APIStatus
- APITenant
- APITenantDailyUsage
- APIUserSubscription
- AddDomainConfigParams
- AddDomainConfig_200_response
- AddDomainConfig_200_response_anyOf
- AddHashTag_200_response
- AddHashTagsBulk_200_response
- AddPageAPIResponse
- AddSSOUserAPIResponse
- AggregateQuestionResultsResponse
- AggregateQuestionResults_200_response
- AggregateTimeBucket
- AggregationItem
- AggregationOpType
- AggregationOperation
- AggregationRequest
- AggregationRequest_sort
- AggregationResponse
- AggregationResponse_stats
- AggregationValue
- BillingInfo
- BlockFromCommentParams
- BlockFromCommentPublic_200_response
- BlockSuccess
- BulkAggregateQuestionItem
- BulkAggregateQuestionResultsRequest
- BulkAggregateQuestionResultsResponse
- BulkAggregateQuestionResults_200_response
- BulkCreateHashTagsBody
- BulkCreateHashTagsBody_tags_inner
- BulkCreateHashTagsResponse
- 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
- CreateEmailTemplateBody
- CreateEmailTemplateResponse
- CreateEmailTemplate_200_response
- CreateFeedPostParams
- CreateFeedPostPublic_200_response
- CreateFeedPostResponse
- CreateFeedPost_200_response
- CreateFeedPostsResponse
- CreateHashTagBody
- CreateHashTagResponse
- CreateModeratorBody
- CreateModeratorResponse
- CreateModerator_200_response
- CreateQuestionConfigBody
- CreateQuestionConfigResponse
- CreateQuestionConfig_200_response
- CreateQuestionResultBody
- CreateQuestionResultResponse
- CreateQuestionResult_200_response
- CreateSubscriptionAPIResponse
- CreateTenantBody
- CreateTenantPackageBody
- CreateTenantPackageResponse
- CreateTenantPackage_200_response
- CreateTenantResponse
- CreateTenantUserBody
- CreateTenantUserResponse
- CreateTenantUser_200_response
- CreateTenant_200_response
- CreateUserBadgeParams
- CreateUserBadge_200_response
- CustomConfigParameters
- CustomEmailTemplate
- DeleteCommentAction
- DeleteCommentPublic_200_response
- DeleteCommentResult
- DeleteCommentVote_200_response
- DeleteComment_200_response
- DeleteDomainConfig_200_response
- DeleteFeedPostPublic_200_response
- DeleteFeedPostPublic_200_response_anyOf
- DeleteHashTag_request
- DeletePageAPIResponse
- DeleteSSOUserAPIResponse
- DeleteSubscriptionAPIResponse
- DeletedCommentResultComment
- DigestEmailFrequency
- EmailTemplateDefinition
- EmailTemplateRenderErrorResponse
- EventLogEntry
- FComment
- FComment_meta
- FeedPost
- FeedPostLink
- FeedPostMediaItem
- FeedPostMediaItemAsset
- FeedPostStats
- FeedPostsStatsResponse
- FindCommentsByRangeItem
- FindCommentsByRangeResponse
- FlagCommentPublic_200_response
- FlagCommentResponse
- FlagComment_200_response
- GetAuditLogsResponse
- GetAuditLogs_200_response
- GetCachedNotificationCountResponse
- GetCachedNotificationCount_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
- GetEmailTemplateDefinitionsResponse
- GetEmailTemplateDefinitions_200_response
- GetEmailTemplateRenderErrorsResponse
- GetEmailTemplateRenderErrors_200_response
- GetEmailTemplateResponse
- GetEmailTemplate_200_response
- GetEmailTemplatesResponse
- GetEmailTemplates_200_response
- GetEventLogResponse
- GetEventLog_200_response
- GetFeedPostsPublic_200_response
- GetFeedPostsResponse
- GetFeedPostsStats_200_response
- GetFeedPosts_200_response
- GetHashTagsResponse
- GetHashTags_200_response
- GetModeratorResponse
- GetModerator_200_response
- GetModeratorsResponse
- GetModerators_200_response
- GetMyNotificationsResponse
- GetNotificationCountResponse
- GetNotificationCount_200_response
- GetNotificationsResponse
- GetNotifications_200_response
- GetPageByURLIdAPIResponse
- GetPagesAPIResponse
- GetPendingWebhookEventCountResponse
- GetPendingWebhookEventCount_200_response
- GetPendingWebhookEventsResponse
- GetPendingWebhookEvents_200_response
- GetPublicFeedPostsResponse
- GetQuestionConfigResponse
- GetQuestionConfig_200_response
- GetQuestionConfigsResponse
- GetQuestionConfigs_200_response
- GetQuestionResultResponse
- GetQuestionResult_200_response
- GetQuestionResultsResponse
- GetQuestionResults_200_response
- GetSSOUserByEmailAPIResponse
- GetSSOUserByIdAPIResponse
- GetSSOUsers_200_response
- GetSubscriptionsAPIResponse
- GetTenantDailyUsagesResponse
- GetTenantDailyUsages_200_response
- GetTenantPackageResponse
- GetTenantPackage_200_response
- GetTenantPackagesResponse
- GetTenantPackages_200_response
- GetTenantResponse
- GetTenantUserResponse
- GetTenantUser_200_response
- GetTenantUsersResponse
- GetTenantUsers_200_response
- GetTenant_200_response
- GetTenantsResponse
- GetTenants_200_response
- 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
- GetUserResponse
- GetUser_200_response
- GetVotesForUserResponse
- GetVotesForUser_200_response
- GetVotesResponse
- GetVotes_200_response
- GifRating
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- ImportedSiteType
- LiveEvent
- LiveEventType
- LiveEvent_extraInfo
- LockComment_200_response
- MediaAsset
- MetaItem
- Moderator
- NotificationAndCount
- NotificationObjectType
- NotificationType
- PatchDomainConfigParams
- PatchHashTag_200_response
- PatchPageAPIResponse
- PatchSSOUserAPIResponse
- PendingCommentToSyncOutbound
- PinComment_200_response
- PubSubComment
- PubSubCommentBase
- PubSubVote
- PublicAPIDeleteCommentResponse
- PublicAPIGetCommentTextResponse
- PublicAPISetCommentTextResponse
- [PublicBlockFromCommentParams](https://github.com/FastComments/fastcomments-cpp/blob/master
aggregate 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| aggregationRequest | AggregationRequest | Tak | |
| parentTenantId | string | Nie | |
| includeStats | bool | Nie |
Odpowiedź
Zwraca: AggregationResponse
Przykład

getAuditLogs 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| limit | double | Nie | |
| skip | double | Nie | |
| order | SORT_DIR | Nie | |
| after | double | Nie | |
| before | double | Nie |
Odpowiedź
Zwraca: GetAuditLogs_200_response
Przykład

blockFromCommentPublic 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: BlockFromCommentPublic_200_response
Przykład

unBlockCommentPublic 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: UnBlockCommentPublic_200_response
Przykład

checkedCommentsForBlocked 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentIds | string | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: CheckedCommentsForBlocked_200_response
Przykład

blockUserFromComment 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| blockFromCommentParams | BlockFromCommentParams | Tak | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: BlockFromCommentPublic_200_response
Przykład

createCommentPublic 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak | |
| broadcastId | string | Tak | |
| commentData | CommentData | Tak | |
| sessionId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: CreateCommentPublic_200_response
Przykład

deleteComment 
Parametry
| Name | Type | Wymagane | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| contextUserId | string | Nie | |
| isLive | bool | Nie |
Odpowiedź
Zwraca: DeleteComment_200_response
Przykład

deleteCommentPublic 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| broadcastId | string | Tak | |
| editKey | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: DeleteCommentPublic_200_response
Przykład

deleteCommentVote 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| voteId | string | Tak | |
| urlId | string | Tak | |
| broadcastId | string | Tak | |
| editKey | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: DeleteCommentVote_200_response
Przykład

flagComment 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: FlagComment_200_response
Przykład

getComment 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: GetComment_200_response
Przykład

getComments 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| page | int32_t | Nie | |
| limit | int32_t | Nie | |
| skip | int32_t | Nie | |
| asTree | bool | Nie | |
| skipChildren | int32_t | Nie | |
| limitChildren | int32_t | Nie | |
| maxTreeDepth | int32_t | Nie | |
| urlId | string | Nie | |
| userId | string | Nie | |
| anonUserId | string | Nie | |
| contextUserId | string | Nie | |
| hashTag | string | Nie | |
| parentId | string | Nie | |
| direction | SortDirections | Nie |
Odpowiedź
Zwraca: GetComments_200_response
Przykład

getCommentsPublic 
żądanie tenantId urlId
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak | |
| page | int32_t | Nie | |
| direction | SortDirections | Nie | |
| sso | string | Nie | |
| skip | int32_t | Nie | |
| skipChildren | int32_t | Nie | |
| limit | int32_t | Nie | |
| limitChildren | int32_t | Nie | |
| countChildren | bool | Nie | |
| fetchPageForCommentId | string | Nie | |
| includeConfig | bool | Nie | |
| countAll | bool | Nie | |
| includei10n | bool | Nie | |
| locale | string | Nie | |
| modules | string | Nie | |
| isCrawler | bool | Nie | |
| includeNotificationCount | bool | Nie | |
| asTree | bool | Nie | |
| maxTreeDepth | int32_t | Nie | |
| useFullTranslationIds | bool | Nie | |
| parentId | string | Nie | |
| searchText | string | Nie | |
| hashTags | vector<string | Nie | |
| userId | string | Nie | |
| customConfigStr | string | Nie | |
| afterCommentId | string | Nie | |
| beforeCommentId | string | Nie |
Odpowiedź
Zwraca: GetCommentsPublic_200_response
Przykład

getCommentText 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| editKey | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: GetCommentText_200_response
Przykład

getCommentVoteUserNames 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| dir | int32_t | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: GetCommentVoteUserNames_200_response
Przykład

lockComment 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| broadcastId | string | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: LockComment_200_response
Przykład

pinComment 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| broadcastId | string | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: PinComment_200_response
Przykład

saveComment 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| createCommentParams | CreateCommentParams | Tak | |
| isLive | bool | Nie | |
| doSpamCheck | bool | Nie | |
| sendEmails | bool | Nie | |
| populateNotifications | bool | Nie |
Odpowiedź
Zwraca: SaveComment_200_response
Przykład

setCommentText 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| broadcastId | string | Tak | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Tak | |
| editKey | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: SetCommentText_200_response
Przykład

unBlockUserFromComment 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Tak | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: UnBlockCommentPublic_200_response
Przykład

unFlagComment 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: FlagComment_200_response
Przykład

unLockComment 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| broadcastId | string | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: LockComment_200_response
Przykład

unPinComment 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| broadcastId | string | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: PinComment_200_response
Przykład

updateComment 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updatableCommentParams | UpdatableCommentParams | Tak | |
| contextUserId | string | Nie | |
| doSpamCheck | bool | Nie | |
| isLive | bool | Nie |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

voteComment 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| urlId | string | Tak | |
| broadcastId | string | Tak | |
| voteBodyParams | VoteBodyParams | Tak | |
| sessionId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: VoteComment_200_response
Przykład

addDomainConfig 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| addDomainConfigParams | AddDomainConfigParams | Tak |
Odpowiedź
Zwraca: AddDomainConfig_200_response
Przykład

deleteDomainConfig 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| domain | string | Tak |
Odpowiedź
Zwraca: DeleteDomainConfig_200_response
Przykład

getDomainConfig 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| domain | string | Tak |
Odpowiedź
Zwraca: GetDomainConfig_200_response
Przykład

getDomainConfigs 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak |
Odpowiedź
Zwraca: GetDomainConfigs_200_response
Przykład

patchDomainConfig 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| domainToUpdate | string | Tak | |
| patchDomainConfigParams | PatchDomainConfigParams | Tak |
Odpowiedź
Zwraca: GetDomainConfig_200_response
Przykład

putDomainConfig 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| domainToUpdate | string | Yes | |
| updateDomainConfigParams | UpdateDomainConfigParams | Yes |
Odpowiedź
Zwraca: GetDomainConfig_200_response
Przykład

createEmailTemplate 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createEmailTemplateBody | CreateEmailTemplateBody | Tak |
Odpowiedź
Zwraca: CreateEmailTemplate_200_response
Przykład

deleteEmailTemplate 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

deleteEmailTemplateRenderError 
Parametry
| Name | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| errorId | string | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

getEmailTemplate 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: GetEmailTemplate_200_response
Przykład

getEmailTemplateDefinitions 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak |
Odpowiedź
Zwraca: GetEmailTemplateDefinitions_200_response
Przykład

getEmailTemplateRenderErrors 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetEmailTemplateRenderErrors_200_response
Przykład

getEmailTemplates 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetEmailTemplates_200_response
Przykład

renderEmailTemplate 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Tak | |
| locale | string | Nie |
Odpowiedź
Zwraca: RenderEmailTemplate_200_response
Przykład

updateEmailTemplate 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

getEventLog 
req tenantId urlId userIdWS
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak | |
| userIdWS | string | Tak | |
| startTime | int64_t | Tak | |
| endTime | int64_t | Tak |
Odpowiedź
Zwraca: GetEventLog_200_response
Przykład

getGlobalEventLog 
req tenantId urlId userIdWS
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| urlId | string | Yes | |
| userIdWS | string | Yes | |
| startTime | int64_t | Yes | |
| endTime | int64_t | Yes |
Odpowiedź
Zwraca: GetEventLog_200_response
Przykład

createFeedPost 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createFeedPostParams | CreateFeedPostParams | Tak | |
| broadcastId | string | Nie | |
| isLive | bool | Nie | |
| doSpamCheck | bool | Nie | |
| skipDupCheck | bool | Nie |
Odpowiedź
Zwraca: CreateFeedPost_200_response
Przykład

createFeedPostPublic 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createFeedPostParams | CreateFeedPostParams | Tak | |
| broadcastId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: CreateFeedPostPublic_200_response
Przykład

deleteFeedPostPublic 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| postId | string | Tak | |
| broadcastId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: DeleteFeedPostPublic_200_response
Przykład

getFeedPosts 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| afterId | string | Nie | |
| limit | int32_t | Nie | |
| tags | vector<string | Nie |
Odpowiedź
Zwraca: GetFeedPosts_200_response
Przykład

getFeedPostsPublic 
req tenantId afterId
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| afterId | string | Nie | |
| limit | int32_t | Nie | |
| tags | vector<string | Nie | |
| sso | string | Nie | |
| isCrawler | bool | Nie | |
| includeUserInfo | bool | Nie |
Odpowiedź
Zwraca: GetFeedPostsPublic_200_response
Przykład

getFeedPostsStats 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| postIds | vector<string | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: GetFeedPostsStats_200_response
Przykład

getUserReactsPublic 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| postIds | vector<string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: GetUserReactsPublic_200_response
Przykład

reactFeedPostPublic 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| postId | string | Tak | |
| reactBodyParams | ReactBodyParams | Tak | |
| isUndo | bool | Nie | |
| broadcastId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: ReactFeedPostPublic_200_response
Przykład

updateFeedPost 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| feedPost | FeedPost | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

updateFeedPostPublic 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| postId | string | Tak | |
| updateFeedPostParams | UpdateFeedPostParams | Tak | |
| broadcastId | string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: CreateFeedPostPublic_200_response
Przykład

flagCommentPublic 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| isFlagged | bool | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

addHashTag 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Nie | |
| createHashTagBody | CreateHashTagBody | Nie |
Odpowiedź
Zwraca: AddHashTag_200_response
Przykład

addHashTagsBulk 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Nie | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Nie |
Odpowiedź
Zwraca: AddHashTagsBulk_200_response
Przykład

deleteHashTag 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tag | string | Tak | |
| tenantId | string | Nie | |
| deleteHashTagRequest | DeleteHashTag_request | Nie |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

getHashTags 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| page | double | Nie |
Odpowiedź
Zwraca: GetHashTags_200_response
Przykład

patchHashTag 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tag | string | Tak | |
| tenantId | string | Nie | |
| updateHashTagBody | UpdateHashTagBody | Nie |
Odpowiedź
Zwraca: PatchHashTag_200_response
Przykład

createModerator 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createModeratorBody | CreateModeratorBody | Tak |
Odpowiedź
Zwraca: CreateModerator_200_response
Przykład

deleteModerator 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| sendEmail | string | Nie |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

getModerator 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: GetModerator_200_response
Przykład

getModerators 
Parameters
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetModerators_200_response
Przykład

sendInvite 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| fromName | string | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

updateModerator 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updateModeratorBody | UpdateModeratorBody | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

deleteNotificationCount 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

getCachedNotificationCount 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: GetCachedNotificationCount_200_response
Przykład

getNotificationCount 
Parametry
| Name | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie | |
| urlId | string | Nie | |
| fromCommentId | string | Nie | |
| viewed | bool | Nie | |
| type | string | Nie |
Odpowiedź
Zwraca: GetNotificationCount_200_response
Przykład

getNotifications 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie | |
| urlId | string | Nie | |
| fromCommentId | string | Nie | |
| viewed | bool | Nie | |
| type | string | Nie | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetNotifications_200_response
Przykład

updateNotification 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updateNotificationBody | UpdateNotificationBody | Tak | |
| userId | string | Nie |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

addPage 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createAPIPageData | CreateAPIPageData | Tak |
Odpowiedź
Zwraca: AddPageAPIResponse
Przykład

deletePage 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: DeletePageAPIResponse
Przykład

getPageByURLId 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak |
Odpowiedź
Zwraca: GetPageByURLIdAPIResponse
Przykład

getPages 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak |
Odpowiedź
Zwraca: GetPagesAPIResponse
Przykład

patchPage 
Parametry
| Name | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updateAPIPageData | UpdateAPIPageData | Tak |
Odpowiedź
Zwraca: PatchPageAPIResponse
Przykład

deletePendingWebhookEvent 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

getPendingWebhookEventCount 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Nie | |
| externalId | string | Nie | |
| eventType | string | Nie | |
| type | string | Nie | |
| domain | string | Nie | |
| attemptCountGT | double | Nie |
Odpowiedź
Zwraca: GetPendingWebhookEventCount_200_response
Przykład

getPendingWebhookEvents 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Nie | |
| externalId | string | Nie | |
| eventType | string | Nie | |
| type | string | Nie | |
| domain | string | Nie | |
| attemptCountGT | double | Nie | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetPendingWebhookEvents_200_response
Przykład

createQuestionConfig 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createQuestionConfigBody | CreateQuestionConfigBody | Tak |
Odpowiedź
Zwraca: CreateQuestionConfig_200_response
Przykład

deleteQuestionConfig 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

getQuestionConfig 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: GetQuestionConfig_200_response
Przykład

getQuestionConfigs 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetQuestionConfigs_200_response
Przykład

updateQuestionConfig 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

createQuestionResult 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createQuestionResultBody | CreateQuestionResultBody | Tak |
Odpowiedź
Zwraca: CreateQuestionResult_200_response
Przykład

deleteQuestionResult 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

getQuestionResult 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: GetQuestionResult_200_response
Przykład

getQuestionResults 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Nie | |
| userId | string | Nie | |
| startDate | string | Nie | |
| questionId | string | Nie | |
| questionIds | string | Nie | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetQuestionResults_200_response
Przykład

updateQuestionResult 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updateQuestionResultBody | UpdateQuestionResultBody | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

aggregateQuestionResults 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| questionId | string | Nie | |
| questionIds | vector<string | Nie | |
| urlId | string | Nie | |
| timeBucket | AggregateTimeBucket | Nie | |
| startDate | datetime | Nie | |
| forceRecalculate | bool | Nie |
Odpowiedź
Zwraca: AggregateQuestionResults_200_response
Przykład

bulkAggregateQuestionResults 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Tak | |
| forceRecalculate | bool | Nie |
Odpowiedź
Zwraca: BulkAggregateQuestionResults_200_response
Przykład

combineCommentsWithQuestionResults 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| questionId | string | Nie | |
| questionIds | vector<string | Nie | |
| urlId | string | Nie | |
| startDate | datetime | Nie | |
| forceRecalculate | bool | Nie | |
| minValue | double | Nie | |
| maxValue | double | Nie | |
| limit | double | Nie |
Odpowiedź
Zwraca: CombineCommentsWithQuestionResults_200_response
Przykład

addSSOUser 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createAPISSOUserData | CreateAPISSOUserData | Tak |
Odpowiedź
Zwraca: AddSSOUserAPIResponse
Przykład

deleteSSOUser 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| deleteComments | bool | Nie | |
| commentDeleteMode | string | Nie |
Odpowiedź
Zwraca: DeleteSSOUserAPIResponse
Przykład

getSSOUserByEmail 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| string | Tak |
Odpowiedź
Zwraca: GetSSOUserByEmailAPIResponse
Przykład

getSSOUserById 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes |
Odpowiedź
Zwraca: GetSSOUserByIdAPIResponse
Przykład

getSSOUsers 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| skip | int32_t | Nie |
Odpowiedź
Zwraca: GetSSOUsers_200_response
Przykład

patchSSOUser 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updateAPISSOUserData | UpdateAPISSOUserData | Tak | |
| updateComments | bool | Nie |
Odpowiedź
Zwraca: PatchSSOUserAPIResponse
Przykład

putSSOUser 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updateAPISSOUserData | UpdateAPISSOUserData | Tak | |
| updateComments | bool | Nie |
Odpowiedź
Zwraca: PutSSOUserAPIResponse
Przykład

createSubscription 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Tak |
Odpowiedź
Zwraca: CreateSubscriptionAPIResponse
Przykład

deleteSubscription 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| userId | string | Nie |
Odpowiedź
Zwraca: DeleteSubscriptionAPIResponse
Przykład

getSubscriptions 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie |
Odpowiedź
Zwraca: GetSubscriptionsAPIResponse
Przykład

getTenantDailyUsages 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| yearNumber | double | Nie | |
| monthNumber | double | Nie | |
| dayNumber | double | Nie | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetTenantDailyUsages_200_response
Przykład

createTenantPackage 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createTenantPackageBody | CreateTenantPackageBody | Tak |
Odpowiedź
Zwraca: CreateTenantPackage_200_response
Przykład

deleteTenantPackage 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

getTenantPackage 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: GetTenantPackage_200_response
Przykład

getTenantPackages 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetTenantPackages_200_response
Przykład

replaceTenantPackage 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Yes |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

updateTenantPackage 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updateTenantPackageBody | UpdateTenantPackageBody | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

createTenantUser 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createTenantUserBody | CreateTenantUserBody | Tak |
Odpowiedź
Zwraca: CreateTenantUser_200_response
Przykład

deleteTenantUser 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| deleteComments | string | Nie | |
| commentDeleteMode | string | Nie |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

getTenantUser 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: GetTenantUser_200_response
Przykład

getTenantUsers 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetTenantUsers_200_response
Przykład

replaceTenantUser 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| replaceTenantUserBody | ReplaceTenantUserBody | Tak | |
| updateComments | string | Nie |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

sendLoginLink 
Parametry
| Name | Type | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| redirectURL | string | Nie |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

updateTenantUser 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updateTenantUserBody | UpdateTenantUserBody | Tak | |
| updateComments | string | Nie |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

createTenant 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createTenantBody | CreateTenantBody | Tak |
Odpowiedź
Zwraca: CreateTenant_200_response
Przykład

deleteTenant 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| sure | string | Nie |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

getTenant 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: GetTenant_200_response
Przykład

getTenants 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| meta | string | Nie | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetTenants_200_response
Przykład

updateTenant 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updateTenantBody | UpdateTenantBody | Tak |
Odpowiedź
Zwraca: FlagCommentPublic_200_response
Przykład

uploadImage 
Prześlij i zmień rozmiar obrazu
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| file | HttpContent | Yes | |
| sizePreset | SizePreset | No | |
| urlId | string | No |
Odpowiedź
Zwraca: UploadImageResponse
Przykład

getUserBadgeProgressById 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: GetUserBadgeProgressById_200_response
Przykład

getUserBadgeProgressByUserId 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Tak |
Odpowiedź
Zwraca: GetUserBadgeProgressById_200_response
Przykład

getUserBadgeProgressList 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie | |
| limit | double | Nie | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetUserBadgeProgressList_200_response
Przykład

createUserBadge 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| createUserBadgeParams | CreateUserBadgeParams | Tak |
Odpowiedź
Zwraca: CreateUserBadge_200_response
Przykład

deleteUserBadge 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: UpdateUserBadge_200_response
Przykład

getUserBadge 
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: GetUserBadge_200_response
Przykład

getUserBadges 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| userId | string | Nie | |
| badgeId | string | Nie | |
| type | double | Nie | |
| displayedOnComments | bool | Nie | |
| limit | double | Nie | |
| skip | double | Nie |
Odpowiedź
Zwraca: GetUserBadges_200_response
Przykład

updateUserBadge 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| updateUserBadgeParams | UpdateUserBadgeParams | Tak |
Odpowiedź
Zwraca: UpdateUserBadge_200_response
Przykład

getUserNotificationCount 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: GetUserNotificationCount_200_response
Przykład

getUserNotifications 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| pageSize | int32_t | Nie | |
| afterId | string | Nie | |
| includeContext | bool | Nie | |
| afterCreatedAt | int64_t | Nie | |
| unreadOnly | bool | Nie | |
| dmOnly | bool | Nie | |
| noDm | bool | Nie | |
| includeTranslations | bool | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: GetUserNotifications_200_response
Przykład

resetUserNotificationCount 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: ResetUserNotifications_200_response
Przykład

resetUserNotifications 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| afterId | string | Nie | |
| afterCreatedAt | int64_t | Nie | |
| unreadOnly | bool | Nie | |
| dmOnly | bool | Nie | |
| noDm | bool | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: ResetUserNotifications_200_response
Przykład

updateUserNotificationCommentSubscriptionStatus 
Włącz lub wyłącz powiadomienia dla określonego komentarza.
Parametry
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| notificationId | string | Tak | |
| optedInOrOut | string | Tak | |
| commentId | string | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: UpdateUserNotificationStatus_200_response
Przykład

updateUserNotificationPageSubscriptionStatus 
Włącz lub wyłącz powiadomienia dla strony. Gdy użytkownicy subskrybują stronę, tworzone są powiadomienia dla nowych komentarzy głównych, i także
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak | |
| url | string | Tak | |
| pageTitle | string | Tak | |
| subscribedOrUnsubscribed | string | Tak | |
| sso | string | Nie |
Response
Zwraca: UpdateUserNotificationStatus_200_response
Example

updateUserNotificationStatus 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| notificationId | string | Tak | |
| newStatus | string | Tak | |
| sso | string | Nie |
Odpowiedź
Zwraca: UpdateUserNotificationStatus_200_response
Przykład

getUserPresenceStatuses 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlIdWS | string | Tak | |
| userIds | string | Tak |
Odpowiedź
Zwraca: GetUserPresenceStatuses_200_response
Przykład

searchUsers 
Parametry
| Name | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak | |
| usernameStartsWith | string | Nie | |
| mentionGroupIds | vector<string | Nie | |
| sso | string | Nie |
Odpowiedź
Zwraca: SearchUsers_200_response
Przykład

getUser 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak |
Odpowiedź
Zwraca: GetUser_200_response
Przykład

createVote 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| commentId | string | Tak | |
| direction | string | Tak | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: VoteComment_200_response
Przykład

deleteVote 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| id | string | Tak | |
| editKey | string | Nie |
Odpowiedź
Zwraca: DeleteCommentVote_200_response
Przykład

getVotes 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak |
Odpowiedź
Zwraca: GetVotes_200_response
Przykład

getVotesForUser 
Parametry
| Nazwa | Typ | Wymagane | Opis |
|---|---|---|---|
| tenantId | string | Tak | |
| urlId | string | Tak | |
| userId | string | Nie | |
| anonUserId | string | Nie |
Odpowiedź
Zwraca: GetVotesForUser_200_response
Przykład

Potrzebujesz pomocy?
Jeśli napotkasz jakiekolwiek problemy lub masz pytania dotyczące C++ SDK, prosimy:
Współtworzenie
Wkłady są mile widziane! Odwiedź repozytorium GitHub, aby zapoznać się z wytycznymi dotyczącymi wkładu.