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
+27
View File
@@ -0,0 +1,27 @@
meta {
name: delete-questions-id
type: http
seq: 5
}
delete {
url: {{baseUrl}}/questions/:id
body: text
auth: inherit
}
params:path {
id: 26
}
body:text {
{
"title": "تست",
"category": "تست",
"tags": ["تست۲", "تست ۱"]
}
}
settings {
encodeUrl: true
}
+27
View File
@@ -0,0 +1,27 @@
meta {
name: edit-question
type: http
seq: 4
}
put {
url: {{baseUrl}}/questions/:id
body: json
auth: inherit
}
params:path {
id: 26
}
body:json {
{
"title": "تست",
"category": "تست",
"tags": ["تست۲", "تست ۱"]
}
}
settings {
encodeUrl: true
}
+8
View File
@@ -0,0 +1,8 @@
meta {
name: questions
seq: 6
}
auth {
mode: inherit
}
+23
View File
@@ -0,0 +1,23 @@
meta {
name: get-question-id
type: http
seq: 2
}
get {
url: {{baseUrl}}/questions/:id?id=1
body: none
auth: inherit
}
params:query {
id: 1
}
params:path {
id:
}
settings {
encodeUrl: true
}
+20
View File
@@ -0,0 +1,20 @@
meta {
name: get-questions
type: http
seq: 1
}
get {
url: {{baseUrl}}/questions/?tag=اظطراب
body: none
auth: inherit
}
params:query {
tag: اظطراب
~category:
}
settings {
encodeUrl: true
}
+15
View File
@@ -0,0 +1,15 @@
meta {
name: store-question
type: http
seq: 3
}
post {
url: {{baseUrl}}/questions/
body: multipartForm
auth: inherit
}
settings {
encodeUrl: true
}