Generally HTTP REST works on the idea of resources and properties.<p>so:
&#x2F;lights
&#x2F;lights&#x2F;light-id
&#x2F;lights&#x2F;light-id&#x2F;wattage (return wattage of light)<p>Doing something like:<p>&#x2F;lights&#x2F;light-id&#x2F;book-janitor-to-replace
which might email and update the janitor&#x27;s calendar&#x2F;ToDo list, isn&#x27;t really following the existing API design.