36 lines
560 B
Plaintext
36 lines
560 B
Plaintext
meta {
|
|
name: comment and like (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": "این مدیتیشن فوقالعاده بود",
|
|
"like": true
|
|
}
|
|
}
|
|
|
|
settings {
|
|
encodeUrl: true
|
|
timeout: 0
|
|
}
|
|
|
|
docs {
|
|
type: music | media | playlist. Body fields are all optional but at least one is required:
|
|
- content: adds a comment
|
|
- like: true (like) / false (unlike)
|
|
- toggle_like: true (flip current like state)
|
|
}
|