docs(api): bruno endpoint saves

This commit is contained in:
2025-10-15 14:51:51 -05:00
parent 255ceaab85
commit 705f29e908
11 changed files with 51 additions and 10 deletions

View File

@@ -0,0 +1,24 @@
meta {
name: Get Users
type: http
seq: 7
}
post {
url: {{url}}/lst/api/admin/users
body: none
auth: inherit
}
body:json {
{
"username":"matthes01",
"name":"blake",
"email":"blake.matthes@alpla.com",
"password":"nova0511"
}
}
settings {
encodeUrl: true
}

View File

@@ -0,0 +1,26 @@
meta {
name: GrantROle by ID
type: http
seq: 7
}
post {
url: {{url}}/lst/api/admin/:userID/grant
body: json
auth: inherit
}
params:path {
userID: 0hlO48C7Jw1J804FxrCnonK
}
body:json {
{
"module":"users",
"role":"admin"
}
}
settings {
encodeUrl: true
}

View File

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

View File

@@ -16,10 +16,10 @@ headers {
body:json {
{
"name": "Bethlehem",
"serverDNS": "USBET1VMS006",
"plantToken": "usbet1",
"ipAddress": "10.204.0.26",
"name": "Bowling Green 2",
"serverDNS": "USBOW2VMS006",
"plantToken": "usbow2",
"ipAddress": "10.30.0.26",
"greatPlainsPlantCode": 0,
"lstServerPort": 4000,
"serverLoc": "E$\\LST"

View File

@@ -14,6 +14,10 @@ params:path {
token: usbet1
}
headers {
Cookie: {{session_cookie}}
}
body:json {
{
"zipcode": 45245