N
Nuxt4mo 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
mathieu4mo ago
The URL IS encoded to be sure the browser Can read it
No description
abd
abdOP3mo 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
mathieu3mo ago
I belive It's generated by the nuxt content module based on your folder structure
IsraelOrtuno
IsraelOrtuno3mo ago
that's probably the underlying api endpoint that Nuxt Content uses to fetch your data, they surely shouldn't be indexed
abd
abdOP3mo ago
@IsraelOrtuno who is calling this endpoint?
IsraelOrtuno
IsraelOrtuno3mo 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.
Want results from more Discord servers?
Add your server