Only fetch id, uid and type

Hello

Is it possible to just fetch the id, uid and type on a document?

I'm currently writing an API endpoint in my next.js application that will rerender pages when I get back webhooks from prismic.

All I need to find the route to rerender is the mentioned fields.

Hey @sofus_memberlink, you could use the GraphQL endpoint to limit the elements in the JSON response.

query AllDocs {
  _allDocuments {
    edges {
      node {
        _meta {
          id
          uid
          type
        }
      }
    }
  }
}