Ability to filter data with URL parameters

Created on 13 December 2022, over 2 years ago
Updated 30 June 2023, about 2 years ago

Is it possible to use URL parameters to filter the data returned? For example, I would like to add "&uuid=" to return the menu item with the uuid value provided by the call. Even better would be to filter a specific node id of a page.

If this is already possible, could instructions be added to the documentation on how to use URL parameters to filter data with this module? Thanks!

✨ Feature request
Status

Fixed

Version

3.0

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States tylired

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡³πŸ‡±Netherlands batigolix Utrecht

    No this is not possible at the moment. Only the menu name, the minimal and maximal depth of the menu tree can be set using the parameters.

    Using the modules settings at /admin/config/services/rest_menu_items though, you can choose what data to provide in the input including the uuid, uri and alias. Maybe that can help to fetch the desired information.

    If you have ideas how to add this functionality then let me know.

  • πŸ‡³πŸ‡±Netherlands batigolix Utrecht
  • Automatically closed - issue fixed for 2 weeks with no activity.

Production build 0.71.5 2024