How to use slug URL to show individual article instead of mapping it using ID in NextJS 14

Hi <@545167802873675776> You have multiple options here.

When you fetch the list of entries you have there slug so you can generate url with the slug.

To fetch a single entry by slug right now you have to fetch the list with a filter on slug like so with a limit to 1

GET /api/content-type?filters=[slug][yourslug]&pagination[limit]=1