Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
e5a69b5d
Commit
e5a69b5d
authored
Jan 26, 2016
by
David Lawrence
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 1240752 - Attachment data submitted via REST API must always be base64 encoded
r=gerv,a=dkl
parent
5de72e1a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
attachment.rst
docs/en/rst/api/core/v1/attachment.rst
+2
-4
No files found.
docs/en/rst/api/core/v1/attachment.rst
View file @
e5a69b5d
...
...
@@ -139,7 +139,7 @@ To create attachment on a current bug:
"comment" : "This is a new attachment comment",
"summary" : "Test Attachment",
"content_type" : "text/plain",
"data" : "(Some
patch
content)",
"data" : "(Some
base64 encoded
content)",
"file_name" : "test_attachment.patch",
"obsoletes" : [],
"is_private" : false,
...
...
@@ -164,9 +164,7 @@ name type description
**ids** array The IDs or aliases of bugs that you want to add this
attachment to. The same attachment and comment will be
added to all these bugs.
**data** string The content of the attachment. If the content of the
attachment is not ASCII text such as
``application/octet-stream`` you must encode it in
**data** base64 The content of the attachment. You must encode it in
base64 using an appropriate client library such as
``MIME::Base64`` for Perl.
**file_name** string The "file name" that will be displayed in the UI for
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment