Modify Source Configuration

1. API Description

This API is used to modify source configuration.

Request mode: POST [ip]/api/source/set

Administrator Rights Login Authentication
No Yes

2. Input Parameters

Parameter Type Description
id Int ID of the source to be modified
config Struct Configuration, refer to Source Configuration

3. Output Parameters

Parameter Type Description
status Int Status code

4. Example

Modify URL of source with ID=1

Input Example
{
  "id": 1,
  "config": {
    "type": 1,
    "url": "xx"
  }
}
Output Example
{
  "status": 0
}

results matching ""

    No results matching ""

    results matching ""

      No results matching ""