
Jezik 🇭🇷 Hrvatski
Dokumentacija
Početak rada
Referenca API-ja
Upotreba
Agregacija
Zapisnici audita
Blokiraj iz komentara
Provjera blokiranih komentara
Komentari
Konfiguracije domena
Predlošci e-pošte
Zapisnik događaja
Objave u feedu
Prijavi komentar
Hashtagi
Moderatori
Broj obavijesti
Obavijesti
Stranice
Webhook događaji na čekanju
Konfiguracije pitanja
Rezultati pitanja
Agregacija rezultata pitanja
SSO korisnici
Pretplate
Dnevna upotreba najmoprimca
Paketi najmoprimaca
Korisnici najmoprimca
Najmoprimci
Prenesi sliku
Napredak značke korisnika
Značke korisnika
Obavijesti korisnika
Status prisutnosti korisnika
Pretraživanje korisnika
Korisnici
Glasovi
FastComments C++ SDK
Ovo je službeni C++ SDK za FastComments.
Službeni C++ SDK za FastComments API
Repozitorij
Zahtjevi 
- C++17 ili noviji
- CMake 3.14 ili noviji
- OpenSSL
- C++ REST SDK (cpprestsdk)
- Boost
- Google Test (automatski preuzet za testiranje)
Instalacija 
Instalirajte ovisnosti
sudo apt install libcpprest-dev libboost-all-dev
Izgradnja iz izvornog koda
mkdir build
cd build
cmake ..
make
Instalacija
sudo make install
Sadržaj biblioteke
Ova biblioteka sadrži generirani API klijent i SSO pomoćne alate koji olakšavaju rad s API-jem.
Javni vs Zaštićeni API-ji
Za API klijenta postoje dvije klase, DefaultAPI i PublicAPI. Klasa DefaultAPI sadrži metode koje zahtijevaju vaš API ključ, a PublicAPI sadrži pozive API-ja
koji se mogu izvršiti izravno iz preglednika/na mobilnom uređaju/itd. bez autentikacije.
Brzi početak 
Korištenje autentificiranih API-ja (DefaultAPI)
Važno:
- Morate postaviti osnovni URL (generator cpp-restsdk ga ne čita iz OpenAPI specifikacije)
- Morate postaviti svoj API ključ na ApiClient prije slanja autentificiranih zahtjeva. Ako to ne učinite, zahtjevi će završiti s 401 pogreškom.
#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>();
// REQUIRED: Set the base URL (choose your region)
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com")); // US
// OR: config->setBaseUrl(utility::conversions::to_string_t("https://eu.fastcomments.com")); // EU
// REQUIRED: Set your API key
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);
// Now make authenticated API calls
return 0;
}
Korištenje javnih API-ja (PublicAPI)
Javni endpointi ne zahtijevaju autentifikaciju:
#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>();
// REQUIRED: Set the 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);
// Make public API calls
return 0;
}
Uobičajeni problemi
- Greška "URI must contain a hostname": Provjerite da pozivate
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"))prije stvaranja ApiClient-a. Generator cpp-restsdk ne učitava automatski URL servera iz OpenAPI specifikacije. - 401 greška "missing-api-key": Provjerite da pozivate
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_KEY"))prije stvaranja DefaultAPI instance. - Pogrešna API klasa: Koristite
DefaultAPIza server-side autentificirane zahtjeve,PublicAPIza zahtjeve na strani klijenta/javne zahtjeve.
Pozivi API-ja: sinkroni i asinhroni 
Sve API metode u ovom SDK-u vraćaju pplx::task<std::shared_ptr<ResponseType>> iz C++ REST SDK-a. To vam daje fleksibilnost u načinu rukovanja odgovorima API-ja.
Sinkroni pozivi s .get()
Use .get() to block the calling thread until the request completes and retrieve the result synchronously:
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);
// Pozovite .get() da blokira pozivajuću nit i sinhrono dobije rezultat
auto response = api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
boost::none, // page
boost::none, // limit
boost::none, // skip
boost::none, // asTree
boost::none, // skipChildren
boost::none, // limitChildren
boost::none, // maxTreeDepth
utility::conversions::to_string_t("your-url-id"), // urlId
boost::none, // userId
boost::none, // anonUserId
boost::none, // contextUserId
boost::none, // hashTag
boost::none, // parentId
boost::none // direction
).get(); // Blokira dok HTTP zahtjev ne završi
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
Asinkroni pozivi s .then()
Use .then() for non-blocking asynchronous execution with callbacks:
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);
// Koristite .then() za asinkrono izvršavanje temeljeno na povratnim pozivima
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) {
// Ovo se izvršava asinkrono kada zahtjev završi
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
});
// Izvršavanje se nastavlja odmah bez blokiranja
std::cout << "Request sent, continuing..." << std::endl;
Izbor između sinkronog i asinkronog
Izbor ovisi o vašem runtime okruženju i arhitekturi aplikacije:
.get() (Synchronous blocking)
- Blokira pozivajuću nit dok HTTP zahtjev ne završi
- Jednostavniji tijek koda, lakše za razumjeti
- Pogodno za namjenske radne niti, batch obradu ili alate naredbenog retka
- Nije pogodno za petlje događaja, GUI niti ili poslužitelje s jednom niti
.then() (Asynchronous non-blocking)
- Vraća odmah, povratni poziv se izvršava kada zahtjev završi
- Ne blokira pozivajuću nit
- Potrebno za arhitekture vođene događajima, GUI aplikacije ili petlje događaja s jednom niti
- Omogućava lančanje više operacija
- Složeniji tijek kontrole
The SDK's test suite uses .get() exclusively, but this is appropriate for the test environment where blocking is acceptable.
Bilješke 
Broadcast identifikatori
Vidjet ćete da trebate proslijediti broadcastId u nekim API pozivima. Kad primite događaje, dobit ćete natrag ovaj ID, tako da znate zanemariti taj događaj ako planirate optimistično primijeniti promjene na klijentu
(što ćete vjerojatno htjeti učiniti jer nudi najbolje korisničko iskustvo). Ovdje proslijedite UUID. ID bi trebao biti dovoljno jedinstven da se ne pojavi dva puta u istoj pregledničkoj sesiji.
SSO (Jedinstvena prijava)
Za primjere SSO-a, pogledajte dolje.
Korištenje SSO 
Jednostavan 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;
}
Siguran 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;
}
Dokumentacija za fastcomments 
Dokumentacija za API krajnje točke
Svi URI-i su relativni na https://fastcomments.com
| Klasa | Metoda | HTTP zahtjev | 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 | Grupira dokumente (ako je groupBy naveden) i primjenjuje više operacija. Podržane su različite operacije (npr. sum, countDistinct, avg, itd.). |
| DefaultApi | aggregateQuestionResults | GET /api/v1/question-results-aggregation | |
| DefaultApi | blockUserFromComment | POST /api/v1/comments/{id}/block | |
| DefaultApi | bulkAggregateQuestionResults | POST /api/v1/question-results-aggregation/bulk | |
| DefaultApi | 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 | obavezno 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} | obavezno tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | obavezno tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | obavezno tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | obavezno 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} | Omogućite ili onemogućite obavijesti za određeni komentar. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Omogućite ili onemogućite obavijesti za stranicu. Kada su korisnici pretplaćeni na stranicu, stvaraju se obavijesti za nove osnovne komentare, a također i |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Učitajte i promijenite veličinu slike |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Dokumentacija za Modele
- 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
Agregiraj 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| aggregationRequest | AggregationRequest | Da | |
| parentTenantId | string | Ne | |
| includeStats | bool | Ne |
Odgovor
Vraća: AggregationResponse
Primjer

