feat: add comment more

This commit is contained in:
2026-05-20 15:53:00 +03:30
parent 3b14752f2f
commit b1dfd144fb
9 changed files with 105 additions and 7 deletions
+21
View File
@@ -0,0 +1,21 @@
meta {
name: Get all comments type by id
type: http
seq: 2
}
get {
url: {{baseUrl}}/comments/:type/:id
body: none
auth: inherit
}
params:path {
type: media
id:
}
settings {
encodeUrl: true
timeout: 0
}
+21
View File
@@ -0,0 +1,21 @@
meta {
name: delete comment
type: http
seq: 3
}
delete {
url: {{baseUrl}}/comments/:type/:id
body: none
auth: inherit
}
params:path {
type:
id:
}
settings {
encodeUrl: true
timeout: 0
}
+8
View File
@@ -0,0 +1,8 @@
meta {
name: comment
seq: 16
}
auth {
mode: inherit
}
+25
View File
@@ -0,0 +1,25 @@
meta {
name: store | update comment
type: http
seq: 1
}
post {
url: {{baseUrl}}/comments/:type/:id
body: multipartForm
auth: inherit
}
params:path {
type: music
id: 1
}
body:multipart-form {
content: das ist schon
}
settings {
encodeUrl: true
timeout: 0
}