On 24/03/2015 14:55, Fabio Martelli wrote:
[...]
Alternatively, why not moving the realm from path to request
parameter, e.g. from
GET /users/a/b
to
GET /users?realm=/a/b
WDYT?
Hey, it sounds with me.
Now I get your reasons and I do think that this is a good compromise.
+1
FYI I have updated the REST API section at [1] by using request
parameter (?realm=) or matrix parameter (;realm=) depending on the context.
Regards.
[1] https://cwiki.apache.org/confluence/display/SYNCOPE/%5BDISCUSS%5D+Realms
--
Francesco Chicchiriccò
Tirasa - Open Source Excellence
http://www.tirasa.net/
Involved at The Apache Software Foundation:
member, Syncope PMC chair, Cocoon PMC, Olingo PMC
http://people.apache.org/~ilgrosso/