Interface IFirmwareApi
- Namespace
- Huddly.Sdk.Gateways
- Assembly
- Huddly.Sdk.dll
public interface IFirmwareApi
Methods
GetFwListForAllDevices(FirmwareChannel, Dictionary<string, string>, CancellationToken)
[Get("/fw/{channel}")]
Task<ApiResponse<Dictionary<string, List<FirmwareInfoResponse>>>> GetFwListForAllDevices(FirmwareChannel channel, Dictionary<string, string> queryParams, CancellationToken ct)
Parameters
channel FirmwareChannel
queryParams Dictionary<string, string>
ct CancellationToken
Returns
- Task<ApiResponse<Dictionary<string, List<FirmwareInfoResponse>>>>
GetFwListForAllDevices(FirmwareChannel, int, CancellationToken)
[Get("/fw/{channel}?fwListLength={fwListLength}")]
Task<ApiResponse<Dictionary<string, List<FirmwareInfoResponse>>>> GetFwListForAllDevices(FirmwareChannel channel, int fwListLength, CancellationToken ct)
Parameters
channel FirmwareChannel
fwListLength int
ct CancellationToken
Returns
- Task<ApiResponse<Dictionary<string, List<FirmwareInfoResponse>>>>
GetLatestFirmware(FirmwareTarget, FirmwareChannel, Dictionary<string, string>, CancellationToken)
[Get("/releases/{channel}/latest/{target}")]
Task<ApiResponse<FirmwareInfoResponse>> GetLatestFirmware(FirmwareTarget target, FirmwareChannel channel, Dictionary<string, string> queryParams, CancellationToken ct)
Parameters
target FirmwareTarget
channel FirmwareChannel
queryParams Dictionary<string, string>
ct CancellationToken
Returns
- Task<ApiResponse<FirmwareInfoResponse>>