feat: add comment more
This commit is contained in:
@@ -1,20 +1,21 @@
|
||||
meta {
|
||||
name: get ratings of user
|
||||
name: Get all comments type by id
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/ratings/:music/:id/user
|
||||
url: {{baseUrl}}/comments/:type/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
music:
|
||||
type: media
|
||||
id:
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: comment
|
||||
seq: 16
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
@@ -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
|
||||
}
|
||||
@@ -19,7 +19,7 @@ body:json {
|
||||
"category_name": "موفقیت و انگیزشی",
|
||||
"duration": 10,
|
||||
"file": null,
|
||||
"image_id": "28",
|
||||
|
||||
"external_url": "https://meditation.approagency.ir/storage/videos/morning_success.mp4",
|
||||
"visibility": "public",
|
||||
"tags": [
|
||||
@@ -40,4 +40,5 @@ body:json {
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
|
||||
@@ -0,0 +1,21 @@
|
||||
meta {
|
||||
name: delete rating
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{baseUrl}}/ratings/:type/:id
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
type: music
|
||||
id: 1
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
meta {
|
||||
name: get all ratings
|
||||
name: get all rating
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
@@ -0,0 +1,21 @@
|
||||
meta {
|
||||
name: get per user rating
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{baseUrl}}/ratings/:type/:id/user
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
params:path {
|
||||
type: media
|
||||
id: 1
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
meta {
|
||||
name: store | update
|
||||
name: store | update rating
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
@@ -11,7 +11,7 @@ post {
|
||||
}
|
||||
|
||||
params:path {
|
||||
type: music
|
||||
type: media
|
||||
id: 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user