agent starting :D

This commit is contained in:
2026-03-01 14:10:19 -06:00
parent c3379919b9
commit 68d13b03d3
34 changed files with 1905 additions and 254 deletions

View File

@@ -0,0 +1,34 @@
meta {
name: Register
type: http
seq: 2
}
post {
url: {{url}}/lst/api/authentication/register
body: json
auth: inherit
}
body:json {
{
"username": "jane005",
"email": "jane@alpla.com",
"password": "superSecretPassword"
}
}
script:post-response {
// // grab the raw Set-Cookie header
// const cookies = res.headers["set-cookie"];
// const sessionCookie = cookies[0].split(";")[0];
// // Save it as an environment variable
// bru.setEnvVar("session_cookie", sessionCookie);
}
settings {
encodeUrl: true
timeout: 0
}

View File

@@ -0,0 +1,3 @@
docs {
All Api endpoints to the logistics support tool
}

View File

@@ -5,7 +5,7 @@ meta {
}
get {
url: {{url}}/lst/api/datamart/deliveryByDateRange
url: {{url}}/lst/api/datamart
body: none
auth: inherit
}

View File

@@ -0,0 +1,20 @@
meta {
name: Run Query
type: http
seq: 2
}
get {
url: {{url}}/lst/api/datamart/:name
body: none
auth: inherit
}
params:path {
name: activeArticles
}
settings {
encodeUrl: true
timeout: 0
}

View File

@@ -1,31 +0,0 @@
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

@@ -1,28 +0,0 @@
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,15 @@
meta {
name: Sql Start
type: http
seq: 4
}
post {
url: {{url}}/lst/api/system/prodsql/start
body: none
auth: inherit
}
settings {
encodeUrl: true
}

View File

@@ -1,19 +1,15 @@
meta {
name: sync queries
name: Sql restart
type: http
seq: 4
}
get {
url: {{url}}/lst/api/datamart/sync?time=15
post {
url: {{url}}/lst/api/system/prodsql/restart
body: none
auth: inherit
}
params:query {
time: 15
}
settings {
encodeUrl: true
timeout: 0

View File

@@ -0,0 +1,16 @@
meta {
name: Sql stop
type: http
seq: 4
}
post {
url: {{url}}/lst/api/system/prodsql/stop
body: none
auth: inherit
}
settings {
encodeUrl: true
timeout: 0
}

View File

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

View File

@@ -14,3 +14,7 @@ settings {
encodeUrl: true
timeout: 0
}
docs {
returns all settings
}

View File

@@ -5,15 +5,15 @@ meta {
}
patch {
url: {{url}}/lst/api/settings/something
url: {{url}}/lst/api/settings/opendock_sync
body: json
auth: inherit
}
body:json {
{
"value" : "true",
"active": "false"
"value" : "0",
"active": "true"
}
}
@@ -21,3 +21,13 @@ settings {
encodeUrl: true
timeout: 0
}
docs {
Allows the changing of a setting based on the parameter.
* when a setting that is being changed is a feature there will be some backgound logic that will stop that features processes and no long work.
* when the setting is being changed is system the entire app will do a full restart
* when a seeting is being changed and is standard nothing will happen until the next action is completed. example someone prints a label and you changed the default to 120 second from 90 seconds
}