change the annotation tree request to use queryparam