Interface IFirmwareApi
public interface IFirmwareApi
Methods
GetFwListForAllDevices(FirmwareChannel, int, CancellationToken)
[Get("/fw/{channel}?fwListLength={fwListLength}")]
Task<ApiResponse<Dictionary<string, List<FirmwareInfoResponse>>>> GetFwListForAllDevices(FirmwareChannel channel, int fwListLength, CancellationToken ct)
Parameters
channel
FirmwareChannelfwListLength
intct
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
FirmwareTargetchannel
FirmwareChannelqueryParams
Dictionary<string, string>ct
CancellationToken
Returns
- Task<ApiResponse<FirmwareInfoResponse>>