diff options
author | David Lawrence <dkl@mozilla.com> | 2015-04-08 19:48:36 +0200 |
---|---|---|
committer | David Lawrence <dkl@mozilla.com> | 2015-04-08 19:48:36 +0200 |
commit | dbfd6207290d1eee53fddec4c7c3b4aac0b2d47a (patch) | |
tree | aa190d8cc9e2b313dd7e85bf763c1bfe5502b75d /template/en | |
parent | e6d2fb75aa3c183323c534a214f3dd9be5638676 (diff) | |
download | bugzilla-dbfd6207290d1eee53fddec4c7c3b4aac0b2d47a.tar.gz bugzilla-dbfd6207290d1eee53fddec4c7c3b4aac0b2d47a.tar.xz |
Bug 1051056: The REST API needs to be versioned so that new changes can be made that do not break compatibility
r=dylan,a=glob
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/global/user-error.html.tmpl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/template/en/default/global/user-error.html.tmpl b/template/en/default/global/user-error.html.tmpl index 299e2a194..c74ba1efc 100644 --- a/template/en/default/global/user-error.html.tmpl +++ b/template/en/default/global/user-error.html.tmpl @@ -1150,6 +1150,13 @@ [% ELSIF error == "rest_invalid_resource" %] A REST API resource was not found for '[% method FILTER html +%] [%+ path FILTER html %]'. + [% ELSIF error == "unknown_api_version" %] + A REST API version was not found for '[% api_version FILTER html +%]' + [%- IF api_namespace %] in namespace '[% api_namespace FILTER html %]'[% END %]. + + [% ELSIF error == "unknown_api_namespace" %] + A REST API namespace was not found for '[% api_namespace FILTER html +%]'. + [% ELSIF error == "get_products_invalid_type" %] The product type '[% type FILTER html %]' is invalid. Valid choices are 'accessible', 'selectable', and 'enterable'. |