diff --git a/bruno/VoD-System/VoDs/Delete VoD.bru b/bruno/VoD-System/VoDs/Delete VoD.bru new file mode 100644 index 0000000..5f50cfe --- /dev/null +++ b/bruno/VoD-System/VoDs/Delete VoD.bru @@ -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 +} diff --git a/bruno/VoD-System/VoDs/Downloads/Get VoD Media.bru b/bruno/VoD-System/VoDs/Downloads/Get VoD Media.bru new file mode 100644 index 0000000..e775d54 --- /dev/null +++ b/bruno/VoD-System/VoDs/Downloads/Get VoD Media.bru @@ -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 +} diff --git a/bruno/VoD-System/VoDs/Downloads/Get VoD Thumbnail.bru b/bruno/VoD-System/VoDs/Downloads/Get VoD Thumbnail.bru new file mode 100644 index 0000000..f18a340 --- /dev/null +++ b/bruno/VoD-System/VoDs/Downloads/Get VoD Thumbnail.bru @@ -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 +} diff --git a/bruno/VoD-System/VoDs/Downloads/folder.bru b/bruno/VoD-System/VoDs/Downloads/folder.bru new file mode 100644 index 0000000..343da03 --- /dev/null +++ b/bruno/VoD-System/VoDs/Downloads/folder.bru @@ -0,0 +1,8 @@ +meta { + name: Downloads + seq: 5 +} + +auth { + mode: inherit +} diff --git a/bruno/VoD-System/VoDs/Get VoD.bru b/bruno/VoD-System/VoDs/Get VoD.bru new file mode 100644 index 0000000..efea9df --- /dev/null +++ b/bruno/VoD-System/VoDs/Get VoD.bru @@ -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 +} diff --git a/bruno/VoD-System/VoDs/Get all vods.bru b/bruno/VoD-System/VoDs/Get all vods.bru new file mode 100644 index 0000000..9a6bd97 --- /dev/null +++ b/bruno/VoD-System/VoDs/Get all vods.bru @@ -0,0 +1,11 @@ +meta { + name: Get all vods + type: http + seq: 1 +} + +get { + url: {{base_url}}/vods + body: none + auth: inherit +} diff --git a/bruno/VoD-System/VoDs/Update VoD.bru b/bruno/VoD-System/VoDs/Update VoD.bru new file mode 100644 index 0000000..64bd430 --- /dev/null +++ b/bruno/VoD-System/VoDs/Update VoD.bru @@ -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 +} diff --git a/bruno/VoD-System/VoDs/folder.bru b/bruno/VoD-System/VoDs/folder.bru new file mode 100644 index 0000000..a320686 --- /dev/null +++ b/bruno/VoD-System/VoDs/folder.bru @@ -0,0 +1,8 @@ +meta { + name: VoDs + seq: 2 +} + +auth { + mode: inherit +} diff --git a/bruno/VoD-System/environments/dev.bru b/bruno/VoD-System/environments/dev.bru new file mode 100644 index 0000000..0b7d47d --- /dev/null +++ b/bruno/VoD-System/environments/dev.bru @@ -0,0 +1,8 @@ +vars { + base_url: http://http://server.tail3cd897.ts.net:8087/api/v1 + uuid: +} +vars:secret [ + google_client_id, + google_secret +]