Understand the public/private data boundary
WordPress REST resources can expose public content anonymously while protected data requires authentication and permissions.
Custom endpoints should implement explicit permission callbacks rather than assuming an obscure URL is private.