Bertrand Delacretaz wrote:
On Jan 9, 2008 10:42 AM, Philipp Koch <[EMAIL PROTECTED]> wrote:

...my proposal:
full recursive mode should be default. if you would like to specify
the recursion depth one could e.g. specify a request parameter that
specifies the depth....

Isn't that a bit dangerous?
A json GET at / would then get the whole repository...

Let's keep security issues etc. aside for a moment. I think the important question is what do you expect if you invoke
/something/object.json?

Just the first level? The whole object?

I personally would expect the whole object.

PS: Whatever the outcome of this discussion is, we should apply the same rules to the XML output.

Carsten

Not sure what to suggest - maybe a default recursion level of 1, like
in interactive browsing scenarios?

-Bertrand



--
Carsten Ziegeler
[EMAIL PROTECTED]

Reply via email to