Enable a source

1. API Description

This API is used to enable a source.

  • When id > 0, it is a valid ID, and the source corresponding to the ID will be enabled.
  • When id <= 0, it is an invalid ID, and all sources will be disabled.

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

Administrator Rights Logged-in
No Yes

2. Input Parameters

Name Required Type Description
id Yes Integer Unique node ID.

3. Output Parameters

Name Type Description
status Integer Status code.
code String Status description.

4. Example

Enabling a source.

Input Example
{
    "id": 1
}
Output Example
{
    "status": 0,
    "code" : "Success"
}

5. Error Code

No error code related to the API business logic. For other error codes, see Common Error Codes.

results matching ""

    No results matching ""

    results matching ""

      No results matching ""