Interface SearchParams

interface SearchParams {
    accountId?: null | string;
    limit?: null | number;
    maxId?: null | string;
    minId?: null | string;
    q: string;
    resolve?: null | boolean;
    sinceId?: null | string;
    type?: null | mastodon.rest.v1.SearchType;
}

Hierarchy (view full)

Properties

accountId?: null | string

If provided, statuses returned will be authored only by this account

limit?: null | number

Maximum number of results to return per page. Defaults to 40. NOTE: Pagination is done with the Link header from the response.

maxId?: null | string

Return results older than this ID.

minId?: null | string

Get a list of items with ID greater than this value excluding this ID

q: string

Attempt WebFinger lookup. Defaults to false.

resolve?: null | boolean

Attempt WebFinger look-up

sinceId?: null | string

Return results newer than this ID.

type?: null | mastodon.rest.v1.SearchType

Enum(accounts, hashtags, statuses)