CORE-4270: separated some endpoint definitions out into separate files