The request URL for exporting the channel configuration for a server has the following form:
/channels/by-server/
<server ID>
/export
The
<server ID>
has to be replaced by
the UUID associated with the respective
server.
The request must use the
GET
method.
The response is a JSON object with the with the following members:
Field name | Internal data type | JSON data type | Description |
---|---|---|---|
configurationFile | array of byte | string | Base64 ( RFC 4648 ) encoded contents of the exported configuration file |
If there is a general problem while processing the request
(e.g. the
database is currently unavailable), HTTP error code
503 (service
unavailable) is returned and the
errorMessage
is
set in the response.
If the specified server does not exist,
HTTP error code 404 (not
found) is returned and the response
body is invalid.