Skip to main content

FeedObjectApiClientInterface

Methods

checkIfFollowingFeedObject()

checkIfFollowingFeedObject(type, id, config?): Promise<SCFeedObjectFollowingStatusType>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCFeedObjectFollowingStatusType>

Source

services/feed_object/index.ts:107


checkIfSuspendedFeedObject()

checkIfSuspendedFeedObject(type, id, config?): Promise<SCFeedObjectSuspendedStatusType>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCFeedObjectSuspendedStatusType>

Source

services/feed_object/index.ts:113


createFeedObject()

createFeedObject(type, data, config?): Promise<SCFeedObjectType>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
dataFeedObjCreateParams
config?AxiosRequestConfig<any>

Returns

Promise<SCFeedObjectType>

Source

services/feed_object/index.ts:35


deleteFeedObject()

deleteFeedObject(type, id, config?): Promise<any>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/feed_object/index.ts:51


feedObjectContributorsList()

feedObjectContributorsList(type, id, params?, config?): Promise <SCPaginatedResponse<SCUserType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCUserType>>

Source

services/feed_object/index.ts:52


feedObjectFlagList()

feedObjectFlagList(type, id, config?): Promise <SCPaginatedResponse<SCFlagType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFlagType>>

Source

services/feed_object/index.ts:129


feedObjectFlagStatus()

feedObjectFlagStatus(type, id, config?): Promise <SCPaginatedResponse<SCFlagType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFlagType>>

Source

services/feed_object/index.ts:134


feedObjectFollowingList()

feedObjectFollowingList(type, params?, config?): Promise <SCPaginatedResponse<SCFeedObjectType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFeedObjectType>>

Source

services/feed_object/index.ts:102


feedObjectHideStatus()

feedObjectHideStatus(type, id, config?): Promise<SCFeedObjectHideStatusType>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCFeedObjectHideStatusType>

Source

services/feed_object/index.ts:140


feedObjectPollVote()

feedObjectPollVote(type, id, choice, config?): Promise<any>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
choicenumber
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/feed_object/index.ts:89


feedObjectPollVotesList()

feedObjectPollVotesList(type, id, params?, config?): Promise <SCPaginatedResponse<SCPollVoteType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
params?FeedObjectPollVotesSearch
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCPollVoteType>>

Source

services/feed_object/index.ts:95


feedObjectSharesList()

feedObjectSharesList(type, id, params?, config?): Promise <SCPaginatedResponse<SCFeedObjectType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFeedObjectType>>

Source

services/feed_object/index.ts:58


feedObjectSuspendedList()

feedObjectSuspendedList(type, params?, config?): Promise <SCPaginatedResponse<SCFeedObjectType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFeedObjectType>>

Source

services/feed_object/index.ts:118


feedObjectUserSharesList()

feedObjectUserSharesList(type, id, params?, config?): Promise <SCPaginatedResponse<SCUserType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCUserType>>

Source

services/feed_object/index.ts:64


feedObjectVotes()

feedObjectVotes(type, id, params?, config?): Promise <SCPaginatedResponse<SCVoteType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCVoteType>>

Source

services/feed_object/index.ts:83


flagFeedObject()

flagFeedObject(type, id, flag_type, config?): Promise<any>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
flag_typeSCFlagTypeEnum
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/feed_object/index.ts:123


followFeedObject()

followFeedObject(type, id, config?): Promise<any>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/feed_object/index.ts:101


getAllFeedObjects()

getAllFeedObjects(type, params?, config?): Promise <SCPaginatedResponse<SCFeedObjectType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
params?FeedObjGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFeedObjectType>>

Source

services/feed_object/index.ts:20


getSpecificFeedObject()

getSpecificFeedObject(type, id, config?): Promise<SCFeedObjectType>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<SCFeedObjectType>

Source

services/feed_object/index.ts:40


getUncommentedFeedObjects()

getUncommentedFeedObjects(type, params?, config?): Promise <SCPaginatedResponse<SCFeedObjectType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFeedObjectType>>

Source

services/feed_object/index.ts:25


hideFeedObject()

hideFeedObject(type, id, config?): Promise<any>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/feed_object/index.ts:139


relatedFeedObjects()

relatedFeedObjects(type, id, params?, config?): Promise <SCPaginatedResponse<SCFeedObjectType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFeedObjectType>>

Source

services/feed_object/index.ts:71


restoreFeedObject()

restoreFeedObject(type, id, config?): Promise<any>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/feed_object/index.ts:70


searchFeedObject()

searchFeedObject(type, params?, config?): Promise <SCPaginatedResponse<SCFeedObjectType>>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
params?BaseSearchParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFeedObjectType>>

Source

services/feed_object/index.ts:30


suspendFeedObject()

suspendFeedObject(type, id, config?): Promise<any>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/feed_object/index.ts:112


updateFeedObject()

updateFeedObject(type, id, data, config?): Promise<SCFeedObjectType>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
dataFeedObjCreateParams
config?AxiosRequestConfig<any>

Returns

Promise<SCFeedObjectType>

Source

services/feed_object/index.ts:45


voteFeedObject()

voteFeedObject(type, id, reaction?, config?): Promise<any>

Parameters

ParameterType
typeDISCUSSION | POST | STATUS
idstring | number
reaction?number
config?AxiosRequestConfig<any>

Returns

Promise<any>

Source

services/feed_object/index.ts:77