Skip to content

Commit

Permalink
docs: Tweak the /series/$series_id/revisions example to look like a list
Browse files Browse the repository at this point in the history
The change hadn't been reflected in the API example.

Signed-off-by: Damien Lespiau <damien.lespiau@intel.com>
  • Loading branch information
Damien Lespiau committed Oct 26, 2015
1 parent 5e47163 commit 7d51722
Showing 1 changed file with 15 additions and 10 deletions.
25 changes: 15 additions & 10 deletions docs/rest.rst
Original file line number Diff line number Diff line change
Expand Up @@ -372,16 +372,21 @@ A series has then ``n`` revisions, ``n`` going from ``1`` to ``version``.
Vary: Accept
Allow: GET, HEAD, OPTIONS

[
{
"version": 1,
"cover_letter": null,
"patches": [
120,
121
]
}
]
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"version": 1,
"cover_letter": null,
"patches": [
120,
121
]
}
]
}

.. http:get:: /api/1.0/series/(int: series_id)/revisions/(int: version)/
Expand Down

0 comments on commit 7d51722

Please sign in to comment.