updated the course index part

This commit is contained in:
2025-01-22 18:22:04 +08:00
parent b84d9bda94
commit 7644ba35c1
68 changed files with 33316 additions and 27 deletions

View File

@@ -0,0 +1,21 @@
meta {
name: Create User
type: http
seq: 2
}
post {
url: {{baseUrl}}/api/v1/users/
body: json
auth: none
}
body:json {
{
"email": "",
"is_active": "",
"is_superuser": "",
"full_name": "",
"password": ""
}
}

View File

@@ -0,0 +1,11 @@
meta {
name: Delete User Me
type: http
seq: 4
}
delete {
url: {{baseUrl}}/api/v1/users/me
body: none
auth: none
}

View File

@@ -0,0 +1,15 @@
meta {
name: Delete User
type: http
seq: 10
}
delete {
url: {{baseUrl}}/api/v1/users/:user_id
body: none
auth: none
}
params:path {
user_id:
}

View File

@@ -0,0 +1,15 @@
meta {
name: Read User By Id
type: http
seq: 8
}
get {
url: {{baseUrl}}/api/v1/users/:user_id
body: none
auth: none
}
params:path {
user_id:
}

View File

@@ -0,0 +1,11 @@
meta {
name: Read User Me
type: http
seq: 3
}
get {
url: {{baseUrl}}/api/v1/users/me
body: none
auth: none
}

View File

@@ -0,0 +1,16 @@
meta {
name: Read Users
type: http
seq: 1
}
get {
url: {{baseUrl}}/api/v1/users/
body: none
auth: none
}
params:query {
~skip:
~limit:
}

View File

@@ -0,0 +1,19 @@
meta {
name: Register User
type: http
seq: 7
}
post {
url: {{baseUrl}}/api/v1/users/signup
body: json
auth: none
}
body:json {
{
"email": "",
"password": "",
"full_name": ""
}
}

View File

@@ -0,0 +1,18 @@
meta {
name: Update Password Me
type: http
seq: 6
}
patch {
url: {{baseUrl}}/api/v1/users/me/password
body: json
auth: none
}
body:json {
{
"current_password": "",
"new_password": ""
}
}

View File

@@ -0,0 +1,18 @@
meta {
name: Update User Me
type: http
seq: 5
}
patch {
url: {{baseUrl}}/api/v1/users/me
body: json
auth: none
}
body:json {
{
"full_name": "",
"email": ""
}
}

View File

@@ -0,0 +1,25 @@
meta {
name: Update User
type: http
seq: 9
}
patch {
url: {{baseUrl}}/api/v1/users/:user_id
body: json
auth: none
}
params:path {
user_id:
}
body:json {
{
"email": "",
"is_active": "",
"is_superuser": "",
"full_name": "",
"password": ""
}
}