Skip to main content

InsightEmbedParams

Interface InsightEmbedParams

Extends

Properties

PropertyTypeDescriptionInherited from
category_id?stringCan be a single category id or list (comma separated) of categories ids. 0 means empty (no category). If you use a list of category ids then any contribution that matches at least one category_id will be returned (the filter is in OR and not in AND).InsightCommonParams.category_id
created_at__gte?stringDatetime of creation(greater than or equal to the given value).InsightCommonParams.created_at__gte
created_at__lte?stringDatetime of creation(less than or equal to the given value).InsightCommonParams.created_at__lte
embed_id?numberThe embed id (required in combo with embed_type).InsightCommonParams.embed_id
embed_type?stringThe embed type (required in combo with embed_id).InsightCommonParams.embed_type
grouped_by?stringembed_id, embed_type or metadata TERM_KEY.-
limit?numberNumber of results to return per page.InsightCommonParams.limit
metadata?objectA json dict containing some TERM_KEYs. Usable only if group_by is set.-
offset?numberThe initial index from which to return the results.InsightCommonParams.offset
ranked_by?numberThe rank value to use: num_votes, num_comments, num_shares, num_views (default: rank function). If a list (eg: num_comments, num_answers_received) the final rank will be the sum of the list components.InsightCommonParams.ranked_by