Commit e76199b9 authored by Michal Čihař's avatar Michal Čihař

Add complete example request/response blocks

Signed-off-by: default avatarMichal Čihař <michal@cihar.com>
parent a1545b88
......@@ -79,9 +79,21 @@ Weblate provides various exports to allow you further process the data.
You can get pretty-printed output by appending ``?indent=1`` to the
request.
Example response:
**Example request**:
.. code-block:: json
.. sourcecode:: http
GET /exports/stats/weblate/master/?indent=4 HTTP/1.1
Host: example.com
Accept: application/json, text/javascript
**Example response**:
.. sourcecode:: http
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
[
{
......
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