Select a source

1. API Description

This API is used to select a source.

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

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

Selecting 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 ""