Writing API in Adapters

Hi,

is it possible to write APIs in adapters so that we can manage few functionalities? Is it possible to access them via the gateway URL like gateway.mozilla-iot.org/addons/custom_adapter/someAPI ?

I was curious about this feature. It would open up lots of possibilities.
Thanks,
Abhijit

Currently, no. This is a feature a lot of people have requested, so we’re taking a look. The tricky part is proxying HTTP connections across an IPC bridge to an add-on.