Metar overhaul, added footer, updated schemas

This commit is contained in:
2025-05-19 16:09:02 -04:00
parent 2ecb82ae63
commit ed98140d22
54 changed files with 1084 additions and 4924 deletions

View File

@@ -0,0 +1,22 @@
meta {
name: Change Password
type: http
seq: 6
}
put {
url: {{API_URL}}/account/password
body: json
auth: none
}
body:json {
{
"password": "New Password"
}
}
script:post-response {
const apiKey = res.body
bru.setVar("bearer",apiKey)
}

View File

@@ -0,0 +1,18 @@
meta {
name: Confirm Password Reset
type: http
seq: 8
}
post {
url: {{API_URL}}/account/password/verify
body: json
auth: none
}
body:json {
{
"token": "token",
"password": "New Password"
}
}

View File

@@ -0,0 +1,11 @@
meta {
name: Get Profile
type: http
seq: 10
}
get {
url: {{API_URL}}/account/profile
body: none
auth: none
}

18
bruno/Account/Login.bru Normal file
View File

@@ -0,0 +1,18 @@
meta {
name: Login
type: http
seq: 4
}
post {
url: {{API_URL}}/account/login
body: json
auth: none
}
body:json {
{
"username": "user",
"password": "changeme"
}
}

18
bruno/Account/Logout.bru Normal file
View File

@@ -0,0 +1,18 @@
meta {
name: Logout
type: http
seq: 5
}
post {
url: {{API_URL}}/account/logout
body: none
auth: none
}
body:json {
{
"email": "user@gmail.com",
"password": "changeme"
}
}

View File

@@ -0,0 +1,11 @@
meta {
name: Refresh Session
type: http
seq: 9
}
get {
url: {{API_URL}}/account/session
body: none
auth: none
}

View File

@@ -0,0 +1,21 @@
meta {
name: Register
type: http
seq: 1
}
post {
url: {{API_URL}}/account/register
body: json
auth: none
}
body:json {
{
"username": "user",
"email": "user@example.com",
"password": "changeme",
"firstName": "John",
"lastName": "Doe"
}
}

View File

@@ -0,0 +1,11 @@
meta {
name: Resend Email Confirmation
type: http
seq: 2
}
post {
url: {{API_URL}}/account/register/resend
body: none
auth: none
}

View File

@@ -0,0 +1,17 @@
meta {
name: Reset Password
type: http
seq: 7
}
post {
url: {{API_URL}}/account/password/reset
body: json
auth: none
}
body:json {
{
"email": "user@example.com"
}
}

View File

@@ -0,0 +1,17 @@
meta {
name: Verify Email Confirmation
type: http
seq: 3
}
post {
url: {{API_URL}}/account/register/verify
body: json
auth: none
}
body:json {
{
"token": "token"
}
}

3
bruno/Account/folder.bru Normal file
View File

@@ -0,0 +1,3 @@
meta {
name: Account
}