add crud for forms, templates, shipment, users and auth with keycloak

This commit is contained in:
2026-02-09 23:38:22 +01:00
parent 145f3f632e
commit be7ca58513
45 changed files with 949 additions and 226 deletions

View File

@@ -5,7 +5,7 @@ meta {
}
delete {
url: {{Service}}/{{Route}}/2
url: {{Service}}/{{Route}}/6
body: none
auth: inherit
}

View File

@@ -5,7 +5,7 @@ meta {
}
put {
url: {{Service}}/{{Route}}/1
url: {{Service}}/{{Route}}/3
body: json
auth: inherit
}

View File

@@ -8,6 +8,28 @@ auth {
vars:pre-request {
Route: products
ExamplePOSTBody: {"name": "test", "unit": "KILO", "price": 3.50, "price_kg": 3.50, "weight": "1.0", "productor_id": 1}
ExamplePUTBody: {"name": "updatetestt", "address": "updatetestt"}
ExamplePOSTBody: '''
{
"name": "test",
"unit": 1,
"price": 3.50,
"price_kg": 3.50,
"weight": "1.0",
"productor_id": 1,
"type": 2,
"shipment_ids": []
}
'''
ExamplePUTBody: '''
{
"name": "test",
"unit": 1,
"price": 3.50,
"price_kg": 3.50,
"weight": "1.0",
"productor_id": 1,
"type": 2,
"shipment_ids": [1]
}
'''
}