Shopware icon

Shopware

Shopware

Actions778

Media Default Folder → Search Media Default Folder

AI-generated

Overview

This node performs a search operation on the Media Default Folder resource in a Shopware system. It allows users to query media default folders with various parameters such as pagination (page, limit), filtering, sorting, and grouping. This is useful for retrieving specific media folder data based on complex search criteria, for example, to display media folders in a custom application or to process media folder data in workflows.

Use Case Examples

  1. Search media default folders with pagination and filters to display in a media management interface.
  2. Retrieve sorted media default folders based on specific attributes for reporting or analytics.

Properties

Name Meaning
Page The page number of the search results to retrieve, used for pagination.
Limit The number of items to return per page in the search results.
Filter A JSON array of filters to restrict the search results based on specific criteria.
Sort A JSON array defining the sorting order of the search results.
Post Filter Filters applied after aggregations that do not affect the aggregation results.
Associations JSON object defining related entities to include in the search results.
Aggregations JSON array defining aggregations to perform on the search results.
Grouping JSON array specifying fields to group the search results by.
Fields JSON array specifying which fields should be returned in the search results.
Total Count Mode Option to determine how the total number of hits is calculated: none (disabled), exact (slow but accurate), or next-pages (fast for next page only).
Ids JSON array of specific IDs to search for.
Includes JSON object specifying fields to include for given entities, used to control returned data fields.
Request Options Settings for request behavior such as batching, SSL validation, proxy, and timeout.

Output

JSON

  • data - The search results containing media default folder data matching the query.
  • total - The total number of matching media default folders, if total count mode is enabled.

Dependencies

  • Requires Shopware API credentials for authentication.

Troubleshooting

  • Invalid JSON in filter, sort, post-filter, associations, aggregations, grouping, fields, ids, or includes properties can cause request failures. Ensure JSON is correctly formatted.
  • Incorrect pagination parameters (page, limit) may result in empty or incomplete results.
  • Using 'exact' total count mode can slow down the query significantly on large datasets.
  • SSL certificate validation errors can be bypassed by enabling 'Ignore SSL Issues' but this is insecure.
  • Proxy misconfiguration can cause connection failures.

Links

Discussion