device.action.firmware

Operation: POST /dataservice/device/action/firmware

Deprecated!!!

Upload firmware image package

def post() -> None: ...

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.device.action.firmware.post()

Operation: DELETE /dataservice/device/action/firmware/{versionId}

Deprecated!!!

Delete firmware image package

def delete(version_id: str) -> None: ...

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.device.action.firmware.delete()

Operation: GET /dataservice/device/action/firmware

Deprecated!!!

@overload
def get() -> None: ...

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.device.action.firmware.get()

Operation: GET /dataservice/device/action/firmware/{versionId}

Deprecated!!!

@overload
def get(version_id: str) -> None: ...

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.device.action.firmware.get()