Dohvati zapisnike audita 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| limit | double | Ne | |
| skip | double | Ne | |
| order | SORT_DIR | Ne | |
| after | double | Ne | |
| before | double | Ne |
Odgovor
Vraća: GetAuditLogs_200_response
Primjer

Blokiraj iz javnog komentara 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Da | |
| sso | string | Ne |
Odgovor
Vraća: BlockFromCommentPublic_200_response
Primjer

Poništi blokadu komentara 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Da | |
| sso | string | Ne |
Odgovor
Vraća: UnBlockCommentPublic_200_response
Primjer

Provjera komentara za blokirane 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentIds | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: CheckedCommentsForBlocked_200_response
Primjer

Blokiraj korisnika iz komentara 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| blockFromCommentParams | BlockFromCommentParams | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: BlockFromCommentPublic_200_response
Primjer

Kreiraj javni komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| broadcastId | string | Da | |
| commentData | CommentData | Da | |
| sessionId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: CreateCommentPublic_200_response
Primjer

Izbriši komentar 
Parametri
| Naziv | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| contextUserId | string | Ne | |
| isLive | bool | Ne |
Odgovor
Vraća: DeleteComment_200_response
Primjer

Izbriši javni komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: DeleteCommentPublic_200_response
Primjer

Ukloni glas za komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| voteId | string | Da | |
| urlId | string | Da | |
| broadcastId | string | Da | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: DeleteCommentVote_200_response
Primjer

