From add0bad718c385deb484e078a5bc2bf9e9756878 Mon Sep 17 00:00:00 2001 From: Nico Kroll Date: Wed, 3 Jun 2026 15:10:23 +0200 Subject: [PATCH] Removing Filters and FilterSuggestions Use Filters2 --- src/v2/shop.yaml | 213 +---------------------------------------------- 1 file changed, 1 insertion(+), 212 deletions(-) diff --git a/src/v2/shop.yaml b/src/v2/shop.yaml index b940c95..197c7f0 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 19" + version: "Version 20" servers: - url: "https://musterreifen.com/api/shop" description: "Development server, customers domain" @@ -434,97 +434,6 @@ paths: security: - SessionScheme: [] # Search - /Filters: - get: - tags: - - "Search" - parameters: - - $ref: "#/components/parameters/GuidOnlineService" - - $ref: "#/components/parameters/SearchTerm1" - - $ref: "#/components/parameters/GuidMaterialType" - - $ref: "#/components/parameters/GuidVehicleType" - - $ref: "#/components/parameters/GuidWidth" - - $ref: "#/components/parameters/GuidSection" - - $ref: "#/components/parameters/GuidDiameter" - - $ref: "#/components/parameters/GuidSpeedIndex" - - $ref: "#/components/parameters/GuidLoadIndex" - - $ref: "#/components/parameters/GuidHoleCount" - - $ref: "#/components/parameters/GuidHoleCircle" - - $ref: "#/components/parameters/GuidOffset" - - $ref: "#/components/parameters/GuidHubBoreHole" - - $ref: "#/components/parameters/GuidManufacturer" - - $ref: "#/components/parameters/GuidMotorcycleManufacturer" - - $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" - required: false - schema: - type: "array" - items: - type: "string" - enum: - - "MaterialType" - - "VehicleType" - - "Width" - - "Section" - - "Diameter" - - "SpeedIndex" - - "LoadIndex" - - "HoleCount" - - "HoleCircle" - - "Offset" - - "HubBoreHole" - - "Manufacturer" - - "MotorcycleManufacturer" - - "MotorcycleDisplacement" - - "MotorcycleModel" - - "Width2" - - "Section2" - - "Diameter2" - - "SpeedIndex2" - - "LoadIndex2" - - "HoleCount2" - - "HoleCircle2" - - "Offset2" - - "HubBoreHole2" - - name: "MaximumNumberOfOptions" - in: "query" - required: false - schema: - type: "integer" - default: 1000 - example: 1000 - responses: - 200: - description: "successful operation" - headers: - Developer-Hint: - schema: - type: "string" - description: "To prevent data intense calls, we may manipulate your request. If so, you get a hint here, what exactly we've done." - content: - application/json: - schema: - type: "array" - items: - $ref: "#/components/schemas/Filter" - default: - $ref: "#/components/responses/GenericError" - security: - - SessionScheme: [] /Filters2: get: tags: @@ -569,25 +478,6 @@ paths: $ref: "#/components/responses/GenericError" security: - SessionScheme: [] - /FilterSuggestions: - get: - tags: - - "Search" - parameters: - - $ref: "#/components/parameters/GuidOnlineService" - responses: - 200: - description: "successful operation" - content: - application/json: - schema: - type: "array" - items: - $ref: "#/components/schemas/FilterSuggestion" - default: - $ref: "#/components/responses/GenericError" - security: - - SessionScheme: [] /ShopArticleConfigs: get: tags: @@ -1529,107 +1419,6 @@ components: enum: - "NewTab" - "SameTab" - FilterSuggestion: - type: "object" - required: - - "Guid" - properties: - GuidMaterialType: - type: "string" - GuidVehicleType: - type: "string" - TypeGroups: - type: "array" - items: - type: "object" - required: - - "Designation" - - "Types" - properties: - Designation: - type: "string" - Types: - type: "array" - items: - type: "object" - required: - - "Designation" - - "Type" - properties: - Designation: - type: "string" - Type: - type: "string" - enum: - - "MaterialType" - - "VehicleType" - - "Width" - - "Section" - - "Diameter" - - "SpeedIndex" - - "LoadIndex" - - "HoleCount" - - "HoleCircle" - - "Offset" - - "HubBoreHole" - - "Manufacturer" - - "MotorcycleManufacturer" - - "MotorcycleDisplacement" - - "MotorcycleModel" - Filter: - type: "object" - required: - - "Guid" - - "Designation" - - "Type" - - "Options" - properties: - Guid: - type: "string" - Designation: - type: "string" - Type: - type: "string" - enum: - - "MaterialType" - - "VehicleType" - - "Width" - - "Section" - - "Diameter" - - "SpeedIndex" - - "LoadIndex" - - "HoleCount" - - "HoleCircle" - - "Offset" - - "HubBoreHole" - - "Manufacturer" - - "Width2" - - "Section2" - - "Diameter2" - - "SpeedIndex2" - - "LoadIndex2" - - "HoleCount2" - - "HoleCircle2" - - "Offset2" - - "HubBoreHole2" - Options: - type: "array" - items: - type: "object" - required: - - "Designation" - - "NumberOfResults" - - "ParameterKey" - - "ParameterValue" - properties: - Designation: - type: "string" - NumberOfResults: - type: "integer" - ParameterKey: - type: "string" - ParameterValue: - type: "string" Filter2: type: "object" required: