Interface NotificationsParams

Query parameters for listing notifications.

interface NotificationsParams {
    all?: boolean;
    before?: string;
    page?: number;
    participating?: boolean;
    per_page?: number;
    since?: string;
}

Hierarchy (View Summary)

Properties

all?: boolean

If true, returns all notifications including already-read ones

before?: string

Only show notifications updated before this ISO 8601 date

page?: number

Page number to retrieve (1-based). Use nextPage from the previous response to paginate forward.

participating?: boolean

If true, only returns notifications the user is directly participating in or mentioned in

per_page?: number

Maximum number of results per page. GitHub default is 30, maximum is 100.

since?: string

Only show notifications updated after this ISO 8601 date