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

BIN
One & All/.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -0,0 +1,18 @@
meta {
name: Create Aboutus
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/v1/aboutUs/
body: multipartForm
auth: none
}
body:multipart-form {
description:
title:
image:
index:
}

View File

@@ -0,0 +1,15 @@
meta {
name: Delete Aboutus
type: http
seq: 4
}
delete {
url: {{baseUrl}}/api/v1/aboutUs/:id
body: none
auth: none
}
params:path {
id:
}

View File

@@ -0,0 +1,22 @@
meta {
name: Edit Aboutus
type: http
seq: 3
}
put {
url: {{baseUrl}}/api/v1/aboutUs/:id
body: multipartForm
auth: none
}
params:path {
id:
}
body:multipart-form {
description:
image:
title:
index:
}

View File

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

9
One & All/bruno.json Normal file
View File

@@ -0,0 +1,9 @@
{
"version": "1",
"name": "One & All",
"type": "collection",
"ignore": [
"node_modules",
".git"
]
}

0
One & All/collection.bru Normal file
View File

View File

@@ -0,0 +1,22 @@
meta {
name: Create Item
type: http
seq: 2
}
post {
url: {{baseUrl}}/api/v1/course/
body: json
auth: none
}
body:json {
{
"title": "",
"sort_description": "",
"long_description": "",
"information": "",
"contant": "",
"remark": ""
}
}

View File

@@ -0,0 +1,15 @@
meta {
name: Delete Course
type: http
seq: 5
}
delete {
url: {{baseUrl}}/api/v1/course/:id
body: none
auth: none
}
params:path {
id:
}

View File

@@ -0,0 +1,15 @@
meta {
name: Read Course
type: http
seq: 3
}
get {
url: {{baseUrl}}/api/v1/course/:id
body: none
auth: none
}
params:path {
id:
}

View File

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

View File

@@ -0,0 +1,26 @@
meta {
name: Update Course
type: http
seq: 4
}
put {
url: {{baseUrl}}/api/v1/course/:id
body: json
auth: none
}
params:path {
id:
}
body:json {
{
"title": "",
"sort_description": "",
"long_description": "",
"information": "",
"contant": "",
"remark": ""
}
}

View File

@@ -0,0 +1,17 @@
meta {
name: Create Image
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/v1/image/
body: multipartForm
auth: none
}
body:multipart-form {
image:
index:
course_id:
}

View File

@@ -0,0 +1,15 @@
meta {
name: Delete Image
type: http
seq: 3
}
delete {
url: {{baseUrl}}/api/v1/image/:id
body: none
auth: none
}
params:path {
id:
}

View File

@@ -0,0 +1,19 @@
meta {
name: Edit Image
type: http
seq: 2
}
put {
url: {{baseUrl}}/api/v1/image/:id
body: none
auth: none
}
params:query {
index:
}
params:path {
id:
}

View File

@@ -0,0 +1,17 @@
meta {
name: Create Info Image
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/v1/info_image/
body: multipartForm
auth: none
}
body:multipart-form {
image:
index:
course_id:
}

View File

@@ -0,0 +1,15 @@
meta {
name: Delete Info Image
type: http
seq: 3
}
delete {
url: {{baseUrl}}/api/v1/info_image/:id
body: none
auth: none
}
params:path {
id:
}

View File

@@ -0,0 +1,19 @@
meta {
name: Edit Info Image
type: http
seq: 2
}
put {
url: {{baseUrl}}/api/v1/info_image/:id
body: none
auth: none
}
params:query {
index:
}
params:path {
id:
}

15
One & All/items/Agcd.bru Normal file
View File

@@ -0,0 +1,15 @@
meta {
name: Agcd
type: http
seq: 3
}
get {
url: {{baseUrl}}/api/v1/items/items/:item_id
body: none
auth: none
}
params:path {
item_id:
}

View File

@@ -0,0 +1,18 @@
meta {
name: Create Item
type: http
seq: 2
}
post {
url: {{baseUrl}}/api/v1/items/
body: json
auth: none
}
body:json {
{
"title": "",
"description": ""
}
}

View File

@@ -0,0 +1,15 @@
meta {
name: Delete Item
type: http
seq: 6
}
delete {
url: {{baseUrl}}/api/v1/items/:id
body: none
auth: none
}
params:path {
id:
}

View File

@@ -0,0 +1,15 @@
meta {
name: Read Item
type: http
seq: 4
}
get {
url: {{baseUrl}}/api/v1/items/:id
body: none
auth: none
}
params:path {
id:
}

