=== modified file 'src/docbkx/en/dhis2_user_man_web_api.xml'
--- src/docbkx/en/dhis2_user_man_web_api.xml 2013-03-06 13:06:55 +0000
+++ src/docbkx/en/dhis2_user_man_web_api.xml 2013-03-06 14:09:56 +0000
@@ -1290,22 +1290,22 @@
representation formats. As usual, you can indicate interest in a specific format by
appending a file extension to the URL, through the Accept
HTTP header or through the format query parameter. The
- default format is JSON. The available formats are listed below.
+ default format is JSON. The available formats and content-types are listed below.
- json
-
-
- xml
-
-
- csv
-
-
- html
-
-
- xls (MS Excel)
+ json (application/json)
+
+
+ xml (application/xml)
+
+
+ csv (application/csv)
+
+
+ html (text/html)
+
+
+ xls (application/vnd.ms-excel)
As an example, to request an analytics response in XML format you can use the following
@@ -1427,6 +1427,9 @@
reasons.
+ When a query request violates any of these constraints the server will return a response
+ with status code 409 and content-type "text/plain" together with a textual description of
+ the problem.
Generating the analytics tables