docs(bruno): implement bruno vods endpoints
This commit is contained in:
16
bruno/VoD-System/VoDs/Delete VoD.bru
Normal file
16
bruno/VoD-System/VoDs/Delete VoD.bru
Normal file
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Delete VoD
|
||||
type: http
|
||||
seq: 4
|
||||
}
|
||||
|
||||
delete {
|
||||
url: {{base_url}}/vods/1
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
16
bruno/VoD-System/VoDs/Downloads/Get VoD Media.bru
Normal file
16
bruno/VoD-System/VoDs/Downloads/Get VoD Media.bru
Normal file
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get VoD Media
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{base_url}}/vods/1/media
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
15
bruno/VoD-System/VoDs/Downloads/Get VoD Thumbnail.bru
Normal file
15
bruno/VoD-System/VoDs/Downloads/Get VoD Thumbnail.bru
Normal file
@@ -0,0 +1,15 @@
|
||||
meta {
|
||||
name: Get VoD Thumbnail
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{base_url}}/vods/1/thumbnail
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
}
|
||||
8
bruno/VoD-System/VoDs/Downloads/folder.bru
Normal file
8
bruno/VoD-System/VoDs/Downloads/folder.bru
Normal file
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: Downloads
|
||||
seq: 5
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
16
bruno/VoD-System/VoDs/Get VoD.bru
Normal file
16
bruno/VoD-System/VoDs/Get VoD.bru
Normal file
@@ -0,0 +1,16 @@
|
||||
meta {
|
||||
name: Get VoD
|
||||
type: http
|
||||
seq: 2
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{base_url}}/vods/1
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
11
bruno/VoD-System/VoDs/Get all vods.bru
Normal file
11
bruno/VoD-System/VoDs/Get all vods.bru
Normal file
@@ -0,0 +1,11 @@
|
||||
meta {
|
||||
name: Get all vods
|
||||
type: http
|
||||
seq: 1
|
||||
}
|
||||
|
||||
get {
|
||||
url: {{base_url}}/vods
|
||||
body: none
|
||||
auth: inherit
|
||||
}
|
||||
23
bruno/VoD-System/VoDs/Update VoD.bru
Normal file
23
bruno/VoD-System/VoDs/Update VoD.bru
Normal file
@@ -0,0 +1,23 @@
|
||||
meta {
|
||||
name: Update VoD
|
||||
type: http
|
||||
seq: 3
|
||||
}
|
||||
|
||||
patch {
|
||||
url: {{base_url}}/vods/1
|
||||
body: json
|
||||
auth: inherit
|
||||
}
|
||||
|
||||
body:json {
|
||||
{
|
||||
"title": "My VoD",
|
||||
"description": ""
|
||||
}
|
||||
}
|
||||
|
||||
settings {
|
||||
encodeUrl: true
|
||||
timeout: 0
|
||||
}
|
||||
8
bruno/VoD-System/VoDs/folder.bru
Normal file
8
bruno/VoD-System/VoDs/folder.bru
Normal file
@@ -0,0 +1,8 @@
|
||||
meta {
|
||||
name: VoDs
|
||||
seq: 2
|
||||
}
|
||||
|
||||
auth {
|
||||
mode: inherit
|
||||
}
|
||||
8
bruno/VoD-System/environments/dev.bru
Normal file
8
bruno/VoD-System/environments/dev.bru
Normal file
@@ -0,0 +1,8 @@
|
||||
vars {
|
||||
base_url: http://http://server.tail3cd897.ts.net:8087/api/v1
|
||||
uuid:
|
||||
}
|
||||
vars:secret [
|
||||
google_client_id,
|
||||
google_secret
|
||||
]
|
||||
Reference in New Issue
Block a user