hoodie install hoodie-plugin-notification
for cordova/phonegap users
bower install hoodie-plugin-notification
<script src="/_api/_files/hoodie.js"></script>
for cordova/phonegap users
<script src="<bowerdir>/hoodie/dist/hoodie.js"></script>
<script src="<bowerdir>/hoodie-plugin-notification/hoodie.notification.js"></script>
- hoodie.notification.follow(login)
- hoodie.notification.unfollow(login)
- hoodie.notification.post({text: 'text'}, /opitional/ {type: [mediaplugin.enum]})
- hoodie.notification.getPost({id: 'postId')
- hoodie.notification.updatePost({id: 'postId',text: 'text'}, /opitional/ {type: [mediaplugin.enum]})
- hoodie.notification.deletePost({id: 'postId'}, /opitional/ {type: [mediaplugin.enum]})
- hoodie.notification.comment(postId, {text:'text'})
- hoodie.notification.updateComment({ id: 'postId'}, {id: 'commentId'})
- hoodie.notification.deleteComment({ id: 'postId'}, {id: 'commentId'})
- hoodie.notification.count(postId, [type.enum])
- hoodie.notification.uncount(postId, [type.enum])
- hoodie.notification.like(postId)
- hoodie.notification.unlike(postId)
- hoodie.notification.feed(postId)
- hoodie.notification.share(postId)
- hoodie.notification.abuse(postId)
- hoodie.notification.following(/opitional/ login)
- hoodie.notification.followers(/opitional/ login)
- hoodie.notification.getProfile(/opitional/ login)
- hoodie.notification.updateProfile(/opitional/ login, profileObject)