feat:add new

This commit is contained in:
2026-06-03 20:14:20 +03:30
parent b243ec3c0b
commit 0f4e86c9e1
41 changed files with 663 additions and 8 deletions
@@ -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
}