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
+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
}