summaryrefslogtreecommitdiff
path: root/opendc-common/src/main/kotlin/org/opendc/common/api/ResourceController.kt
diff options
context:
space:
mode:
authormjkwiatkowski <mati.rewa@gmail.com>2026-02-26 19:51:57 +0100
committermjkwiatkowski <mati.rewa@gmail.com>2026-02-26 19:51:57 +0100
commit82f8418f49b0564c5093c28be1ca522a628d0b4f (patch)
tree140e6e4579229c8eefac398e58f386f270dff328 /opendc-common/src/main/kotlin/org/opendc/common/api/ResourceController.kt
parent4f816318b6672d40f23b22ca44cc06b77cadf961 (diff)
feat: added notes from last meeting with my supervisorHEADmaster
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