Skip to main content

Interface: InsightApiClientInterface

services/insight.InsightApiClientInterface

Methods

getBestContributionInsight

getBestContributionInsight(params?, config?): Promise<SCPaginatedResponse<SCContributionInsightType>>

Parameters

NameType
params?InsightContributionParams
config?AxiosRequestConfig<any>

Returns

Promise<SCPaginatedResponse<SCContributionInsightType>>

Defined in

services/insight/index.ts:16


getBestEmbedInsight

getBestEmbedInsight(params?, config?): Promise<SCPaginatedResponse<SCEmbedInsightType>>

Parameters

NameType
params?InsightEmbedParams
config?AxiosRequestConfig<any>

Returns

Promise<SCPaginatedResponse<SCEmbedInsightType>>

Defined in

services/insight/index.ts:20


getBestUsersInsight

getBestUsersInsight(params?, config?): Promise<SCPaginatedResponse<SCUsersInsightType>>

Parameters

NameType
params?InsightUserParams
config?AxiosRequestConfig<any>

Returns

Promise<SCPaginatedResponse<SCUsersInsightType>>

Defined in

services/insight/index.ts:21


getContributionsInsightCounters

getContributionsInsightCounters(id, config?): Promise<SCContributionInsightCountersType>

Parameters

NameType
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCContributionInsightCountersType>

Defined in

services/insight/index.ts:22


getEmbedsInsightCounters

getEmbedsInsightCounters(type, id, config?): Promise<SCEmbedInsightCountersType>

Parameters

NameType
typestring
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCEmbedInsightCountersType>

Defined in

services/insight/index.ts:23


getUsersInsightCounters

getUsersInsightCounters(id, config?): Promise<SCUsersInsightCountersType>

Parameters

NameType
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCUsersInsightCountersType>

Defined in

services/insight/index.ts:24