View File

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

View File

@@ -0,0 +1,22 @@
meta {
name: Update Item
type: http
seq: 5
}
put {
url: {{baseUrl}}/api/v1/items/:id
body: json
auth: none
}
params:path {
id:
}
body:json {
{
"title": "",
"description": ""
}
}

View File

@@ -0,0 +1,20 @@
meta {
name: Login Access Token
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/v1/login/access-token
body: formUrlEncoded
auth: none
}
body:form-urlencoded {
grant_type:
username:
password:
scope:
client_id:
client_secret:
}

View File

@@ -0,0 +1,15 @@
meta {
name: Recover Password Html Content
type: http
seq: 5
}
post {
url: {{baseUrl}}/api/v1/password-recovery-html-content/:email
body: none
auth: none
}
params:path {
email:
}

View File

@@ -0,0 +1,15 @@
meta {
name: Recover Password
type: http
seq: 3
}
post {
url: {{baseUrl}}/api/v1/password-recovery/:email
body: none
auth: none
}
params:path {
email:
}

View File

@@ -0,0 +1,18 @@
meta {
name: Reset Password
type: http
seq: 4
}
post {
url: {{baseUrl}}/api/v1/reset-password/
body: json
auth: none
}
body:json {
{
"token": "",
"new_password": ""
}
}

View File

@@ -0,0 +1,11 @@
meta {
name: Test Token
type: http
seq: 2
}
post {
url: {{baseUrl}}/api/v1/login/test-token
body: none
auth: none
}

View File

@@ -0,0 +1,20 @@
meta {
name: Create Message
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/v1/messages/
body: json
auth: none
}
body:json {
{
"name": "",
"phone": "",
"email": "",
"message": ""
}
}

View File

@@ -0,0 +1,15 @@
meta {
name: Delete Item
type: http
seq: 3
}
delete {
url: {{baseUrl}}/api/v1/messages/:id
body: none
auth: none
}
params:path {
id:
}

View File

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

View File

@@ -0,0 +1,18 @@
meta {
name: Create Organ
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/v1/organ/
body: multipartForm
auth: none
}
body:multipart-form {
description:
title:
image:
index:
}

View File

@@ -0,0 +1,15 @@
meta {
name: Delete Organ
type: http
seq: 4
}
delete {
url: {{baseUrl}}/api/v1/organ/:id
body: none
auth: none
}
params:path {
id:
}

View File

@@ -0,0 +1,22 @@
meta {
name: Edit Organ
type: http
seq: 3
}
put {
url: {{baseUrl}}/api/v1/organ/:id
body: multipartForm
auth: none
}
params:path {
id:
}
body:multipart-form {
description:
image:
title:
index:
}

View File

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

View File

@@ -0,0 +1,21 @@
meta {
name: Create Schedule
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/v1/sechedule/
body: json
auth: none
}
body:json {
{
"title": "",
"info1": "",
"info2": "",
"date": "",
"course_id": ""
}
}

View File

@@ -0,0 +1,15 @@
meta {
name: Delete Schedule
type: http
seq: 3
}
delete {
url: {{baseUrl}}/api/v1/sechedule/:id
body: none
auth: none
}
params:path {
id:
}

View File

@@ -0,0 +1,24 @@
meta {
name: Edit Schedule
type: http
seq: 2
}
put {
url: {{baseUrl}}/api/v1/sechedule/:id
body: json
auth: none
}
params:path {
id:
}
body:json {
{
"title": "",
"info1": "",
"info2": "",
"date": ""
}
}

View File

@@ -0,0 +1,11 @@
meta {
name: Read Setting
type: http
seq: 1
}
get {
url: {{baseUrl}}/api/v1/setting/
body: none
auth: none
}

View File

@@ -0,0 +1,27 @@
meta {
name: Update Setting
type: http
seq: 2
}
put {
url: {{baseUrl}}/api/v1/setting/
body: json
auth: none
}
body:json {
{
"address": "",
"google_map_api_key": "",
"latitude": "",
"longitude": "",
"phone": "",
"email": "",
"facebook": "",
"instagram": "",
"youtube": "",
"youtube_link": "",
"whatsapp": ""
}
}

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": ""
}
}

View File

@@ -0,0 +1,15 @@
meta {
name: Test Email
type: http
seq: 1
}
post {
url: {{baseUrl}}/api/v1/utils/test-email/
body: none
auth: none
}
params:query {
email_to:
}