diff options
| author | mjkwiatkowski <mati.rewa@gmail.com> | 2026-06-15 23:48:44 +0200 |
|---|---|---|
| committer | mjkwiatkowski <mati.rewa@gmail.com> | 2026-06-15 23:48:44 +0200 |
| commit | 0731bd58889df127ef87aba2590d505d79e6646f (patch) | |
| tree | 128aceeaf60ac5c098297f7cfda9fa47f974fc84 /opendc-common/src/main/kotlin/org/opendc/common/api/ResourceController.kt | |
| parent | f1ecbf0ce40d43685d8a6aeba0fe4cdebbd4536f (diff) | |
feat: migrated the past project to the sunfish repo
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 |
