updated the course index part
This commit is contained in:
BIN
One & All/.DS_Store
vendored
Normal file
BIN
One & All/.DS_Store
vendored
Normal file
Binary file not shown.
18
One & All/aboutUs/Create Aboutus.bru
Normal file
18
One & All/aboutUs/Create Aboutus.bru
Normal 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:
|
||||
}
|
15
One & All/aboutUs/Delete Aboutus.bru
Normal file
15
One & All/aboutUs/Delete Aboutus.bru
Normal 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:
|
||||
}
|
22
One & All/aboutUs/Edit Aboutus.bru
Normal file
22
One & All/aboutUs/Edit Aboutus.bru
Normal 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:
|
||||
}
|
16
One & All/aboutUs/Read Aboutus List.bru
Normal file
16
One & All/aboutUs/Read Aboutus List.bru
Normal 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
9
One & All/bruno.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"version": "1",
|
||||
"name": "One & All",
|
||||
"type": "collection",
|
||||
"ignore": [
|
||||
"node_modules",
|
||||
".git"
|
||||
]
|
||||
}
|
0
One & All/collection.bru
Normal file
0
One & All/collection.bru
Normal file
22
One & All/course/Create Item.bru
Normal file
22
One & All/course/Create Item.bru
Normal 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": ""
|
||||
}
|
||||
}
|
15
One & All/course/Delete Course.bru
Normal file
15
One & All/course/Delete Course.bru
Normal 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:
|
||||
}
|
15
One & All/course/Read Course.bru
Normal file
15
One & All/course/Read Course.bru
Normal 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:
|
||||
}
|
16
One & All/course/Read Courses.bru
Normal file
16
One & All/course/Read Courses.bru
Normal 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:
|
||||
}
|
26
One & All/course/Update Course.bru
Normal file
26
One & All/course/Update Course.bru
Normal 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": ""
|
||||
}
|
||||
}
|
17
One & All/image/Create Image.bru
Normal file
17
One & All/image/Create Image.bru
Normal 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:
|
||||
}
|
15
One & All/image/Delete Image.bru
Normal file
15
One & All/image/Delete Image.bru
Normal 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:
|
||||
}
|
19
One & All/image/Edit Image.bru
Normal file
19
One & All/image/Edit Image.bru
Normal 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:
|
||||
}
|
17
One & All/info_image/Create Info Image.bru
Normal file
17
One & All/info_image/Create Info Image.bru
Normal 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:
|
||||
}
|
15
One & All/info_image/Delete Info Image.bru
Normal file
15
One & All/info_image/Delete Info Image.bru
Normal 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:
|
||||
}
|
19
One & All/info_image/Edit Info Image.bru
Normal file
19
One & All/info_image/Edit Info Image.bru
Normal 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
15
One & All/items/Agcd.bru
Normal 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:
|
||||
}
|
18
One & All/items/Create Item.bru
Normal file
18
One & All/items/Create Item.bru
Normal 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": ""
|
||||
}
|
||||
}
|
15
One & All/items/Delete Item.bru
Normal file
15
One & All/items/Delete Item.bru
Normal 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:
|
||||
}
|
15
One & All/items/Read Item.bru
Normal file
15
One & All/items/Read Item.bru
Normal 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:
|
||||
}
|
16
One & All/items/Read Items.bru
Normal file
16
One & All/items/Read Items.bru
Normal 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:
|
||||
}
|
22
One & All/items/Update Item.bru
Normal file
22
One & All/items/Update Item.bru
Normal 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": ""
|
||||
}
|
||||
}
|
20
One & All/login/Login Access Token.bru
Normal file
20
One & All/login/Login Access Token.bru
Normal 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:
|
||||
}
|
15
One & All/login/Recover Password Html Content.bru
Normal file
15
One & All/login/Recover Password Html Content.bru
Normal 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:
|
||||
}
|
15
One & All/login/Recover Password.bru
Normal file
15
One & All/login/Recover Password.bru
Normal 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:
|
||||
}
|
18
One & All/login/Reset Password.bru
Normal file
18
One & All/login/Reset Password.bru
Normal 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": ""
|
||||
}
|
||||
}
|
11
One & All/login/Test Token.bru
Normal file
11
One & All/login/Test Token.bru
Normal 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
|
||||
}
|
20
One & All/messages/Create Message.bru
Normal file
20
One & All/messages/Create Message.bru
Normal 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": ""
|
||||
}
|
||||
}
|
15
One & All/messages/Delete Item.bru
Normal file
15
One & All/messages/Delete Item.bru
Normal 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:
|
||||
}
|
16
One & All/messages/Read Messages.bru
Normal file
16
One & All/messages/Read Messages.bru
Normal 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:
|
||||
}
|
18
One & All/organ/Create Organ.bru
Normal file
18
One & All/organ/Create Organ.bru
Normal 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:
|
||||
}
|
15
One & All/organ/Delete Organ.bru
Normal file
15
One & All/organ/Delete Organ.bru
Normal 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:
|
||||
}
|
22
One & All/organ/Edit Organ.bru
Normal file
22
One & All/organ/Edit Organ.bru
Normal 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:
|
||||
}
|
16
One & All/organ/Read Organ List.bru
Normal file
16
One & All/organ/Read Organ List.bru
Normal 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:
|
||||
}
|
21
One & All/sechedule/Create Schedule.bru
Normal file
21
One & All/sechedule/Create Schedule.bru
Normal 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": ""
|
||||
}
|
||||
}
|
15
One & All/sechedule/Delete Schedule.bru
Normal file
15
One & All/sechedule/Delete Schedule.bru
Normal 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:
|
||||
}
|
24
One & All/sechedule/Edit Schedule.bru
Normal file
24
One & All/sechedule/Edit Schedule.bru
Normal 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": ""
|
||||
}
|
||||
}
|
11
One & All/setting/Read Setting.bru
Normal file
11
One & All/setting/Read Setting.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Read Setting
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/api/v1/setting/
|
||||
body: none
|
||||
auth: none
|
||||
}
|
27
One & All/setting/Update Setting.bru
Normal file
27
One & All/setting/Update Setting.bru
Normal 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": ""
|
||||
}
|
||||
}
|
21
One & All/users/Create User.bru
Normal file
21
One & All/users/Create User.bru
Normal 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": ""
|
||||
}
|
||||
}
|
11
One & All/users/Delete User Me.bru
Normal file
11
One & All/users/Delete User Me.bru
Normal 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
|
||||
}
|
15
One & All/users/Delete User.bru
Normal file
15
One & All/users/Delete User.bru
Normal 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:
|
||||
}
|
15
One & All/users/Read User By Id.bru
Normal file
15
One & All/users/Read User By Id.bru
Normal 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:
|
||||
}
|
11
One & All/users/Read User Me.bru
Normal file
11
One & All/users/Read User Me.bru
Normal 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
|
||||
}
|
16
One & All/users/Read Users.bru
Normal file
16
One & All/users/Read Users.bru
Normal 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:
|
||||
}
|
19
One & All/users/Register User.bru
Normal file
19
One & All/users/Register User.bru
Normal 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": ""
|
||||
}
|
||||
}
|
18
One & All/users/Update Password Me.bru
Normal file
18
One & All/users/Update Password Me.bru
Normal 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": ""
|
||||
}
|
||||
}
|
18
One & All/users/Update User Me.bru
Normal file
18
One & All/users/Update User Me.bru
Normal 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": ""
|
||||
}
|
||||
}
|
25
One & All/users/Update User.bru
Normal file
25
One & All/users/Update User.bru
Normal 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": ""
|
||||
}
|
||||
}
|
15
One & All/utils/Test Email.bru
Normal file
15
One & All/utils/Test Email.bru
Normal 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:
|
||||
}
|
Reference in New Issue
Block a user