feat: feature save
This commit is contained in:
@@ -5,13 +5,13 @@ meta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
url: {{baseUrl}}/auth/login-with-approo-v2?token=9820|1Uj3mqtmMJTsZhrvjZzZWEYe4l5cJKFhhnJ7yyis2997596a&package_name=com.approagency.meditation
|
url: {{baseUrl}}/auth/login-with-approo-v2?token=9832|2wPsQYwJnVbnpNhTGb6iLsNI5QZF9nBKgc958KhM31cb340b&package_name=com.approagency.meditation
|
||||||
body: multipartForm
|
body: multipartForm
|
||||||
auth: inherit
|
auth: inherit
|
||||||
}
|
}
|
||||||
|
|
||||||
params:query {
|
params:query {
|
||||||
token: 9820|1Uj3mqtmMJTsZhrvjZzZWEYe4l5cJKFhhnJ7yyis2997596a
|
token: 9832|2wPsQYwJnVbnpNhTGb6iLsNI5QZF9nBKgc958KhM31cb340b
|
||||||
package_name: com.approagency.meditation
|
package_name: com.approagency.meditation
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -11,7 +11,7 @@ auth:bearer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
vars:pre-request {
|
vars:pre-request {
|
||||||
token: 1|jqjPftHgbnlnNuq2tpn2W9ljvNQq5Nec8gmUZTxa7cef13f0
|
token: 2|R4o9vdBCpGw3OBJ0WhcXJbUqI2lN0eukR6oKR9BWed163edf
|
||||||
baseUrl: http://localhost:8000/api
|
baseUrl: http://localhost:8000/api
|
||||||
~baseUrl: https://meditation.approagency.ir/api
|
~baseUrl: https://meditation.approagency.ir/api
|
||||||
~baseUrl:
|
~baseUrl:
|
||||||
|
|||||||
+3
-3
@@ -5,18 +5,18 @@ meta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
get {
|
get {
|
||||||
url: {{baseUrl}}/media?categories=1&durations=3-6
|
url: {{baseUrl}}/media/filters
|
||||||
body: none
|
body: none
|
||||||
auth: inherit
|
auth: inherit
|
||||||
}
|
}
|
||||||
|
|
||||||
params:query {
|
params:query {
|
||||||
categories: 1
|
~categories: 1
|
||||||
durations: 3-6
|
|
||||||
~tags: relax,sleep
|
~tags: relax,sleep
|
||||||
~search:
|
~search:
|
||||||
}
|
}
|
||||||
|
|
||||||
settings {
|
settings {
|
||||||
encodeUrl: true
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1,21 @@
|
|||||||
|
meta {
|
||||||
|
name: check
|
||||||
|
type: http
|
||||||
|
seq: 4
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
url: {{baseUrl}}/saves/check
|
||||||
|
body: multipartForm
|
||||||
|
auth: inherit
|
||||||
|
}
|
||||||
|
|
||||||
|
body:multipart-form {
|
||||||
|
type:
|
||||||
|
id:
|
||||||
|
}
|
||||||
|
|
||||||
|
settings {
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
}
|
||||||
@@ -0,0 +1,16 @@
|
|||||||
|
meta {
|
||||||
|
name: delete | unsave
|
||||||
|
type: http
|
||||||
|
seq: 3
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
url: {{baseUrl}}/saves/unsave
|
||||||
|
body: none
|
||||||
|
auth: inherit
|
||||||
|
}
|
||||||
|
|
||||||
|
settings {
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
}
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
meta {
|
||||||
|
name: save
|
||||||
|
seq: 17
|
||||||
|
}
|
||||||
|
|
||||||
|
auth {
|
||||||
|
mode: inherit
|
||||||
|
}
|
||||||
@@ -0,0 +1,20 @@
|
|||||||
|
meta {
|
||||||
|
name: get-save-items
|
||||||
|
type: http
|
||||||
|
seq: 2
|
||||||
|
}
|
||||||
|
|
||||||
|
get {
|
||||||
|
url: {{baseUrl}}/saves/my-saved?type=music
|
||||||
|
body: none
|
||||||
|
auth: inherit
|
||||||
|
}
|
||||||
|
|
||||||
|
params:query {
|
||||||
|
type: music
|
||||||
|
}
|
||||||
|
|
||||||
|
settings {
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
meta {
|
||||||
|
name: save item
|
||||||
|
type: http
|
||||||
|
seq: 1
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
url: {{baseUrl}}/saves/save
|
||||||
|
body: multipartForm
|
||||||
|
auth: inherit
|
||||||
|
}
|
||||||
|
|
||||||
|
body:multipart-form {
|
||||||
|
type: music @contentType(music,media,breathing-template)
|
||||||
|
id: 1
|
||||||
|
}
|
||||||
|
|
||||||
|
settings {
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
}
|
||||||
@@ -0,0 +1,21 @@
|
|||||||
|
meta {
|
||||||
|
name: toggle
|
||||||
|
type: http
|
||||||
|
seq: 5
|
||||||
|
}
|
||||||
|
|
||||||
|
post {
|
||||||
|
url: {{baseUrl}}/saves/toggle
|
||||||
|
body: multipartForm
|
||||||
|
auth: inherit
|
||||||
|
}
|
||||||
|
|
||||||
|
body:multipart-form {
|
||||||
|
type: music @contentType(music,media,breathing-template)
|
||||||
|
id: 1
|
||||||
|
}
|
||||||
|
|
||||||
|
settings {
|
||||||
|
encodeUrl: true
|
||||||
|
timeout: 0
|
||||||
|
}
|
||||||
@@ -11,11 +11,11 @@ post {
|
|||||||
}
|
}
|
||||||
|
|
||||||
body:multipart-form {
|
body:multipart-form {
|
||||||
title: Ocean Waves
|
title: anigze
|
||||||
artist: Nature Sounds
|
artist: pazel band
|
||||||
file: @file(C:\Users\nourk\Downloads\Telegram Desktop\Lektion 1.1.mp4)
|
file: @file(C:\Users\nourk\Downloads\Music\Sepatifay.mp3)
|
||||||
playlist_id: 2
|
playlist_id: 2
|
||||||
~type: public
|
type: public
|
||||||
~duration:
|
~duration:
|
||||||
~image_id:
|
~image_id:
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -5,15 +5,15 @@ meta {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post {
|
post {
|
||||||
url: {{baseUrl}}/music-playlists?category_id=1&subcategory_id=1&name=انگیزشی هایپ 2
|
url: {{baseUrl}}/music-playlists?category_id=1&subcategory_id=2&name=انگیزشی هایپ 3
|
||||||
body: none
|
body: none
|
||||||
auth: inherit
|
auth: inherit
|
||||||
}
|
}
|
||||||
|
|
||||||
params:query {
|
params:query {
|
||||||
category_id: 1
|
category_id: 1
|
||||||
subcategory_id: 1
|
subcategory_id: 2
|
||||||
name: انگیزشی هایپ 2
|
name: انگیزشی هایپ 3
|
||||||
~description: Music for deep sleep
|
~description: Music for deep sleep
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -12,10 +12,10 @@ post {
|
|||||||
|
|
||||||
body:multipart-form {
|
body:multipart-form {
|
||||||
category_id: 1
|
category_id: 1
|
||||||
name: انگیزشی 1
|
name: انگیزشی 2
|
||||||
|
order: 1
|
||||||
~description:
|
~description:
|
||||||
~image_id:
|
~image_id:
|
||||||
~order:
|
|
||||||
~is_active:
|
~is_active:
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user