mirror of
https://codeberg.org/SeedDMS/paperless
synced 2026-05-10 06:44:12 +00:00
new endpoints in bruno
This commit is contained in:
parent
5e8aa14f91
commit
b2c2ff0210
20
bruno/Paperless NGX/Correspondents/Delete Correspondent.bru
Normal file
20
bruno/Paperless NGX/Correspondents/Delete Correspondent.bru
Normal file
|
|
@ -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
|
||||
}
|
||||
24
bruno/Paperless NGX/Correspondents/Patch Correspondent.bru
Normal file
24
bruno/Paperless NGX/Correspondents/Patch Correspondent.bru
Normal file
|
|
@ -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
|
||||
}
|
||||
20
bruno/Paperless NGX/Document Types/Delete Document Type.bru
Normal file
20
bruno/Paperless NGX/Document Types/Delete Document Type.bru
Normal file
|
|
@ -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
|
||||
}
|
||||
24
bruno/Paperless NGX/Document Types/Patch Document Type.bru
Normal file
24
bruno/Paperless NGX/Document Types/Patch Document Type.bru
Normal file
|
|
@ -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
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user