Skip to main content

FeedApiClientInterface

Methods

getExploreFeed()

getExploreFeed(params?, config?): Promise <SCPaginatedResponse<SCFeedUnitType>>

Parameters

ParameterType
params?FeedParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFeedUnitType>>

Source

services/feed/index.ts:10


getMainFeed()

getMainFeed(params?, config?): Promise <SCPaginatedResponse<SCFeedUnitType>>

Parameters

ParameterType
params?FeedParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFeedUnitType>>

Source

services/feed/index.ts:9


getMainFeedUnseenCount()

getMainFeedUnseenCount(config?): Promise<SCFeedUnseenCountType>

Parameters

ParameterType
config?AxiosRequestConfig<any>

Returns

Promise<SCFeedUnseenCountType>

Source

services/feed/index.ts:11


likeFeedObjs()

likeFeedObjs(object, config?): Promise <SCPaginatedResponse<SCFeedUnitType>>

Parameters

ParameterType
objectnumber[]
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFeedUnitType>>

Source

services/feed/index.ts:13


markReadASpecificFeedObj()

markReadASpecificFeedObj(object, config?): Promise<any>

Parameters

ParameterType
objectnumber[]
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/feed/index.ts:12