Shopware icon

Shopware

Shopware

Actions778

Media → Get Media List

AI-generated

Overview

This node operation retrieves a list of media resources from a Shopware system. It is useful for scenarios where you need to fetch media items such as images, videos, or other media files managed within Shopware, for example, to display them in an application, process them further, or synchronize media data.

Use Case Examples

  1. Fetching the first 10 media items to display in a gallery.
  2. Retrieving media items on a specific page for pagination purposes.
  3. Querying media items with specific filters using SwagQL encoded queries.

Properties

Name Meaning
Limit Maximum number of media resources to return in a single page.
Page The page number of media resources to retrieve.
Query Encoded SwagQL query in JSON format to filter or customize the media list retrieval.
Request Options Additional request settings such as batching, SSL certificate validation, proxy configuration, and request timeout.

Output

JSON

  • mediaList - Array of media resource objects returned from the Shopware API.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Ensure the Shopware API credentials are correctly configured and have sufficient permissions to access media resources.
  • If the request times out, consider increasing the timeout setting or checking network connectivity.
  • Invalid SwagQL queries in the 'Query' property may result in errors or empty results; verify the query syntax and encoding.
  • If SSL certificate validation fails and 'Ignore SSL Issues' is not enabled, the request will be blocked; enable it only if you trust the endpoint.

Discussion