From 20cfd71bf1a086eabc62b545411f3a5b57f71ffe Mon Sep 17 00:00:00 2001 From: Lukas Bindreiter Date: Fri, 12 Sep 2025 12:19:30 +0200 Subject: [PATCH] Add GetJobProgress endpoint --- apis/workflows/v1/job.proto | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/apis/workflows/v1/job.proto b/apis/workflows/v1/job.proto index 28930c7..28ae510 100644 --- a/apis/workflows/v1/job.proto +++ b/apis/workflows/v1/job.proto @@ -33,6 +33,18 @@ message GetJobRequest { tilebox.v1.ID job_id = 1 [(buf.validate.field).required = true]; } +// GetJobProgressRequest requests the status of a jobs progress bars. +message GetJobProgressRequest { + // The ID of the job to get progress for. + tilebox.v1.ID job_id = 1 [(buf.validate.field).required = true]; +} + +// JobProgressResponse is the response to a GetJobProgressRequest. +message JobProgressResponse { + // The progress bars for a given job. + repeated ProgressBar progress_bars = 1; +} + // RetryJobRequest requests a retry of a job that has failed. message RetryJobRequest { // The job to retry.