summaryrefslogtreecommitdiff
path: root/opendc-web/opendc-web-ui/src/api/routes/topologies.js
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-web/opendc-web-ui/src/api/routes/topologies.js')
-rw-r--r--opendc-web/opendc-web-ui/src/api/routes/topologies.js17
1 files changed, 0 insertions, 17 deletions
diff --git a/opendc-web/opendc-web-ui/src/api/routes/topologies.js b/opendc-web/opendc-web-ui/src/api/routes/topologies.js
deleted file mode 100644
index 076895ff..00000000
--- a/opendc-web/opendc-web-ui/src/api/routes/topologies.js
+++ /dev/null
@@ -1,17 +0,0 @@
-import { request } from '../index'
-
-export function addTopology(topology) {
- return request(`projects/${topology.projectId}/topologies`, 'POST', { topology })
-}
-
-export function getTopology(topologyId) {
- return request(`topologies/${topologyId}`)
-}
-
-export function updateTopology(topology) {
- return request(`topologies/${topology._id}`, 'PUT', { topology })
-}
-
-export function deleteTopology(topologyId) {
- return request(`topologies/${topologyId}`, 'DELETE')
-}