@neverendingqs As @sargunv pointed out, I don’t think the .json extension will be a problem. We can either use an index document (easy with S3, I’m sure Netlify makes it easy too), or we can write the files directly with no extension and ensure we set the mime type correctly (S3 all good, again I’m sure Netlify would have a way).
Looking at Netlify, I don't see explicit documentation about how to specify an index document. https://www.netlify.com/docs/redirects/#trailing-slash (especially the Pretty URLs feature) does suggest that Netlify handles trailing slashes and seems to suggest that it can map https://pokeapi.co/api/v2/language/index.json to https://pokeapi.co/api/v2/language/.
It seems like ditto clone should work as-is if we turn on this feature. Is this what you two had in mind?
Looking at Netlify, I don't see explicit documentation about how to specify an index document. https://www.netlify.com/docs/redirects/#trailing-slash (especially the
Pretty URLsfeature) does suggest that Netlify handles trailing slashes and seems to suggest that it can maphttps://pokeapi.co/api/v2/language/index.jsontohttps://pokeapi.co/api/v2/language/.It seems like
ditto cloneshould work as-is if we turn on this feature. Is this what you two had in mind?