diff options
| author | mjkwiatkowski <mati.rewa@gmail.com> | 2026-02-26 19:51:57 +0100 |
|---|---|---|
| committer | mjkwiatkowski <mati.rewa@gmail.com> | 2026-02-26 19:51:57 +0100 |
| commit | 82f8418f49b0564c5093c28be1ca522a628d0b4f (patch) | |
| tree | 140e6e4579229c8eefac398e58f386f270dff328 /opendc-common/src/main/kotlin/org/opendc/common/api/ResourceController.kt | |
| parent | 4f816318b6672d40f23b22ca44cc06b77cadf961 (diff) | |
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.kt | 30 |
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 |
