summaryrefslogtreecommitdiff
path: root/opendc-common/src/main/kotlin/org/opendc/common/api/ResourceController.kt
diff options
context:
space:
mode:
Diffstat (limited to 'opendc-common/src/main/kotlin/org/opendc/common/api/ResourceController.kt')
-rw-r--r--opendc-common/src/main/kotlin/org/opendc/common/api/ResourceController.kt30
1 files changed, 30 insertions, 0 deletions
diff --git a/opendc-common/src/main/kotlin/org/opendc/common/api/ResourceController.kt b/opendc-common/src/main/kotlin/org/opendc/common/api/ResourceController.kt
new file mode 100644
index 00000000..cf1d3cac
--- /dev/null
+++ b/opendc-common/src/main/kotlin/org/opendc/common/api/ResourceController.kt
@@ -0,0 +1,30 @@
+package org.opendc.common.api
+
+import org.opendc.common.annotations.Endpoint
+
+/**
+ * This class represents the `/resources` endpoint.
+ *
+ * @author Mateusz Kwiatkowski
+ *
+ * */
+
+public class ResourceController {
+
+ /**
+ * Returns all data analytics for all experiments.
+ */
+ @Endpoint("GET", "/resources")
+ public fun getResources() {
+ return
+ }
+
+ /**
+ * Returns data analytics for experiment with `id`.
+ *
+ * */
+ @Endpoint("GET", "/resources")
+ public fun getResourcesId() {
+ return
+ }
+} \ No newline at end of file