4495 lines
102 KiB
JSON
4495 lines
102 KiB
JSON
{
|
|
"components": {
|
|
"responses": {
|
|
"RateLimited": {
|
|
"content": {
|
|
"application/problem+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Problem"
|
|
}
|
|
}
|
|
},
|
|
"description": "Too many requests. Retry after the number of seconds in the Retry-After header.",
|
|
"headers": {
|
|
"Retry-After": {
|
|
"description": "Seconds to wait before retrying.",
|
|
"schema": {
|
|
"format": "int32",
|
|
"type": "integer"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"TooLarge": {
|
|
"content": {
|
|
"application/problem+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/Problem"
|
|
}
|
|
}
|
|
},
|
|
"description": "The request body is too large."
|
|
},
|
|
"Validation": {
|
|
"content": {
|
|
"application/problem+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ValidationProblem"
|
|
}
|
|
}
|
|
},
|
|
"description": "Validation failed (also an expired, forged or other-site token as errors.token=[\"expired\"], a missing or non-UUID Idempotency-Key, and an unreadable body as errors.body=[\"invalid\"])."
|
|
}
|
|
},
|
|
"schemas": {
|
|
"AvailabilityStatus": {
|
|
"type": "integer"
|
|
},
|
|
"ChangePasswordRequest": {
|
|
"properties": {
|
|
"currentPassword": {
|
|
"type": "string"
|
|
},
|
|
"newPassword": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"currentPassword",
|
|
"newPassword"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ChangeRoleRequest": {
|
|
"properties": {
|
|
"newRole": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"newRole"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"CompleteSetupRequest": {
|
|
"properties": {
|
|
"name": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"password": {
|
|
"type": "string"
|
|
},
|
|
"token": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"token",
|
|
"password"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ContactCaptchaInfo": {
|
|
"properties": {
|
|
"apiEndpoint": {
|
|
"default": "global",
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string"
|
|
},
|
|
"siteKey": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"provider",
|
|
"siteKey"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ContactMessageDetail": {
|
|
"properties": {
|
|
"email": {
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"mailAttempts": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"mailError": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"mailStatus": {
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"nextMailAttemptAt": {
|
|
"format": "date-time",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"receivedAt": {
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"retentionUntil": {
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"subject": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"receivedAt",
|
|
"name",
|
|
"email",
|
|
"subject",
|
|
"message",
|
|
"status",
|
|
"mailStatus",
|
|
"mailAttempts",
|
|
"mailError",
|
|
"retentionUntil"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ContactMessageList": {
|
|
"properties": {
|
|
"items": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/ContactMessageListItem"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"page": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"pageSize": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"totalCount": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"unreadCount": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"items",
|
|
"page",
|
|
"pageSize",
|
|
"totalCount",
|
|
"unreadCount"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ContactMessageListItem": {
|
|
"properties": {
|
|
"email": {
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"mailStatus": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"receivedAt": {
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"subject": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"receivedAt",
|
|
"name",
|
|
"email",
|
|
"subject",
|
|
"status",
|
|
"mailStatus"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ContactMessageRequest": {
|
|
"properties": {
|
|
"captchaToken": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"email": {
|
|
"maxLength": 254,
|
|
"type": "string"
|
|
},
|
|
"hpCheck": {
|
|
"maxLength": 0,
|
|
"type": "string"
|
|
},
|
|
"message": {
|
|
"maxLength": 2000,
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"maxLength": 100,
|
|
"type": "string"
|
|
},
|
|
"subject": {
|
|
"maxLength": 100,
|
|
"type": "string"
|
|
},
|
|
"token": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"email",
|
|
"subject",
|
|
"message",
|
|
"hpCheck",
|
|
"token"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ContactResendResult": {
|
|
"properties": {
|
|
"mailAttempts": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"mailError": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"mailStatus": {
|
|
"type": "string"
|
|
},
|
|
"mailed": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"mailStatus",
|
|
"mailAttempts",
|
|
"mailed"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ContactSettingsDto": {
|
|
"properties": {
|
|
"enabled": {
|
|
"type": "boolean"
|
|
},
|
|
"hostEnabled": {
|
|
"type": "boolean"
|
|
},
|
|
"recipientEmail": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"recipientSource": {
|
|
"default": "none",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"enabled",
|
|
"hostEnabled"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ContactTokenResponse": {
|
|
"properties": {
|
|
"captcha": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/ContactCaptchaInfo"
|
|
}
|
|
]
|
|
},
|
|
"minSeconds": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"token": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"token",
|
|
"minSeconds",
|
|
"captcha"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ContactUnreadCount": {
|
|
"properties": {
|
|
"unreadCount": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"unreadCount"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"CreateCmsInstanceRequest": {
|
|
"properties": {
|
|
"apiKey": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"url",
|
|
"apiKey"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"CreateOfferingRequest": {
|
|
"properties": {
|
|
"categoryId": {
|
|
"format": "uuid",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"ctaLabel": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"endsAt": {
|
|
"format": "date-time",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"featured": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"features": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"isActive": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"price": {
|
|
"type": "string"
|
|
},
|
|
"priceNote": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"slug": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"startsAt": {
|
|
"format": "date-time",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"title",
|
|
"description",
|
|
"price",
|
|
"priceNote",
|
|
"features",
|
|
"ctaLabel"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"CreateOwnerRequest": {
|
|
"properties": {
|
|
"email": {
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
},
|
|
"password": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"email",
|
|
"password"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"FocusDto": {
|
|
"properties": {
|
|
"x": {
|
|
"format": "double",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
|
|
"type": [
|
|
"number",
|
|
"string"
|
|
]
|
|
},
|
|
"y": {
|
|
"format": "double",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
|
|
"type": [
|
|
"number",
|
|
"string"
|
|
]
|
|
},
|
|
"zoom": {
|
|
"format": "double",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)(?:\\.\\d+)?(?:[eE][+-]?\\d+)?$",
|
|
"type": [
|
|
"number",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"x",
|
|
"y",
|
|
"zoom"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ForgotPasswordRequest": {
|
|
"properties": {
|
|
"email": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"email"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"HeroAdminDto": {
|
|
"properties": {
|
|
"buttons": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/HeroButtonDto"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"display": {
|
|
"type": "string"
|
|
},
|
|
"id": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"isLive": {
|
|
"type": "boolean"
|
|
},
|
|
"lead": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"maxPublishedSlides": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"slides": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/HeroSlideAdminDto"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"tagline": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"updatedAt": {
|
|
"format": "date-time",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"title",
|
|
"tagline",
|
|
"lead",
|
|
"display",
|
|
"buttons",
|
|
"slides",
|
|
"isLive",
|
|
"updatedAt",
|
|
"maxPublishedSlides"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"HeroButtonDto": {
|
|
"properties": {
|
|
"label": {
|
|
"type": "string"
|
|
},
|
|
"target": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"label",
|
|
"target"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"HeroButtonRequest": {
|
|
"properties": {
|
|
"label": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"target": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"label",
|
|
"target"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"HeroFocusRequest": {
|
|
"properties": {
|
|
"focus": {
|
|
"$ref": "#/components/schemas/FocusDto"
|
|
},
|
|
"tall": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FocusDto"
|
|
}
|
|
]
|
|
},
|
|
"wide": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FocusDto"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"focus"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"HeroImageDto": {
|
|
"properties": {
|
|
"failed": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"focus": {
|
|
"$ref": "#/components/schemas/FocusDto"
|
|
},
|
|
"height": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"previewSrc": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"processing": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"renderDone": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"null",
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"renderTotal": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"null",
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"reused": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"src": {
|
|
"type": "string"
|
|
},
|
|
"tallFocus": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FocusDto"
|
|
}
|
|
]
|
|
},
|
|
"variants": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/HeroVariantDto"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"wideFocus": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FocusDto"
|
|
}
|
|
]
|
|
},
|
|
"width": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"width",
|
|
"height",
|
|
"focus",
|
|
"wideFocus",
|
|
"tallFocus",
|
|
"src",
|
|
"variants"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"HeroImageFocusRequest": {
|
|
"properties": {
|
|
"focus": {
|
|
"$ref": "#/components/schemas/FocusDto"
|
|
},
|
|
"imageId": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
},
|
|
"tall": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FocusDto"
|
|
}
|
|
]
|
|
},
|
|
"wide": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/FocusDto"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"imageId",
|
|
"focus"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"HeroSaveRequest": {
|
|
"properties": {
|
|
"buttons": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/HeroButtonRequest"
|
|
},
|
|
"type": [
|
|
"null",
|
|
"array"
|
|
]
|
|
},
|
|
"display": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"imageFocus": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/HeroImageFocusRequest"
|
|
},
|
|
"type": [
|
|
"null",
|
|
"array"
|
|
]
|
|
},
|
|
"lead": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"slides": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/HeroSlideRequest"
|
|
},
|
|
"type": [
|
|
"null",
|
|
"array"
|
|
]
|
|
},
|
|
"tagline": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"title": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"title",
|
|
"tagline",
|
|
"lead",
|
|
"display",
|
|
"buttons",
|
|
"slides"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"HeroSlideAdminDto": {
|
|
"properties": {
|
|
"alt": {
|
|
"type": "string"
|
|
},
|
|
"decorative": {
|
|
"type": "boolean"
|
|
},
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"image": {
|
|
"$ref": "#/components/schemas/HeroImageDto"
|
|
},
|
|
"imageId": {
|
|
"type": "string"
|
|
},
|
|
"isActive": {
|
|
"type": "boolean"
|
|
},
|
|
"sortOrder": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"imageId",
|
|
"alt",
|
|
"decorative",
|
|
"isActive",
|
|
"sortOrder",
|
|
"image"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"HeroSlideRequest": {
|
|
"properties": {
|
|
"alt": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"decorative": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"id": {
|
|
"format": "uuid",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"imageId": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
},
|
|
"isActive": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"imageId",
|
|
"alt"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"HeroUploadLimitsDto": {
|
|
"properties": {
|
|
"formats": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"maxMegapixels": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"maxUploadBytes": {
|
|
"format": "int64",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"formats",
|
|
"maxUploadBytes",
|
|
"maxMegapixels"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"HeroVariantDto": {
|
|
"properties": {
|
|
"height": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"ratio": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
},
|
|
"url": {
|
|
"type": "string"
|
|
},
|
|
"width": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"ratio",
|
|
"width",
|
|
"height",
|
|
"type",
|
|
"url"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"IFormFile": {
|
|
"format": "binary",
|
|
"type": "string"
|
|
},
|
|
"InviteUserRequest": {
|
|
"properties": {
|
|
"email": {
|
|
"type": "string"
|
|
},
|
|
"language": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"role": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"email",
|
|
"role"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"LoginRequest": {
|
|
"properties": {
|
|
"email": {
|
|
"type": "string"
|
|
},
|
|
"password": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"email",
|
|
"password"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MediaCleanupPreviewDto": {
|
|
"properties": {
|
|
"bytes": {
|
|
"format": "int64",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"count": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"days": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"onlyUnused": {
|
|
"type": "boolean"
|
|
},
|
|
"photos": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/MediaPhotoDto"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"days",
|
|
"onlyUnused",
|
|
"count",
|
|
"bytes",
|
|
"photos"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MediaLibraryDto": {
|
|
"properties": {
|
|
"modules": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"photos": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/MediaPhotoDto"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"photos",
|
|
"modules"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MediaPhotoDto": {
|
|
"properties": {
|
|
"bytes": {
|
|
"format": "int64",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"createdAt": {
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"deletedAt": {
|
|
"format": "date-time",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"height": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"module": {
|
|
"type": "string"
|
|
},
|
|
"originalFileName": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"thumbnailUrl": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"unusedSince": {
|
|
"format": "date-time",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"uses": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/MediaUseDto"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"width": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"module",
|
|
"bytes",
|
|
"width",
|
|
"height",
|
|
"createdAt",
|
|
"thumbnailUrl",
|
|
"uses"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MediaPurgeRequest": {
|
|
"properties": {
|
|
"all": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"ids": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": [
|
|
"null",
|
|
"array"
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"MediaRestoreRequest": {
|
|
"properties": {
|
|
"ids": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"ids"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MediaStorageDto": {
|
|
"properties": {
|
|
"level": {
|
|
"type": "string"
|
|
},
|
|
"limitBytes": {
|
|
"format": "int64",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"usedBytes": {
|
|
"format": "int64",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"warningPercent": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"usedBytes",
|
|
"limitBytes",
|
|
"level",
|
|
"warningPercent"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MediaTrashRequest": {
|
|
"properties": {
|
|
"confirmedInUse": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"ids": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"ids"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MediaTrashResponse": {
|
|
"properties": {
|
|
"results": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/MediaUseResultDto"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"results"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MediaUseDto": {
|
|
"properties": {
|
|
"active": {
|
|
"type": "boolean"
|
|
},
|
|
"kind": {
|
|
"type": "string"
|
|
},
|
|
"module": {
|
|
"type": "string"
|
|
},
|
|
"position": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"null",
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"module",
|
|
"kind",
|
|
"position",
|
|
"active"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"MediaUseResultDto": {
|
|
"properties": {
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"status": {
|
|
"type": "string"
|
|
},
|
|
"uses": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/MediaUseDto"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"status",
|
|
"uses"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"OfferingBannerRequest": {
|
|
"properties": {
|
|
"endsAt": {
|
|
"format": "date-time",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"isActive": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"linkLabel": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"linkUrl": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"position": {
|
|
"default": "bottom",
|
|
"type": "string"
|
|
},
|
|
"startsAt": {
|
|
"format": "date-time",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"text": {
|
|
"type": "string"
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"title",
|
|
"text"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"OfferingCategoryRequest": {
|
|
"properties": {
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"Problem": {
|
|
"description": "RFC 9457 problem details. Only the standard members are sent; nothing about the limiter, the policy or the caller.",
|
|
"properties": {
|
|
"status": {
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ProblemDetails": {
|
|
"properties": {
|
|
"detail": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"instance": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"status": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"null",
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"title": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"type": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PublicHeroDto": {
|
|
"properties": {
|
|
"buttons": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/HeroButtonDto"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"display": {
|
|
"type": "string"
|
|
},
|
|
"lead": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"slides": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/PublicSlideDto"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"tagline": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"display",
|
|
"title",
|
|
"tagline",
|
|
"lead",
|
|
"buttons",
|
|
"slides"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"PublicImageDto": {
|
|
"properties": {
|
|
"focus": {
|
|
"$ref": "#/components/schemas/FocusDto"
|
|
},
|
|
"focusByRatio": {
|
|
"additionalProperties": {
|
|
"$ref": "#/components/schemas/FocusDto"
|
|
},
|
|
"type": [
|
|
"null",
|
|
"object"
|
|
]
|
|
},
|
|
"height": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"src": {
|
|
"type": "string"
|
|
},
|
|
"variants": {
|
|
"items": {
|
|
"$ref": "#/components/schemas/HeroVariantDto"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"width": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"width",
|
|
"height",
|
|
"focus",
|
|
"src",
|
|
"variants"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"PublicSlideDto": {
|
|
"properties": {
|
|
"alt": {
|
|
"type": "string"
|
|
},
|
|
"decorative": {
|
|
"type": "boolean"
|
|
},
|
|
"id": {
|
|
"type": "string"
|
|
},
|
|
"image": {
|
|
"$ref": "#/components/schemas/PublicImageDto"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"alt",
|
|
"decorative",
|
|
"image"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"PushStatusRequest": {
|
|
"properties": {
|
|
"disableMessage": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"isAvailable": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"isAvailable",
|
|
"disableMessage"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ReceivedResponse": {
|
|
"properties": {
|
|
"status": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"status"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"RegenerateInviteRequest": {
|
|
"properties": {
|
|
"sendEmail": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"RegisterMasterRequest": {
|
|
"properties": {
|
|
"masterUrl": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"masterUrl"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ReorderOfferingsRequest": {
|
|
"properties": {
|
|
"orderedIds": {
|
|
"items": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
}
|
|
},
|
|
"required": [
|
|
"orderedIds"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ResetPasswordRequest": {
|
|
"properties": {
|
|
"newPassword": {
|
|
"type": "string"
|
|
},
|
|
"token": {
|
|
"type": "string"
|
|
},
|
|
"userId": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"userId",
|
|
"token",
|
|
"newPassword"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"SetUserActiveRequest": {
|
|
"properties": {
|
|
"isActive": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"isActive"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"UpdateContactMessageStatusRequest": {
|
|
"properties": {
|
|
"status": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"status"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"UpdateContactRecipientRequest": {
|
|
"properties": {
|
|
"recipientEmail": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"recipientEmail"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"UpdateContactSettingsRequest": {
|
|
"properties": {
|
|
"enabled": {
|
|
"type": [
|
|
"null",
|
|
"boolean"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"enabled"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"UpdateMailSettingsRequest": {
|
|
"properties": {
|
|
"fromAddress": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"fromName": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"fromAddress",
|
|
"fromName"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"UpdateOfferingRequest": {
|
|
"properties": {
|
|
"categoryId": {
|
|
"format": "uuid",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"ctaLabel": {
|
|
"type": "string"
|
|
},
|
|
"description": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"endsAt": {
|
|
"format": "date-time",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"featured": {
|
|
"default": false,
|
|
"type": "boolean"
|
|
},
|
|
"features": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"isActive": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
"price": {
|
|
"type": "string"
|
|
},
|
|
"priceNote": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"slug": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"startsAt": {
|
|
"format": "date-time",
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"title",
|
|
"description",
|
|
"price",
|
|
"priceNote",
|
|
"features",
|
|
"ctaLabel"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"UpdateProfileRequest": {
|
|
"properties": {
|
|
"email": {
|
|
"type": "string"
|
|
},
|
|
"language": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"name": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"email"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"UpdateStatusRequest": {
|
|
"properties": {
|
|
"newStatus": {
|
|
"$ref": "#/components/schemas/AvailabilityStatus"
|
|
},
|
|
"reason": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"newStatus",
|
|
"reason"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ValidationProblem": {
|
|
"description": "A 400 answer. 'errors' maps the JSON field name (name, email, subject, message, token, idempotencyKey, body) to its error codes; the client maps codes to texts.",
|
|
"properties": {
|
|
"errors": {
|
|
"additionalProperties": {
|
|
"items": {
|
|
"enum": [
|
|
"required",
|
|
"tooLong",
|
|
"invalid",
|
|
"expired"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"status": {
|
|
"format": "int32",
|
|
"type": "integer"
|
|
},
|
|
"title": {
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ValidationProblemDetails": {
|
|
"properties": {
|
|
"detail": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"errors": {
|
|
"additionalProperties": {
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
"type": "object"
|
|
},
|
|
"instance": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"status": {
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"null",
|
|
"integer",
|
|
"string"
|
|
]
|
|
},
|
|
"title": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
},
|
|
"type": {
|
|
"type": [
|
|
"null",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
}
|
|
},
|
|
"info": {
|
|
"title": "SlpModularCms.Api | v1",
|
|
"version": "1.0.0"
|
|
},
|
|
"openapi": "3.1.1",
|
|
"paths": {
|
|
"/api/v1/Availability/status": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Availability"
|
|
]
|
|
},
|
|
"put": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateStatusRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateStatusRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateStatusRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Availability"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/CmsInstances": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"CmsInstance"
|
|
]
|
|
},
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CreateCmsInstanceRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CreateCmsInstanceRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CreateCmsInstanceRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"CmsInstance"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/CmsInstances/{id}/status": {
|
|
"put": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateStatusRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateStatusRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateStatusRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"CmsInstance"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Invitation/complete": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CompleteSetupRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CompleteSetupRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CompleteSetupRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Invitation"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Invitation/validate": {
|
|
"get": {
|
|
"parameters": [
|
|
{
|
|
"in": "query",
|
|
"name": "token",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Invitation"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Master/register": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/RegisterMasterRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/RegisterMasterRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/RegisterMasterRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Master"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Master/registered-url": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Master"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Master/status": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PushStatusRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PushStatusRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PushStatusRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Master"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Setup/owner": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CreateOwnerRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CreateOwnerRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CreateOwnerRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Setup"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Setup/status": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Setup"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/SiteSettings/mail": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"SiteSettings"
|
|
]
|
|
},
|
|
"put": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateMailSettingsRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateMailSettingsRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateMailSettingsRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"SiteSettings"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/SlaveStatus": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"SlaveStatus"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/System/capabilities": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"System"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Users": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Users"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Users/invite": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/InviteUserRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/InviteUserRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/InviteUserRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Users"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Users/me": {
|
|
"put": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateProfileRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateProfileRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateProfileRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Users"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Users/{invitationId}/regenerate-invite": {
|
|
"post": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "invitationId",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RegenerateInviteRequest"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RegenerateInviteRequest"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/RegenerateInviteRequest"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Users"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Users/{invitationId}/resend-invite": {
|
|
"post": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "invitationId",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Users"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Users/{userId}": {
|
|
"delete": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "userId",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Users"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Users/{userId}/active": {
|
|
"put": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "userId",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SetUserActiveRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SetUserActiveRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/SetUserActiveRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Users"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/Users/{userId}/role": {
|
|
"put": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "userId",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ChangeRoleRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ChangeRoleRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ChangeRoleRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Users"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/auth/change-password": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ChangePasswordRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ChangePasswordRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ChangePasswordRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Auth"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/auth/forgot-password": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ForgotPasswordRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ForgotPasswordRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ForgotPasswordRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Auth"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/auth/login": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/LoginRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/LoginRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/LoginRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Auth"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/auth/refresh": {
|
|
"post": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Auth"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/auth/reset-password": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ResetPasswordRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ResetPasswordRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ResetPasswordRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Auth"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/auth/revoke": {
|
|
"post": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Auth"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/contact-messages": {
|
|
"get": {
|
|
"parameters": [
|
|
{
|
|
"in": "query",
|
|
"name": "status",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
},
|
|
{
|
|
"in": "query",
|
|
"name": "page",
|
|
"schema": {
|
|
"default": 1,
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"in": "query",
|
|
"name": "pageSize",
|
|
"schema": {
|
|
"default": 25,
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ContactMessageList"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"400": {
|
|
"content": {
|
|
"application/problem+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ValidationProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Bad Request"
|
|
}
|
|
},
|
|
"tags": [
|
|
"ContactMessagesAdmin"
|
|
]
|
|
},
|
|
"post": {
|
|
"description": "Stores a message. While the captcha is on, 'captchaToken' (the widget response) is required: a missing, empty or rejected value is treated as spam and answered exactly like a genuine message (202, stored with status spam), never with a 400. A captcha provider that does not answer in time, or fails, lets the visitor through (fail-open).",
|
|
"parameters": [
|
|
{
|
|
"description": "A UUID chosen by the client per attempt series. A replay within 24 hours is answered with the same 202 without storing the message twice.",
|
|
"in": "header",
|
|
"name": "Idempotency-Key",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ContactMessageRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"202": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ReceivedResponse"
|
|
}
|
|
}
|
|
},
|
|
"description": "Accepted"
|
|
},
|
|
"400": {
|
|
"$ref": "#/components/responses/Validation"
|
|
},
|
|
"404": {
|
|
"description": "The contact form is closed on this site (the website shows its mailto fallback)."
|
|
},
|
|
"413": {
|
|
"$ref": "#/components/responses/TooLarge"
|
|
},
|
|
"429": {
|
|
"$ref": "#/components/responses/RateLimited"
|
|
}
|
|
},
|
|
"tags": [
|
|
"ContactMessages"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/contact-messages/token": {
|
|
"get": {
|
|
"description": "Returns a signed form token and the minimum number of seconds before a submission counts as human. 'captcha' is null while the captcha is off; otherwise it is { provider: \"friendlycaptcha\", siteKey, apiEndpoint: \"global\"|\"eu\" } (Friendly Captcha v2; apiEndpoint is the widget's data region and follows the server configuration), which the website widget needs. Nothing else about the captcha (secret, verify URL) is ever returned.",
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ContactTokenResponse"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"404": {
|
|
"description": "The contact form is closed on this site (the website shows its mailto fallback)."
|
|
},
|
|
"429": {
|
|
"$ref": "#/components/responses/RateLimited"
|
|
}
|
|
},
|
|
"tags": [
|
|
"ContactMessages"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/contact-messages/unread-count": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ContactUnreadCount"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"ContactMessagesAdmin"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/contact-messages/{id}": {
|
|
"delete": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"204": {
|
|
"description": "No Content"
|
|
},
|
|
"404": {
|
|
"description": "Not Found"
|
|
}
|
|
},
|
|
"tags": [
|
|
"ContactMessagesAdmin"
|
|
]
|
|
},
|
|
"get": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ContactMessageDetail"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"404": {
|
|
"description": "Not Found"
|
|
}
|
|
},
|
|
"tags": [
|
|
"ContactMessagesAdmin"
|
|
]
|
|
},
|
|
"patch": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UpdateContactMessageStatusRequest"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UpdateContactMessageStatusRequest"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ContactMessageDetail"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"400": {
|
|
"content": {
|
|
"application/problem+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ValidationProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Bad Request"
|
|
},
|
|
"404": {
|
|
"description": "Not Found"
|
|
}
|
|
},
|
|
"tags": [
|
|
"ContactMessagesAdmin"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/contact-messages/{id}/resend": {
|
|
"post": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ContactResendResult"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"404": {
|
|
"description": "Not Found"
|
|
},
|
|
"409": {
|
|
"content": {
|
|
"application/problem+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Conflict"
|
|
},
|
|
"429": {
|
|
"content": {
|
|
"application/problem+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Too Many Requests"
|
|
}
|
|
},
|
|
"tags": [
|
|
"ContactMessagesAdmin"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/contact-settings": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ContactSettingsDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"ContactSettings"
|
|
]
|
|
},
|
|
"put": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UpdateContactSettingsRequest"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UpdateContactSettingsRequest"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ContactSettingsDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"400": {
|
|
"content": {
|
|
"application/problem+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ValidationProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Bad Request"
|
|
}
|
|
},
|
|
"tags": [
|
|
"ContactSettings"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/contact-settings/recipient": {
|
|
"put": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UpdateContactRecipientRequest"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"oneOf": [
|
|
{
|
|
"type": "null"
|
|
},
|
|
{
|
|
"$ref": "#/components/schemas/UpdateContactRecipientRequest"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ContactSettingsDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"400": {
|
|
"content": {
|
|
"application/problem+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ValidationProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Bad Request"
|
|
}
|
|
},
|
|
"tags": [
|
|
"ContactSettings"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/hero": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PublicHeroDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PublicHeroDto"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/PublicHeroDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"204": {
|
|
"description": "No Content"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Hero"
|
|
]
|
|
},
|
|
"put": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroSaveRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroSaveRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroSaveRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroAdminDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroAdminDto"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroAdminDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"400": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Bad Request"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Hero"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/hero/all": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroAdminDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroAdminDto"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroAdminDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Hero"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/hero/images": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"multipart/form-data": {
|
|
"schema": {
|
|
"properties": {
|
|
"file": {
|
|
"$ref": "#/components/schemas/IFormFile"
|
|
}
|
|
},
|
|
"type": "object"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"201": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroImageDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroImageDto"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroImageDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "Created"
|
|
}
|
|
},
|
|
"tags": [
|
|
"HeroImages"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/hero/images/limits": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroUploadLimitsDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroUploadLimitsDto"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroUploadLimitsDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"HeroImages"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/hero/images/{id}": {
|
|
"delete": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"204": {
|
|
"description": "No Content"
|
|
},
|
|
"409": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Conflict"
|
|
}
|
|
},
|
|
"tags": [
|
|
"HeroImages"
|
|
]
|
|
},
|
|
"get": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroImageDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroImageDto"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroImageDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"404": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Not Found"
|
|
}
|
|
},
|
|
"tags": [
|
|
"HeroImages"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/hero/images/{id}/focus": {
|
|
"put": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroFocusRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroFocusRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroFocusRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroImageDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroImageDto"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/HeroImageDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"400": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Bad Request"
|
|
},
|
|
"404": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Not Found"
|
|
}
|
|
},
|
|
"tags": [
|
|
"HeroImages"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/hero/images/{id}/retry": {
|
|
"post": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"204": {
|
|
"description": "No Content"
|
|
},
|
|
"404": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Not Found"
|
|
}
|
|
},
|
|
"tags": [
|
|
"HeroImages"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/media-library/cleanup-preview": {
|
|
"get": {
|
|
"parameters": [
|
|
{
|
|
"in": "query",
|
|
"name": "days",
|
|
"schema": {
|
|
"default": 7,
|
|
"format": "int32",
|
|
"pattern": "^-?(?:0|[1-9]\\d*)$",
|
|
"type": [
|
|
"integer",
|
|
"string"
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"in": "query",
|
|
"name": "onlyUnused",
|
|
"schema": {
|
|
"default": true,
|
|
"type": "boolean"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaCleanupPreviewDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaCleanupPreviewDto"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaCleanupPreviewDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"MediaLibrary"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/media-library/delete": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaTrashRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaTrashRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaTrashRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaTrashResponse"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaTrashResponse"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaTrashResponse"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"400": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Bad Request"
|
|
}
|
|
},
|
|
"tags": [
|
|
"MediaLibrary"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/media-library/photos": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaLibraryDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaLibraryDto"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaLibraryDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"MediaLibrary"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/media-library/purge": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaPurgeRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaPurgeRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaPurgeRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaTrashResponse"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaTrashResponse"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaTrashResponse"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"400": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Bad Request"
|
|
}
|
|
},
|
|
"tags": [
|
|
"MediaLibrary"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/media-library/restore": {
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaRestoreRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaRestoreRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaRestoreRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaTrashResponse"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaTrashResponse"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaTrashResponse"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
},
|
|
"400": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ProblemDetails"
|
|
}
|
|
}
|
|
},
|
|
"description": "Bad Request"
|
|
}
|
|
},
|
|
"tags": [
|
|
"MediaLibrary"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/media-library/storage": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaStorageDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaStorageDto"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaStorageDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"MediaLibrary"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/media-library/trash": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"content": {
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaLibraryDto"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaLibraryDto"
|
|
}
|
|
},
|
|
"text/plain": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/MediaLibraryDto"
|
|
}
|
|
}
|
|
},
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"MediaLibrary"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/offerings": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Offerings"
|
|
]
|
|
},
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CreateOfferingRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CreateOfferingRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/CreateOfferingRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Offerings"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/offerings/all": {
|
|
"get": {
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Offerings"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/offerings/banner": {
|
|
"get": {
|
|
"parameters": [
|
|
{
|
|
"in": "query",
|
|
"name": "position",
|
|
"schema": {
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"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": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"OfferingCategories"
|
|
]
|
|
},
|
|
"post": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/OfferingCategoryRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/OfferingCategoryRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/OfferingCategoryRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"OfferingCategories"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/offerings/categories/{id}": {
|
|
"delete": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"OfferingCategories"
|
|
]
|
|
},
|
|
"put": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/OfferingCategoryRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/OfferingCategoryRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/OfferingCategoryRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"OfferingCategories"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/offerings/order": {
|
|
"put": {
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ReorderOfferingsRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ReorderOfferingsRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/ReorderOfferingsRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Offerings"
|
|
]
|
|
}
|
|
},
|
|
"/api/v1/offerings/{id}": {
|
|
"delete": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Offerings"
|
|
]
|
|
},
|
|
"put": {
|
|
"parameters": [
|
|
{
|
|
"in": "path",
|
|
"name": "id",
|
|
"required": true,
|
|
"schema": {
|
|
"format": "uuid",
|
|
"type": "string"
|
|
}
|
|
}
|
|
],
|
|
"requestBody": {
|
|
"content": {
|
|
"application/*+json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateOfferingRequest"
|
|
}
|
|
},
|
|
"application/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateOfferingRequest"
|
|
}
|
|
},
|
|
"text/json": {
|
|
"schema": {
|
|
"$ref": "#/components/schemas/UpdateOfferingRequest"
|
|
}
|
|
}
|
|
},
|
|
"required": true
|
|
},
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"Offerings"
|
|
]
|
|
}
|
|
},
|
|
"/health": {
|
|
"get": {
|
|
"operationId": "HealthCheck",
|
|
"responses": {
|
|
"200": {
|
|
"description": "OK"
|
|
}
|
|
},
|
|
"tags": [
|
|
"SlpModularCms.Api"
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"tags": [
|
|
{
|
|
"name": "SlpModularCms.Api"
|
|
},
|
|
{
|
|
"name": "MediaLibrary"
|
|
},
|
|
{
|
|
"name": "System"
|
|
},
|
|
{
|
|
"name": "Availability"
|
|
},
|
|
{
|
|
"name": "Master"
|
|
},
|
|
{
|
|
"name": "ContactMessagesAdmin"
|
|
},
|
|
{
|
|
"name": "ContactMessages"
|
|
},
|
|
{
|
|
"name": "ContactSettings"
|
|
},
|
|
{
|
|
"name": "Hero"
|
|
},
|
|
{
|
|
"name": "HeroImages"
|
|
},
|
|
{
|
|
"name": "Auth"
|
|
},
|
|
{
|
|
"name": "Invitation"
|
|
},
|
|
{
|
|
"name": "Setup"
|
|
},
|
|
{
|
|
"name": "SiteSettings"
|
|
},
|
|
{
|
|
"name": "Users"
|
|
},
|
|
{
|
|
"name": "CmsInstance"
|
|
},
|
|
{
|
|
"name": "SlaveStatus"
|
|
},
|
|
{
|
|
"name": "OfferingBanners"
|
|
},
|
|
{
|
|
"name": "PublicOfferingBanner"
|
|
},
|
|
{
|
|
"name": "OfferingCategories"
|
|
},
|
|
{
|
|
"name": "Offerings"
|
|
}
|
|
]
|
|
}
|