VirtusLab-Open-Source/strapi-plugin-navigation

Feature request: make an endpoint that returns all navigations

fabiennecornel opened this issue · 3 comments

Hello, instead of having to do a request to something like (...)/api/navigation/render/xyz for each navigation, it would be valuable to have 1 endpoint that returns all navigations, each containing at least the id, name, slug, and items.

It exists in the strapi admin panel but not in the API.

So an array of the navigations like this (url: GET strapi url/navigation):
image

but every navigation has the items too (url: GET strapi uri/navigation/{id}):
image

Hi everybody,
I agree with @fabiennecornel, this new feature would be very useful.

@fabiennecornel did you solve creating a custom endpoint on Strapi?

We are going to include it in one of next two releases

Released as v2.2.16 for REST support.

GraphQL ongoing.