Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Restful API (colymba or SS) getting logged in member data


Go to End


2 Posts   1022 Views

Avatar
JonShutt

Community Member, 244 Posts

29 June 2015 at 9:32pm

Hello,

I've set up the restful API module by colymba, and managing to authenticate and get data from dataobjects from an agularJS app.
However, I want to create a function where I can get data about the current authenticated member - eg, return their details, and data (notes) that is linked through various relationships that one member. I don't want to expose all the logs a user, just the ones that relate to them

I'm wondering if this is possible using the module, or if I just need to create a whole custom controller returning json feeds? any advice or examples?
thanks

Avatar
Pyromanik

Community Member, 419 Posts

5 July 2015 at 9:01pm

Well, your post is back from the nether-realm, but I've no idea sorry. I'd have thought it possible though.