Skip to main content

SuggestionApiClient

Contains all the endpoints needed to manage suggestions.

Constructors

new SuggestionApiClient()

new SuggestionApiClient(): SuggestionApiClient

Returns

SuggestionApiClient

Methods

getCategorySuggestion()

static getCategorySuggestion(params?, config?): Promise <SCPaginatedResponse<SCCategoryType>>

This endpoint retrieves a list of categories suggested to the current user.

Parameters

ParameterTypeDescription
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCCategoryType>>

Source

services/suggestion/index.ts:26


getEventSuggestion()

static getEventSuggestion(params?, config?): Promise <SCPaginatedResponse<SCEventType>>

This endpoint retrieves a list of events suggested to the current user.

Parameters

ParameterTypeDescription
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCEventType>>

Source

services/suggestion/index.ts:61


getIncubatorSuggestion()

static getIncubatorSuggestion(params?, config?): Promise <SCPaginatedResponse<SCIncubatorType>>

This endpoint retrieves a list of suggested incubators.

Parameters

ParameterTypeDescription
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCIncubatorType>>

Source

services/suggestion/index.ts:35


getPollSuggestion()

static getPollSuggestion(params?, config?): Promise <SCPaginatedResponse<SCFeedObjectType>>

This endpoint retrieves a list of contributes(discussions, posts, statuses) with a related poll.

Parameters

ParameterTypeDescription
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCFeedObjectType>>

Source

services/suggestion/index.ts:44


getSearchSuggestion()

static getSearchSuggestion(search, params?, config?): Promise <SCPaginatedResponse<SCSuggestionType>>

This endpoint retrieves a list of users suggested to the current user.

Parameters

ParameterTypeDescription
searchstring
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCSuggestionType>>

Source

services/suggestion/index.ts:70


getUserSuggestion()

static getUserSuggestion(params?, config?): Promise <SCPaginatedResponse<SCUserType>>

This endpoint retrieves a list of users suggested to the current user.

Parameters

ParameterTypeDescription
params?BaseGetParams
config?AxiosRequestConfig<any>

Returns

Promise <SCPaginatedResponse<SCUserType>>

Source

services/suggestion/index.ts:53