summaryrefslogtreecommitdiff
path: root/opendc/models/room.py
diff options
context:
space:
mode:
authorGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-08-13 23:12:16 +0300
committerGeorgios Andreadis <g.andreadis@student.tudelft.nl>2017-08-13 23:12:16 +0300
commitf589682b0840aab0624122052eb863cf8dc3a0b9 (patch)
treeea97449f7a83b7f911aa196976266551f834fc9d /opendc/models/room.py
parentdb460a0e734f9f1cf60088f63a3c05eaed255074 (diff)
Convert API codebase to flat model
Diffstat (limited to 'opendc/models/room.py')
-rw-r--r--opendc/models/room.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/room.py b/opendc/models/room.py
index b8be88f9..76f9f7b3 100644
--- a/opendc/models/room.py
+++ b/opendc/models/room.py
@@ -13,7 +13,7 @@ class Room(Model):
}
}
- PATH = '/v1/simulations/{simulationId}/datacenters/{datacenterId}/rooms'
+ PATH = '/v1/datacenters/{datacenterId}/rooms'
TABLE_NAME = 'rooms'
COLUMNS = ['id', 'name', 'datacenter_id', 'type']