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
@@ -1,5 +1,5 @@
meta {
name: comment and like (one call)
name: comment and rating (one call)
type: http
seq: 7
}
@@ -18,7 +18,7 @@ params:path {
body:json {
{
"content": "این مدیتیشن فوق‌العاده بود",
"like": true
"stars": 5
}
}
@@ -28,8 +28,7 @@ settings {
}
docs {
type: music | media | playlist. Body fields are all optional but at least one is required:
type: music | media | playlist. At least one field is required:
- content: adds a comment
- like: true (like) / false (unlike)
- toggle_like: true (flip current like state)
- stars: 1-5, sets/updates this user's rating
}