ADD bruno requests

This commit is contained in:
2025-06-05 19:38:30 +02:00
parent d1d3c23104
commit e2eb9b365a
13 changed files with 99 additions and 8 deletions

View File

@@ -0,0 +1,11 @@
meta {
name: Converted Download
type: http
seq: 2
}
get {
url: {{base_url}}/download/output/{{uuid}}
body: none
auth: inherit
}

View File

@@ -0,0 +1,11 @@
meta {
name: Original Download
type: http
seq: 1
}
get {
url: {{base_url}}/download/input/{{uuid}}
body: none
auth: inherit
}

View File

@@ -0,0 +1,3 @@
meta {
name: Download
}

View File

@@ -0,0 +1,16 @@
meta {
name: Edit
type: http
seq: 1
}
post {
url: {{base_url}}/edit/{{uuid}}
body: formUrlEncoded
auth: inherit
}
body:form-urlencoded {
startPoint: 30
endPoint: 120
}

View File

@@ -0,0 +1,11 @@
meta {
name: Process
type: http
seq: 2
}
get {
url: {{base_url}}/process/{{uuid}}
body: none
auth: inherit
}

View File

@@ -0,0 +1,11 @@
meta {
name: Progress
type: http
seq: 3
}
get {
url: {{base_url}}/progress/{{uuid}}
body: none
auth: inherit
}

View File

@@ -0,0 +1,3 @@
meta {
name: Edit
}

View File

@@ -0,0 +1,11 @@
meta {
name: Converted Metadata
type: http
seq: 2
}
get {
url: {{base_url}}/metadata/converted/{{uuid}}
body: none
auth: inherit
}

View File

@@ -0,0 +1,11 @@
meta {
name: Original Metadata
type: http
seq: 1
}
get {
url: {{base_url}}/metadata/original/{{uuid}}
body: none
auth: inherit
}

View File

@@ -0,0 +1,3 @@
meta {
name: Metadata
}

View File

@@ -1,19 +1,19 @@
meta {
name: Upload
type: http
seq: 2
seq: 1
}
post {
url: {{base_url}}/api/v1/upload
url: {{base_url}}/upload
body: multipartForm
auth: inherit
}
body:multipart-form {
file: @file(/Users/faoite/Downloads/Why Australia's Economy is Stalling.mp4)
file: @file(/home/dylan/Documents/Test Videos/long_normal.mp4)
}
script:post-response {
bru.setEnvVar("video_uuid",res.getBody());
bru.setEnvVar("uuid", res.body);
}

View File

@@ -1,4 +0,0 @@
vars {
base_url: http://localhost:8080
video_uuid:
}

View File

@@ -0,0 +1,4 @@
vars {
base_url: http://localhost:8080/api/v1
uuid:
}