Removing Filters and FilterSuggestions
Use Filters2
This commit is contained in:
+1
-212
@@ -1,7 +1,7 @@
|
|||||||
openapi: 3.0.0
|
openapi: 3.0.0
|
||||||
info:
|
info:
|
||||||
title: "TyrePro-API, Shop"
|
title: "TyrePro-API, Shop"
|
||||||
version: "Version 19"
|
version: "Version 20"
|
||||||
servers:
|
servers:
|
||||||
- url: "https://musterreifen.com/api/shop"
|
- url: "https://musterreifen.com/api/shop"
|
||||||
description: "Development server, customers domain"
|
description: "Development server, customers domain"
|
||||||
@@ -434,97 +434,6 @@ paths:
|
|||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
# Search
|
# 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:
|
/Filters2:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@@ -569,25 +478,6 @@ paths:
|
|||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- 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:
|
/ShopArticleConfigs:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
@@ -1529,107 +1419,6 @@ components:
|
|||||||
enum:
|
enum:
|
||||||
- "NewTab"
|
- "NewTab"
|
||||||
- "SameTab"
|
- "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:
|
Filter2:
|
||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
|
|||||||
Reference in New Issue
Block a user