Directus URLs Return JSON

benhaynes asked for this feature about 4 years ago — 1 comment

benhaynes commented about 4 years ago Admin

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

Join the discussion!

with GitHub to comment