From e627bd8ec2ed63b566786a815f53abfcfc7f2187 Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Thu, 1 Aug 2019 15:43:58 -0400 Subject: [PATCH] Bug 1569130 - Explain in the API doc that Bugzilla returns a 302 redirect when the query string is > 10 KB --- docs/en/rst/api/core/v1/general.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/en/rst/api/core/v1/general.rst b/docs/en/rst/api/core/v1/general.rst index 6227e1825..c4d0c2b4f 100644 --- a/docs/en/rst/api/core/v1/general.rst +++ b/docs/en/rst/api/core/v1/general.rst @@ -52,6 +52,13 @@ The error contents look similar to: "code": 123 } +To protect the application from large requests, Bugzilla returns a 302 redirect +to the homepage when your query string is too long. The current limit is 10 KB, +which can accept roughly 1,000 bug IDs in the ``id`` parameter for the +``/rest/bug`` method, but it could be smaller or may lead to a 414 URI Too Long +HTTP error depending on the server configuration. Split your query into multiple +requests if you encounter the issue. + Common Data Types ----------------- -- 2.47.3