feat: add new route"

This commit is contained in:
2026-06-13 17:20:28 +03:30
parent 9323df1e02
commit e645fe19c4
3 changed files with 72 additions and 5 deletions
+34
View File
@@ -0,0 +1,34 @@
meta {
name: comment and rating (one call)
type: http
seq: 7
}
post {
url: {{baseUrl}}/interactions/:type/:id
body: json
auth: inherit
}
params:path {
type: media
id: 27
}
body:json {
{
"content": "این مدیتیشن فوق‌العاده بود",
"stars": 5
}
}
settings {
encodeUrl: true
timeout: 0
}
docs {
type: music | media | playlist. At least one field is required:
- content: adds a comment
- stars: 1-5, sets/updates this user's rating
}