feat(stream): implement section saving
This commit is contained in:
20
bruno/VoD-System/Streams/History Streams.bru
Normal file
20
bruno/VoD-System/Streams/History Streams.bru
Normal file
@@ -0,0 +1,20 @@
|
||||
meta {
|
||||
name: History Streams
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{base_url}}/stream/history/1
|
||||
body: none
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{token}}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
27
bruno/VoD-System/Streams/Save Section.bru
Normal file
27
bruno/VoD-System/Streams/Save Section.bru
Normal file
@@ -0,0 +1,27 @@
|
||||
meta {
|
||||
name: Save Section
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
post {
|
||||
url: {{base_url}}/stream/save
|
||||
body: json
|
||||
auth: bearer
|
||||
}
|
||||
|
||||
auth:bearer {
|
||||
token: {{token}}
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"startTime": "2026-06-06T13:56:00Z",
|
||||
"endTime": "2026-06-06T13:58:00Z"
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
14
bruno/VoD-System/Streams/folder.bru
Normal file
14
bruno/VoD-System/Streams/folder.bru
Normal file
@@ -0,0 +1,14 @@
|
||||
meta {
|
||||
name: Streams
|
||||
seq: 7
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: apikey
|
||||
}
|
||||
|
||||
auth:apikey {
|
||||
key:
|
||||
value:
|
||||
placement: header
|
||||
}
|
||||
Reference in New Issue
Block a user