Api: allow recursive tree request