Back to Listing

Directus URLs Return JSON

Would it be possible to have any Directus Framework URL path become an JSON API endpoint by simply adding ".json" to the end? We could then have parameters for how deep (relationally) you want to fetch information. I wonder how this compares to our current way of serving up data (/api/1/xxx..)

So: would return the user's info in JSON

That would drop the version from the URL which makes it quite hard to update things without introducing breaking changes for the user..