From 3de06100367e9bf51b79c4ffd434b69770e99d0a Mon Sep 17 00:00:00 2001 From: Chris Hoage Date: Sat, 11 Jul 2026 17:51:16 -0700 Subject: [PATCH] add global overrides to list and local options --- openapi.json | 28 ++++++++++++++++++++++++++++ openapi.yaml | 16 ++++++++++++++++ types.d.ts | 16 ++++++++++++++++ 3 files changed, 60 insertions(+) diff --git a/openapi.json b/openapi.json index 0f043ce..01bd6f8 100644 --- a/openapi.json +++ b/openapi.json @@ -3044,6 +3044,12 @@ { "$ref": "#/components/parameters/Operations_ListPostHashTypesParam" }, + { + "$ref": "#/components/parameters/GlobalConfigParam" + }, + { + "$ref": "#/components/parameters/GlobalFilterParam" + }, { "$ref": "#/components/parameters/GlobalGroupParam" }, @@ -3956,6 +3962,12 @@ "description": "Returns the current effective options for this request, including `_config` and `_filter` overrides.", "tags": [], "parameters": [ + { + "$ref": "#/components/parameters/GlobalConfigParam" + }, + { + "$ref": "#/components/parameters/GlobalFilterParam" + }, { "$ref": "#/components/parameters/GlobalGroupParam" }, @@ -10838,6 +10850,14 @@ }, "description": "Specify one or more hash algorithms to include when `showHash` is true (e.g. `md5`)." }, + "_config": { + "type": "string", + "description": "JSON encoded config overrides applied for this call only." + }, + "_filter": { + "type": "string", + "description": "JSON encoded filter overrides applied for this call only." + }, "_group": { "type": "string", "description": "Assign the request to a custom stats group." @@ -11361,6 +11381,14 @@ "OptionsLocalRequest": { "type": "object", "properties": { + "_config": { + "type": "string", + "description": "JSON encoded config overrides applied for this call only." + }, + "_filter": { + "type": "string", + "description": "JSON encoded filter overrides applied for this call only." + }, "_group": { "type": "string", "description": "Assign the request to a custom stats group." diff --git a/openapi.yaml b/openapi.yaml index 5723708..cdf3d92 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -1666,6 +1666,8 @@ paths: - $ref: "#/components/parameters/Operations_ListPostFilesOnlyParam" - $ref: "#/components/parameters/Operations_ListPostMetadataParam" - $ref: "#/components/parameters/Operations_ListPostHashTypesParam" + - $ref: "#/components/parameters/GlobalConfigParam" + - $ref: "#/components/parameters/GlobalFilterParam" - $ref: "#/components/parameters/GlobalGroupParam" - $ref: "#/components/parameters/GlobalAsyncParam" - $ref: "#/components/parameters/PreferAsyncHeader" @@ -2132,6 +2134,8 @@ paths: description: Returns the current effective options for this request, including `_config` and `_filter` overrides. tags: [] parameters: + - $ref: "#/components/parameters/GlobalConfigParam" + - $ref: "#/components/parameters/GlobalFilterParam" - $ref: "#/components/parameters/GlobalGroupParam" - $ref: "#/components/parameters/GlobalAsyncParam" - $ref: "#/components/parameters/PreferAsyncHeader" @@ -6906,6 +6910,12 @@ components: items: type: string description: Specify one or more hash algorithms to include when `showHash` is true (e.g. `md5`). + _config: + type: string + description: JSON encoded config overrides applied for this call only. + _filter: + type: string + description: JSON encoded filter overrides applied for this call only. _group: type: string description: Assign the request to a custom stats group. @@ -7291,6 +7301,12 @@ components: OptionsLocalRequest: type: object properties: + _config: + type: string + description: JSON encoded config overrides applied for this call only. + _filter: + type: string + description: JSON encoded filter overrides applied for this call only. _group: type: string description: Assign the request to a custom stats group. diff --git a/types.d.ts b/types.d.ts index 0db5cdc..c0a1831 100644 --- a/types.d.ts +++ b/types.d.ts @@ -2678,6 +2678,10 @@ export interface components { metadata?: boolean; /** @description Specify one or more hash algorithms to include when `showHash` is true (e.g. `md5`). */ hashTypes?: string[]; + /** @description JSON encoded config overrides applied for this call only. */ + _config?: string; + /** @description JSON encoded filter overrides applied for this call only. */ + _filter?: string; /** @description Assign the request to a custom stats group. */ _group?: string; /** @description Run the command asynchronously. Returns a job id immediately. */ @@ -2956,6 +2960,10 @@ export interface components { [key: string]: unknown; }; OptionsLocalRequest: { + /** @description JSON encoded config overrides applied for this call only. */ + _config?: string; + /** @description JSON encoded filter overrides applied for this call only. */ + _filter?: string; /** @description Assign the request to a custom stats group. */ _group?: string; /** @description Run the command asynchronously. Returns a job id immediately. */ @@ -6675,6 +6683,10 @@ export interface operations { metadata?: components["parameters"]["Operations_ListPostMetadataParam"]; /** @description Specify one or more hash algorithms to include when `showHash` is true (e.g. `md5`). */ hashTypes?: components["parameters"]["Operations_ListPostHashTypesParam"]; + /** @description JSON encoded config overrides applied for this call only. */ + _config?: components["parameters"]["GlobalConfigParam"]; + /** @description JSON encoded filter overrides applied for this call only. */ + _filter?: components["parameters"]["GlobalFilterParam"]; /** @description Assign the request to a custom stats group. */ _group?: components["parameters"]["GlobalGroupParam"]; /** @description Run the command asynchronously. Returns a job id immediately. */ @@ -7268,6 +7280,10 @@ export interface operations { optionsLocal: { parameters: { query?: { + /** @description JSON encoded config overrides applied for this call only. */ + _config?: components["parameters"]["GlobalConfigParam"]; + /** @description JSON encoded filter overrides applied for this call only. */ + _filter?: components["parameters"]["GlobalFilterParam"]; /** @description Assign the request to a custom stats group. */ _group?: components["parameters"]["GlobalGroupParam"]; /** @description Run the command asynchronously. Returns a job id immediately. */