Compare commits
3 Commits
adb589ef49
...
6eda09efbe
| Author | SHA1 | Date |
|---|---|---|
|
|
6eda09efbe | |
|
|
dc1751b852 | |
|
|
760da37fe3 |
|
|
@ -27,3 +27,4 @@ https://docs.hetzner.cloud/
|
||||||
https://opensource.zalando.com/restful-api-guidelines
|
https://opensource.zalando.com/restful-api-guidelines
|
||||||
https://kubernetes.io/docs/reference/using-api/api-concepts
|
https://kubernetes.io/docs/reference/using-api/api-concepts
|
||||||
https://docs.stripe.com/api/prices
|
https://docs.stripe.com/api/prices
|
||||||
|
https://developer.clickup.com/docs/authentication
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
openapi: 3.0.0
|
openapi: 3.0.0
|
||||||
info:
|
info:
|
||||||
title: "TyrePro-API, Shop"
|
title: "TyrePro-API, Shop"
|
||||||
version: "Version 16"
|
version: "Version 18"
|
||||||
servers:
|
servers:
|
||||||
- url: "https://musterreifen.com/api/shop"
|
- url: "https://musterreifen.com/api/shop"
|
||||||
description: "Development server, customers domain"
|
description: "Development server, customers domain"
|
||||||
|
|
@ -500,9 +500,21 @@ paths:
|
||||||
- "HoleCircle2"
|
- "HoleCircle2"
|
||||||
- "Offset2"
|
- "Offset2"
|
||||||
- "HubBoreHole2"
|
- "HubBoreHole2"
|
||||||
|
- name: "MaximumNumberOfOptions"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "integer"
|
||||||
|
default: 1000
|
||||||
|
example: 1000
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
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:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -666,11 +678,6 @@ paths:
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
headers:
|
|
||||||
Guid-Shop-Article-Config:
|
|
||||||
schema:
|
|
||||||
type: "string"
|
|
||||||
description: "The ShopArticleConfig which was used to build the response. With this unification the configuration is maybe not precise, but you can show the results in a unified form (columns). Currently it's a response header. In the future we will maybe change this as a field in a response object."
|
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -714,11 +721,6 @@ paths:
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
headers:
|
|
||||||
Guid-Shop-Article-Config:
|
|
||||||
schema:
|
|
||||||
type: "string"
|
|
||||||
description: "The ShopArticleConfig which was used to build the response. With this unification the configuration is maybe not precise, but you can show the results in a unified form (columns). Currently it's a response header. In the future we will maybe change this as a field in a response object."
|
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
|
|
@ -738,6 +740,13 @@ paths:
|
||||||
- $ref: "#/components/parameters/BinaryObjectContentType"
|
- $ref: "#/components/parameters/BinaryObjectContentType"
|
||||||
- $ref: "#/components/parameters/GuidShopArticle"
|
- $ref: "#/components/parameters/GuidShopArticle"
|
||||||
- $ref: "#/components/parameters/GuidMotorcycleModel"
|
- $ref: "#/components/parameters/GuidMotorcycleModel"
|
||||||
|
- name: "GuidShopArticle2"
|
||||||
|
in: "query"
|
||||||
|
required: false
|
||||||
|
schema:
|
||||||
|
type: "string"
|
||||||
|
default: null
|
||||||
|
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
responses:
|
responses:
|
||||||
200:
|
200:
|
||||||
description: "successful operation"
|
description: "successful operation"
|
||||||
|
|
@ -1335,6 +1344,7 @@ components:
|
||||||
- "Designation"
|
- "Designation"
|
||||||
- "Number"
|
- "Number"
|
||||||
- "IsActive"
|
- "IsActive"
|
||||||
|
- "DefaultDeliveryDate"
|
||||||
properties:
|
properties:
|
||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
|
@ -1356,6 +1366,9 @@ components:
|
||||||
type: "number"
|
type: "number"
|
||||||
Longitude:
|
Longitude:
|
||||||
type: "number"
|
type: "number"
|
||||||
|
DefaultDeliveryDate:
|
||||||
|
type: "string"
|
||||||
|
format: "date"
|
||||||
example:
|
example:
|
||||||
Guid: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
Guid: "ebb89e89-8d25-809e-7814-c53b686ae164"
|
||||||
Designation: "Zentrale"
|
Designation: "Zentrale"
|
||||||
|
|
@ -1408,9 +1421,16 @@ components:
|
||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
|
- "DesiredAmountOfDirectSearch"
|
||||||
|
- "DesiredAmountOfComfortSearch"
|
||||||
|
- "Columns"
|
||||||
properties:
|
properties:
|
||||||
Guid:
|
Guid:
|
||||||
type: "string"
|
type: "string"
|
||||||
|
DesiredAmountOfDirectSearch:
|
||||||
|
type: "number"
|
||||||
|
DesiredAmountOfComfortSearch:
|
||||||
|
type: "number"
|
||||||
Columns:
|
Columns:
|
||||||
type: "array"
|
type: "array"
|
||||||
items:
|
items:
|
||||||
|
|
@ -1474,34 +1494,44 @@ components:
|
||||||
type: "string"
|
type: "string"
|
||||||
GuidVehicleType:
|
GuidVehicleType:
|
||||||
type: "string"
|
type: "string"
|
||||||
Types:
|
TypeGroups:
|
||||||
type: "array"
|
type: "array"
|
||||||
items:
|
items:
|
||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
- "Designation"
|
- "Designation"
|
||||||
- "Type"
|
- "Types"
|
||||||
properties:
|
properties:
|
||||||
Designation:
|
Designation:
|
||||||
type: "string"
|
type: "string"
|
||||||
Type:
|
Types:
|
||||||
type: "string"
|
type: "array"
|
||||||
enum:
|
items:
|
||||||
- "MaterialType"
|
type: "object"
|
||||||
- "VehicleType"
|
required:
|
||||||
- "Width"
|
- "Designation"
|
||||||
- "Section"
|
- "Type"
|
||||||
- "Diameter"
|
properties:
|
||||||
- "SpeedIndex"
|
Designation:
|
||||||
- "LoadIndex"
|
type: "string"
|
||||||
- "HoleCount"
|
Type:
|
||||||
- "HoleCircle"
|
type: "string"
|
||||||
- "Offset"
|
enum:
|
||||||
- "HubBoreHole"
|
- "MaterialType"
|
||||||
- "Manufacturer"
|
- "VehicleType"
|
||||||
- "MotorcycleManufacturer"
|
- "Width"
|
||||||
- "MotorcycleDisplacement"
|
- "Section"
|
||||||
- "MotorcycleModel"
|
- "Diameter"
|
||||||
|
- "SpeedIndex"
|
||||||
|
- "LoadIndex"
|
||||||
|
- "HoleCount"
|
||||||
|
- "HoleCircle"
|
||||||
|
- "Offset"
|
||||||
|
- "HubBoreHole"
|
||||||
|
- "Manufacturer"
|
||||||
|
- "MotorcycleManufacturer"
|
||||||
|
- "MotorcycleDisplacement"
|
||||||
|
- "MotorcycleModel"
|
||||||
Filter:
|
Filter:
|
||||||
type: "object"
|
type: "object"
|
||||||
required:
|
required:
|
||||||
|
|
@ -1861,6 +1891,7 @@ components:
|
||||||
- "Guid"
|
- "Guid"
|
||||||
- "GuidCurrency"
|
- "GuidCurrency"
|
||||||
- "DefaultAmount"
|
- "DefaultAmount"
|
||||||
|
- "DefaultDeliveryDate"
|
||||||
- "OneClickPurchase"
|
- "OneClickPurchase"
|
||||||
- "FullTaxPercentage"
|
- "FullTaxPercentage"
|
||||||
- "ReducedTaxPercentage"
|
- "ReducedTaxPercentage"
|
||||||
|
|
@ -1886,6 +1917,10 @@ components:
|
||||||
DefaultAmount:
|
DefaultAmount:
|
||||||
type: "number"
|
type: "number"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
DefaultDeliveryDate:
|
||||||
|
type: "string"
|
||||||
|
format: "date"
|
||||||
|
readOnly: true
|
||||||
OneClickPurchase:
|
OneClickPurchase:
|
||||||
type: "boolean"
|
type: "boolean"
|
||||||
readOnly: true
|
readOnly: true
|
||||||
|
|
|
||||||
|
|
@ -167,6 +167,23 @@ paths:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
/CustomerStorages/{Guid}/custommethods/Predecessor:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- "TPMS / customer storage"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidPathParameter"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/CustomerStorage"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
/CustomerStorages/{Guid}/custommethods/Rearrange:
|
/CustomerStorages/{Guid}/custommethods/Rearrange:
|
||||||
post:
|
post:
|
||||||
tags:
|
tags:
|
||||||
|
|
@ -184,6 +201,23 @@ paths:
|
||||||
$ref: "#/components/responses/GenericError"
|
$ref: "#/components/responses/GenericError"
|
||||||
security:
|
security:
|
||||||
- SessionScheme: []
|
- SessionScheme: []
|
||||||
|
/CustomerStorages/{Guid}/custommethods/Successor:
|
||||||
|
get:
|
||||||
|
tags:
|
||||||
|
- "TPMS / customer storage"
|
||||||
|
parameters:
|
||||||
|
- $ref: "#/components/parameters/GuidPathParameter"
|
||||||
|
responses:
|
||||||
|
200:
|
||||||
|
description: "successful operation"
|
||||||
|
content:
|
||||||
|
application/json:
|
||||||
|
schema:
|
||||||
|
$ref: "#/components/schemas/CustomerStorage"
|
||||||
|
default:
|
||||||
|
$ref: "#/components/responses/GenericError"
|
||||||
|
security:
|
||||||
|
- SessionScheme: []
|
||||||
/CustomerStoragePositions/{Guid}:
|
/CustomerStoragePositions/{Guid}:
|
||||||
get:
|
get:
|
||||||
tags:
|
tags:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue