Skip to main content

task_get

Function task_get 

Source
pub async fn task_get(
    __arg0: State<AppState>,
    __arg1: Path<String>,
) -> Result<Json<TaskDetailResponse>, ApiError>
Expand description

GET /v1/tasks/:id. Returns the TaskRecord plus every RunRecord kicked from it (RunStore::list_by_task, oldest kick first).