Is it not possible to call endpoints by slug instead of id via rest api? I've been looking around the docs but could not find any information regarding that. I'm working on consuming payload api in a sveltekit application and looking for best pracises too, if anyone wants to chime in.
Of course, soon after posting the question i found the answer.
api/pages?where[slug][equals]=the-slug
Star
Discord
online
Get dedicated engineering support directly from the Payload team.