first commit

This commit is contained in:
creations 2025-03-19 19:00:41 -04:00
commit ea35958607
Signed by: creations
GPG key ID: 8F553AA4320FC711
19 changed files with 285 additions and 0 deletions

17
api/files/delete body.bru Normal file
View file

@ -0,0 +1,17 @@
meta {
name: delete body
type: http
seq: 3
}
delete {
url: {{base_url}}/api/files/delete
body: json
auth: inherit
}
body:json {
{
"files": "0195823a-5712-7000-801a-88bcf68e1c3d"
}
}

15
api/files/delete.bru Normal file
View file

@ -0,0 +1,15 @@
meta {
name: delete
type: http
seq: 2
}
delete {
url: {{base_url}}/api/files/delete/:id-or-name
body: none
auth: inherit
}
params:path {
id-or-name: 0195823a-5712-7000-801a-88bcf68e1c3d
}

19
api/files/upload.bru Normal file
View file

@ -0,0 +1,19 @@
meta {
name: upload
type: http
seq: 1
}
post {
url: {{base_url}}/api/files/upload
body: multipartForm
auth: inherit
}
headers {
X-Clear-Exif: 1
}
body:multipart-form {
file: @file(/mnt/External Drive/Images/Pasted image.png)
}