title: Building an editable RESTful API
body: <p>Is it possible to build an API which can be live modified? Let me explain myself.
  Imagine that all the lights in my house are managed by Raspberry PIs that send a POST request to the API at "<a href="http://192.168.1.2/" rel="nofollow noreferrer">http://192.168.1.2/</a>". The light number one would send to "<a href="http://192.168.1.2/light1/hello" rel="nofollow noreferrer">http://192.168.1.2/light1/hello</a>" <code>{"state":"off"}</code>and the answer of the server would be <code>off</code>and the light number two would send to "<a href="http://192.168.1.2/light2/hello" rel="nofollow noreferrer">http://192.168.1.2/light2/hello</a>" <code>{"state":"on"}</code> and the server answer would be <code>on</code>. The API Server would display that light one is off and that light two is on. How can I make an API in which it can edit the responses for a specific light without restarting the whole server? It would be cool to do it in C#, but I would accept a response in any language. Thanks for reading.</p>