The REST API supports several input and output formats. By default, it tries to guess it from:
Accept
HTTP header, e.g.Accept: application/json
Content-Type
HTTP header, e.g.Content-Type: application/json
The detection can also be overridden using format query parameter, for example ?format=yaml
. Default format is JSON
.
Currently supported input and output formats are: