Function getNotifications

  • Retrieve notifications matching the query.

    Parameters

    • query: {
          limit?: number;
          page?: number;
          read?: boolean;
          resourceType?: string;
          sort?: "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt";
      }

      an object with query parameters

      • Optionallimit?: number

        The number of notification entries to retrieved.

      • Optionalpage?: number
      • Optionalread?: boolean
      • OptionalresourceType?: string
      • Optionalsort?: "+createdAt" | "-createdAt" | "+updatedAt" | "-updatedAt"
    • Optionaloptions: ApiCallOptions

    Returns Promise<GetNotificationsHttpResponse>

    getNotifications(
    {
    resourceType: "app,space"
    }
    )

    GetNotificationsHttpError