parametrize endpoints

Change-Id: I38469f497ed5ff7552a6f38d1ebefb56c1bbc9fc
16 files changed