feat: api admin users endpoints

This commit is contained in:
2025-12-24 15:03:37 +00:00
parent 7cfe9d2746
commit 026e7af6a5
12 changed files with 294 additions and 118 deletions
+20
View File
@@ -0,0 +1,20 @@
meta {
name: Get Users
type: http
seq: 1
}
get {
url: {{api_url}}/admin/users/
body: none
auth: inherit
}
headers {
Authorization: Bearer {{token}}
}
settings {
encodeUrl: true
timeout: 0
}
+8
View File
@@ -0,0 +1,8 @@
meta {
name: Admin
seq: 4
}
auth {
mode: inherit
}
+1 -1
View File
@@ -5,7 +5,7 @@ meta {
}
post {
url: {{api_url}}/auth/login
url: {{api_url}}/login
body: json
auth: none
}
+1 -1
View File
@@ -5,7 +5,7 @@ meta {
}
get {
url: {{api_url}}/games
url: {{api_url}}/games/1
body: none
auth: none
}
@@ -1,5 +1,5 @@
vars {
base_url: http://localhost:8085
api_url: http://localhost:8085/api
base_url: http://localhost:8000
api_url: http://localhost:8000/api/v1
token:
}