FeedApiClientInterface
Methods
getExploreFeed()
getExploreFeed(
params?
,config?
):Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Parameters
Parameter | Type |
---|---|
params? | FeedParams |
config? | AxiosRequestConfig |
Returns
Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
getMainFeed()
getMainFeed(
params?
,config?
):Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Parameters
Parameter | Type |
---|---|
params? | FeedParams |
config? | AxiosRequestConfig |
Returns
Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
getMainFeedUnseenCount()
getMainFeedUnseenCount(
config?
):Promise
<SCFeedUnseenCountType
>
Parameters
Parameter | Type |
---|---|
config? | AxiosRequestConfig |
Returns
Promise
<SCFeedUnseenCountType
>
likeFeedObjs()
likeFeedObjs(
object
,config?
):Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
Parameters
Parameter | Type |
---|---|
object | number [] |
config? | AxiosRequestConfig |
Returns
Promise
<SCPaginatedResponse
<SCFeedUnitType
>>
markReadASpecificFeedObj()
markReadASpecificFeedObj(
object
,config?
):Promise
<any
>
Parameters
Parameter | Type |
---|---|
object | number [] |
config? | AxiosRequestConfig |
Returns
Promise
<any
>