Forum Discussion
Conclusion:
Steps to Create endpoints:
create a endpoint:
endpoint name: "lthium_notification"
Put this inside endpoint:
www.community.as.play.com
www.community.as.play.com/plugins/custom/community.as.play.com/yourcommunityID/lthium_notification?${user.id}
www.as.com
Concern:
Where do I get communityID?
Please correct me if Iam wrong some where. Folowing is the reference for names:
1. My community name:
www.community.as.play.com
2. My endpoints name:
lthium_notification
3. Parent site url:
www.as.com
Regards,
Bhupen
- bhupen11 years agoAdvisor
VarunGrazitti Thanks.
I wanted to confirm about syntax, Is it okay or something wrong in it. Thats why I mention everything onabove comment.
www.community.as.play.com
www.community.as.play.com/plugins/custom/community.as.play.com/lthium_notification?${user.id}
www.as.comPlease correct me if Iam wrong some where. Folowing is the reference for names:
1. My community name:
www.community.as.play.com
2. My endpoints name:
lthium_notification
3. Parent site url:
www.as.comSpcially with this line:
www.community.as.play.com/plugins/custom/community.as.play.com/lthium_notification?${user.id}
Regards,
Bhupen
- bhupen11 years agoAdvisor
VarunGrazitti Thanks for your priecious time and help. Although I got alternate solution for this. I have used this api to achive this functionality.
/restapi/vc/users/login/bhupen/id
- VarunGrazitti11 years agoBoss@bhupen, You're back to square one. Your API /restapi/vc/users/id/654/notifications and /restapi/vc/users/login/bhupen/id are same, except that the later one uses the user login name where as the earlier one uses the login ID. In either case, you've got to use the endpoint workflow.
- bhupen11 years agoAdvisor
VarunGrazitti Thanks mate for your help. I will consider your solution as well.