I would like to suggest that all API routes be available under a single, unified prefix. My suggestion would be /api/v<version>/
, so for example
https://metastudio.org/api/v1/groups.json
https://metastudio.org/api/v1/posts.json
This ensures a clean separation from the API endpoint and the HTML endpoint.
3 Likes