Re: [Dhis2-devs] DHIS 2 V 2.24 - /api/24/currentUser not available

2016-10-24 Thread Lorill Crees
Hi Morten, Thanks for this. We are getting the user roles from the user credentials, and I've confirmed this is available under /api/me and /api/24/me. Thanks, Lorill On Sun, Oct 23, 2016 at 7:49 PM, Morten Olav Hansen wrote: > Hi Lorill > > So there's a couple of things to

Re: [Dhis2-devs] DHIS 2 V 2.24 - /api/24/currentUser not available

2016-10-23 Thread Morten Olav Hansen
Hi Lorill So there's a couple of things to note here: 1) You probably want to use the name `me` instead of `currentUser` as it' the new name for it (and has been for a while, just being aliased to `currentUser`` 2) In 224 we included a new `me` endpoint, which can now be reached at `/api/24/me`

[Dhis2-devs] DHIS 2 V 2.24 - /api/24/currentUser not available

2016-10-18 Thread Lorill Crees
Hi, We are using 2.24 revision e2f8d0e and the endpoint /api/24/currentUser is not available. However, these two endpoints *are* available: - /api/currentUser - /api/23/currentUser Is it possible to add the endpoint /api/24/currentUser, or is there a reason it is missing? Thanks, Lorill