added bruno

This commit is contained in:
2026-02-20 12:19:32 -06:00
parent 100c9ff9be
commit 880902c478
10 changed files with 175 additions and 0 deletions

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -0,0 +1,8 @@
meta {
name: datamart
seq: 2
}
auth {
mode: inherit
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -0,0 +1,3 @@
vars {
url: http://localhost:3000
}

View File

@@ -0,0 +1,15 @@
meta {
name: GetApt
type: http
seq: 1
}
get {
url:
body: none
auth: inherit
}
settings {
encodeUrl: true
}

View File

@@ -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
}

View File

@@ -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
}

View File

@@ -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
}