add bruno collection

This commit is contained in:
Nico Fricke 2025-01-17 14:05:02 +01:00
parent fb025fa4cc
commit edf6e84a9a
4 changed files with 60 additions and 0 deletions

View File

@ -0,0 +1,15 @@
meta {
name: Download File
type: http
seq: 4
}
get {
url: http://localhost:3000/api/v1/user/test123/download?path=test/blub.txt
body: none
auth: none
}
params:query {
path: test/blub.txt
}

View File

@ -0,0 +1,16 @@
meta {
name: Get Files
type: http
seq: 3
}
get {
url: http://localhost:3000/api/v1/user/test123/files?path=&nesting=5
body: none
auth: none
}
params:query {
path:
nesting: 5
}

View File

@ -0,0 +1,20 @@
meta {
name: Upload File
type: http
seq: 2
}
post {
url: http://localhost:3000/api/v1/user/test123/files
body: multipartForm
auth: none
}
body:multipart-form {
test/blub.txt: asdasd
}
assert {
res.status: eq 200
res.body: isEmpty
}

View File

@ -0,0 +1,9 @@
{
"version": "1",
"name": "casket",
"type": "collection",
"ignore": [
"node_modules",
".git"
]
}