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
|
||||
@@ -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
|
||||
@@ -0,0 +1,33 @@
|
||||
info:
|
||||
name: Cafe Login
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: https://pardakht.cafebazaar.ir/devapi/v2/auth/token/
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: grant_type
|
||||
type: text
|
||||
value: authorization_code
|
||||
- name: code
|
||||
type: text
|
||||
value: sz6gWR67oLB89ATd0HygU97aMF7CJB
|
||||
- name: client_id
|
||||
type: text
|
||||
value: CuVgv3jUHhrJO0qi2InMzJiB9d51aX42T0cMm6Nv
|
||||
- name: client_secret
|
||||
type: text
|
||||
value: t1Go90qbL2KoS0Q7hZdVk2NkAs2MwyC8gqHy5ATr2Nh35cfnJTa4MYP1iqrt
|
||||
- name: redirect_uri
|
||||
type: text
|
||||
value: https://www.google.com/
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,28 @@
|
||||
info:
|
||||
name: Get Cafe Code
|
||||
type: http
|
||||
seq: 5
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: https://pardakht.cafebazaar.ir/devapi/v2/auth/authorize/?response_type=code&access_type=offline&redirect_uri=https://www.google.com/&client_id=CuVgv3jUHhrJO0qi2InMzJiB9d51aX42T0cMm6Nv
|
||||
params:
|
||||
- name: response_type
|
||||
value: code
|
||||
type: query
|
||||
- name: access_type
|
||||
value: offline
|
||||
type: query
|
||||
- name: redirect_uri
|
||||
value: https://www.google.com/
|
||||
type: query
|
||||
- name: client_id
|
||||
value: CuVgv3jUHhrJO0qi2InMzJiB9d51aX42T0cMm6Nv
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,15 @@
|
||||
info:
|
||||
name: Get Cafe Configs
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/cafe-configs"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,30 @@
|
||||
info:
|
||||
name: Store Cafe Configs
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/cafe-configs"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: client_id
|
||||
type: text
|
||||
value: dsaddsasad
|
||||
- name: client_secret
|
||||
type: text
|
||||
value: dsaddsasad
|
||||
- name: access_token
|
||||
type: text
|
||||
value: dsaddsasad
|
||||
- name: refresh_token
|
||||
type: text
|
||||
value: dsaddsasad
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,34 @@
|
||||
info:
|
||||
name: Update Cafe Configs
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/cafe-configs/:id"
|
||||
params:
|
||||
- name: id
|
||||
value: "1"
|
||||
type: path
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: client_id
|
||||
type: text
|
||||
value: CuVgv3jUHhrJO0qi2InMzJiB9d51aX42T0cMm6Nv
|
||||
- name: client_secret
|
||||
type: text
|
||||
value: t1Go90qbL2KoS0Q7hZdVk2NkAs2MwyC8gqHy5ATr2Nh35cfnJTa4MYP1iqrt
|
||||
- name: access_token
|
||||
type: text
|
||||
value: eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE2OTA4Njg4NjIsInVzZXJfaWQiOjUyNzIzNjI0LCJzY29wZXMiOlsiYW5kcm9pZHB1Ymxpc2hlciJdfQ.EGozfw4C4r5dq7vWnWK5oP8D7wWY8rc7QMsoGay7IU0skQWk26bW0SKoZu_4qRYYVmZ9zz_TkhNsRiFLUsTbPEn5LuvTlfoHLqztbPJy_7cLTGloeMERYXxtx6eQMxWLCLNpYGtx2H9WJZjz1XmpKUJHv884CWCxu98jVLRsxASJJ4fOsGO0CSGT9geApb-mFVkFZlzv7KQK4OA7TiOGSDImU0CDps2h5RF12v36i3kf5pgBeYz_Owyk4IF1lVrx086xZDPI-kycCllIOxQOY5l9gCBR2JlBPipfczAGT-dDSdcs-7BAKLaUWwR_IIMpqdxYFEUEQDudADZMzp7-OijTVmHxa7h-iEvjd4DyoNmTsip6ndGSUb8N4g7cztDyup3Lv7RobO3_DEw5Gx0t-zkcIWVYkkp3ObsO_zICWlhfmWoCh_LdXK_S6xd_rNW6ksnsF56ma1u_LlvyYrTJL_BGdJesIBhqECZGjeTtmHmiQqWX2fdV3qwVlM2bBBTDkBcQkSxGPiXo2j5GwvkAqinE3_HnPuRyQ-UPiXZw0aRvL6M06WkGs8IsDxETtd2Kb7bnvDu3T-K4b5LI4zzbgdScYdRL2RI_5bb7LkDuRTMGhuKYSBNTJGaT2rPNTx2rRvea2N7uKkfgtKz8JD_K1hb-4tBxrEBzv7ALFsbkC5Y
|
||||
- name: refresh_token
|
||||
type: text
|
||||
value: GVL9SFUtdcJL7p6257KFNE9Ri7BH70
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Cafe Configs
|
||||
type: folder
|
||||
seq: 6
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,28 @@
|
||||
info:
|
||||
name: Get Payment Gateway
|
||||
type: http
|
||||
seq: 11
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/zarinpal/gateway"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: description
|
||||
type: text
|
||||
value: rwesdfasa
|
||||
- name: product_id
|
||||
type: text
|
||||
value: "22"
|
||||
- name: platform
|
||||
type: text
|
||||
value: mobile
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: Get Paid Status V1
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/paid-status-v1?package_name=hamrah.mechanic"
|
||||
params:
|
||||
- name: package_name
|
||||
value: hamrah.mechanic
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: Get Status V2
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/status?package_name=com.approagency.ai"
|
||||
params:
|
||||
- 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 Transactions
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/transactions?per_page=50"
|
||||
params:
|
||||
- name: per_page
|
||||
value: "50"
|
||||
type: query
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: Try
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: PUT
|
||||
url: "{{baseUrl}}/package-names/:name/try"
|
||||
params:
|
||||
- name: name
|
||||
value: ""
|
||||
type: path
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Info
|
||||
type: folder
|
||||
seq: 5
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,52 @@
|
||||
info:
|
||||
name: Create Package Name
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/package-names"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: name
|
||||
type: text
|
||||
value: com.approagency.voiceChanger
|
||||
description: unique package name
|
||||
- name: v1_identifier
|
||||
type: text
|
||||
value: 1c9d041da1dcab99ff393c4b01fafaa32
|
||||
description: v1 package name id
|
||||
disabled: true
|
||||
- name: title
|
||||
type: text
|
||||
value: تغییر صدا
|
||||
- name: avatar
|
||||
type: file
|
||||
value:
|
||||
- /home/amirmohammad/Desktop/Vada/Photoes/download1.jpeg
|
||||
disabled: true
|
||||
- name: cafe_config_id
|
||||
type: text
|
||||
value: "1"
|
||||
description: from cafe config folder get cafe configs
|
||||
disabled: true
|
||||
- name: myket_access_token
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: web_app_url
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: firebase_json
|
||||
type: file
|
||||
value: []
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,15 @@
|
||||
info:
|
||||
name: Get Package Names
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/package-names/"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,50 @@
|
||||
info:
|
||||
name: Update Package Name
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/package-names/:name"
|
||||
params:
|
||||
- name: name
|
||||
value: com.approagency.ai
|
||||
type: path
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: title
|
||||
type: text
|
||||
value: آرام لند
|
||||
- name: v1_identifier
|
||||
type: text
|
||||
value: 1c9d041da1dcab99ff393c4b01fafaa32
|
||||
disabled: true
|
||||
- name: avatar
|
||||
type: file
|
||||
value:
|
||||
- /home/amirmohammad/Desktop/Vada/Photoes/download1.jpeg
|
||||
disabled: true
|
||||
- name: cafe_config_id
|
||||
type: text
|
||||
value: "1"
|
||||
disabled: true
|
||||
- name: myket_access_token
|
||||
type: text
|
||||
value: c1885da0-e96c-4e1c-855e-2d2c4c997436
|
||||
disabled: true
|
||||
- name: web_app_url
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: firebase_json
|
||||
type: file
|
||||
value:
|
||||
- /C:/Users/nourk/Downloads/meditation-4c9b4-e44fe2b8b4e8.json
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Package Name
|
||||
type: folder
|
||||
seq: 1
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,41 @@
|
||||
info:
|
||||
name: Create Product
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/package-names/:name/products"
|
||||
params:
|
||||
- name: name
|
||||
value: com.approagency.ai
|
||||
type: path
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: title
|
||||
type: text
|
||||
value: اشتراک سالانه
|
||||
- name: price
|
||||
type: text
|
||||
value: "200000"
|
||||
description: toman
|
||||
- name: type
|
||||
type: text
|
||||
value: "2"
|
||||
description: |-
|
||||
permanent' => 1,
|
||||
yearly' => 2,
|
||||
6monthl' => 3,
|
||||
'monthly' => 4
|
||||
- name: descriptions[0]
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,22 @@
|
||||
info:
|
||||
name: Delete Product
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: DELETE
|
||||
url: "{{baseUrl}}/package-names/:name/products/:product_id"
|
||||
params:
|
||||
- name: name
|
||||
value: com.vada.karvarz
|
||||
type: path
|
||||
- name: product_id
|
||||
value: ""
|
||||
type: path
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: Get Products
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/package-names/:name/products"
|
||||
params:
|
||||
- name: name
|
||||
value: com.approagency.meditation
|
||||
type: path
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,29 @@
|
||||
info:
|
||||
name: Subscribe To Products
|
||||
type: http
|
||||
seq: 5
|
||||
|
||||
http:
|
||||
method: PUT
|
||||
url: "{{baseUrl}}/package-names/:name/products/:product_id/subscribe"
|
||||
params:
|
||||
- name: name
|
||||
value: hamrah.mechanic
|
||||
type: path
|
||||
- name: product_id
|
||||
value: "1"
|
||||
type: path
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"purchase_token": "aolXNLJkZ4HtgUXA",
|
||||
"gateway": "myket"
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,30 @@
|
||||
info:
|
||||
name: Update Product
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: PATCH
|
||||
url: "{{baseUrl}}/package-names/:name/products/:product_id"
|
||||
params:
|
||||
- name: name
|
||||
value: com.approagency.meditation
|
||||
type: path
|
||||
- name: product_id
|
||||
value: "1"
|
||||
type: path
|
||||
body:
|
||||
type: json
|
||||
data: |-
|
||||
{
|
||||
"title": "اشتراک ماهانه",
|
||||
"price": 1000,
|
||||
"type": 4
|
||||
}
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Product
|
||||
type: folder
|
||||
seq: 2
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: Delete Reminders
|
||||
type: http
|
||||
seq: 5
|
||||
|
||||
http:
|
||||
method: DELETE
|
||||
url: "{{baseUrl}}/reminders/:id"
|
||||
params:
|
||||
- name: id
|
||||
value: ""
|
||||
type: path
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,15 @@
|
||||
info:
|
||||
name: Get Reminders
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/reminders"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,37 @@
|
||||
info:
|
||||
name: Show Reminders
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/reminders/:id"
|
||||
params:
|
||||
- name: id
|
||||
value: ""
|
||||
type: path
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: grant_type
|
||||
type: text
|
||||
value: authorization_code
|
||||
- name: code
|
||||
type: text
|
||||
value: sz6gWR67oLB89ATd0HygU97aMF7CJB
|
||||
- name: client_id
|
||||
type: text
|
||||
value: CuVgv3jUHhrJO0qi2InMzJiB9d51aX42T0cMm6Nv
|
||||
- name: client_secret
|
||||
type: text
|
||||
value: t1Go90qbL2KoS0Q7hZdVk2NkAs2MwyC8gqHy5ATr2Nh35cfnJTa4MYP1iqrt
|
||||
- name: redirect_uri
|
||||
type: text
|
||||
value: https://www.google.com/
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,43 @@
|
||||
info:
|
||||
name: Store Reminders
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/reminders"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: title
|
||||
type: text
|
||||
value: TEST 1 DAYS LAST
|
||||
- name: description
|
||||
type: text
|
||||
value: تست 1 روز یکبار
|
||||
- name: data[]
|
||||
type: text
|
||||
value: dsaddsasad
|
||||
disabled: true
|
||||
- name: package_name
|
||||
type: text
|
||||
value: com.approagency.meditation
|
||||
- name: repeatable
|
||||
type: text
|
||||
value: "1"
|
||||
- name: repeat_days
|
||||
type: text
|
||||
value: "1"
|
||||
- name: time
|
||||
type: text
|
||||
value: 2025-12-16 15:48:25.253
|
||||
- name: type
|
||||
type: text
|
||||
value: reminder
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,35 @@
|
||||
info:
|
||||
name: Update Reminders
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: PATCH
|
||||
url: "{{baseUrl}}/reminders/:reminder"
|
||||
headers:
|
||||
- name: Content-Type
|
||||
value: application/json
|
||||
- name: Accept
|
||||
value: application/json
|
||||
params:
|
||||
- name: reminder
|
||||
value: "27"
|
||||
type: path
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"package_name\":\"com.approagency.meditation\",\r
|
||||
|
||||
\ \"time\":\"2025-12-16 15:35:25.253\",\r
|
||||
|
||||
\ \"type\":\"reminder\"\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Reminders
|
||||
type: folder
|
||||
seq: 7
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,24 @@
|
||||
info:
|
||||
name: Charge Wallet
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/wallet"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: amount
|
||||
type: text
|
||||
value: "5000"
|
||||
- name: authority
|
||||
type: text
|
||||
value: dasdsadsa
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,15 @@
|
||||
info:
|
||||
name: Get Wallet
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/wallet"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: Wallet
|
||||
type: folder
|
||||
seq: 4
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,49 @@
|
||||
opencollection: 1.0.0
|
||||
|
||||
info:
|
||||
name: approagency
|
||||
config:
|
||||
proxy:
|
||||
inherit: true
|
||||
config:
|
||||
protocol: http
|
||||
hostname: ""
|
||||
port: ""
|
||||
auth:
|
||||
username: ""
|
||||
password: ""
|
||||
bypassProxy: ""
|
||||
|
||||
request:
|
||||
auth:
|
||||
type: bearer
|
||||
token: "{{token}}"
|
||||
variables:
|
||||
- name: baseUrl
|
||||
value: http://localhost:8000/api
|
||||
disabled: true
|
||||
- name: token
|
||||
value: https://api.approagency.ir
|
||||
disabled: true
|
||||
- name: baseUrl
|
||||
value: https://api.approagency.ir/api
|
||||
- name: token
|
||||
value: ""
|
||||
- name: baseUrl
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: baseUrl
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: baseUrl
|
||||
value: ""
|
||||
disabled: true
|
||||
scripts:
|
||||
- type: before-request
|
||||
code: req.setHeader("Accept", "application/json");
|
||||
bundled: false
|
||||
extensions:
|
||||
bruno:
|
||||
ignore:
|
||||
- node_modules
|
||||
- .git
|
||||
@@ -0,0 +1,22 @@
|
||||
info:
|
||||
name: delete-reminder
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: DELETE
|
||||
url: "{{baseUrl}}/package-names/:package_name/reminders/:reminder"
|
||||
params:
|
||||
- name: package_name
|
||||
value: com.approagency.ai
|
||||
type: path
|
||||
- name: reminder
|
||||
value: "16"
|
||||
type: path
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,29 @@
|
||||
info:
|
||||
name: edit-reminder
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: PUT
|
||||
url: "{{baseUrl}}/package-names/:package_name/reminders/:reminder"
|
||||
params:
|
||||
- name: package_name
|
||||
value: com.approagency.ai
|
||||
type: path
|
||||
- name: reminder
|
||||
value: "19"
|
||||
type: path
|
||||
body:
|
||||
type: json
|
||||
data: "{\r
|
||||
|
||||
\ \"time\":\"2025-12-13 18:00:00.000\"\r
|
||||
|
||||
}"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: package name reminder
|
||||
type: folder
|
||||
seq: 10
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,19 @@
|
||||
info:
|
||||
name: get-reminder
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/package-names/:package_name/reminders"
|
||||
params:
|
||||
- name: package_name
|
||||
value: com.approagency.ai
|
||||
type: path
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,41 @@
|
||||
info:
|
||||
name: store-reminder
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/package-names/:package_name/reminders"
|
||||
params:
|
||||
- name: package_name
|
||||
value: com.approagency.ai
|
||||
type: path
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: title
|
||||
type: text
|
||||
value: میدونی این اپ چی بلده؟
|
||||
- name: description
|
||||
type: text
|
||||
value: تولید متن، فال، مشاوره، پیشنهاد غذا و خیلی بیشتر
|
||||
- name: time
|
||||
type: text
|
||||
value: 2025-12-13 14:02:00.000
|
||||
- name: repeatable
|
||||
type: text
|
||||
value: "1"
|
||||
- name: repeat_days
|
||||
type: text
|
||||
value: "1"
|
||||
- name: data
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,22 @@
|
||||
info:
|
||||
name: delete-promotions
|
||||
type: http
|
||||
seq: 4
|
||||
|
||||
http:
|
||||
method: DELETE
|
||||
url: "{{baseUrl}}/promotions/:promotion"
|
||||
params:
|
||||
- name: promotion
|
||||
value: "1"
|
||||
type: path
|
||||
body:
|
||||
type: text
|
||||
data: "{\r\n \"is_active\":true\r\n}"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,7 @@
|
||||
info:
|
||||
name: promotions
|
||||
type: folder
|
||||
seq: 9
|
||||
|
||||
request:
|
||||
auth: inherit
|
||||
@@ -0,0 +1,64 @@
|
||||
info:
|
||||
name: get-promotion
|
||||
type: http
|
||||
seq: 2
|
||||
|
||||
http:
|
||||
method: GET
|
||||
url: "{{baseUrl}}/promotions/"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: type
|
||||
type: text
|
||||
value: slider
|
||||
description: slider,action,paid_app,banner
|
||||
- name: title
|
||||
type: text
|
||||
value: salam
|
||||
- name: subtitle
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: image
|
||||
type: file
|
||||
value:
|
||||
- /C:/Users/vada/Downloads/Gemini_Generated_Image_ni7ccsni7ccsni7c.png
|
||||
- name: action_text
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: url_myket
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: url_bazzar
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: url_google_play
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: url_site
|
||||
type: text
|
||||
value: ye chisi
|
||||
- name: priority
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: start_at
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: end_at
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,61 @@
|
||||
info:
|
||||
name: store-promotion
|
||||
type: http
|
||||
seq: 1
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/promotions/"
|
||||
body:
|
||||
type: multipart-form
|
||||
data:
|
||||
- name: type
|
||||
type: text
|
||||
value: slider
|
||||
description: slider,action,paid_app,banner
|
||||
- name: title
|
||||
type: text
|
||||
value: اپلیکیشن آراملند
|
||||
- name: subtitle
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: image
|
||||
type: file
|
||||
value:
|
||||
- /C:/Users/vada/Downloads/aramland_promotion.png
|
||||
- name: action_text
|
||||
type: text
|
||||
value: همین حالا نصبش کن
|
||||
- name: url_myket
|
||||
type: text
|
||||
value: https://myket.ir/app/com.approagency.meditation
|
||||
- name: url_bazzar
|
||||
type: text
|
||||
value: https://cafebazaar.ir/app/com.approagency.meditation
|
||||
- name: url_google_play
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: url_site
|
||||
type: text
|
||||
value: https://meditation.approagency.ir/web/
|
||||
- name: priority
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: start_at
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
- name: end_at
|
||||
type: text
|
||||
value: ""
|
||||
disabled: true
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
@@ -0,0 +1,22 @@
|
||||
info:
|
||||
name: update-promotion
|
||||
type: http
|
||||
seq: 3
|
||||
|
||||
http:
|
||||
method: POST
|
||||
url: "{{baseUrl}}/promotions/:promotion"
|
||||
params:
|
||||
- name: promotion
|
||||
value: "1"
|
||||
type: path
|
||||
body:
|
||||
type: text
|
||||
data: "{\r\n \"is_active\":true,\r\n}"
|
||||
auth: inherit
|
||||
|
||||
settings:
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
followRedirects: true
|
||||
maxRedirects: 5
|
||||
Reference in New Issue
Block a user