Is there an easy way to get the data of a document in its collection endpoint, or do I have to use payload.findByID to get it?
If using the local API then yes findByID is the way
maybe it's worth aliasing functions to the collection endpoint? or maybe it would make things more confusing for people learning how to use it 😂
Star
Discord
online
Get help straight from the Payload team with an Enterprise License.