command/push: support custom endpoints