feat: initialize

This commit is contained in:
2026-05-19 19:25:56 +03:30
commit 54ffdd060e
78 changed files with 1583 additions and 0 deletions
@@ -0,0 +1,19 @@
meta {
name: delete-breath-templates
type: http
seq: 6
}
delete {
url: {{baseUrl}}/breathing-templates/:id
body: none
auth: inherit
}
params:path {
id: 11
}
settings {
encodeUrl: true
}
+35
View File
@@ -0,0 +1,35 @@
meta {
name: edit-template
type: http
seq: 2
}
put {
url: {{baseUrl}}/breathing-templates/:id
body: json
auth: inherit
}
params:path {
id: 13
}
headers {
~Content-Type: application/json
}
body:json {
{
"name": "استرس شخصی",
"inhale":4,
"exhale":3,
"breath_hold":5,
"duration":45,
"description":"asdsadaasdas",
"image_id":3
}
}
settings {
encodeUrl: true
}
+8
View File
@@ -0,0 +1,8 @@
meta {
name: breath exercise
seq: 2
}
auth {
mode: inherit
}
+15
View File
@@ -0,0 +1,15 @@
meta {
name: get-all-template
type: http
seq: 3
}
get {
url: {{baseUrl}}/breathing-templates
body: none
auth: inherit
}
settings {
encodeUrl: true
}
+15
View File
@@ -0,0 +1,15 @@
meta {
name: get-user-sessions
type: http
seq: 7
}
get {
url: {{baseUrl}}/breathing-sessions
body: none
auth: inherit
}
settings {
encodeUrl: true
}
+15
View File
@@ -0,0 +1,15 @@
meta {
name: get-user-template
type: http
seq: 5
}
get {
url: {{baseUrl}}/user-templates
body: none
auth: inherit
}
settings {
encodeUrl: true
}
+20
View File
@@ -0,0 +1,20 @@
meta {
name: store-breath-exercise
type: http
seq: 4
}
post {
url: {{baseUrl}}/breathing-complete?template_id=10&duration=20
body: none
auth: inherit
}
params:query {
template_id: 10
duration: 20
}
settings {
encodeUrl: true
}
+22
View File
@@ -0,0 +1,22 @@
meta {
name: store-template
type: http
seq: 1
}
post {
url: {{baseUrl}}/breathing-templates
body: multipartForm
auth: inherit
}
body:multipart-form {
name: مدیریت استرس شخصی
inhale: 8
exhale: 3
breath_hold: 4
}
settings {
encodeUrl: true
}