N
Nuxt7mo ago
abd

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
mathieu
mathieu7mo ago
The URL IS encoded to be sure the browser Can read it
No description
abd
abdOP7mo ago
@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?
mathieu
mathieu7mo ago
I belive It's generated by the nuxt content module based on your folder structure
IsraelOrtuno
IsraelOrtuno6mo ago
that's probably the underlying api endpoint that Nuxt Content uses to fetch your data, they surely shouldn't be indexed
abd
abdOP6mo ago
@IsraelOrtuno who is calling this endpoint?
IsraelOrtuno
IsraelOrtuno6mo ago
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.

Did you find this page helpful?