πŸ‘€ See Sanity in action: Watch product demo now β†’

Querying For Schema Types in Public Datasets

6 replies
Last updated: Mar 8, 2021
For some reason in a public dataset, when I'm not authenticated I'm not getting any results returned when querying for one specific schema type I've created πŸ€” The only difference between this schema type and the others we're using in production is that we're modifying the visibility of this type in the structure builder to essentially create a singleton but that's about it. Any ideas?
Mar 8, 2021, 2:23 AM
Do the document IDs have any periods
.
in them?
Mar 8, 2021, 3:09 AM
Yes actually, we're using prefixes like
AU.
NZ.
Mar 8, 2021, 3:10 AM
i can't recall the right terms, but it essentially hides it from the public API
Mar 8, 2021, 3:11 AM
ah, easy enough
Mar 8, 2021, 3:11 AM
thanks guys!
Mar 8, 2021, 3:11 AM

Sanity.io – build remarkable experiences at scale

Sanity is a customizable solution that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.