Data API — Device Operations
device_operations_detail
sync(operation_name: str, client: AuthenticatedClient | Client) -> DeviceOperationDetailResponse | ProblemDetails | list[ErrorResponse] | NoneParameter | Type | Default |
|---|---|---|
operation_name | str | required |
client | AuthenticatedClient | Client | required |
Returns: DeviceOperationDetailResponse | ProblemDetails | list[ErrorResponse] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |
device_operations_list
sync(client: AuthenticatedClient | Client, search: str | Unset = UNSET, page: int | Unset = UNSET, page_size: int | Unset = UNSET) -> ProblemDetails | list[DeviceOperationSummaryResponse] | list[ErrorResponse] | NoneParameter | Type | Default |
|---|---|---|
client | AuthenticatedClient | Client | required |
search | str | Unset | UNSET |
page | int | Unset | UNSET |
page_size | int | Unset | UNSET |
Returns: ProblemDetails | list[DeviceOperationSummaryResponse] | list[ErrorResponse] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |
device_operations_publish
sync(operation_name: str, client: AuthenticatedClient | Client, body: DeviceOperationPublishRequest | Unset = UNSET) -> Any | ProblemDetails | list[ErrorResponse] | NoneParameter | Type | Default |
|---|---|---|
operation_name | str | required |
client | AuthenticatedClient | Client | required |
body | DeviceOperationPublishRequest | Unset | UNSET |
Returns: Any | ProblemDetails | list[ErrorResponse] | None
Raises:
Exception | Condition |
|---|---|
If the server returns an undocumented status code and Client.raise_on_unexpected_status is True. | |
TimeoutException | If the request takes longer than Client.timeout. |