Compare commits
2
Commits
22c27b6686
...
0f4e86c9e1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
0f4e86c9e1 | ||
|
|
b243ec3c0b |
@@ -1,7 +1,7 @@
|
||||
meta {
|
||||
name: Get Payment Gateway
|
||||
type: http
|
||||
seq: 13
|
||||
seq: 12
|
||||
}
|
||||
|
||||
post {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: breath exercise
|
||||
seq: 3
|
||||
seq: 2
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: delete chat topic
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{baseUrl}}/chat-topics/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: chat topics
|
||||
seq: 23
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: get chat topic
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/chat-topics/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: get chat topics
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/chat-topics
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
meta {
|
||||
name: store chat topic
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/chat-topics
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "هیچ راه واحدی برای مدیتیشن وجود ندارد",
|
||||
"description": null,
|
||||
"order": 1,
|
||||
"is_active": true
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
meta {
|
||||
name: update chat topic
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{baseUrl}}/chat-topics/:id
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "هیچ راه واحدی برای مدیتیشن وجود ندارد",
|
||||
"order": 2,
|
||||
"is_active": true
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: comment
|
||||
seq: 17
|
||||
seq: 16
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
meta {
|
||||
name: http://127.0.0.1:8000/api/chat
|
||||
type: http
|
||||
seq: 14
|
||||
seq: 13
|
||||
}
|
||||
|
||||
post {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: image
|
||||
seq: 10
|
||||
seq: 9
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: delete background sound
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{baseUrl}}/background-sounds/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: background sounds
|
||||
seq: 4
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: get background sound
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/background-sounds/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: get background sounds
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/background-sounds
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
meta {
|
||||
name: store background sound
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/background-sounds
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
name: جنگل
|
||||
order: 1
|
||||
is_active: 1
|
||||
sound: @file(C:\Users\vada\Downloads\forest.mp3)
|
||||
~image: @file()
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
meta {
|
||||
name: update background sound
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/background-sounds/:id
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
name: دریا
|
||||
order: 2
|
||||
is_active: 1
|
||||
~sound: @file()
|
||||
~image: @file()
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: delete bell sound
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{baseUrl}}/bell-sounds/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: bell sounds
|
||||
seq: 3
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: get bell sound
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/bell-sounds/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: get bell sounds
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/bell-sounds
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
meta {
|
||||
name: store bell sound
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/bell-sounds
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
name: بلوک چوبی
|
||||
order: 1
|
||||
is_active: 1
|
||||
sound: @file(C:\Users\vada\Downloads\BELLDoor_Doorbell 6 (ID 2365)_BigSoundBank.com.wav)
|
||||
~image: @file()
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
meta {
|
||||
name: update bell sound
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/bell-sounds/:id
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
name: ساکیا (Sakya)
|
||||
order: 2
|
||||
is_active: 1
|
||||
~sound: @file()
|
||||
~image: @file()
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: insight timer
|
||||
seq: 22
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: delete preset
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{baseUrl}}/timer-presets/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: presets
|
||||
seq: 2
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: get preset
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/timer-presets/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: get presets
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/timer-presets
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
meta {
|
||||
name: store preset
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/timer-presets
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "تایمر برای یوگا روزانه",
|
||||
"duration_seconds": 150,
|
||||
"start_bell_id": 1,
|
||||
"end_bell_id": 2,
|
||||
"interval_bell_id": 1,
|
||||
"interval_seconds": 20,
|
||||
"interval_repeat": 7,
|
||||
"background_sound_id": 1,
|
||||
"background_image_id": 1,
|
||||
"volume": 16
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,28 @@
|
||||
meta {
|
||||
name: update preset
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{baseUrl}}/timer-presets/:id
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"name": "تایمر برای یوگا روزانه",
|
||||
"duration_seconds": 300,
|
||||
"volume": 40
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: timer options
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/timer/options
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: leader board
|
||||
seq: 8
|
||||
seq: 7
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: like
|
||||
seq: 19
|
||||
seq: 18
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
@@ -4,12 +4,23 @@ meta {
|
||||
seq: 3
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{baseUrl}}/categories
|
||||
body: none
|
||||
post {
|
||||
url: {{baseUrl}}/categories/:id
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
name: کودکان
|
||||
description: دستهبندی محتوای کودکان
|
||||
~icon: @file()
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
@@ -12,6 +12,8 @@ post {
|
||||
|
||||
body:multipart-form {
|
||||
name: کودکان
|
||||
description: دستهبندی محتوای کودکان
|
||||
~icon: @file()
|
||||
}
|
||||
|
||||
settings {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: media
|
||||
seq: 12
|
||||
seq: 11
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: media play
|
||||
seq: 12
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: popular media
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/media/popular
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: recently-played
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/media/recently-played
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: start media
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/media/:id/play
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -6,7 +6,7 @@ meta {
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/media
|
||||
body: json
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ body:json {
|
||||
"caption": "مدیتیشنی قدرتمند برای فعالسازی ارتعاش موفقیت، تقویت باورهای مثبت، رهایی از ترسها و هماهنگ شدن با مسیر تحقق اهداف. مناسب برای افرادی که میخواهند با انرژی و اعتماد کامل به سمت موفقیت حرکت کنند.",
|
||||
"type": "video",
|
||||
"category_ids": [1,2],
|
||||
"subcategory_ids":[1و2],
|
||||
"subcategory_ids":[12],
|
||||
"category_name": "موفقیت و انگیزشی",
|
||||
"duration": 10,
|
||||
"file": null,
|
||||
|
||||
@@ -17,6 +17,7 @@ params:query {
|
||||
body:multipart-form {
|
||||
category_id: 2
|
||||
name: کودک و نوجوان
|
||||
description: زیرمجموعه محتوای کودک و نوجوان
|
||||
}
|
||||
|
||||
settings {
|
||||
|
||||
@@ -16,7 +16,8 @@ params:path {
|
||||
|
||||
body:json {
|
||||
{
|
||||
"category_id":2
|
||||
"category_id":2,
|
||||
"description":"زیرمجموعه محتوای کودک و نوجوان"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -22,6 +22,8 @@ body:json {
|
||||
|
||||
body:multipart-form {
|
||||
~is_premium: true
|
||||
~image: @file()
|
||||
~image_id: 1
|
||||
}
|
||||
|
||||
settings {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: mood
|
||||
seq: 5
|
||||
seq: 4
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: profile
|
||||
seq: 4
|
||||
seq: 3
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: questions
|
||||
seq: 7
|
||||
seq: 6
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: ratings
|
||||
seq: 16
|
||||
seq: 15
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: save
|
||||
seq: 18
|
||||
seq: 17
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: delete scene
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{baseUrl}}/scenes/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id:
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: settings
|
||||
seq: 21
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: get scenes
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/scenes
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: scene-settings
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/scene-settings
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
meta {
|
||||
name: store scenes
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/scenes
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
name: موجهای دریا
|
||||
order: 1
|
||||
is_active: 1
|
||||
image: @file(C:\Users\vada\Downloads\bale-border.png)
|
||||
~video: @file()
|
||||
~sound: @file()
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,25 @@
|
||||
meta {
|
||||
name: update scene-settings
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{baseUrl}}/scene-settings
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"active_scene_id" : 3,
|
||||
"scene_volume" : 40,
|
||||
"background_play_seconds" : 30,
|
||||
"video_enabled" : false
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,19 @@
|
||||
meta {
|
||||
name: update scene
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/scenes/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id:
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: slider
|
||||
seq: 9
|
||||
seq: 8
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: slider_1
|
||||
seq: 11
|
||||
seq: 10
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: suggest-media-test
|
||||
seq: 20
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: suggested-media
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/survey-questions/suggested-media
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: admin analytics
|
||||
type: http
|
||||
seq: 7
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/admin/survey-questions/:id/analytics
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 2
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: admin show
|
||||
type: http
|
||||
seq: 6
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/admin/survey-questions/2
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,31 @@
|
||||
meta {
|
||||
name: answer
|
||||
type: http
|
||||
seq: 5
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/survey-questions/:id/answer
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 2
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"option_ids": [8,9,10]
|
||||
}
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
" option_ids[0]": 4
|
||||
" option_ids[1]": 5
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
meta {
|
||||
name: delete
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{baseUrl}}/survey-questions/:id
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 2
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
|
||||
"options": [
|
||||
{
|
||||
"label": "Laravel"
|
||||
},
|
||||
{
|
||||
"label": "React.js"
|
||||
|
||||
},
|
||||
{
|
||||
"label": "Vue.js"
|
||||
},
|
||||
{
|
||||
"label": "Django"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: survey-question
|
||||
seq: 19
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: get survay
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/survey-questions/2
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,49 @@
|
||||
meta {
|
||||
name: store survay
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/survey-questions
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"question": "Which frameworks have you worked with?",
|
||||
"description": "Select all that apply",
|
||||
"type": "multiple",
|
||||
"order": 2,
|
||||
"is_active": true,
|
||||
"options": [
|
||||
{
|
||||
"label": "Laravel"
|
||||
},
|
||||
{
|
||||
"label": "React"
|
||||
},
|
||||
{
|
||||
"label": "Vue.js"
|
||||
},
|
||||
{
|
||||
"label": "Django"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
question: سلام چطوری؟
|
||||
type: multiple @contentType(single,multiple)
|
||||
is_active: true
|
||||
options.[1].label: خوب
|
||||
~description:
|
||||
~order:
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -0,0 +1,41 @@
|
||||
meta {
|
||||
name: update
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
put {
|
||||
url: {{baseUrl}}/survey-questions/:id
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 2
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
|
||||
"options": [
|
||||
{
|
||||
"label": "Laravel"
|
||||
},
|
||||
{
|
||||
"label": "React.js"
|
||||
|
||||
},
|
||||
{
|
||||
"label": "Vue.js"
|
||||
},
|
||||
{
|
||||
"label": "Django"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
+1
-1
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: track
|
||||
seq: 15
|
||||
seq: 14
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
meta {
|
||||
name: update music (image)
|
||||
type: http
|
||||
seq: 9
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{baseUrl}}/music/:id
|
||||
body: multipartForm
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
id: 1
|
||||
}
|
||||
|
||||
body:multipart-form {
|
||||
_method: PUT
|
||||
~title: Ocean Wave
|
||||
~image_id: 1
|
||||
image: @file(C:\Users\vada\Downloads\cover.jpg)
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -18,6 +18,7 @@ body:multipart-form {
|
||||
type: public
|
||||
~duration:
|
||||
~image_id:
|
||||
~image: @file()
|
||||
}
|
||||
|
||||
settings {
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
meta {
|
||||
name: worry box
|
||||
seq: 6
|
||||
seq: 5
|
||||
}
|
||||
|
||||
auth {
|
||||
|
||||
Reference in New Issue
Block a user