Prijavi komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: FlagComment_200_response
Primjer

Dohvati komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetComment_200_response
Primjer

Dohvati komentare 
Parametri
| Name | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| page | int32_t | Ne | |
| limit | int32_t | Ne | |
| skip | int32_t | Ne | |
| asTree | bool | Ne | |
| skipChildren | int32_t | Ne | |
| limitChildren | int32_t | Ne | |
| maxTreeDepth | int32_t | Ne | |
| urlId | string | Ne | |
| userId | string | Ne | |
| anonUserId | string | Ne | |
| contextUserId | string | Ne | |
| hashTag | string | Ne | |
| parentId | string | Ne | |
| direction | SortDirections | Ne |
Odgovor
Vraća: GetComments_200_response
Primjer

Dohvati javne komentare 
req tenantId urlId
Parametri
| Name | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| page | int32_t | Ne | |
| direction | SortDirections | Ne | |
| sso | string | Ne | |
| skip | int32_t | Ne | |
| skipChildren | int32_t | Ne | |
| limit | int32_t | Ne | |
| limitChildren | int32_t | Ne | |
| countChildren | bool | Ne | |
| fetchPageForCommentId | string | Ne | |
| includeConfig | bool | Ne | |
| countAll | bool | Ne | |
| includei10n | bool | Ne | |
| locale | string | Ne | |
| modules | string | Ne | |
| isCrawler | bool | Ne | |
| includeNotificationCount | bool | Ne | |
| asTree | bool | Ne | |
| maxTreeDepth | int32_t | Ne | |
| useFullTranslationIds | bool | Ne | |
| parentId | string | Ne | |
| searchText | string | Ne | |
| hashTags | vector<string | Ne | |
| userId | string | Ne | |
| customConfigStr | string | Ne | |
| afterCommentId | string | Ne | |
| beforeCommentId | string | Ne |
Odgovor
Vraća: GetCommentsPublic_200_response
Primjer

Dohvati tekst komentara 
Parametri
| Name | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: GetCommentText_200_response
Primjer

Dohvati imena korisnika glasova komentara 
Parametri
| Naziv | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| dir | int32_t | Da | |
| sso | string | Ne |
Odgovor
Vraća: GetCommentVoteUserNames_200_response
Primjer

Zaključaj komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: LockComment_200_response
Primjer

Pričvrsti komentar 
Parametri
| Naziv | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: PinComment_200_response
Primjer

Spremi komentar 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| createCommentParams | CreateCommentParams | Da | |
| isLive | bool | Ne | |
| doSpamCheck | bool | Ne | |
| sendEmails | bool | Ne | |
| populateNotifications | bool | Ne |
Odgovor
Vraća: SaveComment_200_response
Primjer

Postavi tekst komentara 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| commentTextUpdateRequest | CommentTextUpdateRequest | Da | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: SetCommentText_200_response
Primjer

Ukloni blokadu korisnika iz komentara 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: UnBlockCommentPublic_200_response
Primjer

Poništi prijavu komentara 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: FlagComment_200_response
Primjer

Otključaj komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: LockComment_200_response
Primjer

Ukloni pričvršćenje komentara 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: PinComment_200_response
Primjer

Ažuriraj komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updatableCommentParams | UpdatableCommentParams | Da | |
| contextUserId | string | Ne | |
| doSpamCheck | bool | Ne | |
| isLive | bool | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Glasaj za komentar 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| urlId | string | Da | |
| broadcastId | string | Da | |
| voteBodyParams | VoteBodyParams | Da | |
| sessionId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: VoteComment_200_response
Primjer

Dodaj konfiguraciju domene 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| addDomainConfigParams | AddDomainConfigParams | Da |
Odgovor
Vraća: AddDomainConfig_200_response
Primjer

