Closed Bug 1364829 Opened 8 years ago Closed 8 years ago

Please clarify XMLRPC add_attachment documentation

Categories

(Bugzilla :: WebService, defect)

4.4.12
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: dean, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0 Build ID: 20170307221322 Steps to reproduce: Please refer to add_attachment in https://www.bugzilla.org/docs/4.4/en/html/api/Bugzilla/WebService/Bug.html#add_attachment Actual results: for the "data" field, it reads the following: Required base64 or string The content of the attachment. If the content of the attachment is not ASCII text, you must encode it in base64 and declare it as the base64 type. Expected results: Its not clear where the base64 "type" should be declared. The 4.0 documentation is identical. For 5.0, it seems that the "data" field MUST be base64 (which is fine). Basically I wanted to be 100% clear how add_attachment is supposed to work. Thanks
Sorry, i worked it out.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.