Compare commits

..

No commits in common. "6eda09efbedcbca86193c0747d009df81fe9590b" and "adb589ef49aaac5a2d39366615e8802bf10c23d6" have entirely different histories.

3 changed files with 31 additions and 101 deletions

View File

@ -27,4 +27,3 @@ https://docs.hetzner.cloud/
https://opensource.zalando.com/restful-api-guidelines
https://kubernetes.io/docs/reference/using-api/api-concepts
https://docs.stripe.com/api/prices
https://developer.clickup.com/docs/authentication

View File

@ -1,7 +1,7 @@
openapi: 3.0.0
info:
title: "TyrePro-API, Shop"
version: "Version 18"
version: "Version 16"
servers:
- url: "https://musterreifen.com/api/shop"
description: "Development server, customers domain"
@ -500,21 +500,9 @@ paths:
- "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:
@ -678,6 +666,11 @@ paths:
responses:
200:
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:
application/json:
schema:
@ -721,6 +714,11 @@ paths:
responses:
200:
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:
application/json:
schema:
@ -740,13 +738,6 @@ paths:
- $ref: "#/components/parameters/BinaryObjectContentType"
- $ref: "#/components/parameters/GuidShopArticle"
- $ref: "#/components/parameters/GuidMotorcycleModel"
- name: "GuidShopArticle2"
in: "query"
required: false
schema:
type: "string"
default: null
example: "ebb89e89-8d25-809e-7814-c53b686ae164"
responses:
200:
description: "successful operation"
@ -1344,7 +1335,6 @@ components:
- "Designation"
- "Number"
- "IsActive"
- "DefaultDeliveryDate"
properties:
Guid:
type: "string"
@ -1366,9 +1356,6 @@ components:
type: "number"
Longitude:
type: "number"
DefaultDeliveryDate:
type: "string"
format: "date"
example:
Guid: "ebb89e89-8d25-809e-7814-c53b686ae164"
Designation: "Zentrale"
@ -1421,16 +1408,9 @@ components:
type: "object"
required:
- "Guid"
- "DesiredAmountOfDirectSearch"
- "DesiredAmountOfComfortSearch"
- "Columns"
properties:
Guid:
type: "string"
DesiredAmountOfDirectSearch:
type: "number"
DesiredAmountOfComfortSearch:
type: "number"
Columns:
type: "array"
items:
@ -1494,16 +1474,6 @@ components:
type: "string"
GuidVehicleType:
type: "string"
TypeGroups:
type: "array"
items:
type: "object"
required:
- "Designation"
- "Types"
properties:
Designation:
type: "string"
Types:
type: "array"
items:
@ -1891,7 +1861,6 @@ components:
- "Guid"
- "GuidCurrency"
- "DefaultAmount"
- "DefaultDeliveryDate"
- "OneClickPurchase"
- "FullTaxPercentage"
- "ReducedTaxPercentage"
@ -1917,10 +1886,6 @@ components:
DefaultAmount:
type: "number"
readOnly: true
DefaultDeliveryDate:
type: "string"
format: "date"
readOnly: true
OneClickPurchase:
type: "boolean"
readOnly: true

View File

@ -167,23 +167,6 @@ paths:
$ref: "#/components/responses/GenericError"
security:
- 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:
post:
tags:
@ -201,23 +184,6 @@ paths:
$ref: "#/components/responses/GenericError"
security:
- 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}:
get:
tags: