Bugzilla – Attachment 129003 Details for
Bug 29772
Make DELETE /patrons/:patron_id return error codes in error conditions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 29772: (follow-up) Document error codes
Bug-29772-follow-up-Document-error-codes.patch (text/plain), 1.18 KB, created by
Jonathan Druart
on 2022-01-04 15:21:34 UTC
(
hide
)
Description:
Bug 29772: (follow-up) Document error codes
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-01-04 15:21:34 UTC
Size:
1.18 KB
patch
obsolete
>From a01d179165da296d85491929d284db48bb3e7f09 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Mon, 27 Dec 2021 11:39:10 -0300 >Subject: [PATCH] Bug 29772: (follow-up) Document error codes > >Signed-off-by: David Nind <david@davidnind.com> > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > api/v1/swagger/paths/patrons.yaml | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/api/v1/swagger/paths/patrons.yaml b/api/v1/swagger/paths/patrons.yaml >index 2a066ec66ea..76fe6c1bbbe 100644 >--- a/api/v1/swagger/paths/patrons.yaml >+++ b/api/v1/swagger/paths/patrons.yaml >@@ -567,7 +567,13 @@ > schema: > $ref: ../definitions.yaml#/error > "409": >- description: Conflict >+ description: | >+ Conflict. Possible `error_code` attribute values: >+ >+ * `has_checkouts`: The patron has pending checkouts >+ * `has_debt`: The patron has pending debts >+ * `has_guarantees`: The patron has guarantees >+ * `is_anonymous_patron`: The system-wide anonymous patron cannot be deleted > schema: > $ref: ../definitions.yaml#/error > "500": >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 29772
:
128924
|
128925
|
128926
|
128941
|
128942
|
128943
|
129001
|
129002
| 129003