Several fixes
All checks were successful
Build, Push and Deploy / build-and-deploy (push) Successful in 55s

- added organizations
- added industries
- added logo in 2 colors for light and dark theme
- improved authorization to allow multi tenancy
- added Bruno configs
This commit is contained in:
Murat Özkorkmaz
2025-11-13 19:56:12 +01:00
parent 62c13ff0b1
commit fb416dff55
38 changed files with 948 additions and 53 deletions

View File

@@ -0,0 +1,31 @@
meta {
name: Create new
type: http
seq: 3
}
post {
url: {{API_BASE_URL}}/api/{{API_VERSION}}/industries
body: json
auth: bearer
}
auth:bearer {
token: {{BEARER_TOKEN}}
}
body:json {
{
"name": "Bungalow",
"street": "Hebbelstraße",
"houseNumber": "30",
"zipCode": "55127",
"city": "Mainz",
"country": "DE",
"notes": "Lorem ipsum"
}
}
settings {
encodeUrl: true
}

View File

@@ -0,0 +1,31 @@
meta {
name: Delete one by ID
type: http
seq: 4
}
delete {
url: API_BASE_URL}}/api/{{API_VERSION}}/industries/e64d5e53-cd45-45fb-9237-46078077bf22
body: json
auth: bearer
}
auth:bearer {
token: {{BEARER_TOKEN}}
}
body:json {
{
"name": "Mustername 1",
"street": "Musterstraße",
"houseNumber": "1",
"zipCode": "55123",
"city": "Musterstadt",
"country": "de",
"notes": "Lorem ipsum"
}
}
settings {
encodeUrl: true
}

View File

@@ -0,0 +1,19 @@
meta {
name: Get all
type: http
seq: 1
}
get {
url: {{API_BASE_URL}}/api/{{API_VERSION}}/industries
body: none
auth: bearer
}
auth:bearer {
token: {{BEARER_TOKEN}}
}
settings {
encodeUrl: true
}

View File

@@ -0,0 +1,19 @@
meta {
name: Get one by ID
type: http
seq: 2
}
get {
url: {{API_BASE_URL}}/api/{{API_VERSION}}/industries/da002464-33e9-4bfd-9ae2-836b26955502
body: none
auth: bearer
}
auth:bearer {
token: {{BEARER_TOKEN}}
}
settings {
encodeUrl: true
}

View File

@@ -0,0 +1,39 @@
meta {
name: Upload files
type: http
seq: 5
}
post {
url: {{API_BASE_URL}}/api/{{API_VERSION}}/industries/f4eb0c54-7c8f-4e60-b71f-1d08b8b6e2d4/upload
body: multipartForm
auth: bearer
}
auth:bearer {
token: {{BEARER_TOKEN}}
}
body:json {
{
"name": "Bungalow",
"street": "Hebbelstraße",
"houseNumber": "30",
"zipCode": "55127",
"city": "Mainz",
"country": "DE",
"notes": "Lorem ipsum"
}
}
body:multipart-form {
attachments: @file(/Users/murat/Pictures/IMG_0229.jpeg|/Users/murat/Pictures/schnürsenkel technik.gif)
}
body:file {
file: @file(/Users/murat/Pictures/IMG_0229.jpeg) @contentType(image/jpeg)
}
settings {
encodeUrl: true
}

View File

@@ -0,0 +1,8 @@
meta {
name: Industries
seq: 9
}
auth {
mode: inherit
}