Skip to main content

addonSuggestionsList

Returns recent suggestions for a site, defaulting to three, and marks eligible suggestions viewed. Use addonSuggestionDetail to open a particular suggestion. Requires survey view access.

addonSuggestionsList(
type: AddonSuggestionType!
siteId: Int!
limit: Int
): [AddonSuggestion]!

Arguments​

addonSuggestionsList.type ● AddonSuggestionType! non-null enum​

Survey suggestion category; currently only SURVEY.

addonSuggestionsList.siteId ● Int! non-null scalar​

Site ID from sites.

addonSuggestionsList.limit ● Int scalar​

Maximum suggestions to return; defaults to 3.

Type​

AddonSuggestion object​

Generated suggestion payload for creating or improving survey-style addons; data is returned as serialized JSON rather than a nested GraphQL object. Returned by addonSuggestionsList and addonSuggestionDetail.