summaryrefslogtreecommitdiff
path: root/opendc-common/src/main/kotlin/org/opendc/common/api/ResourceController.kt
blob: cf1d3cacef6f4b29448a6773c94b9e0c2f98071c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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
    }
}