Functions as Rest resources

Hi,
Would it be possible to expose the functions in the engine as Rest resources ?

There is no simple piece of code that permits this I’m afraid.