From 0c0997c1bd71c97b5babd5e187c1c7e9f3bd35c5 Mon Sep 17 00:00:00 2001 From: elpatron Date: Mon, 4 Aug 2025 16:10:37 +0200 Subject: [PATCH] Add bruno/Datecalc.json --- bruno/Datecalc.json | 426 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 426 insertions(+) create mode 100644 bruno/Datecalc.json diff --git a/bruno/Datecalc.json b/bruno/Datecalc.json new file mode 100644 index 0000000..e23c23d --- /dev/null +++ b/bruno/Datecalc.json @@ -0,0 +1,426 @@ +{ + "name": "Datecalc", + "version": "1", + "items": [ + { + "type": "folder", + "name": "localhost", + "filename": "localhost", + "seq": 2, + "root": { + "request": { + "auth": { + "mode": "inherit" + } + }, + "meta": { + "name": "localhost", + "seq": 2 + } + }, + "items": [ + { + "type": "http", + "name": "wochentag", + "filename": "wochentag.bru", + "seq": 5, + "settings": { + "encodeUrl": false + }, + "tags": [], + "request": { + "url": "http://localhost:5000/api/wochentag", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\n \"datum\": \"2024-06-10\"\n}", + "formUrlEncoded": [], + "multipartForm": [], + "file": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "docs": "", + "auth": { + "mode": "inherit" + } + } + }, + { + "type": "http", + "name": "kw_berechnen", + "filename": "kw_berechnen.bru", + "seq": 1, + "settings": { + "encodeUrl": false + }, + "tags": [], + "request": { + "url": "http://localhost:5000/api/kw_berechnen", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\n \"datum\": \"2024-06-10\"\n}", + "formUrlEncoded": [], + "multipartForm": [], + "file": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "docs": "", + "auth": { + "mode": "inherit" + } + } + }, + { + "type": "http", + "name": "kw_datum", + "filename": "kw_datum.bru", + "seq": 3, + "settings": { + "encodeUrl": false + }, + "tags": [], + "request": { + "url": "http://localhost:5000/api/kw_datum", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\n \"jahr\": 2024,\n \"kw\": 24\n}", + "formUrlEncoded": [], + "multipartForm": [], + "file": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "docs": "", + "auth": { + "mode": "inherit" + } + } + }, + { + "type": "http", + "name": "plusminus", + "filename": "plusminus.bru", + "seq": 4, + "settings": { + "encodeUrl": false + }, + "tags": [], + "request": { + "url": "http://localhost:5000/api/plusminus", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\n \"datum\": \"2024-06-10\",\n \"anzahl\": 5,\n \"einheit\": \"tage\",\n \"richtung\": \"add\",\n \"werktage\": false\n}", + "formUrlEncoded": [], + "multipartForm": [], + "file": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "docs": "", + "auth": { + "mode": "inherit" + } + } + }, + { + "type": "http", + "name": "tage_werktage", + "filename": "tage_werktage.bru", + "seq": 2, + "settings": { + "encodeUrl": false + }, + "tags": [], + "request": { + "url": "http://localhost:5000/api/tage_werktage", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\n \"start\": \"2024-06-01\",\n \"end\": \"2024-06-10\",\n \"werktage\": true,\n \"bundesland\": \"BY\"\n}", + "formUrlEncoded": [], + "multipartForm": [], + "file": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "docs": "", + "auth": { + "mode": "inherit" + } + } + } + ] + }, + { + "type": "folder", + "name": "public", + "filename": "public", + "seq": 2, + "root": { + "request": { + "auth": { + "mode": "inherit" + } + }, + "meta": { + "name": "public", + "seq": 2 + } + }, + "items": [ + { + "type": "http", + "name": "kw_berechnen", + "filename": "kw_berechnen.bru", + "seq": 6, + "settings": { + "encodeUrl": false + }, + "tags": [], + "request": { + "url": "https://date.elpatron.me/api/kw_berechnen", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\n \"datum\": \"2024-06-10\"\n}", + "formUrlEncoded": [], + "multipartForm": [], + "file": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "docs": "", + "auth": { + "mode": "inherit" + } + } + }, + { + "type": "http", + "name": "tage_werktage", + "filename": "tage_werktage.bru", + "seq": 6, + "settings": { + "encodeUrl": false + }, + "tags": [], + "request": { + "url": "https://date.elpatron.me/api/tage_werktage", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\n \"start\": \"2024-06-01\",\n \"end\": \"2025-06-10\",\n \"werktage\": true,\n \"bundesland\": \"SH\"\n}", + "formUrlEncoded": [], + "multipartForm": [], + "file": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "docs": "", + "auth": { + "mode": "inherit" + } + } + }, + { + "type": "http", + "name": "kw_datum", + "filename": "kw_datum.bru", + "seq": 6, + "settings": { + "encodeUrl": false + }, + "tags": [], + "request": { + "url": "https://date.elpatron.me/api/kw_datum", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\n \"jahr\": 2024,\n \"kw\": 24\n}", + "formUrlEncoded": [], + "multipartForm": [], + "file": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "docs": "", + "auth": { + "mode": "inherit" + } + } + }, + { + "type": "http", + "name": "plusminus", + "filename": "plusminus.bru", + "seq": 6, + "settings": { + "encodeUrl": false + }, + "tags": [], + "request": { + "url": "https://date.elpatron.me/api/plusminus", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\n \"datum\": \"2024-06-10\",\n \"anzahl\": 5,\n \"einheit\": \"tage\",\n \"richtung\": \"add\",\n \"werktage\": false\n}", + "formUrlEncoded": [], + "multipartForm": [], + "file": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "docs": "", + "auth": { + "mode": "inherit" + } + } + }, + { + "type": "http", + "name": "wochentag", + "filename": "wochentag.bru", + "seq": 6, + "settings": { + "encodeUrl": false + }, + "tags": [], + "request": { + "url": "https://date.elpatron.me/api/wochentag", + "method": "POST", + "headers": [ + { + "name": "Content-Type", + "value": "application/json", + "enabled": true + } + ], + "params": [], + "body": { + "mode": "json", + "json": "{\n \"datum\": \"2024-06-10\"\n}", + "formUrlEncoded": [], + "multipartForm": [], + "file": [] + }, + "script": {}, + "vars": {}, + "assertions": [], + "tests": "", + "docs": "", + "auth": { + "mode": "inherit" + } + } + } + ] + } + ], + "environments": [], + "brunoConfig": { + "version": "1", + "name": "Datecalc", + "type": "collection", + "ignore": [ + "node_modules", + ".git" + ], + "size": 0.0014009475708007812, + "filesCount": 5 + } +} \ No newline at end of file