Izbriši konfiguraciju domene 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Da |
Odgovor
Vraća: DeleteDomainConfig_200_response
Primjer

Dohvati konfiguraciju domene 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Da |
Odgovor
Vraća: GetDomainConfig_200_response
Primjer

Dohvati konfiguracije domena 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: GetDomainConfigs_200_response
Primjer

Djelomično ažuriraj konfiguraciju domene 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domainToUpdate | string | Da | |
| patchDomainConfigParams | PatchDomainConfigParams | Da |
Odgovor
Vraća: GetDomainConfig_200_response
Primjer

Zamijeni konfiguraciju domene 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domainToUpdate | string | Da | |
| updateDomainConfigParams | UpdateDomainConfigParams | Da |
Odgovor
Vraća: GetDomainConfig_200_response
Primjer

Kreiraj predložak e-pošte 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| createEmailTemplateBody | CreateEmailTemplateBody | Yes |
Odgovor
Vraća: CreateEmailTemplate_200_response
Primjer

Izbriši predložak e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Izbriši pogrešku pri renderiranju predloška e-pošte 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| errorId | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dohvati predložak e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetEmailTemplate_200_response
Primjer

Dohvati definicije predložaka e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes |
Odgovor
Vraća: GetEmailTemplateDefinitions_200_response
Primjer

Dohvati pogreške pri renderiranju predložaka e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetEmailTemplateRenderErrors_200_response
Primjer

Dohvati predloške e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetEmailTemplates_200_response
Primjer

Renderiraj predložak e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Da | |
| locale | string | Ne |
Odgovor
Vraća: RenderEmailTemplate_200_response
Primjer

Ažuriraj predložak e-pošte 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dohvati zapisnik događaja 
req tenantId urlId userIdWS
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userIdWS | string | Da | |
| startTime | int64_t | Da | |
| endTime | int64_t | Da |
Odgovor
Vraća: GetEventLog_200_response
Primjer

Dohvati globalni zapisnik događaja 
req tenantId urlId userIdWS
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userIdWS | string | Da | |
| startTime | int64_t | Da | |
| endTime | int64_t | Da |
Odgovor
Vraća: GetEventLog_200_response
Primjer

Kreiraj objavu u feedu 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createFeedPostParams | CreateFeedPostParams | Da | |
| broadcastId | string | Ne | |
| isLive | bool | Ne | |
| doSpamCheck | bool | Ne | |
| skipDupCheck | bool | Ne |
Odgovor
Vraća: CreateFeedPost_200_response
Primjer

Kreiraj javnu objavu u feedu 
Parametri
| Naziv | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createFeedPostParams | CreateFeedPostParams | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: CreateFeedPostPublic_200_response
Primjer

Izbriši javnu objavu u feedu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: DeleteFeedPostPublic_200_response
Primjer

Dohvati objave u feedu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| afterId | string | Ne | |
| limit | int32_t | Ne | |
| tags | vector<string | Ne |
Odgovor
Vraća: GetFeedPosts_200_response
Primjer

Dohvati javne objave u feedu 
req tenantId afterId
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| afterId | string | Ne | |
| limit | int32_t | Ne | |
| tags | vector<string | Ne | |
| sso | string | Ne | |
| isCrawler | bool | Ne | |
| includeUserInfo | bool | Ne |
Odgovor
Vraća: GetFeedPostsPublic_200_response
Primjer

Dohvati statistike objava u feedu 
Parametri
| Naziv | Tip | Obvezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postIds | vector<string | Da | |
| sso | string | Ne |
Odgovor
Vraća: GetFeedPostsStats_200_response
Primjer

Dohvati javne reakcije korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postIds | vector<string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: GetUserReactsPublic_200_response
Primjer

Reagiraj na javnu objavu u feedu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Da | |
| reactBodyParams | ReactBodyParams | Da | |
| isUndo | bool | Ne | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: ReactFeedPostPublic_200_response
Primjer

Ažuriraj objavu u feedu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| feedPost | FeedPost | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Ažuriraj javnu objavu u feedu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Da | |
| updateFeedPostParams | UpdateFeedPostParams | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: CreateFeedPostPublic_200_response
Primjer

