Add start job + get schedulable jobs functions + API.

This commit is contained in:
Orne Brocaar
2025-01-30 10:10:33 +00:00
parent a3e27d8b65
commit 38386b23f2
6 changed files with 143 additions and 4 deletions

View File

@ -30,6 +30,9 @@ service FuotaService {
// Delete the FUOTA deployment for the given ID.
rpc DeleteDeployment(DeleteFuotaDeploymentRequest) returns (google.protobuf.Empty) {}
// Start the FUOTA deployment.
rpc StartDeployment(StartFuotaDeploymentRequest) returns (google.protobuf.Empty) {}
// List the FUOTA deployments.
rpc ListDeployments(ListFuotaDeploymentsRequest) returns (ListFuotaDeploymentsResponse) {}
@ -237,6 +240,11 @@ message DeleteFuotaDeploymentRequest {
string id = 1;
}
message StartFuotaDeploymentRequest {
// FUOTA deployment ID.
string id = 1;
}
message ListFuotaDeploymentsRequest {
// Max number of FUOTA deployments to return in the result-set.
// If not set, it will be treated as 0, and the response will only return the total_count.