• log in
« Go back to the home page

Notifications

This endpoint may be used to get information of notifications and modify them.

The Notification object

Property Type Description
id integer The unique identifier of this Notification
user User The owner of this Notification
type string The type of this Notification, one of these values: NEW_FOLLOWER / MENTION / FAVORITE / SHARE / REPLY / FOLLOW_REQUEST
referencedUser ?User The User that was referenced in this notification
referencedFeedEntry ?FeedEntry The FeedEntry that was referenced in this notification
referencedFollowRequest ?FollowRequest The FollowRequest that was referenced in this notification
seen boolean Whether or not the user has seen this Notification
notified boolean Whether or not the user has been notified about this Notification
time string The timestamp of when this Notification was created

GET /notifications

Gets all notifications for the current user.
Requires authorization

Parameters

Property Type Description
max ?integer The maximum ID for notifications to look for

Response

Returns multiple Notification objects.


© Copyright 2018-2021 Gigadrive - All rights reserved.
Contact Info • About • Terms of Service • Privacy Policy • Disclaimer • Developers