From fbcb1ff6bb79bf9316c239f173980841c1247d8f Mon Sep 17 00:00:00 2001 From: Nico Kroll Date: Mon, 20 Oct 2025 09:08:40 +0200 Subject: [PATCH] Filters extended for PairSearch --- src/v2/shop.yaml | 170 +++++++++++++++++++++++++++++++++-------------- 1 file changed, 119 insertions(+), 51 deletions(-) diff --git a/src/v2/shop.yaml b/src/v2/shop.yaml index 99a9789..e6e743a 100644 --- a/src/v2/shop.yaml +++ b/src/v2/shop.yaml @@ -1,7 +1,7 @@ openapi: 3.0.0 info: title: "TyrePro-API, Shop" - version: "Version 15" + version: "Version 16" servers: - url: "https://musterreifen.com/api/shop" description: "Development server, customers domain" @@ -457,6 +457,16 @@ paths: - $ref: "#/components/parameters/GuidMotorcycleDisplacement" - $ref: "#/components/parameters/GuidMotorcycleModel" - $ref: "#/components/parameters/GuidBranch" + - $ref: "#/components/parameters/SearchTerm2" + - $ref: "#/components/parameters/GuidWidth2" + - $ref: "#/components/parameters/GuidSection2" + - $ref: "#/components/parameters/GuidDiameter2" + - $ref: "#/components/parameters/GuidSpeedIndex2" + - $ref: "#/components/parameters/GuidLoadIndex2" + - $ref: "#/components/parameters/GuidHoleCount2" + - $ref: "#/components/parameters/GuidHoleCircle2" + - $ref: "#/components/parameters/GuidOffset2" + - $ref: "#/components/parameters/GuidHubBoreHole2" - name: "Type" description: "Provide the types you want to get. If this parameter is not provided, all types will be returned." in: "query" @@ -481,6 +491,15 @@ paths: - "MotorcycleManufacturer" - "MotorcycleDisplacement" - "MotorcycleModel" + - "Width2" + - "Section2" + - "Diameter2" + - "SpeedIndex2" + - "LoadIndex2" + - "HoleCount2" + - "HoleCircle2" + - "Offset2" + - "HubBoreHole2" responses: 200: description: "successful operation" @@ -604,56 +623,16 @@ paths: - $ref: "#/components/parameters/GuidBranch" - $ref: "#/components/parameters/GuidCalculationProfile" - $ref: "#/components/parameters/GuidShopArticleConfig" - - name: "SearchTerm2" - in: "query" - required: false - schema: - type: "string" - - name: "GuidWidth2" - in: "query" - required: false - schema: - type: "string" - - name: "GuidSection2" - in: "query" - required: false - schema: - type: "string" - - name: "GuidDiameter2" - in: "query" - required: false - schema: - type: "string" - - name: "GuidSpeedIndex2" - in: "query" - required: false - schema: - type: "string" - - name: "GuidLoadIndex2" - in: "query" - required: false - schema: - type: "string" - - name: "GuidHoleCount2" - in: "query" - required: false - schema: - type: "string" - - name: "GuidHoleCircle2" - in: "query" - required: false - schema: - type: "string" - - name: "GuidOffset2" - in: "query" - required: false - schema: - type: "string" - - name: "GuidHubBoreHole2" - in: "query" - required: false - schema: - type: "string" + - $ref: "#/components/parameters/SearchTerm2" + - $ref: "#/components/parameters/GuidWidth2" + - $ref: "#/components/parameters/GuidSection2" + - $ref: "#/components/parameters/GuidDiameter2" + - $ref: "#/components/parameters/GuidSpeedIndex2" + - $ref: "#/components/parameters/GuidLoadIndex2" + - $ref: "#/components/parameters/GuidHoleCount2" + - $ref: "#/components/parameters/GuidHoleCircle2" + - $ref: "#/components/parameters/GuidOffset2" + - $ref: "#/components/parameters/GuidHubBoreHole2" responses: 200: description: "successful operation" @@ -1550,6 +1529,15 @@ components: - "Offset" - "HubBoreHole" - "Manufacturer" + - "Width2" + - "Section2" + - "Diameter2" + - "SpeedIndex2" + - "LoadIndex2" + - "HoleCount2" + - "HoleCircle2" + - "Offset2" + - "HubBoreHole2" Options: type: "array" items: @@ -2361,6 +2349,86 @@ components: type: "string" default: null example: "2055516" + SearchTerm2: + name: "SearchTerm2" + in: "query" + required: false + schema: + type: "string" + default: null + example: "2055516" + GuidWidth2: + name: "GuidWidth2" + in: "query" + required: false + schema: + type: "string" + default: null + example: "ebb89e89-8d25-809e-7814-c53b686ae164" + GuidSection2: + name: "GuidSection2" + in: "query" + required: false + schema: + type: "string" + default: null + example: "ebb89e89-8d25-809e-7814-c53b686ae164" + GuidDiameter2: + name: "GuidDiameter2" + in: "query" + required: false + schema: + type: "string" + default: null + example: "ebb89e89-8d25-809e-7814-c53b686ae164" + GuidSpeedIndex2: + name: "GuidSpeedIndex2" + in: "query" + required: false + schema: + type: "string" + default: null + example: "ebb89e89-8d25-809e-7814-c53b686ae164" + GuidLoadIndex2: + name: "GuidLoadIndex2" + in: "query" + required: false + schema: + type: "string" + default: null + example: "ebb89e89-8d25-809e-7814-c53b686ae164" + GuidHoleCount2: + name: "GuidHoleCount2" + in: "query" + required: false + schema: + type: "string" + default: null + example: "ebb89e89-8d25-809e-7814-c53b686ae164" + GuidHoleCircle2: + name: "GuidHoleCircle2" + in: "query" + required: false + schema: + type: "string" + default: null + example: "ebb89e89-8d25-809e-7814-c53b686ae164" + GuidOffset2: + name: "GuidOffset2" + in: "query" + required: false + schema: + type: "string" + default: null + example: "ebb89e89-8d25-809e-7814-c53b686ae164" + GuidHubBoreHole2: + name: "GuidHubBoreHole2" + in: "query" + required: false + schema: + type: "string" + default: null + example: "ebb89e89-8d25-809e-7814-c53b686ae164" BinaryObjectContentType: name: "BinaryObjectContentType" in: "query"