Added binarycontent parameter to REST API