INotificationsQuery
Home > @gooddata/sdk-backend-spi > INotificationsQuery
INotificationsQuery interface
Service to query notifications.
Signature:
export interface INotificationsQuery
Methods
Method | Description |
---|---|
query() | Starts the notifications query. |
queryAll() | Starts the notifications query. |
withPage(page) | Sets starting page for the query. Backend WILL return no data if the page is greater than total number of pages. Default page: 0 |
withSize(size) | Sets number of notifications to return per page. Default size: 100 |
withStatus(status) | Filter notifications by read status. |
withWorkspace(workspaceId) | Filter notifications by workspace. |