Prijavi javni komentar 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| isFlagged | bool | Yes | |
| sso | string | No |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dodaj hashtag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Ne | |
| createHashTagBody | CreateHashTagBody | Ne |
Odgovor
Vraća: AddHashTag_200_response
Primjer

Masovno dodaj hashtage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Ne | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Ne |
Odgovor
Vraća: AddHashTagsBulk_200_response
Primjer

Izbriši hashtag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tag | string | Yes | |
| tenantId | string | No | |
| deleteHashTagRequest | DeleteHashTag_request | No |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dohvati hashtage 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| page | double | Ne |
Odgovor
Vraća: GetHashTags_200_response
Primjer

Djelomično ažuriraj hashtag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tag | string | Da | |
| tenantId | string | Ne | |
| updateHashTagBody | UpdateHashTagBody | Ne |
Odgovor
Vraća: PatchHashTag_200_response
Primjer

Kreiraj moderatora 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createModeratorBody | CreateModeratorBody | Da |
Odgovor
Vraća: CreateModerator_200_response
Primjer

Izbriši moderatora 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| sendEmail | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dohvati moderatora 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetModerator_200_response
Primjer

Dohvati moderatore 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetModerators_200_response
Primjer

Pošalji pozivnicu 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| fromName | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Ažuriraj moderatora 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateModeratorBody | UpdateModeratorBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Izbriši broj obavijesti 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dohvati keširani broj obavijesti 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetCachedNotificationCount_200_response
Primjer

Dohvati broj obavijesti 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| urlId | string | Ne | |
| fromCommentId | string | Ne | |
| viewed | bool | Ne | |
| type | string | Ne |
Odgovor
Vraća: GetNotificationCount_200_response
Primjer

Dohvati obavijesti 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| urlId | string | Ne | |
| fromCommentId | string | Ne | |
| viewed | bool | Ne | |
| type | string | Ne | |
| skip | double | Ne |
Odgovor
Vraća: GetNotifications_200_response
Primjer

Ažuriraj obavijest 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateNotificationBody | UpdateNotificationBody | Da | |
| userId | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dodaj stranicu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPIPageData | CreateAPIPageData | Da |
Odgovor
Vraća: AddPageAPIResponse
Primjer

Izbriši stranicu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: DeletePageAPIResponse
Primjer

Dohvati stranicu prema URL ID-u 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vraća: GetPageByURLIdAPIResponse
Primjer

Dohvati stranice 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: GetPagesAPIResponse
Primjer

Djelomično ažuriraj stranicu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPIPageData | UpdateAPIPageData | Da |
Odgovor
Vraća: PatchPageAPIResponse
Primjer

Izbriši čekajući webhook događaj 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dohvati broj čekajućih webhook događaja 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Ne | |
| externalId | string | Ne | |
| eventType | string | Ne | |
| type | string | Ne | |
| domain | string | Ne | |
| attemptCountGT | double | Ne |
Odgovor
Vraća: GetPendingWebhookEventCount_200_response
Primjer

Dohvati čekajuće webhook događaje 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Ne | |
| externalId | string | Ne | |
| eventType | string | Ne | |
| type | string | Ne | |
| domain | string | Ne | |
| attemptCountGT | double | Ne | |
| skip | double | Ne |
Odgovor
Vraća: GetPendingWebhookEvents_200_response
Primjer

Kreiraj konfiguraciju pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionConfigBody | CreateQuestionConfigBody | Da |
Odgovor
Vraća: CreateQuestionConfig_200_response
Primjer

Izbriši konfiguraciju pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dohvati konfiguraciju pitanja 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetQuestionConfig_200_response
Primjer

Dohvati konfiguracije pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetQuestionConfigs_200_response
Primjer

Ažuriraj konfiguraciju pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Kreiraj rezultat pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionResultBody | CreateQuestionResultBody | Da |
Odgovor
Vraća: CreateQuestionResult_200_response
Primjer

Izbriši rezultat pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dohvati rezultat pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetQuestionResult_200_response
Primjer

Dohvati rezultate pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Ne | |
| userId | string | Ne | |
| startDate | string | Ne | |
| questionId | string | Ne | |
| questionIds | string | Ne | |
| skip | double | Ne |
Odgovor
Vraća: GetQuestionResults_200_response
Primjer

