From b2c2ff02104ed8e910fc3ebbbbf706e85a6c9a08 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 31 Mar 2026 09:11:31 +0200 Subject: [PATCH] new endpoints in bruno --- .../Correspondents/Delete Correspondent.bru | 20 ++++++++++++++++ .../Correspondents/Patch Correspondent.bru | 24 +++++++++++++++++++ .../Document Types/Delete Document Type.bru | 20 ++++++++++++++++ .../Document Types/Patch Document Type.bru | 24 +++++++++++++++++++ 4 files changed, 88 insertions(+) create mode 100644 bruno/Paperless NGX/Correspondents/Delete Correspondent.bru create mode 100644 bruno/Paperless NGX/Correspondents/Patch Correspondent.bru create mode 100644 bruno/Paperless NGX/Document Types/Delete Document Type.bru create mode 100644 bruno/Paperless NGX/Document Types/Patch Document Type.bru diff --git a/bruno/Paperless NGX/Correspondents/Delete Correspondent.bru b/bruno/Paperless NGX/Correspondents/Delete Correspondent.bru new file mode 100644 index 0000000..55c6cc7 --- /dev/null +++ b/bruno/Paperless NGX/Correspondents/Delete Correspondent.bru @@ -0,0 +1,20 @@ +meta { + name: Delete Correspondent + type: http + seq: 5 +} + +delete { + url: {{baseurl}}api/correspondents/:id/ + body: none + auth: inherit +} + +params:path { + id: 5 +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/bruno/Paperless NGX/Correspondents/Patch Correspondent.bru b/bruno/Paperless NGX/Correspondents/Patch Correspondent.bru new file mode 100644 index 0000000..90a3c7f --- /dev/null +++ b/bruno/Paperless NGX/Correspondents/Patch Correspondent.bru @@ -0,0 +1,24 @@ +meta { + name: Patch Correspondent + type: http + seq: 4 +} + +patch { + url: {{baseurl}}api/correspondents/:id/ + body: formUrlEncoded + auth: inherit +} + +params:path { + id: 5 +} + +body:form-urlencoded { + name: RWE +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/bruno/Paperless NGX/Document Types/Delete Document Type.bru b/bruno/Paperless NGX/Document Types/Delete Document Type.bru new file mode 100644 index 0000000..bcb7da4 --- /dev/null +++ b/bruno/Paperless NGX/Document Types/Delete Document Type.bru @@ -0,0 +1,20 @@ +meta { + name: Delete Document Type + type: http + seq: 5 +} + +delete { + url: {{baseurl}}api/document_types/:id/ + body: none + auth: inherit +} + +params:path { + id: 1 +} + +settings { + encodeUrl: true + timeout: 0 +} diff --git a/bruno/Paperless NGX/Document Types/Patch Document Type.bru b/bruno/Paperless NGX/Document Types/Patch Document Type.bru new file mode 100644 index 0000000..0bd92eb --- /dev/null +++ b/bruno/Paperless NGX/Document Types/Patch Document Type.bru @@ -0,0 +1,24 @@ +meta { + name: Patch Document Type + type: http + seq: 4 +} + +patch { + url: {{baseurl}}api/document_types/:id/ + body: formUrlEncoded + auth: inherit +} + +params:path { + id: 1 +} + +body:form-urlencoded { + name: Rechnung +} + +settings { + encodeUrl: true + timeout: 0 +}