Added Areas

These are blocks on the page to show custom content. Like typical advertisment-blocks on other websites.
This commit is contained in:
Nico Kroll 2025-08-21 09:40:40 +02:00
parent 7449bb1a06
commit cb2e4d1d60
1 changed files with 56 additions and 1 deletions

View File

@ -28,6 +28,25 @@ paths:
$ref: "#/components/responses/GenericError"
security:
- SessionScheme: []
/Areas:
get:
tags:
- "General"
parameters:
- $ref: "#/components/parameters/GuidOnlineService"
responses:
200:
description: "successful operation"
content:
application/json:
schema:
type: "array"
items:
$ref: "#/components/schemas/Area"
default:
$ref: "#/components/responses/GenericError"
security:
- SessionScheme: []
/Branches:
get:
tags:
@ -1249,6 +1268,43 @@ components:
FaxNumber: null
Latitude: 12.34
Longitude: 12.34
Area:
type: "object"
required:
- "Guid"
- "Designation"
- "SequenceNumber"
- "Position"
- "AttentionLevel"
- "MessageType"
- "Content"
properties:
Guid:
type: "string"
Designation:
type: "string"
SequenceNumber:
type: "integer"
Position:
type: "string"
enum:
- "top"
- "bottom"
- "left"
- "right"
AttentionLevel:
type: "string"
enum:
- "low"
- "mid"
- "high"
MessageType:
type: "string"
enum:
- "plaintext"
- "html"
Content:
type: "string"
ShopArticleConfig:
type: "object"
required:
@ -2052,7 +2108,6 @@ components:
# GET /Vehicles
# GET /Tubes
# GET /Campaigns
# GET /Areas
# GET /TopSoldArticles