More convention way to build endpoint urls