Open ronshapiro opened 3 years ago
@EliezerIsrael what do you think of this suggestion? It seems the use case for next
and previous
is so that the client knows what valid refs can be requested to get next / prev content. So if you request ?context=0
you can expect the client will want to request the next segment ref.
next: "Genesis 2"
and no previous (i.d expect Genesis 1.4, and a previous of Genesis 1.2)previous: "Shabbat 24a", next: "Shabbat 25a"
(I'd expect Shabbat.24b.2 and Shabbat 24b.4, respectively)