Skip to end of metadata
Go to start of metadata

You are viewing an old version of this content. View the current version.

Compare with Current View Version History

Version 1 Next »

Saves/updates settings document.

HTTP POST /ctreplay/:domain?/saveSettings

Path variables:

Name

Mandatory

Type

Description

domain

NO

STRING

Unique domain identifier

Authorization: BEARER

Request body:

Name

Mandatory

Type

Description

document

YES

OBJECT

settings object to be saved/updated

Response:

Type: JSON

Name

Type

Description

result

BOOLEAN

If true, the service response was performed correctly

error

NULL / STRING

Contains the error description if an error has occurred in the request

id

STRING

document id. (only if new document is created, otherwise empty string)

Example:

Request:

http://<hostname>:<port>/ctreplay/default/saveSettings

Request Body:

{
    "document":{
        "importRecordingPathDestination":"",
        "mp3Conversion": true,
        "balancerURL": "http://felixct7-ecas1.reiteklab.eu.rd.eilab.biz/",
        "mp3ConversionParams":{
            "bitrate": 16,
            "vbr": 8
        }
    }
}

Response:

{
    "result": true,
    "id": "",
    "error": null
}
  • No labels