Ažuriraj rezultat pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateQuestionResultBody | UpdateQuestionResultBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Agregiraj rezultate pitanja 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| questionId | string | Ne | |
| questionIds | vector<string | Ne | |
| urlId | string | Ne | |
| timeBucket | AggregateTimeBucket | Ne | |
| startDate | datetime | Ne | |
| forceRecalculate | bool | Ne |
Odgovor
Vraća: AggregateQuestionResults_200_response
Primjer

Masovna agregacija rezultata pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Da | |
| forceRecalculate | bool | Ne |
Odgovor
Vraća: BulkAggregateQuestionResults_200_response
Primjer

Spoji komentare s rezultatima pitanja 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| questionId | string | Ne | |
| questionIds | vector<string | Ne | |
| urlId | string | Ne | |
| startDate | datetime | Ne | |
| forceRecalculate | bool | Ne | |
| minValue | double | Ne | |
| maxValue | double | Ne | |
| limit | double | Ne |
Odgovor
Vraća: CombineCommentsWithQuestionResults_200_response
Primjer

Dodaj SSO korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPISSOUserData | CreateAPISSOUserData | Da |
Odgovor
Vraća: AddSSOUserAPIResponse
Primjer

Izbriši SSO korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| deleteComments | bool | Ne | |
| commentDeleteMode | string | Ne |
Odgovor
Vraća: DeleteSSOUserAPIResponse
Primjer

Dohvati SSO korisnika po e-pošti 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| string | Yes |
Odgovor
Vraća: GetSSOUserByEmailAPIResponse
Primjer

Dohvati SSO korisnika po ID-u 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetSSOUserByIdAPIResponse
Primjer

Dohvati SSO korisnike 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| skip | int32_t | Ne |
Odgovor
Vraća: GetSSOUsers_200_response
Primjer

Djelomično ažuriraj SSO korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPISSOUserData | UpdateAPISSOUserData | Da | |
| updateComments | bool | Ne |
Odgovor
Vraća: PatchSSOUserAPIResponse
Primjer

Zamijeni SSO korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPISSOUserData | UpdateAPISSOUserData | Da | |
| updateComments | bool | Ne |
Odgovor
Vraća: PutSSOUserAPIResponse
Primjer

Kreiraj pretplatu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Da |
Odgovor
Vraća: CreateSubscriptionAPIResponse
Primjer

Izbriši pretplatu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| userId | string | Ne |
Odgovor
Vraća: DeleteSubscriptionAPIResponse
Primjer

Dohvati pretplate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne |
Odgovor
Vraća: GetSubscriptionsAPIResponse
Primjer

Dohvati dnevne upotrebe najmoprimca 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| yearNumber | double | Ne | |
| monthNumber | double | Ne | |
| dayNumber | double | Ne | |
| skip | double | Ne |
Odgovor
Vraća: GetTenantDailyUsages_200_response
Primjer

Kreiraj paket za najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantPackageBody | CreateTenantPackageBody | Da |
Odgovor
Vraća: CreateTenantPackage_200_response
Primjer

Izbriši paket najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dohvati paket najmoprimca 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetTenantPackage_200_response
Primjer

Dohvati pakete najmoprimaca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetTenantPackages_200_response
Primjer

Zamijeni paket najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Ažuriraj paket najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateTenantPackageBody | UpdateTenantPackageBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Kreiraj korisnika najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantUserBody | CreateTenantUserBody | Da |
Odgovor
Vraća: CreateTenantUser_200_response
Primjer

Izbriši korisnika najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| deleteComments | string | Ne | |
| commentDeleteMode | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dohvati korisnika najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetTenantUser_200_response
Primjer

Dohvati korisnike najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetTenantUsers_200_response
Primjer

Zamijeni korisnika najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| replaceTenantUserBody | ReplaceTenantUserBody | Da | |
| updateComments | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Pošalji poveznicu za prijavu 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| redirectURL | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Ažuriraj korisnika najmoprimca 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateTenantUserBody | UpdateTenantUserBody | Da | |
| updateComments | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Kreiraj najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantBody | CreateTenantBody | Da |
Odgovor
Vraća: CreateTenant_200_response
Primjer

Izbriši najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| sure | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Dohvati najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetTenant_200_response
Primjer

Dohvati najmoprimce 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| meta | string | Ne | |
| skip | double | Ne |
Odgovor
Vraća: GetTenants_200_response
Primjer

Ažuriraj najmoprimca 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateTenantBody | UpdateTenantBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primjer

Prenesi sliku 
Prenesite i promijenite veličinu slike
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| file | HttpContent | Da | |
| sizePreset | SizePreset | Ne | |
| urlId | string | Ne |
Odgovor
Vraća: UploadImageResponse
Primjer

Dohvati napredak značke korisnika po ID-u 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetUserBadgeProgressById_200_response
Primjer

Dohvati napredak značke po ID-u korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Da |
Odgovor
Vraća: GetUserBadgeProgressById_200_response
Primjer

Dohvati popis napretka znački korisnika 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| limit | double | Ne | |
| skip | double | Ne |
Odgovor
Vraća: GetUserBadgeProgressList_200_response
Primjer

Kreiraj značku korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createUserBadgeParams | CreateUserBadgeParams | Da |
Odgovor
Vraća: CreateUserBadge_200_response
Primjer

Izbriši značku korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: UpdateUserBadge_200_response
Primjer

Dohvati značku korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetUserBadge_200_response
Primjer

Dohvati značke korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| badgeId | string | Ne | |
| type | double | Ne | |
| displayedOnComments | bool | Ne | |
| limit | double | Ne | |
| skip | double | Ne |
Odgovor
Vraća: GetUserBadges_200_response
Primjer

Ažuriraj značku korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateUserBadgeParams | UpdateUserBadgeParams | Da |
Odgovor
Vraća: UpdateUserBadge_200_response
Primjer

Dohvati broj obavijesti korisnika 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: GetUserNotificationCount_200_response
Primjer

Dohvati obavijesti korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| pageSize | int32_t | No | |
| afterId | string | No | |
| includeContext | bool | No | |
| afterCreatedAt | int64_t | No | |
| unreadOnly | bool | No | |
| dmOnly | bool | No | |
| noDm | bool | No | |
| includeTranslations | bool | No | |
| sso | string | No |
Odgovor
Vraća: GetUserNotifications_200_response
Primjer

Resetiraj broj obavijesti korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: ResetUserNotifications_200_response
Primjer

Resetiraj obavijesti korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| afterId | string | Ne | |
| afterCreatedAt | int64_t | Ne | |
| unreadOnly | bool | Ne | |
| dmOnly | bool | Ne | |
| noDm | bool | Ne | |
| sso | string | Ne |
Odgovor
Vraća: ResetUserNotifications_200_response
Primjer

Ažuriraj status pretplate korisnika na obavijesti o komentarima 
Omogućite ili onemogućite obavijesti za određeni komentar.
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Da | |
| optedInOrOut | string | Da | |
| commentId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: UpdateUserNotificationStatus_200_response
Primjer

Ažuriraj status pretplate korisnika na obavijesti o stranici 
Omogućite ili onemogućite obavijesti za stranicu. Kada su korisnici pretplaćeni na stranicu, obavijesti se stvaraju za nove glavne komentare, i također
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| url | string | Da | |
| pageTitle | string | Da | |
| subscribedOrUnsubscribed | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: UpdateUserNotificationStatus_200_response
Primjer

Ažuriraj status obavijesti korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Da | |
| newStatus | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: UpdateUserNotificationStatus_200_response
Primjer

Dohvati statuse prisutnosti korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlIdWS | string | Da | |
| userIds | string | Da |
Odgovor
Vraća: GetUserPresenceStatuses_200_response
Primjer

Pretraži korisnike 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| usernameStartsWith | string | Ne | |
| mentionGroupIds | vector<string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: SearchUsers_200_response
Primjer

Dohvati korisnika 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetUser_200_response
Primjer

Kreiraj glas 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| direction | string | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: VoteComment_200_response
Primjer

Izbriši glas 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| editKey | string | Ne |
Odgovor
Vraća: DeleteCommentVote_200_response
Primjer

Dohvati glasove 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vraća: GetVotes_200_response
Primjer

Dohvati glasove za korisnika 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: GetVotesForUser_200_response
Primjer

Trebate pomoć?
Ako naiđete na bilo kakve probleme ili imate pitanja o C++ SDK-u, molimo:
Doprinosi
Doprinosi su dobrodošli! Molimo posjetite GitHub repozitorij za smjernice za doprinos.