grzegorznittner/StartupBidder — Issue #142: Implement notifications in client
Author: johnarleyburns
Created: 2011-10-13 17:12:54+00:00
State: open

notification_id: unique id of this notification
profile_id: the user which should be notified
url: direct link to the object being notified on, could be a comment or bid or listing
message: the plain-text message of the notification

The api should be read-only by the client (not saveable or updateable), and only accessible for the loggedin_profile (authenticated user):

/user/notification?id=

Also a list function should be provided so the user can see all their notifications, ordered by date descending

/user/notifications?id= (actually ?id= is superfluous here)

Also an acknowledge function should be provided to individual notifications so the user no longer sees them as "new" notifications:

/user/notification/acknowledge?id=

New summary field should be added to loggedin_profile:

num_new_notifications