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
+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
}