Hi!
I have to generate a sitemap for the dynamic pages of the site (a few hundred).
The question is: with client.getAllByType
is it possible to fetch empty data
? I am only interested in metadata such as: url
, alternate_languages
, last_publication_date
. Everything inside data
makes the request enormously heavy and useless.
If I use graphQuery =
{}` it returns error.
I think a function that only returns metadata is necessary and essential. How can I manage this?
I do not build a static site
Thank you !