=========================== device.action.remote_server =========================== Operation: POST /dataservice/device/action/remote-server -------------------------------------------------------- Add a new remote server entry. .. code:: python def post(payload: Any) -> None: ... Example: ^^^^^^^^ .. code:: python from catalyswan.core import create_client url = "example.com" username = "admin" password = "password123" with create_client( url=url, username=username, password=password ) as client: client.device.action.remote_server.post() Operation: PUT /dataservice/device/action/remote-server/{id} ------------------------------------------------------------ Update remote server for the specified ID .. code:: python def put(id: str, payload: str) -> Any: ... Example: ^^^^^^^^ .. code:: python from catalyswan.core import create_client url = "example.com" username = "admin" password = "password123" with create_client( url=url, username=username, password=password ) as client: client.device.action.remote_server.put() Operation: DELETE /dataservice/device/action/remote-server/{id} --------------------------------------------------------------- Delete remote server for the specified ID .. code:: python def delete(id: str, payload: Optional[Any] = None) -> None: ... Example: ^^^^^^^^ .. code:: python from catalyswan.core import create_client url = "example.com" username = "admin" password = "password123" with create_client( url=url, username=username, password=password ) as client: client.device.action.remote_server.delete() Operation: GET /dataservice/device/action/remote-server ------------------------------------------------------- .. code:: python @overload def get() -> Any: ... Example: ^^^^^^^^ .. code:: python from catalyswan.core import create_client url = "example.com" username = "admin" password = "password123" with create_client( url=url, username=username, password=password ) as client: client.device.action.remote_server.get() Operation: GET /dataservice/device/action/remote-server/{id} ------------------------------------------------------------ .. code:: python @overload def get(id: str) -> Any: ... Example: ^^^^^^^^ .. code:: python from catalyswan.core import create_client url = "example.com" username = "admin" password = "password123" with create_client( url=url, username=username, password=password ) as client: client.device.action.remote_server.get()