docs(api): bruno endpoint saves
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
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
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
meta {
|
||||
name: Get user Roles
|
||||
type: http
|
||||
seq: 9
|
||||
seq: 7
|
||||
}
|
||||
|
||||
get {
|
||||
|
||||
@@ -1,26 +0,0 @@
|
||||
meta {
|
||||
name: GrantROle by ID
|
||||
type: http
|
||||
seq: 8
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
@@ -1,7 +1,7 @@
|
||||
meta {
|
||||
name: Request Resetpassword
|
||||
type: http
|
||||
seq: 10
|
||||
seq: 8
|
||||
}
|
||||
|
||||
post {
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
meta {
|
||||
name: Resetpassword
|
||||
type: http
|
||||
seq: 11
|
||||
seq: 9
|
||||
}
|
||||
|
||||
post {
|
||||
url: http://localhost:4200/lst/api/auth/reset-password
|
||||
url: {{url}}/lst/api/auth/reset-password
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user