statamic / ideas

💡Discussions on ideas and feature requests for Statamic
https://statamic.dev
32 stars 1 forks source link

Add prev/next to Entry results in API #904

Open schwartzmj opened 1 year ago

schwartzmj commented 1 year ago

I'm unsure of the best way to implement this, but it would be nice to have the previous and next items in a collection when receiving an Entry via the API.

e.g. I fetch an entry by its slug and have access to prev/next.