nuxt/content api calls?
I am checking google search console and see all these urls on my site that are not being indexed. i am using nuxt3 and nuxt/content for some of my content pages. what is this url? I dont understand what kind of request this is:
https://mysite.com/api/_content/query/bks3bwxT0H.1720262707368.json?_params=%7B%22first%22:true,%22where%22:%5B%7B%22_path%22:%22%2Fsecurity%2Fresponse%22%7D%5D,%22sort%22:%5B%7B%22_file%22:1,%22$numeric%22:true%7D%5D%7D
6 Replies
The URL IS encoded to be sure the browser Can read it
@mathieu thanks but im not asking about the encoding. I am asking what part of nuxt or nuxt/content is exposing this api/_content path?
I belive It's generated by the nuxt content module based on your folder structure
that's probably the underlying api endpoint that Nuxt Content uses to fetch your data, they surely shouldn't be indexed
@IsraelOrtuno who is calling this endpoint?
The Nuxt Content module:
https://content.nuxt.com/usage/content-directory#paths
Nuxt Content
Content Directory - Nuxt Content
The Content module parses .md and .yaml files inside the content/ directory and provides paths according to the directory structure.