commit 131ea88f663ce85c812edce3941c55685f7103cc
parent a84f5a818d9139c175397d41e08f2e15708199f0
Author: Christian Grothoff <christian@grothoff.org>
Date: Wed, 25 Mar 2026 23:51:33 +0100
document more status codes
Diffstat:
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/core/merchant/get-private-statistics-report-NAME.rst b/core/merchant/get-private-statistics-report-NAME.rst
@@ -34,17 +34,26 @@
:http:statuscode:`200 Ok`:
If JSON is requested, the body will be
a `MerchantStatisticsReportResponse`, otherwise a PDF.
+ :http:statuscode:`400 Bad request`:
+ The request is malformed.
:http:statuscode:`401 Unauthorized`:
The request is unauthorized.
:http:statuscode:`404 Not found`:
The instance is unknown to the backend.
+ :http:statuscode:`406 Not acceptable`:
+ The requested data format is not supported by the backend.
+ Not returned with any error code.
:http:statuscode:`410 Gone`:
The requested statistical data is unavailable because
it is not kept at the requested granularity for this long.
+ Returned with an error code of
+ ``TALER_EC_MERCHANT_PRIVATE_GET_STATISTICS_REPORT_GRANULARITY_UNAVAILABLE,``
:http:statuscode:`501 Not implemented`:
The requested functionality is not implemented.
Usually returned if the PDF generator is not available
at this backend and the requested format was application/pdf.
+ Returned with an error code of
+ ``TALER_EC_MERCHANT_GENERIC_NO_TYPST_OR_PDFTK``.
**Details:**