From c6456a50316bd11bb87167b5aae60284653123bf Mon Sep 17 00:00:00 2001 From: Chris Hoage Date: Sat, 11 Jul 2026 17:53:57 -0700 Subject: [PATCH] add stats groups to batch jobs --- openapi.json | 8 ++++++++ openapi.yaml | 6 ++++++ types.d.ts | 4 ++++ 3 files changed, 18 insertions(+) diff --git a/openapi.json b/openapi.json index 0f043ce..be22719 100644 --- a/openapi.json +++ b/openapi.json @@ -9115,6 +9115,10 @@ "JobBatchRequest": { "type": "object", "properties": { + "_group": { + "type": "string", + "description": "Stats group this batch accumulates under." + }, "concurrency": { "type": "integer", "description": "Do this many commands concurrently. Defaults to --transfers if not set." @@ -9131,6 +9135,10 @@ "_path": { "type": "string", "description": "rc/path" + }, + "_group": { + "type": "string", + "description": "Stats group this input accumulates under." } }, "additionalProperties": true diff --git a/openapi.yaml b/openapi.yaml index 5723708..2a9fba1 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -5698,6 +5698,9 @@ components: JobBatchRequest: type: object properties: + _group: + type: string + description: Stats group this batch accumulates under. concurrency: type: integer description: Do this many commands concurrently. Defaults to --transfers if not set. @@ -5712,6 +5715,9 @@ components: _path: type: string description: rc/path + _group: + type: string + description: Stats group this input accumulates under. additionalProperties: true _async: type: boolean diff --git a/types.d.ts b/types.d.ts index 0db5cdc..141d7bf 100644 --- a/types.d.ts +++ b/types.d.ts @@ -1945,12 +1945,16 @@ export type webhooks = Record; export interface components { schemas: { JobBatchRequest: { + /** @description Stats group this batch accumulates under. */ + _group?: string; /** @description Do this many commands concurrently. Defaults to --transfers if not set. */ concurrency?: number; /** @description List of inputs to the commands with an extra _path parameter. */ inputs?: ({ /** @description rc/path */ _path: string; + /** @description Stats group this input accumulates under. */ + _group?: string; } & { [key: string]: unknown; })[];