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
+19
View File
@@ -0,0 +1,19 @@
meta {
name: delete-worry
type: http
seq: 5
}
delete {
url: {{baseUrl}}/worries/:id
body: none
auth: inherit
}
params:path {
id:
}
settings {
encodeUrl: true
}
+26
View File
@@ -0,0 +1,26 @@
meta {
name: edit-worry
type: http
seq: 2
}
put {
url: {{baseUrl}}/worries/:id
body: json
auth: inherit
}
params:path {
id: 1
}
body:json {
{
"title":"مشقامو ننوشتم",
"note":"هیچی به هیچی"
}
}
settings {
encodeUrl: true
}
+8
View File
@@ -0,0 +1,8 @@
meta {
name: worry box
seq: 5
}
auth {
mode: inherit
}
+20
View File
@@ -0,0 +1,20 @@
meta {
name: get-worry
type: http
seq: 3
}
get {
url: {{baseUrl}}/worries
body: multipartForm
auth: inherit
}
body:multipart-form {
title: مشقام رو ننوشتم
note:
}
settings {
encodeUrl: true
}
+20
View File
@@ -0,0 +1,20 @@
meta {
name: store-worry
type: http
seq: 1
}
post {
url: {{baseUrl}}/worries
body: multipartForm
auth: inherit
}
body:multipart-form {
title: مشقام رو ننوشتم
note:
}
settings {
encodeUrl: true
}
+19
View File
@@ -0,0 +1,19 @@
meta {
name: toggle-worrie
type: http
seq: 4
}
patch {
url: {{baseUrl}}/worries/:id/toggle
body: none
auth: inherit
}
params:path {
id: 1
}
settings {
encodeUrl: true
}