Closed kikkomep closed 1 year ago
How about choosing the format through content negotiation rather than a parameter? I think the default format could still be JSON.
The format
parameter has been removed and a new endpoint serves the HTML content.
So, we have two different endpoints:
/workflows/issues
-> it always returns a JSON object;/workflows/issues.html
-> it always returns an HTML page.
This PR addresses issue #248.
The endpoint
/workflows/issues
has been extended to support a newformat
parameter. It can accept two values:json
(default) andhtml
. Whenformat
is set tohtml
the server returns a HTML page like:(fix #248)