The REST API supports several input and output formats. By default, it tries to guess it from:
AcceptHTTP header, e.g.Accept: application/jsonContent-TypeHTTP 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:
