File tree Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Expand file tree Collapse file tree 3 files changed +13
-5
lines changed Original file line number Diff line number Diff line change 2
2
.idea /**
3
3
apiserver /.openapi-generator /**
4
4
apiserver /api /**
5
- apiserver /* _service.go
5
+ apiserver /* _service.go
6
+ /apiservices /http-client.private.env.json
Original file line number Diff line number Diff line change 1
1
### Get configs
2
- GET http://localhost:8033 /v1/configs
2
+ GET {{ api-server }} /v1/configs
3
3
4
4
### Get config
5
- GET http://localhost:8033/v1/configs/1
5
+ GET {{api-server }}/v1/configs/1
6
+
7
+ ### Dashboards template names
8
+ GET {{api-server }}/v1/dashboard-template-names
9
+
10
+ ### Dashboards template
11
+ GET {{api-server }}/v1/dashboard-templates/Hailo Smart Waste?projectId=99
6
12
7
13
### Put config (insert without id)
8
- PUT http://localhost:8033 /v1/configs
14
+ PUT {{ api-server }} /v1/configs
9
15
Content-Type: application/json; charset=UTF-8
10
16
11
17
{
@@ -25,7 +31,7 @@ Content-Type: application/json; charset=UTF-8
25
31
}
26
32
27
33
### Put update (with id)
28
- PUT http://localhost:8033 /v1/configs
34
+ PUT {{ api-server }} /v1/configs
29
35
Content-Type: application/json; charset=UTF-8
30
36
31
37
{
Original file line number Diff line number Diff line change @@ -24,6 +24,7 @@ import (
24
24
func HailoSmartWasteDashboard (projectId string ) (api.Dashboard , error ) {
25
25
dashboard := api.Dashboard {}
26
26
dashboard .Name = "Hailo Smart Waste"
27
+ dashboard .ProjectId = projectId
27
28
dashboard .Widgets = []api.Widget {}
28
29
29
30
// Process bins
You can’t perform that action at this time.
0 commit comments