Hi guys, do you know if there is a "pick" options when I query with REST API + qs. For example I need to list the all pages of the site, but I only need the title and slug.
Hey @<Clement/>, there is no Pick option via the REST API. You could either open a custom endpoint and then use underlying model to query the DB, or use GraphQL
Custom endpoint would be pretty easy to throw together honestly.https://payloadcms.com/docs/rest-api/overview#custom-endpoints
Then you can access payload off the req and do payload['collection-slug'].Model and perform your specific find operation using the Model
Ok cool, thx for your quick answer ! 🙏