@hiveio/dhive
    Preparing search index...

    Interface DisqussionQuery

    Query for DatabaseAPI.getDiscussions, sent to hivemind's condenser_api.get_discussions_by_*.

    Hivemind validates the query with validate_json_arguments (hive/db/sql_scripts/postgrest/utilities/validate_json_arguments.sql) against the keys each endpoint accepts: condenser_api_get_discussions_by for created/hot/trending, condenser_api_get_discussions_by_blog_or_feed for blog/feed and condenser_api_get_discussions_by_comments for comments, all in hive/db/sql_scripts/postgrest/condenser_api/. A key it does not accept fails with got an unexpected keyword argument '<key>', except that the check is skipped when fewer recognized keys than the endpoint requires (2 for created/hot/trending, 1 for the others) are passed; the unknown key is then silently ignored.

    interface DisqussionQuery {
        filter_tags?: string[];
        limit: number;
        parent_author?: string;
        parent_permlink?: string;
        select_authors?: string[];
        select_tags?: string[];
        start_author?: string;
        start_permlink?: string;
        tag?: string;
        truncate_body?: number;
    }
    Index
    filter_tags?: string[]

    Not supported. Hivemind rejects any value, including [], with filter_tags not supported.

    limit: number

    Number of results, default 20. Hivemind rejects values outside 1 to its hivemind_app.max_posts_per_call setting, which defaults to 20 (get_max_posts_per_call_limit in utilities/api_limits.sql).

    parent_author?: string

    Not supported. Hivemind does not accept this key and rejects it as an unexpected keyword argument.

    parent_permlink?: string

    Not supported. Hivemind does not accept this key and rejects it as an unexpected keyword argument.

    select_authors?: string[]

    Not supported. Hivemind does not accept this key and rejects it as an unexpected keyword argument.

    select_tags?: string[]

    Not supported. Hivemind does not accept this key and rejects it as an unexpected keyword argument.

    start_author?: string

    Author of the post to start from, used for paging; the post must exist. Should be used in conjunction with start_permlink. For comments this is required and names the account whose comments to list.

    start_permlink?: string

    Permalink of post to start from, used for paging. Should be used in conjunction with start_author. For comments, omit it to start from the newest comment.

    tag?: string

    For created, hot and trending: the tag or community (hive-NNNNNN) to list; omit or pass '' for all posts. For blog and feed: the account whose blog or feed to list; required. Not accepted for comments (rejected as an unexpected keyword); use start_author.

    truncate_body?: number

    Number of characters of each post body to return, default 0 (whole body).