diff options
author | David Lawrence <dkl@mozilla.com> | 2016-02-18 15:55:52 +0100 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2016-02-18 15:55:52 +0100 |
commit | 0ae0fecd06e72557bcd87a8f58e55968081cb2dd (patch) | |
tree | 550b80a558de1548e150c3d89a5aa7580c15e9e1 /docs/en/rst/api/core/v1/field.rst | |
parent | dfa6603fddcfe9bd1c4c7a0f31c2689a01009105 (diff) | |
download | bugzilla-0ae0fecd06e72557bcd87a8f58e55968081cb2dd.tar.gz bugzilla-0ae0fecd06e72557bcd87a8f58e55968081cb2dd.tar.xz |
Bug 1148577 - The API reST documentation should display the error codes/strings that could occur with each API call
r=gerv
Diffstat (limited to 'docs/en/rst/api/core/v1/field.rst')
-rw-r--r-- | docs/en/rst/api/core/v1/field.rst | 13 |
1 files changed, 13 insertions, 0 deletions
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. |