Offerings: OfferingBanner (planbare banner, GET /offerings/banner) en layout verwijderd (backend)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
+169
-12
@@ -437,12 +437,6 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"layout": {
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"price": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -535,6 +529,51 @@
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"OfferingBannerRequest": {
|
||||
"properties": {
|
||||
"endsAt": {
|
||||
"format": "date-time",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"isActive": {
|
||||
"default": true,
|
||||
"type": "boolean"
|
||||
},
|
||||
"linkLabel": {
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"linkUrl": {
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"startsAt": {
|
||||
"format": "date-time",
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"text": {
|
||||
"type": "string"
|
||||
},
|
||||
"title": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"title",
|
||||
"text"
|
||||
],
|
||||
"type": "object"
|
||||
},
|
||||
"OfferingCategoryRequest": {
|
||||
"properties": {
|
||||
"name": {
|
||||
@@ -783,12 +822,6 @@
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"layout": {
|
||||
"type": [
|
||||
"null",
|
||||
"string"
|
||||
]
|
||||
},
|
||||
"price": {
|
||||
"type": "string"
|
||||
},
|
||||
@@ -2223,6 +2256,124 @@
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/v1/offerings/banner": {
|
||||
"get": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"PublicOfferingBanner"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/v1/offerings/banners": {
|
||||
"get": {
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"OfferingBanners"
|
||||
]
|
||||
},
|
||||
"post": {
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/*+json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/OfferingBannerRequest"
|
||||
}
|
||||
},
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/OfferingBannerRequest"
|
||||
}
|
||||
},
|
||||
"text/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/OfferingBannerRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"OfferingBanners"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/v1/offerings/banners/{id}": {
|
||||
"delete": {
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"format": "uuid",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"OfferingBanners"
|
||||
]
|
||||
},
|
||||
"put": {
|
||||
"parameters": [
|
||||
{
|
||||
"in": "path",
|
||||
"name": "id",
|
||||
"required": true,
|
||||
"schema": {
|
||||
"format": "uuid",
|
||||
"type": "string"
|
||||
}
|
||||
}
|
||||
],
|
||||
"requestBody": {
|
||||
"content": {
|
||||
"application/*+json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/OfferingBannerRequest"
|
||||
}
|
||||
},
|
||||
"application/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/OfferingBannerRequest"
|
||||
}
|
||||
},
|
||||
"text/json": {
|
||||
"schema": {
|
||||
"$ref": "#/components/schemas/OfferingBannerRequest"
|
||||
}
|
||||
}
|
||||
},
|
||||
"required": true
|
||||
},
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "OK"
|
||||
}
|
||||
},
|
||||
"tags": [
|
||||
"OfferingBanners"
|
||||
]
|
||||
}
|
||||
},
|
||||
"/api/v1/offerings/categories": {
|
||||
"get": {
|
||||
"responses": {
|
||||
@@ -2482,6 +2633,12 @@
|
||||
{
|
||||
"name": "SlaveStatus"
|
||||
},
|
||||
{
|
||||
"name": "OfferingBanners"
|
||||
},
|
||||
{
|
||||
"name": "PublicOfferingBanner"
|
||||
},
|
||||
{
|
||||
"name": "OfferingCategories"
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user