summaryrefslogtreecommitdiffstats
path: root/Bugzilla/WebService.pm
diff options
context:
space:
mode:
authorMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-14 00:43:40 +0200
committerMax Kanat-Alexander <mkanat@bugzilla.org>2010-07-14 00:43:40 +0200
commit12eb7b79859d1ee0be9f237d2b097fc4bf42d2c3 (patch)
treee4c668cbd0942de49a14d84a1f06ea13a94b3061 /Bugzilla/WebService.pm
parente0ee27cff75e9803d026e817439d55221992c493 (diff)
downloadbugzilla-12eb7b79859d1ee0be9f237d2b097fc4bf42d2c3.tar.gz
bugzilla-12eb7b79859d1ee0be9f237d2b097fc4bf42d2c3.tar.xz
Bug 412074: Ability to add attachments to a bug via the WebService
(Bug.add_attachment) r=timello, a=mkanat
Diffstat (limited to 'Bugzilla/WebService.pm')
-rw-r--r--Bugzilla/WebService.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/Bugzilla/WebService.pm b/Bugzilla/WebService.pm
index fe7766ad1..9e83a5a64 100644
--- a/Bugzilla/WebService.pm
+++ b/Bugzilla/WebService.pm
@@ -25,6 +25,8 @@ use XMLRPC::Lite;
# Used by the JSON-RPC server to convert incoming date fields apprpriately.
use constant DATE_FIELDS => {};
+# Used by the JSON-RPC server to convert incoming base64 fields appropriately.
+use constant BASE64_FIELDS => {};
# For some methods, we shouldn't call Bugzilla->login before we call them
use constant LOGIN_EXEMPT => { };
@@ -106,6 +108,11 @@ May be null.
True or false.
+=item C<base64>
+
+A base64-encoded string. This is the only way to transfer
+binary data via the WebService.
+
=item C<array>
An array. There may be mixed types in an array.