From f589682b0840aab0624122052eb863cf8dc3a0b9 Mon Sep 17 00:00:00 2001 From: Georgios Andreadis Date: Sun, 13 Aug 2017 23:12:16 +0300 Subject: Convert API codebase to flat model --- opendc/models/room.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opendc/models/room.py') 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'] -- cgit v1.2.3