feat: media play

This commit is contained in:
2026-06-01 14:30:20 +03:30
parent 22c27b6686
commit b243ec3c0b
31 changed files with 322 additions and 17 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
meta {
name: Get Payment Gateway
type: http
seq: 13
seq: 12
}
post {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: breath exercise
seq: 3
seq: 2
}
auth {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: comment
seq: 17
seq: 16
}
auth {
+1 -1
View File
@@ -1,7 +1,7 @@
meta {
name: http://127.0.0.1:8000/api/chat
type: http
seq: 14
seq: 13
}
post {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: image
seq: 10
seq: 9
}
auth {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: leader board
seq: 8
seq: 7
}
auth {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: like
seq: 19
seq: 18
}
auth {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: media
seq: 12
seq: 11
}
auth {
+8
View File
@@ -0,0 +1,8 @@
meta {
name: media play
seq: 12
}
auth {
mode: inherit
}
+15
View File
@@ -0,0 +1,15 @@
meta {
name: popular media
type: http
seq: 2
}
get {
url: {{baseUrl}}/media/popular
body: none
auth: inherit
}
settings {
encodeUrl: true
}
+16
View File
@@ -0,0 +1,16 @@
meta {
name: recently-played
type: http
seq: 3
}
get {
url: {{baseUrl}}/media/recently-played
body: none
auth: inherit
}
settings {
encodeUrl: true
timeout: 0
}
+20
View File
@@ -0,0 +1,20 @@
meta {
name: start media
type: http
seq: 1
}
post {
url: {{baseUrl}}/media/:id/play
body: none
auth: inherit
}
params:path {
id: 1
}
settings {
encodeUrl: true
timeout: 0
}
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: mood
seq: 5
seq: 4
}
auth {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: profile
seq: 4
seq: 3
}
auth {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: questions
seq: 7
seq: 6
}
auth {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: ratings
seq: 16
seq: 15
}
auth {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: save
seq: 18
seq: 17
}
auth {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: slider
seq: 9
seq: 8
}
auth {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: slider_1
seq: 11
seq: 10
}
auth {
+8
View File
@@ -0,0 +1,8 @@
meta {
name: suggest-media-test
seq: 20
}
auth {
mode: inherit
}
+16
View File
@@ -0,0 +1,16 @@
meta {
name: suggested-media
type: http
seq: 1
}
get {
url: {{baseUrl}}/survey-questions/suggested-media
body: none
auth: inherit
}
settings {
encodeUrl: true
timeout: 0
}
+20
View File
@@ -0,0 +1,20 @@
meta {
name: admin analytics
type: http
seq: 7
}
get {
url: {{baseUrl}}/admin/survey-questions/:id/analytics
body: none
auth: inherit
}
params:path {
id: 2
}
settings {
encodeUrl: true
timeout: 0
}
+16
View File
@@ -0,0 +1,16 @@
meta {
name: admin show
type: http
seq: 6
}
get {
url: {{baseUrl}}/admin/survey-questions/2
body: none
auth: inherit
}
settings {
encodeUrl: true
timeout: 0
}
+31
View File
@@ -0,0 +1,31 @@
meta {
name: answer
type: http
seq: 5
}
post {
url: {{baseUrl}}/survey-questions/:id/answer
body: json
auth: inherit
}
params:path {
id: 2
}
body:json {
{
"option_ids": [8,9,10]
}
}
body:multipart-form {
" option_ids[0]": 4
" option_ids[1]": 5
}
settings {
encodeUrl: true
timeout: 0
}
+41
View File
@@ -0,0 +1,41 @@
meta {
name: delete
type: http
seq: 4
}
delete {
url: {{baseUrl}}/survey-questions/:id
body: json
auth: inherit
}
params:path {
id: 2
}
body:json {
{
"options": [
{
"label": "Laravel"
},
{
"label": "React.js"
},
{
"label": "Vue.js"
},
{
"label": "Django"
}
]
}
}
settings {
encodeUrl: true
timeout: 0
}
+8
View File
@@ -0,0 +1,8 @@
meta {
name: survey-question
seq: 19
}
auth {
mode: inherit
}
+16
View File
@@ -0,0 +1,16 @@
meta {
name: get survay
type: http
seq: 1
}
get {
url: {{baseUrl}}/survey-questions/2
body: none
auth: inherit
}
settings {
encodeUrl: true
timeout: 0
}
+49
View File
@@ -0,0 +1,49 @@
meta {
name: store survay
type: http
seq: 2
}
post {
url: {{baseUrl}}/survey-questions
body: json
auth: inherit
}
body:json {
{
"question": "Which frameworks have you worked with?",
"description": "Select all that apply",
"type": "multiple",
"order": 2,
"is_active": true,
"options": [
{
"label": "Laravel"
},
{
"label": "React"
},
{
"label": "Vue.js"
},
{
"label": "Django"
}
]
}
}
body:multipart-form {
question: سلام چطوری؟
type: multiple @contentType(single,multiple)
is_active: true
options.[1].label: خوب
~description:
~order:
}
settings {
encodeUrl: true
timeout: 0
}
+41
View File
@@ -0,0 +1,41 @@
meta {
name: update
type: http
seq: 3
}
put {
url: {{baseUrl}}/survey-questions/:id
body: json
auth: inherit
}
params:path {
id: 2
}
body:json {
{
"options": [
{
"label": "Laravel"
},
{
"label": "React.js"
},
{
"label": "Vue.js"
},
{
"label": "Django"
}
]
}
}
settings {
encodeUrl: true
timeout: 0
}
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: track
seq: 15
seq: 14
}
auth {
+1 -1
View File
@@ -1,6 +1,6 @@
meta {
name: worry box
seq: 6
seq: 5
}
auth {