MediaCockpit PIM icon

MediaCockpit PIM

Interact with MediaCockpit PIM REST API

Search Nodes

AI-generated

Summary

Search nodes in the MediaCockpit PIM system using either a simple text query or an advanced JSON filter. Return matching node records according to specified limits and search parameters.

Inputs

  • Search Mode (required) — Choose 'Simple Search' for a text-based query or 'Advanced Filter' to provide a custom JSON filter for complex queries.
  • Search Query — Text string used to search node content when using Simple Search mode.
  • Filter JSON — Custom JSON filter to define advanced search criteria. Replace the empty "param" value with the search term when using Advanced Filter mode.
  • Build JSON — Optional JSON configuration to control the output format of the search results. Provide '{}' to apply default output formatting.
  • Return All Results — Boolean flag determining whether to return all matching results or limit the number returned.
  • Limit — Maximum number of results to return when 'Return All Results' is false.

Output shape

a list of node objects matching the search criteria

Results are paginated through the MediaCockpit API and aggregated internally. If no matching nodes are found, a single output item is returned with an empty array under the key 'nodes'. The output items include the original input pairing for traceability.

Examples

Example 1: Simple text search for nodes containing a keyword

Set 'Search Mode' to 'Simple Search', enter the text query in 'Search Query', and specify if all results or limited number should be returned.

Example 2: Advanced search using a custom JSON filter

Set 'Search Mode' to 'Advanced Filter', provide a valid JSON object in 'Filter JSON' specifying search criteria, optionally set 'Build JSON' to control output, and choose the limit of results.

Links

Discussion