summaryrefslogtreecommitdiff
path: root/opendc/models/tile.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/tile.py
parentdb460a0e734f9f1cf60088f63a3c05eaed255074 (diff)
Convert API codebase to flat model
Diffstat (limited to 'opendc/models/tile.py')
-rw-r--r--opendc/models/tile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc/models/tile.py b/opendc/models/tile.py
index 95445419..748c76c5 100644
--- a/opendc/models/tile.py
+++ b/opendc/models/tile.py
@@ -16,7 +16,7 @@ class Tile(Model):
}
}
- PATH = '/v1/simulations/{simulationId}/datacenters/{datacenterId}/rooms/{roomId}/tiles'
+ PATH = '/v1/rooms/{roomId}/tiles'
TABLE_NAME = 'tiles'
COLUMNS = ['id', 'position_x', 'position_y', 'room_id', 'object_id']