Skip to content

Instantly share code, notes, and snippets.

@ayushghosh
Last active August 29, 2015 14:08
Show Gist options
  • Save ayushghosh/a5fd023b1d1abd4259ee to your computer and use it in GitHub Desktop.
Save ayushghosh/a5fd023b1d1abd4259ee to your computer and use it in GitHub Desktop.
notification response
{
object: "list",
data: [
{
object: "notification",
notificationId: "H9GPU2OZZ87GVGR0R2ZI84VPBOWYSIA9",
notificationType: "info",
isApproved: "N\/A",
userNamePublisher: "Ayush Ayush",
userIdPublisher: "AYUSHGHO",
userNameSubscriber: "Ayush1 Ghosh1",
userIdSubscriber: "USERAAA0",
message: "You have been added to Chat room test room",
event: "chat.userAdd",
resource: "ChatRoom",
resourceId: "ZuuNxaDM",
resourceUrl: "talk.sourceeasy.com\/#\/room\/ZuuNxaDM",
notificationUrl: null,
isViewed: false,
isRead: false,
isArchive: false,
priority: "normal",
metaData: null,
userId: "USERAAA0",
created_at: "2014-10-28T07:34:05+0000",
updated_at: "2014-10-28T07:34:05+0000"
},
{
object: "notification",
notificationId: "JZ731DXMAUZ8F7MG5OP9CM5YWNJ4K7X3",
notificationType: "approval",
isApproved: "N\/A",
userNamePublisher: "Ayush Ayush",
userIdPublisher: "AYUSHGHO",
userNameSubscriber: "Chirag Chamoli",
userIdSubscriber: "USERAAA0",
message: "Do you agree to something here.",
event: "chat.userAdd",
resource: "ChatRoom",
resourceId: "ZuuNxaDM",
resourceUrl: "talk.sourceeasy.com\/#\/room\/ZuuNxaDM",
notificationUrl: null,
isViewed: false,
isRead: false,
isArchive: false,
priority: "normal",
metaData: null,
userId: "USERAAA0",
created_at: "2014-10-28T07:33:59+0000",
updated_at: "2014-10-28T07:33:59+0000"
},
{
object: "notification",
notificationId: "JZGDK8WE21A1LX6JOYV6LIDK0IJRA3KU",
notificationType: "info",
isApproved: "N\/A",
userNamePublisher: "Ayush Ayush",
userIdPublisher: "AYUSHGHO",
userNameSubscriber: "Ayush0 Ghosh0",
userIdSubscriber: "USERAAA0",
message: "You have been added to Chat room test room",
event: "chat.userAdd",
resource: "ChatRoom",
resourceId: "ZuuNxaDM",
resourceUrl: "talk.sourceeasy.com\/#\/room\/ZuuNxaDM",
notificationUrl: null,
isViewed: false,
isRead: false,
isArchive: false,
priority: "normal",
metaData: null,
userId: "USERAAA0",
created_at: "2014-10-28T07:34:04+0000",
updated_at: "2014-10-28T07:34:04+0000"
},
{
object: "notification",
notificationId: "QFAKUI2PWKPMSWBEP9WX89B1GICYVRZM",
notificationType: "approval",
isApproved: "N\/A",
userNamePublisher: "Ayush Ayush",
userIdPublisher: "AYUSHGHO",
userNameSubscriber: "Sudhir Baru",
userIdSubscriber: "USERAAA0",
message: "We are archiving your something",
event: "chat.userAdd",
resource: "ChatRoom",
resourceId: "ZuuNxaDM",
resourceUrl: "talk.sourceeasy.com\/#\/room\/ZuuNxaDM",
notificationUrl: null,
isViewed: false,
isRead: false,
isArchive: false,
priority: "normal",
metaData: null,
userId: "USERAAA0",
created_at: "2014-10-28T07:34:00+0000",
updated_at: "2014-10-28T07:34:00+0000"
}
],
paginator: {
total_count: 4,
total_pages: 1,
current_page: 1,
limit: 15
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment