diff --git a/SwagDigitalSalesRooms-adminapi.json b/SwagDigitalSalesRooms-adminapi.json index 5ef2aec..befc5d3 100644 --- a/SwagDigitalSalesRooms-adminapi.json +++ b/SwagDigitalSalesRooms-adminapi.json @@ -4884,296 +4884,6 @@ } } }, - "/_action/media/{mediaId}/external-thumbnails": { - "post": { - "tags": [ - "Asset Management" - ], - "summary": "Add external thumbnails to media", - "description": "Attaches external thumbnail URLs to an existing external media entity. The media must have an HTTP/HTTPS path (i.e. be an external media link).\n\nUsed for CDNs that pre-generated thumbnails alongside the main media file.\nNot to be confused with [remote thumbnails](https://developer.shopware.com/docs/guides/plugins/plugins/content/media/remote-thumbnail-generation.html#remote-thumbnail-generation), which are generated based on a pattern.\n\nThe thumbnail sized are matched against existing thumbnails sizes and a matching size will automatically be assigned. If there's not existing size, a **new thumbnail size will automatically be created** for each missing size.", - "operationId": "addExternalThumbnails", - "parameters": [ - { - "name": "mediaId", - "in": "path", - "description": "ID of the external media entity the thumbnails will be attached to.", - "required": true, - "schema": { - "$ref": "#/components/schemas/MediaId" - } - } - ], - "requestBody": { - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "thumbnails": { - "type": "array", - "description": "List of external thumbnails to attach", - "items": { - "$ref": "#/components/schemas/ExternalThumbnail" - } - } - } - } - } - } - }, - "responses": { - "201": { - "description": "Thumbnails attached successfully", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "mediaId": { - "description": "ID of the media entity the thumbnails were attached to.", - "$ref": "#/components/schemas/MediaId" - }, - "thumbnailsCreated": { - "type": "integer" - } - } - } - } - } - }, - "400": { - "description": "Media is not an external media entity or path is missing" - }, - "404": { - "description": "Media entity not found" - } - } - }, - "delete": { - "tags": [ - "Asset Management" - ], - "summary": "Delete all external thumbnails from media", - "description": "Removes all externally stored thumbnail entries from the given media entity. Only works on external media (media with an HTTP/HTTPS path). Used to replace outdated thumbnails with new ones.", - "operationId": "deleteExternalThumbnails", - "parameters": [ - { - "name": "mediaId", - "in": "path", - "description": "ID of the external media entity the thumbnails will be deleted from..", - "required": true, - "schema": { - "$ref": "#/components/schemas/MediaId" - } - } - ], - "responses": { - "200": { - "description": "Thumbnails deleted successfully", - "content": { - "application/json": { - "schema": { - "type": "object", - "properties": { - "mediaId": { - "description": "ID of the media entity the thumbnails were deleted from.", - "$ref": "#/components/schemas/MediaId" - } - } - } - } - } - }, - "400": { - "description": "Media is not an external media entity or path is missing" - }, - "404": { - "description": "Media entity not found" - } - } - } - }, - "/_action/system-config": { - "get": { - "tags": [ - "System Config" - ], - "summary": "Get configuration values", - "description": "Returns the configuration values for the given domain and optional sales channel.", - "operationId": "getConfigurationValues", - "parameters": [ - { - "name": "domain", - "in": "query", - "description": "The configuration domain.", - "required": true, - "schema": { - "type": "string" - } - }, - { - "name": "salesChannelId", - "in": "query", - "description": "The sales channel ID to scope the configuration to.", - "schema": { - "type": "string" - } - }, - { - "name": "inherit", - "in": "query", - "description": "Whether to include inherited (global) values.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "responses": { - "200": { - "description": "Returns the configuration values as a key-value object." - } - } - }, - "post": { - "tags": [ - "System Config" - ], - "summary": "Save configuration values", - "description": "Saves the given configuration key-value pairs for the given sales channel.", - "operationId": "saveConfiguration", - "parameters": [ - { - "name": "salesChannelId", - "in": "query", - "description": "The sales channel ID to scope the configuration to.", - "schema": { - "type": "string" - } - }, - { - "name": "silent", - "in": "query", - "description": "If true, the HTTP cache will not be invalidated. Use this for internal configuration values that do not affect the storefront.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "requestBody": { - "description": "Key-value pairs of configuration values to save.", - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": true - } - } - } - }, - "responses": { - "204": { - "description": "Configuration saved successfully." - } - } - } - }, - "/_action/system-config/check": { - "get": { - "tags": [ - "System Config" - ], - "summary": "Check configuration", - "description": "Checks if a configuration domain exists.", - "operationId": "checkConfiguration", - "parameters": [ - { - "name": "domain", - "in": "query", - "description": "The configuration domain to check.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns whether the configuration domain exists." - } - } - } - }, - "/_action/system-config/schema": { - "get": { - "tags": [ - "System Config" - ], - "summary": "Get configuration schema", - "description": "Returns the configuration schema for the given domain.", - "operationId": "getConfiguration", - "parameters": [ - { - "name": "domain", - "in": "query", - "description": "The configuration domain.", - "required": true, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "Returns the configuration schema." - } - } - } - }, - "/_action/system-config/batch": { - "post": { - "tags": [ - "System Config" - ], - "summary": "Batch save configuration values", - "description": "Saves configuration values for multiple sales channels at once. The request body is keyed by sales channel ID (use \"null\" for global scope).", - "operationId": "batchSaveConfiguration", - "parameters": [ - { - "name": "silent", - "in": "query", - "description": "If true, the HTTP cache will not be invalidated. Use this for internal configuration values that do not affect the storefront.", - "schema": { - "type": "boolean", - "default": false - } - } - ], - "requestBody": { - "description": "Object keyed by sales channel ID, each containing key-value pairs of configuration values.", - "required": true, - "content": { - "application/json": { - "schema": { - "type": "object", - "additionalProperties": { - "type": "object", - "additionalProperties": true - } - } - } - } - }, - "responses": { - "204": { - "description": "Configuration saved successfully." - } - } - } - }, "/_action/dsr/appointment/{appointmentId}/join-as-guide": { "post": { "tags": [ diff --git a/SwagDigitalSalesRooms-adminapi.summary.json b/SwagDigitalSalesRooms-adminapi.summary.json index 2a7c5de..435f465 100644 --- a/SwagDigitalSalesRooms-adminapi.summary.json +++ b/SwagDigitalSalesRooms-adminapi.summary.json @@ -20,11 +20,6 @@ "/_action/dsr/appointment/{appointmentId}/widgets/cart-statistics", "/_action/dsr/appointment/{appointmentId}/widgets/last-seen-statistics", "/_action/dsr/appointment/{appointmentId}/widgets/wishlist-statistics", - "/_action/media/{mediaId}/external-thumbnails", - "/_action/system-config", - "/_action/system-config/batch", - "/_action/system-config/check", - "/_action/system-config/schema", "/aggregate/dsr-appointment", "/aggregate/dsr-appointment-attendee", "/aggregate/dsr-appointment-request",