Creating an extension-based REST interface