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
}
@@ -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
}
+8
View File
@@ -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
}
+8
View File
@@ -0,0 +1,8 @@
meta {
name: insight timer
seq: 22
}
auth {
mode: inherit
}
+19
View File
@@ -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
}
+8
View File
@@ -0,0 +1,8 @@
meta {
name: presets
seq: 2
}
auth {
mode: inherit
}
+19
View File
@@ -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
}
+15
View File
@@ -0,0 +1,15 @@
meta {
name: get presets
type: http
seq: 1
}
get {
url: {{baseUrl}}/timer-presets
body: none
auth: inherit
}
settings {
encodeUrl: true
}
+31
View File
@@ -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
}
+28
View File
@@ -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
}
+16
View File
@@ -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
}