synergylabs/BuildingDepot

An incorrect API documentation

Closed this issue · 0 comments

jbkoh commented

E.g., https://github.com/synergylabs/BuildingDepot-v3/blob/e21193775418fc4ecd778ca256a856a08580bc14/buildingdepot/Documentation/source/api/CentralService/sensor.rst

For Create Sensor, the body in the request should be under 'data' like:

{
  "data": {
    "name":"Test Sensor",
    "identifier":"Sensor Tag",
    "building":"NSH"
  }
}