feat: initial
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
info:
|
||||
name: Charge Wallet Admin
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/admin/wallet"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: amount
|
||||
type: text
|
||||
value: "5000"
|
||||
description: toman
|
||||
- name: mobile
|
||||
type: text
|
||||
value: "09001234567"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: Delete a User
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: DELETE
|
||||
url: "{{baseUrl}}/admin/users/:mobile"
|
||||
params:
|
||||
- name: mobile
|
||||
value: "09109242665"
|
||||
type: path
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,31 @@
|
||||
info:
|
||||
name: Get Users
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/admin/users?package_name=com.approagency.ai"
|
||||
params:
|
||||
- name: per_page
|
||||
value: "10"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: mobile
|
||||
value: "09109242665"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: page
|
||||
value: "3"
|
||||
type: query
|
||||
disabled: true
|
||||
- name: package_name
|
||||
value: com.approagency.ai
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: Get Wallet Admin
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/admin/wallet?mobile=09109242665"
|
||||
params:
|
||||
- name: mobile
|
||||
value: "09109242665"
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,23 @@
|
||||
info:
|
||||
name: Get a User Status V1
|
||||
type: http
|
||||
seq: 6
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/admin/users/:mobile/status-v1"
|
||||
params:
|
||||
- name: package_name
|
||||
value: com.vada.newmozahemyab
|
||||
type: query
|
||||
disabled: true
|
||||
- name: mobile
|
||||
value: "9134342794"
|
||||
type: path
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,23 @@
|
||||
info:
|
||||
name: Get a User Status
|
||||
type: http
|
||||
seq: 5
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/admin/users/:email/status"
|
||||
params:
|
||||
- name: package_name
|
||||
value: com.approagency.meditation
|
||||
type: query
|
||||
disabled: true
|
||||
- name: email
|
||||
value: "09001234567"
|
||||
type: path
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: Get a User Transactions
|
||||
type: http
|
||||
seq: 9
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/admin/users/:mobile/transactions"
|
||||
params:
|
||||
- name: mobile
|
||||
value: "09109242665"
|
||||
type: path
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,25 @@
|
||||
info:
|
||||
name: Sub a User
|
||||
type: http
|
||||
seq: 7
|
||||
|
||||
http:
|
||||
method: PUT
|
||||
url: "{{baseUrl}}/admin/users/:mobile/status"
|
||||
params:
|
||||
- name: mobile
|
||||
value: "09109242665"
|
||||
type: path
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"product_id": 1
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,25 @@
|
||||
info:
|
||||
name: Unsub a User
|
||||
type: http
|
||||
seq: 8
|
||||
|
||||
http:
|
||||
method: DELETE
|
||||
url: "{{baseUrl}}/admin/users/:email/status"
|
||||
params:
|
||||
- name: email
|
||||
value: admin@gmail.com
|
||||
type: path
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"product_id": 1
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,39 @@
|
||||
info:
|
||||
name: Update Profile Admin
|
||||
type: http
|
||||
seq: 10
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/admin/users/:mobile/profile"
|
||||
params:
|
||||
- name: mobile
|
||||
value: ""
|
||||
type: path
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: first_name
|
||||
type: text
|
||||
value: test1
|
||||
- name: last_name
|
||||
type: text
|
||||
value: test
|
||||
- name: email
|
||||
type: text
|
||||
value: amir.m.t1234@gmail.com
|
||||
- name: mobile
|
||||
type: text
|
||||
value: "09109242665"
|
||||
- name: avatar
|
||||
type: file
|
||||
value:
|
||||
- /home/amirmohammad/Desktop/Vada/Photoes/download1.jpeg
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Admin
|
||||
type: folder
|
||||
seq: 3
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
Reference in New Issue
Block a user