From 0ae0fecd06e72557bcd87a8f58e55968081cb2dd Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Thu, 18 Feb 2016 14:55:52 +0000 Subject: Bug 1148577 - The API reST documentation should display the error codes/strings that could occur with each API call r=gerv --- docs/en/rst/api/core/v1/field.rst | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'docs/en/rst/api/core/v1/field.rst') diff --git a/docs/en/rst/api/core/v1/field.rst b/docs/en/rst/api/core/v1/field.rst index d97aa3050..a9ad65eff 100644 --- a/docs/en/rst/api/core/v1/field.rst +++ b/docs/en/rst/api/core/v1/field.rst @@ -185,6 +185,11 @@ can_change_to array For ``bug_status`` values, this is an array of using this transition. ================= ======= ===================================================== +**Errors** + +* 51 (Invalid Field Name or Id) + You specified an invalid field name or id. + .. _rest_legal_values: Legal Values @@ -238,3 +243,11 @@ name type description values array The legal values for this field. The values will be sorted as they normally would be in Bugzilla. ========== ====== ============================================================= + +**Errors** + +* 106 (Invalid Product) + You were required to specify a product, and either you didn't, or you + specified an invalid product (or a product that you can't access). +* 108 (Invalid Field Name) + You specified a field that doesn't exist or isn't a drop-down field. -- cgit v1.2.3-24-g4f1b