feat: initial
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
info:
|
||||
name: Check OTP
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/auth/check-otp"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: mobile
|
||||
type: text
|
||||
value: "09001234567"
|
||||
- name: token
|
||||
type: text
|
||||
value: "96969"
|
||||
auth: inherit
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: after-response
|
||||
code: "var jsonData = res.getBody();\r
|
||||
|
||||
pm.collectionVariables.set(\"token\", jsonData.token);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,15 @@
|
||||
info:
|
||||
name: Log Out
|
||||
type: http
|
||||
seq: 7
|
||||
|
||||
http:
|
||||
method: PUT
|
||||
url: "{{baseUrl}}/auth/logout"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,22 @@
|
||||
info:
|
||||
name: Login Google
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/auth/login-google"
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"access_token": "dQw4w9WgXcQ:APA91bG12345abcdeFGHIjkLMNOPqrSTUvwxYZ0123456789abcdefGhijkLMNOPqrsTUVwxyzAbCdEfGhIJklMNOpQ",
|
||||
"package_name": "com.meditation.app"
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,28 @@
|
||||
info:
|
||||
name: Login OTP
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/auth/login-otp"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: mobile
|
||||
type: text
|
||||
value: "09362957108"
|
||||
- name: package_name
|
||||
type: text
|
||||
value: com.approagency.meditation
|
||||
- name: fcm_token
|
||||
type: text
|
||||
value: cxrhJQY3SKC3SVbEJ_GKZE:APA91bGG6NzfDRZQUe_AviOomn7UgSNZCDt6BUaizoXB67lK5YZqQkgsjRDjI4oIpHDCaigzvsrsfxgwrVhmoJbhzxficGwsYCOojZyIRVoR9AZXQkIfkRU
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,41 @@
|
||||
info:
|
||||
name: Login
|
||||
type: http
|
||||
seq: 5
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/auth/login"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: auth
|
||||
type: text
|
||||
value: admin@gmail.com
|
||||
- name: password
|
||||
type: text
|
||||
value: "96969"
|
||||
- name: package_name
|
||||
type: text
|
||||
value: com.approagency.meditation
|
||||
- name: mobile
|
||||
type: text
|
||||
value: "09001234567"
|
||||
disabled: true
|
||||
- name: otp
|
||||
type: text
|
||||
value: "96969"
|
||||
disabled: true
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: after-response
|
||||
code: "var jsonData = res.getBody();\r
|
||||
|
||||
pm.collectionVariables.set(\"token\", jsonData.token);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,58 @@
|
||||
info:
|
||||
name: Register
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/auth/register"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: first_name
|
||||
type: text
|
||||
value: amirmahdi
|
||||
- name: last_name
|
||||
type: text
|
||||
value: noorkazemi
|
||||
- name: email
|
||||
type: text
|
||||
value: www.nourkazemi80@gmail.com
|
||||
- name: password
|
||||
type: text
|
||||
value: amnk1380
|
||||
- name: mobile
|
||||
type: text
|
||||
value: "09001234567"
|
||||
disabled: true
|
||||
- name: is_admin
|
||||
type: text
|
||||
value: "1"
|
||||
disabled: true
|
||||
- name: package_name
|
||||
type: text
|
||||
value: com.approagency.meditation
|
||||
- name: method
|
||||
type: text
|
||||
value: link
|
||||
- name: gender
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: birthday
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
|
||||
runtime:
|
||||
scripts:
|
||||
- type: after-response
|
||||
code: "var jsonData = res.getBody();\r
|
||||
|
||||
pm.collectionVariables.set(\"token\", jsonData.token);"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,37 @@
|
||||
info:
|
||||
name: Update Profile
|
||||
type: http
|
||||
seq: 6
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/profile"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: first_name
|
||||
type: text
|
||||
value: amirmahdi
|
||||
- name: last_name
|
||||
type: text
|
||||
value: noor
|
||||
- name: email
|
||||
type: text
|
||||
value: www.nourkazemi90@gmail.com
|
||||
disabled: true
|
||||
- name: gender
|
||||
type: text
|
||||
value: "1"
|
||||
- name: birthday
|
||||
type: text
|
||||
value: 2001-05-02
|
||||
- name: mobile
|
||||
type: text
|
||||
value: "09001234563"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,23 @@
|
||||
info:
|
||||
name: confirm-mobile
|
||||
type: http
|
||||
seq: 12
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/verify-mobile/confirm"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: mobile
|
||||
type: text
|
||||
value: "09362957108"
|
||||
- name: token
|
||||
type: text
|
||||
value: ""
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Auth
|
||||
type: folder
|
||||
seq: 8
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,20 @@
|
||||
info:
|
||||
name: forget-password
|
||||
type: http
|
||||
seq: 10
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/auth/forgot-password"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: email
|
||||
type: text
|
||||
value: www.nourkazemi80@gmail.com
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,26 @@
|
||||
info:
|
||||
name: resend-email-verification
|
||||
type: http
|
||||
seq: 9
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/auth/resend-email-verification"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: email
|
||||
type: text
|
||||
value: nourkazemi80@gmail.com
|
||||
- name: package_name
|
||||
type: text
|
||||
value: com.approagency.meditation
|
||||
- name: method
|
||||
type: text
|
||||
value: link
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,24 @@
|
||||
info:
|
||||
name: verify-email
|
||||
type: http
|
||||
seq: 8
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/auth/verify-email-code"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: email
|
||||
type: text
|
||||
value: nourkazemi80@gmail.com
|
||||
- name: code
|
||||
type: text
|
||||
value: "5604"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,20 @@
|
||||
info:
|
||||
name: verify-mobile
|
||||
type: http
|
||||
seq: 11
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/verify-mobile/request"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: mobile
|
||||
type: text
|
||||
value: "09362957108"
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
Reference in New Issue
Block a user