generate reaources query params