Space SDK Package

Space SDK Package

  • Users
  • Storage
  • Space Docs

@spacehq/sdk > UserStorage > getNotifications

UserStorage.getNotifications() method

Returns notifications for the user. If the notification is detected to be a supported type, it is enhanced with additional information stored in the relatedObject field.

Signature:

getNotifications(seek?: string, limit?: number): Promise<GetNotificationsResponse>;

Parameters

ParameterTypeDescription
seekstringoptional offset value for pagination. Can be gotten from the nextOffset field of a response
limitnumberoptional limit value to return a specificed amount of results

Returns:

Promise<GetNotificationsResponse>

  • UserStorage.getNotifications() method
  • Parameters
Space SDK Package
Docs
Getting StartedUsersStorage
Resources
All DocumentationProject SlackBlog
More
GitHubStar
Follow @spacestorage