Commit 3e342888 authored by Marc Egger's avatar Marc Egger

Report.rst: fix dataReport doku again

parent da31882e
Pipeline #3836 passed with stages
in 4 minutes and 16 seconds
......@@ -1699,8 +1699,7 @@ API Call QFQ Report (e.g. AJAX)
* Custom response headers can be defined by setting the variable `apiResponseHeader` in the record store.
* Multiple headers should be separated by `\n` or `\r\n`. e.g.: `Content-Type: application/json\ncustom-header: fooBar`
* If the api call succeeds the rendered content of the report is returned as is. (no additional formatting, no JSON encoding)
* You can use MYSQL to create Json. See:
`MYSQL create Json <https://dev.mysql.com/doc/refman/8.0/en/json-creation-functions.html>`_
* You can use MYSQL to create Json. See: `MYSQL create Json <https://dev.mysql.com/doc/refman/8.0/en/json-creation-functions.html>`_
* If a QFQ error occurs then a http-status of 400 is returned together with a JSON encoded response of the form: `{"status":"error", "message":"..."}`
Example QFQ record JS (with tt_content.uid=12345)::
......
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