Commit 4ea558d4 authored by Frédéric Buclin's avatar Frédéric Buclin

Bug 727240: The POD for Bug.attachments is wrong about the format of the returned data

r=dkl a=LpSolit
parent 6807999c
...@@ -1235,19 +1235,14 @@ value looks like this: ...@@ -1235,19 +1235,14 @@ value looks like this:
{ {
bugs => { bugs => {
1345 => { 1345 => [
attachments => [ { (attachment) },
{ (attachment) }, { (attachment) }
{ (attachment) } ],
] 9874 => [
}, { (attachment) },
9874 => { { (attachment) }
attachments => [ ],
{ (attachment) },
{ (attachment) }
]
},
}, },
attachments => { attachments => {
...@@ -1258,9 +1253,8 @@ value looks like this: ...@@ -1258,9 +1253,8 @@ value looks like this:
The attachments of any bugs that you specified in the C<ids> argument in The attachments of any bugs that you specified in the C<ids> argument in
input are returned in C<bugs> on output. C<bugs> is a hash that has integer input are returned in C<bugs> on output. C<bugs> is a hash that has integer
bug IDs for keys and contains a single key, C<attachments>. That key points bug IDs for keys and the values are arrayrefs that contain hashes as attachments.
to an arrayref that contains attachments as a hash. (Fields for attachments (Fields for attachments are described below.)
are described below.)
For any attachments that you specified directly in C<attachment_ids>, they For any attachments that you specified directly in C<attachment_ids>, they
are returned in C<attachments> on output. This is a hash where the attachment are returned in C<attachments> on output. This is a hash where the attachment
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment