
Jezik 🇷🇸 Srpski (Latinica)
Dokumentacija
Početak
API referenca
Upotreba
Agregacija
Dnevnici revizije
Blokiranje iz komentara
Provera blokiranih komentara
Komentari
Konfiguracije domena
Šabloni e-pošte
Dnevnik događaja
Objave feeda
Prijavi komentar
Hashtagovi
Moderatori
Broj obaveštenja
Obaveštenja
Stranice
Webhook događaji na čekanju
Konfiguracije pitanja
Rezultati pitanja
Agregacija rezultata pitanja
SSO korisnici
Pretplate
Dnevna upotreba zakupca
Paketi zakupca
Korisnici zakupca
Zakupci
Tiketi
Otpremanje slike
Napredak bedža korisnika
Bedževi korisnika
Obaveštenja korisnika
Status prisutnosti korisnika
Pretraga korisnika
Korisnici
Glasovi
FastComments C++ SDK
Ovo je zvanični C++ SDK za FastComments.
Zvanični C++ SDK za FastComments API
Repozitorijum
Zahtevi 
- C++17 ili noviji
- CMake 3.14 ili noviji
- OpenSSL
- C++ REST SDK (cpprestsdk)
- Boost
- Google Test (automatski preuzet za testiranje)
Instalacija 
Instaliranje zavisnosti
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 generisan API klijent i SSO alatke koje olakšavaju rad sa API-jem.
Javni naspram zaštićenih API-ja
Za API klijenta postoje dve klase, DefaultAPI i PublicAPI. DefaultAPI sadrži metode koje zahtevaju vaš API ključ, a PublicAPI sadrži pozive API-ja koji se mogu izvršavati direktno iz pregledača/mobilnog uređaja/itd. bez autentifikacije.
Brzi početak 
Korišćenje autentifikovanih API-ja (DefaultAPI)
Važno:
- Morate postaviti osnovni URL (cpp-restsdk generator ga ne čita iz OpenAPI specifikacije)
- Morate postaviti svoj API ključ na ApiClient pre slanja autentifikovanih zahteva. Ako to ne uradite, zahtevi će biti odbijeni sa 401 greš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šćenje javnih API-ja (PublicAPI)
Javni endpointi ne zahtevaju 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
- "URI must contain a hostname" error: Uverite se da pozovete
config->setBaseUrl(utility::conversions::to_string_t("https://fastcomments.com"))pre nego što kreirate ApiClient. cpp-restsdk generator ne čita automatski URL servera iz OpenAPI specifikacije. - 401 "missing-api-key" error: Uverite se da pozovete
config->setApiKey(utility::conversions::to_string_t("api_key"), utility::conversions::to_string_t("YOUR_KEY"))pre nego što kreirate instancu DefaultAPI. - Pogrešna API klasa: Koristite
DefaultAPIza autentifikovane zahteve na serverskoj strani, aPublicAPIza klijentske/javne zahteve.
Slanje API poziva: sinhrono vs asinhrono 
Svi API metode u ovom SDK vraćaju pplx::task<std::shared_ptr<ResponseType>> iz C++ REST SDK-a. Ovo vam daje fleksibilnost u načinu na koji obrađujete odgovore API-ja.
Sinhroni pozivi sa .get()
Koristite .get() da blokirate pozivajući thread dok zahtev ne bude završen i sinhrono dobijete rezultat:
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 blokirate i sinhrono dobijete rezultat
auto response = api.getComments(
utility::conversions::to_string_t("your-tenant-id"),
boost::none, // stranica
boost::none, // limit
boost::none, // preskok
boost::none, // kaoStablo
boost::none, // preskociDecu
boost::none, // limitDeca
boost::none, // maksDubinaStabla
utility::conversions::to_string_t("your-url-id"), // idUrl-a
boost::none, // idKorisnika
boost::none, // idAnonKorisnika
boost::none, // idKontekstKorisnika
boost::none, // hašTag
boost::none, // idRoditelja
boost::none // smer
).get(); // Blokira dok HTTP zahtev ne bude završen
if (response && response->comments) {
std::cout << "Found " << response->comments->size() << " comments" << std::endl;
}
Asinhroni pozivi sa .then()
Koristite .then() za neblokirajuće asinhrono izvršavanje sa callback-ovima:
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 asinhrono izvršavanje zasnovano na callback-ovima
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 asinhrono kada zahtev bude završen
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 sinhronog i asinhronog
Izbor zavisi od vašeg runtime okruženja i arhitekture aplikacije:
.get() (Sinhrono — blokira)
- Blokira pozivajući thread dok HTTP zahtev ne bude završen
- Jednostavniji tok koda, lakše za razumevanje
- Pogodno za posvećene radne niti, batch obradu ili komandnu liniju
- Nije pogodno za event loop-ove, GUI thread-ove ili jednothread servere
.then() (Asinhrono — neblokirajuće)
- Vraća se odmah, callback se izvršava kada zahtev bude završen
- Ne blokira pozivajući thread
- Potrebno za event-driven arhitekture, GUI aplikacije ili jednothread event loop-ove
- Omogućava lančanje više operacija
- Složeniji tok kontrole
Test-suite SDK-a koristi isključivo .get(), ali to je odgovarajuće za test okruženje gde je blokiranje prihvatljivo.
Napomene 
Broadcast ID-jevi
Videćete da treba da prosledite broadcastId u nekim API pozivima. Kada primite događaje, dobićete ovaj ID nazad, tako da znate da ignorišete događaj ako planirate da optimistično primenite promene na klijentu
(što verovatno želite da uradite jer pruža najbolje iskustvo). Ovde prosledite UUID. ID bi trebalo da bude dovoljno jedinstven da se ne pojavi dva puta u jednoj sesiji pregledača.
SSO (Jedinstvena prijava)
Za SSO primere, pogledajte ispod.
Korišćenje 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 tačke
Svi URI-ji su relativni na https://fastcomments.com
| Klasa | Metod | HTTP zahtev | 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 | Agregira dokumente grupisanjem (ako je prosleđen groupBy) i primenom 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 | changeTicketState | PATCH /api/v1/tickets/{id}/state | |
| DefaultApi | combineCommentsWithQuestionResults | GET /api/v1/question-results-aggregation/combine/comments | |
| DefaultApi | createEmailTemplate | POST /api/v1/email-templates | |
| DefaultApi | createFeedPost | POST /api/v1/feed-posts | |
| DefaultApi | createModerator | POST /api/v1/moderators | |
| DefaultApi | createQuestionConfig | POST /api/v1/question-configs | |
| DefaultApi | createQuestionResult | POST /api/v1/question-results | |
| DefaultApi | createSubscription | POST /api/v1/subscriptions | |
| DefaultApi | createTenant | POST /api/v1/tenants | |
| DefaultApi | createTenantPackage | POST /api/v1/tenant-packages | |
| DefaultApi | createTenantUser | POST /api/v1/tenant-users | |
| DefaultApi | createTicket | POST /api/v1/tickets | |
| DefaultApi | createUserBadge | POST /api/v1/user-badges | |
| DefaultApi | createVote | POST /api/v1/votes | |
| DefaultApi | deleteComment | DELETE /api/v1/comments/{id} | |
| DefaultApi | deleteDomainConfig | DELETE /api/v1/domain-configs/{domain} | |
| DefaultApi | deleteEmailTemplate | DELETE /api/v1/email-templates/{id} | |
| DefaultApi | deleteEmailTemplateRenderError | DELETE /api/v1/email-templates/{id}/render-errors/{errorId} | |
| DefaultApi | deleteHashTag | DELETE /api/v1/hash-tags/{tag} | |
| DefaultApi | deleteModerator | DELETE /api/v1/moderators/{id} | |
| DefaultApi | deleteNotificationCount | DELETE /api/v1/notification-count/{id} | |
| DefaultApi | deletePage | DELETE /api/v1/pages/{id} | |
| DefaultApi | deletePendingWebhookEvent | DELETE /api/v1/pending-webhook-events/{id} | |
| DefaultApi | deleteQuestionConfig | DELETE /api/v1/question-configs/{id} | |
| DefaultApi | deleteQuestionResult | DELETE /api/v1/question-results/{id} | |
| DefaultApi | deleteSSOUser | DELETE /api/v1/sso-users/{id} | |
| DefaultApi | deleteSubscription | DELETE /api/v1/subscriptions/{id} | |
| DefaultApi | deleteTenant | DELETE /api/v1/tenants/{id} | |
| DefaultApi | deleteTenantPackage | DELETE /api/v1/tenant-packages/{id} | |
| DefaultApi | deleteTenantUser | DELETE /api/v1/tenant-users/{id} | |
| DefaultApi | deleteUserBadge | DELETE /api/v1/user-badges/{id} | |
| DefaultApi | deleteVote | DELETE /api/v1/votes/{id} | |
| DefaultApi | flagComment | POST /api/v1/comments/{id}/flag | |
| DefaultApi | getAuditLogs | GET /api/v1/audit-logs | |
| DefaultApi | getCachedNotificationCount | GET /api/v1/notification-count/{id} | |
| DefaultApi | getComment | GET /api/v1/comments/{id} | |
| DefaultApi | getComments | GET /api/v1/comments | |
| DefaultApi | getDomainConfig | GET /api/v1/domain-configs/{domain} | |
| DefaultApi | getDomainConfigs | GET /api/v1/domain-configs | |
| DefaultApi | getEmailTemplate | GET /api/v1/email-templates/{id} | |
| DefaultApi | getEmailTemplateDefinitions | GET /api/v1/email-templates/definitions | |
| DefaultApi | getEmailTemplateRenderErrors | GET /api/v1/email-templates/{id}/render-errors | |
| DefaultApi | getEmailTemplates | GET /api/v1/email-templates | |
| DefaultApi | getFeedPosts | GET /api/v1/feed-posts | zahteva tenantId afterId |
| DefaultApi | getHashTags | GET /api/v1/hash-tags | |
| DefaultApi | getModerator | GET /api/v1/moderators/{id} | |
| DefaultApi | getModerators | GET /api/v1/moderators | |
| DefaultApi | getNotificationCount | GET /api/v1/notifications/count | |
| DefaultApi | getNotifications | GET /api/v1/notifications | |
| DefaultApi | getPageByURLId | GET /api/v1/pages/by-url-id | |
| DefaultApi | getPages | GET /api/v1/pages | |
| DefaultApi | getPendingWebhookEventCount | GET /api/v1/pending-webhook-events/count | |
| DefaultApi | getPendingWebhookEvents | GET /api/v1/pending-webhook-events | |
| DefaultApi | getQuestionConfig | GET /api/v1/question-configs/{id} | |
| DefaultApi | getQuestionConfigs | GET /api/v1/question-configs | |
| DefaultApi | getQuestionResult | GET /api/v1/question-results/{id} | |
| DefaultApi | getQuestionResults | GET /api/v1/question-results | |
| DefaultApi | getSSOUserByEmail | GET /api/v1/sso-users/by-email/{email} | |
| DefaultApi | getSSOUserById | GET /api/v1/sso-users/by-id/{id} | |
| DefaultApi | getSSOUsers | GET /api/v1/sso-users | |
| DefaultApi | getSubscriptions | GET /api/v1/subscriptions | |
| DefaultApi | getTenant | GET /api/v1/tenants/{id} | |
| DefaultApi | getTenantDailyUsages | GET /api/v1/tenant-daily-usage | |
| DefaultApi | getTenantPackage | GET /api/v1/tenant-packages/{id} | |
| DefaultApi | getTenantPackages | GET /api/v1/tenant-packages | |
| DefaultApi | getTenantUser | GET /api/v1/tenant-users/{id} | |
| DefaultApi | getTenantUsers | GET /api/v1/tenant-users | |
| DefaultApi | getTenants | GET /api/v1/tenants | |
| DefaultApi | getTicket | GET /api/v1/tickets/{id} | |
| DefaultApi | getTickets | GET /api/v1/tickets | |
| DefaultApi | getUser | GET /api/v1/users/{id} | |
| DefaultApi | getUserBadge | GET /api/v1/user-badges/{id} | |
| DefaultApi | getUserBadgeProgressById | GET /api/v1/user-badge-progress/{id} | |
| DefaultApi | getUserBadgeProgressByUserId | GET /api/v1/user-badge-progress/user/{userId} | |
| DefaultApi | getUserBadgeProgressList | GET /api/v1/user-badge-progress | |
| DefaultApi | getUserBadges | GET /api/v1/user-badges | |
| DefaultApi | getVotes | GET /api/v1/votes | |
| DefaultApi | getVotesForUser | GET /api/v1/votes/for-user | |
| DefaultApi | patchDomainConfig | PATCH /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | patchHashTag | PATCH /api/v1/hash-tags/{tag} | |
| DefaultApi | patchPage | PATCH /api/v1/pages/{id} | |
| DefaultApi | patchSSOUser | PATCH /api/v1/sso-users/{id} | |
| DefaultApi | putDomainConfig | PUT /api/v1/domain-configs/{domainToUpdate} | |
| DefaultApi | putSSOUser | PUT /api/v1/sso-users/{id} | |
| DefaultApi | renderEmailTemplate | POST /api/v1/email-templates/render | |
| DefaultApi | replaceTenantPackage | PUT /api/v1/tenant-packages/{id} | |
| DefaultApi | replaceTenantUser | PUT /api/v1/tenant-users/{id} | |
| DefaultApi | saveComment | POST /api/v1/comments | |
| DefaultApi | saveCommentsBulk | POST /api/v1/comments/bulk | |
| DefaultApi | sendInvite | POST /api/v1/moderators/{id}/send-invite | |
| DefaultApi | sendLoginLink | POST /api/v1/tenant-users/{id}/send-login-link | |
| DefaultApi | unBlockUserFromComment | POST /api/v1/comments/{id}/un-block | |
| DefaultApi | unFlagComment | POST /api/v1/comments/{id}/un-flag | |
| DefaultApi | updateComment | PATCH /api/v1/comments/{id} | |
| DefaultApi | updateEmailTemplate | PATCH /api/v1/email-templates/{id} | |
| DefaultApi | updateFeedPost | PATCH /api/v1/feed-posts/{id} | |
| DefaultApi | updateModerator | PATCH /api/v1/moderators/{id} | |
| DefaultApi | updateNotification | PATCH /api/v1/notifications/{id} | |
| DefaultApi | updateQuestionConfig | PATCH /api/v1/question-configs/{id} | |
| DefaultApi | updateQuestionResult | PATCH /api/v1/question-results/{id} | |
| DefaultApi | updateSubscription | PATCH /api/v1/subscriptions/{id} | |
| DefaultApi | updateTenant | PATCH /api/v1/tenants/{id} | |
| DefaultApi | updateTenantPackage | PATCH /api/v1/tenant-packages/{id} | |
| DefaultApi | updateTenantUser | PATCH /api/v1/tenant-users/{id} | |
| DefaultApi | updateUserBadge | PUT /api/v1/user-badges/{id} | |
| 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} | zahteva tenantId urlId |
| PublicApi | getEventLog | GET /event-log/{tenantId} | zahteva tenantId urlId userIdWS |
| PublicApi | getFeedPostsPublic | GET /feed-posts/{tenantId} | zahteva tenantId afterId |
| PublicApi | getFeedPostsStats | GET /feed-posts/{tenantId}/stats | |
| PublicApi | getGlobalEventLog | GET /event-log/global/{tenantId} | zahteva 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ći ili onemogući obaveštenja za određeni komentar. |
| PublicApi | updateUserNotificationPageSubscriptionStatus | POST /user-notifications/set-subscription-state/{subscribedOrUnsubscribed} | Omogući ili onemogući obaveštenja za stranicu. Kada su korisnici pretplaćeni na stranicu, obaveštenja se kreiraju za nove osnovne komentare, kao i |
| PublicApi | updateUserNotificationStatus | POST /user-notifications/{notificationId}/mark/{newStatus} | |
| PublicApi | uploadImage | POST /upload-image/{tenantId} | Otpremi i promeni veličinu slike |
| PublicApi | voteComment | POST /comments/{tenantId}/{commentId}/vote |
Dokumentacija za modele
- APIAuditLog
- APIComment
- APICommentBase
- APICommentBase_meta
- APICreateUserBadgeResponse
- APIDomainConfiguration
- APIEmptyResponse
- APIEmptySuccessResponse
- APIError
- APIGetCommentResponse
- APIGetCommentsResponse
- APIGetUserBadgeProgressListResponse
- APIGetUserBadgeProgressResponse
- APIGetUserBadgeResponse
- APIGetUserBadgesResponse
- APIPage
- APISSOUser
- APIStatus
- APITenant
- APITenantDailyUsage
- APITicket
- APITicketDetail
- APITicketFile
- 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
- ChangeTicketStateBody
- ChangeTicketStateResponse
- ChangeTicketState_200_response
- 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
- CreateTicketBody
- CreateTicketResponse
- CreateTicket_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
- GetTicketResponse
- GetTicket_200_response
- GetTicketsResponse
- GetTickets_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
- HeaderAccountNotification
- HeaderState
- IgnoredResponse
- ImageContentProfanityLevel
- [ImportedSiteType](https://github.com/FastComments/fastcomments-cpp/blob
aggregate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| aggregationRequest | AggregationRequest | Da | |
| parentTenantId | string | Ne | |
| includeStats | bool | Ne |
Odgovor
Vraća: AggregationResponse
Primer

getAuditLogs 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| 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
Primer

blockFromCommentPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| commentId | string | Yes | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Yes | |
| sso | string | No |
Odgovor
Vraća: BlockFromCommentPublic_200_response
Primer

unBlockCommentPublic 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| publicBlockFromCommentParams | PublicBlockFromCommentParams | Da | |
| sso | string | Ne |
Odgovor
Vraća: UnBlockCommentPublic_200_response
Primer

checkedCommentsForBlocked 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentIds | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: CheckedCommentsForBlocked_200_response
Primer

blockUserFromComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| blockFromCommentParams | BlockFromCommentParams | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: BlockFromCommentPublic_200_response
Primer

createCommentPublic 
Parametri
| Ime | 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
Primer

deleteComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| contextUserId | string | Ne | |
| isLive | bool | Ne |
Odgovor
Vraća: DeleteComment_200_response
Primer

deleteCommentPublic 
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
Primer

deleteCommentVote 
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
Primer

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

getComment 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetComment_200_response
Primer

getComments 
Parametri
| Naziv | 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
Primer

getCommentsPublic 
obavezno tenantId urlId
Parametri
| Naziv | 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
Primer

getCommentText 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| editKey | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: GetCommentText_200_response
Primer

getCommentVoteUserNames 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| dir | int32_t | Da | |
| sso | string | Ne |
Response
Vraća: GetCommentVoteUserNames_200_response
Primer

lockComment 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: LockComment_200_response
Primer

pinComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: PinComment_200_response
Primer

saveComment 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createCommentParams | CreateCommentParams | Da | |
| isLive | bool | Ne | |
| doSpamCheck | bool | Ne | |
| sendEmails | bool | Ne | |
| populateNotifications | bool | Ne |
Odgovor
Vraća: SaveComment_200_response
Primer

setCommentText 
Parametri
| Naziv | Tip | 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
Primer

unBlockUserFromComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| unBlockFromCommentParams | UnBlockFromCommentParams | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: UnBlockCommentPublic_200_response
Primer

unFlagComment 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: FlagComment_200_response
Primer

unLockComment 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: LockComment_200_response
Primer

unPinComment 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| broadcastId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: PinComment_200_response
Primer

updateComment 
Parametri
| Ime | 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
Primer

voteComment 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| 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
Primer

addDomainConfig 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| addDomainConfigParams | AddDomainConfigParams | Da |
Odgovor
Vraća: AddDomainConfig_200_response
Primer

deleteDomainConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Da |
Odgovor
Vraća: DeleteDomainConfig_200_response
Primer

getDomainConfig 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domain | string | Da |
Odgovor
Vraća: GetDomainConfig_200_response
Primer

getDomainConfigs 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: GetDomainConfigs_200_response
Primer

patchDomainConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| domainToUpdate | string | Da | |
| patchDomainConfigParams | PatchDomainConfigParams | Da |
Odgovor
Vraća: GetDomainConfig_200_response
Primer

putDomainConfig 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| domainToUpdate | string | Da | |
| updateDomainConfigParams | UpdateDomainConfigParams | Da |
Odgovor
Vraća: GetDomainConfig_200_response
Primer

createEmailTemplate 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createEmailTemplateBody | CreateEmailTemplateBody | Da |
Odgovor
Vraća: CreateEmailTemplate_200_response
Primer

deleteEmailTemplate 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

deleteEmailTemplateRenderError 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| errorId | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

getEmailTemplate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetEmailTemplate_200_response
Primer

getEmailTemplateDefinitions 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: GetEmailTemplateDefinitions_200_response
Primer

getEmailTemplateRenderErrors 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetEmailTemplateRenderErrors_200_response
Primer

getEmailTemplates 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetEmailTemplates_200_response
Primer

renderEmailTemplate 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| renderEmailTemplateBody | RenderEmailTemplateBody | Da | |
| locale | string | Ne |
Odgovor
Vraća: RenderEmailTemplate_200_response
Primer

updateEmailTemplate 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateEmailTemplateBody | UpdateEmailTemplateBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

getEventLog 
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
Primer

getGlobalEventLog 
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
Primer

createFeedPost 
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
Primer

createFeedPostPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createFeedPostParams | CreateFeedPostParams | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: CreateFeedPostPublic_200_response
Primer

deleteFeedPostPublic 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postId | string | Da | |
| broadcastId | string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: DeleteFeedPostPublic_200_response
Primer

getFeedPosts 
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
Primer

getFeedPostsPublic 
zahtev 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
Primer

getFeedPostsStats 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| postIds | vector<string | Da | |
| sso | string | Ne |
Odgovor
Vraća: GetFeedPostsStats_200_response
Primer

getUserReactsPublic 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| postIds | vector<string | Ne | |
| sso | string | Ne |
Odgovor
Vraća: GetUserReactsPublic_200_response
Primer

reactFeedPostPublic 
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
Primer

updateFeedPost 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| feedPost | FeedPost | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

updateFeedPostPublic 
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
Primer

flagCommentPublic 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| commentId | string | Da | |
| isFlagged | bool | Da | |
| sso | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

addHashTag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Ne | |
| createHashTagBody | CreateHashTagBody | Ne |
Odgovor
Vraća: AddHashTag_200_response
Primer

addHashTagsBulk 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Ne | |
| bulkCreateHashTagsBody | BulkCreateHashTagsBody | Ne |
Odgovor
Vraća: AddHashTagsBulk_200_response
Primer

deleteHashTag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tag | string | Da | |
| tenantId | string | Ne | |
| deleteHashTagRequest | DeleteHashTag_request | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

getHashTags 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| page | double | Ne |
Odgovor
Vraća: GetHashTags_200_response
Primer

patchHashTag 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tag | string | Da | |
| tenantId | string | Ne | |
| updateHashTagBody | UpdateHashTagBody | Ne |
Odgovor
Vraća: PatchHashTag_200_response
Primer

createModerator 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createModeratorBody | CreateModeratorBody | Da |
Odgovor
Vraća: CreateModerator_200_response
Primer

deleteModerator 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| sendEmail | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

getModerator 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetModerator_200_response
Primer

getModerators 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetModerators_200_response
Primer

sendInvite 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| fromName | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

updateModerator 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateModeratorBody | UpdateModeratorBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

deleteNotificationCount 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

getCachedNotificationCount 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetCachedNotificationCount_200_response
Primer

getNotificationCount 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| urlId | string | Ne | |
| fromCommentId | string | Ne | |
| viewed | bool | Ne | |
| type | string | Ne |
Odgovor
Vraća: GetNotificationCount_200_response
Primer

getNotifications 
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
Primer

updateNotification 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateNotificationBody | UpdateNotificationBody | Da | |
| userId | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

addPage 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| createAPIPageData | CreateAPIPageData | Da |
Odgovor
Vraća: AddPageAPIResponse
Primer

deletePage 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: DeletePageAPIResponse
Primer

getPageByURLId 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vraća: GetPageByURLIdAPIResponse
Primer

getPages 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da |
Odgovor
Vraća: GetPagesAPIResponse
Primer

patchPage 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPIPageData | UpdateAPIPageData | Da |
Odgovor
Vraća: PatchPageAPIResponse
Primer

deletePendingWebhookEvent 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

getPendingWebhookEventCount 
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 |
Odgovor
Vraća: GetPendingWebhookEventCount_200_response
Primer

getPendingWebhookEvents 
Parametri
| Ime | 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
Primer

createQuestionConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionConfigBody | CreateQuestionConfigBody | Da |
Odgovor
Vraća: CreateQuestionConfig_200_response
Primer

deleteQuestionConfig 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

getQuestionConfig 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Response
Vraća: GetQuestionConfig_200_response
Primer

getQuestionConfigs 
Parameters
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Response
Vraća: GetQuestionConfigs_200_response
Primer

updateQuestionConfig 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateQuestionConfigBody | UpdateQuestionConfigBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

createQuestionResult 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createQuestionResultBody | CreateQuestionResultBody | Da |
Odgovor
Vraća: CreateQuestionResult_200_response
Primer

deleteQuestionResult 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

getQuestionResult 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetQuestionResult_200_response
Primer

getQuestionResults 
Parametri
| Naziv | Type | 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
Primer

updateQuestionResult 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateQuestionResultBody | UpdateQuestionResultBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

aggregateQuestionResults 
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
Primer

bulkAggregateQuestionResults 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| bulkAggregateQuestionResultsRequest | BulkAggregateQuestionResultsRequest | Da | |
| forceRecalculate | bool | Ne |
Odgovor
Vraća: BulkAggregateQuestionResults_200_response
Primer

combineCommentsWithQuestionResults 
Parametri
| Ime | 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
Primer

addSSOUser 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createAPISSOUserData | CreateAPISSOUserData | Da |
Odgovor
Vraća: AddSSOUserAPIResponse
Primer

deleteSSOUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| deleteComments | bool | Ne | |
| commentDeleteMode | string | Ne |
Odgovor
Vraća: DeleteSSOUserAPIResponse
Primer

getSSOUserByEmail 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| string | Da |
Odgovor
Vraća: GetSSOUserByEmailAPIResponse
Primer

getSSOUserById 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetSSOUserByIdAPIResponse
Primer

getSSOUsers 
Parametri
| Naziv | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | int32_t | Ne |
Odgovor
Vraća: GetSSOUsers_200_response
Primer

patchSSOUser 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPISSOUserData | UpdateAPISSOUserData | Da | |
| updateComments | bool | Ne |
Odgovor
Vraća: PatchSSOUserAPIResponse
Primer

putSSOUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPISSOUserData | UpdateAPISSOUserData | Da | |
| updateComments | bool | Ne |
Odgovor
Vraća: PutSSOUserAPIResponse
Primer

createSubscription 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| createAPIUserSubscriptionData | CreateAPIUserSubscriptionData | Da |
Odgovor
Vraća: CreateSubscriptionAPIResponse
Primer

deleteSubscription 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| userId | string | Ne |
Odgovor
Vraća: DeleteSubscriptionAPIResponse
Primer

getSubscriptions 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne |
Odgovor
Vraća: GetSubscriptionsAPIResponse
Primer

updateSubscription 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateAPIUserSubscriptionData | UpdateAPIUserSubscriptionData | Da | |
| userId | string | Ne |
Odgovor
Vraća: UpdateSubscriptionAPIResponse
Primer

getTenantDailyUsages 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| yearNumber | double | Ne | |
| monthNumber | double | Ne | |
| dayNumber | double | Ne | |
| skip | double | Ne |
Odgovor
Vraća: GetTenantDailyUsages_200_response
Primer

createTenantPackage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantPackageBody | CreateTenantPackageBody | Da |
Odgovor
Vraća: CreateTenantPackage_200_response
Primer

deleteTenantPackage 
Parametri
| Ime | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

getTenantPackage 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetTenantPackage_200_response
Primer

getTenantPackages 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetTenantPackages_200_response
Primer

replaceTenantPackage 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| replaceTenantPackageBody | ReplaceTenantPackageBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

updateTenantPackage 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateTenantPackageBody | UpdateTenantPackageBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

createTenantUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantUserBody | CreateTenantUserBody | Da |
Odgovor
Vraća: CreateTenantUser_200_response
Primer

deleteTenantUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| deleteComments | string | Ne | |
| commentDeleteMode | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

getTenantUser 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetTenantUser_200_response
Primer

getTenantUsers 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| skip | double | Ne |
Odgovor
Vraća: GetTenantUsers_200_response
Primer

replaceTenantUser 
Parametri
| Name | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| replaceTenantUserBody | ReplaceTenantUserBody | Da | |
| updateComments | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

sendLoginLink 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Yes | |
| id | string | Yes | |
| redirectURL | string | No |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

updateTenantUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateTenantUserBody | UpdateTenantUserBody | Da | |
| updateComments | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

createTenant 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| createTenantBody | CreateTenantBody | Da |
Odgovor
Vraća: CreateTenant_200_response
Primer

deleteTenant 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| sure | string | Ne |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

getTenant 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetTenant_200_response
Primer

getTenants 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| meta | string | Ne | |
| skip | double | Ne |
Odgovor
Vraća: GetTenants_200_response
Primer

updateTenant 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateTenantBody | UpdateTenantBody | Da |
Odgovor
Vraća: FlagCommentPublic_200_response
Primer

changeTicketState 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Da | |
| id | string | Da | |
| changeTicketStateBody | ChangeTicketStateBody | Da |
Odgovor
Vraća: ChangeTicketState_200_response
Primer

createTicket 
Parametri
| Name | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Da | |
| createTicketBody | CreateTicketBody | Da |
Odgovor
Vraća: CreateTicket_200_response
Primer

getTicket 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| userId | string | Ne |
Odgovor
Vraća: GetTicket_200_response
Primer

getTickets 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| state | double | Ne | |
| skip | double | Ne | |
| limit | double | Ne |
Odgovor
Vraća: GetTickets_200_response
Primer

uploadImage 
Otpremi i promeni veličinu slike
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| file | HttpContent | Da | |
| sizePreset | SizePreset | Ne | |
| urlId | string | Ne |
Odgovor
Vraća: UploadImageResponse
Primer

getUserBadgeProgressById 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetUserBadgeProgressById_200_response
Primer

getUserBadgeProgressByUserId 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Da |
Odgovor
Vraća: GetUserBadgeProgressById_200_response
Primer

getUserBadgeProgressList 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| userId | string | Ne | |
| limit | double | Ne | |
| skip | double | Ne |
Odgovor
Vraća: GetUserBadgeProgressList_200_response
Primer

createUserBadge 
Parametri
| Name | Type | Required | Description |
|---|---|---|---|
| tenantId | string | Da | |
| createUserBadgeParams | CreateUserBadgeParams | Da |
Odgovor
Vraća: CreateUserBadge_200_response
Primer

deleteUserBadge 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: UpdateUserBadge_200_response
Primer

getUserBadge 
Parametri
| Ime | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetUserBadge_200_response
Primer

getUserBadges 
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
Primer

updateUserBadge 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| updateUserBadgeParams | UpdateUserBadgeParams | Da |
Odgovor
Vraća: UpdateUserBadge_200_response
Primer

getUserNotificationCount 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: GetUserNotificationCount_200_response
Primer

getUserNotifications 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| pageSize | int32_t | Ne | |
| afterId | string | Ne | |
| includeContext | bool | Ne | |
| afterCreatedAt | int64_t | Ne | |
| unreadOnly | bool | Ne | |
| dmOnly | bool | Ne | |
| noDm | bool | Ne | |
| includeTranslations | bool | Ne | |
| sso | string | Ne |
Odgovor
Vraća: GetUserNotifications_200_response
Primer

resetUserNotificationCount 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: ResetUserNotifications_200_response
Primer

resetUserNotifications 
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
Primer

updateUserNotificationCommentSubscriptionStatus 
Omogući ili onemogući obaveštenja za određeni komentar.
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Yes | |
| notificationId | string | Yes | |
| optedInOrOut | string | Yes | |
| commentId | string | Yes | |
| sso | string | No |
Odgovor
Vraća: UpdateUserNotificationStatus_200_response
Primer

updateUserNotificationPageSubscriptionStatus 
Omogućite ili onemogućite obaveštenja za stranicu. Kada su korisnici pretplaćeni na stranicu, obaveštenja se kreiraju za nove root komentare, i takođe
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
Primer

updateUserNotificationStatus 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| notificationId | string | Da | |
| newStatus | string | Da | |
| sso | string | Ne |
Odgovor
Vraća: UpdateUserNotificationStatus_200_response
Primer

getUserPresenceStatuses 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlIdWS | string | Da | |
| userIds | string | Da |
Odgovor
Vraća: GetUserPresenceStatuses_200_response
Primer

searchUsers 
Parametri
| Name | Type | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| usernameStartsWith | string | Ne | |
| mentionGroupIds | vector<string | Ne | |
| sso | string | Ne | |
| searchSection | string | Ne |
Odgovor
Vraća: SearchUsers_200_response
Primer

getUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da |
Odgovor
Vraća: GetUser_200_response
Primer

createVote 
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
Primer

deleteVote 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| id | string | Da | |
| editKey | string | Ne |
Odgovor
Vraća: DeleteCommentVote_200_response
Primer

getVotes 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da |
Odgovor
Vraća: GetVotes_200_response
Primer

getVotesForUser 
Parametri
| Naziv | Tip | Obavezno | Opis |
|---|---|---|---|
| tenantId | string | Da | |
| urlId | string | Da | |
| userId | string | Ne | |
| anonUserId | string | Ne |
Odgovor
Vraća: GetVotesForUser_200_response
Primer

Trebate pomoć?
Ako naiđete na bilo kakve probleme ili imate pitanja u vezi C++ SDK-a, molimo:
Doprinosi
Doprinosi su dobrodošli! Molimo posetite GitHub repozitorijum za smernice o doprinosu.