onboard.devices

Operation: GET /dataservice/onboard/devices

GET Manual Onboard Device details

def get(status: str) -> List[DeviceDetailsData]: ...

Example:

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.onboard.devices.get()

Operation: POST /dataservice/onboard/devices

Manual Onboard added Device details

def post(payload: DeviceDetailsData) -> Any: ...

Example:

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.onboard.devices.post()