diff --git a/brunoApi/datamart/Get queries.bru b/brunoApi/datamart/Get queries.bru new file mode 100644 index 0000000..6a56320 --- /dev/null +++ b/brunoApi/datamart/Get queries.bru @@ -0,0 +1,16 @@ +meta { + name: Get queries + type: http + seq: 1 +} + +get { + url: {{url}}/lst/api/datamart/deliveryByDateRange + body: none + auth: inherit +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/brunoApi/datamart/add new query.bru b/brunoApi/datamart/add new query.bru new file mode 100644 index 0000000..b2a5b79 --- /dev/null +++ b/brunoApi/datamart/add new query.bru @@ -0,0 +1,31 @@ +meta { + name: add new query + type: http + seq: 2 +} + +post { + url: {{url}}/lst/api/datamart + body: multipartForm + auth: inherit +} + +body:json { + { + "name": "active av", + "description":"this is just the query on what it dose", + "query": "select * \nfrom tableA" + } +} + +body:multipart-form { + name: sqlStats + description: returns all active articles for the server with custom data + options: "" + queryFile: @file(C:\Users\matthes01\Nextcloud2\sqlQuerys\basisArticles.sql) +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/brunoApi/datamart/folder.bru b/brunoApi/datamart/folder.bru new file mode 100644 index 0000000..a031391 --- /dev/null +++ b/brunoApi/datamart/folder.bru @@ -0,0 +1,8 @@ +meta { + name: datamart + seq: 2 +} + +auth { + mode: inherit +} diff --git a/brunoApi/datamart/sync queries.bru b/brunoApi/datamart/sync queries.bru new file mode 100644 index 0000000..640999e --- /dev/null +++ b/brunoApi/datamart/sync queries.bru @@ -0,0 +1,20 @@ +meta { + name: sync queries + type: http + seq: 4 +} + +get { + url: {{url}}/lst/api/datamart/sync?time=15 + body: none + auth: inherit +} + +params:query { + time: 15 +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/brunoApi/datamart/update new query.bru b/brunoApi/datamart/update new query.bru new file mode 100644 index 0000000..95c8ff5 --- /dev/null +++ b/brunoApi/datamart/update new query.bru @@ -0,0 +1,28 @@ +meta { + name: update new query + type: http + seq: 3 +} + +patch { + url: {{url}}/lst/api/datamart/f737aeba-186d-495f-a86e-57412ba6687e + body: multipartForm + auth: inherit +} + +body:json { + { + "name": "active av", + "description":"this is just the query on what it dose", + "query": "select * \nfrom tableA" + } +} + +body:multipart-form { + setPublicActive: true +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/brunoApi/environments/lstv3.bru b/brunoApi/environments/lstv3.bru new file mode 100644 index 0000000..5c0f373 --- /dev/null +++ b/brunoApi/environments/lstv3.bru @@ -0,0 +1,3 @@ +vars { + url: http://localhost:3000 +} diff --git a/brunoApi/opendock/GetApt.bru b/brunoApi/opendock/GetApt.bru new file mode 100644 index 0000000..59e5862 --- /dev/null +++ b/brunoApi/opendock/GetApt.bru @@ -0,0 +1,15 @@ +meta { + name: GetApt + type: http + seq: 1 +} + +get { + url: + body: none + auth: inherit +} + +settings { + encodeUrl: true +} diff --git a/brunoApi/system/Status.bru b/brunoApi/system/Status.bru new file mode 100644 index 0000000..89c0650 --- /dev/null +++ b/brunoApi/system/Status.bru @@ -0,0 +1,16 @@ +meta { + name: Status + type: http + seq: 1 +} + +get { + url: {{url}}/lst/api/stats + body: none + auth: inherit +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/brunoApi/utils/Active Jobs.bru b/brunoApi/utils/Active Jobs.bru new file mode 100644 index 0000000..463e04b --- /dev/null +++ b/brunoApi/utils/Active Jobs.bru @@ -0,0 +1,16 @@ +meta { + name: Active Jobs + type: http + seq: 5 +} + +get { + url: {{url}}/lst/api/utils/croner + body: none + auth: inherit +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/brunoApi/utils/Change status.bru b/brunoApi/utils/Change status.bru new file mode 100644 index 0000000..38d9d4c --- /dev/null +++ b/brunoApi/utils/Change status.bru @@ -0,0 +1,22 @@ +meta { + name: Change status + type: http + seq: 2 +} + +patch { + url: {{url}}/lst/api/utils/croner/stop + body: json + auth: inherit +} + +body:json { + { + "name": "open-dock-monitor" + } +} + +settings { + encodeUrl: true + timeout: 0 +}