feat: feature save

This commit is contained in:
2026-05-23 01:26:54 +03:30
parent 7b237f1a13
commit 8d32a9220f
12 changed files with 122 additions and 15 deletions
+2 -2
View File
@@ -5,13 +5,13 @@ meta {
}
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
auth: inherit
}
params:query {
token: 9820|1Uj3mqtmMJTsZhrvjZzZWEYe4l5cJKFhhnJ7yyis2997596a
token: 9832|2wPsQYwJnVbnpNhTGb6iLsNI5QZF9nBKgc958KhM31cb340b
package_name: com.approagency.meditation
}
+1 -1
View File
@@ -11,7 +11,7 @@ auth:bearer {
}
vars:pre-request {
token: 1|jqjPftHgbnlnNuq2tpn2W9ljvNQq5Nec8gmUZTxa7cef13f0
token: 2|R4o9vdBCpGw3OBJ0WhcXJbUqI2lN0eukR6oKR9BWed163edf
baseUrl: http://localhost:8000/api
~baseUrl: https://meditation.approagency.ir/api
~baseUrl:
+3 -3
View File
@@ -5,18 +5,18 @@ meta {
}
get {
url: {{baseUrl}}/media?categories=1&durations=3-6
url: {{baseUrl}}/media/filters
body: none
auth: inherit
}
params:query {
categories: 1
durations: 3-6
~categories: 1
~tags: relax,sleep
~search:
}
settings {
encodeUrl: true
timeout: 0
}
+21
View File
@@ -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
}
+16
View File
@@ -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
}
+8
View File
@@ -0,0 +1,8 @@
meta {
name: save
seq: 17
}
auth {
mode: inherit
}
+20
View File
@@ -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
}
+21
View File
@@ -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
}
+21
View File
@@ -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
}
+4 -4
View File
@@ -11,11 +11,11 @@ post {
}
body:multipart-form {
title: Ocean Waves
artist: Nature Sounds
file: @file(C:\Users\nourk\Downloads\Telegram Desktop\Lektion 1.1.mp4)
title: anigze
artist: pazel band
file: @file(C:\Users\nourk\Downloads\Music\Sepatifay.mp3)
playlist_id: 2
~type: public
type: public
~duration:
~image_id:
}
+3 -3
View File
@@ -5,15 +5,15 @@ meta {
}
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
auth: inherit
}
params:query {
category_id: 1
subcategory_id: 1
name: انگیزشی هایپ 2
subcategory_id: 2
name: انگیزشی هایپ 3
~description: Music for deep sleep
}
+2 -2
View File
@@ -12,10 +12,10 @@ post {
body:multipart-form {
category_id: 1
name: انگیزشی 1
name: انگیزشی 2
order: 1
~description:
~image_id:
~order:
~is_active:
}