feat: api admin users endpoints
This commit is contained in:
@@ -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
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: Admin
|
||||
seq: 4
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -5,7 +5,7 @@ meta {
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{api_url}}/auth/login
|
||||
url: {{api_url}}/login
|
||||
body: json
|
||||
auth: none
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user