projectcs13/sensor-cloud — pull request #116 by nikokon (2013-11-11 16:04:06+00:00)
Title: Sp6.sc3.api consistency

Updated API to follow the guidelines set in issue #83
if a resource does not exist when a specific ID is asked for, a 404 is generated.
If a call to list all the resources of a specific type for example localhost/user/1/resources/1/streams ,
a JSON-object with the pattern {: [

]}
In the above example, the object {"streams": []} would be returned if there were no streams belonging to resource with ID 1