JasonKDarby / stopwatch

0 stars 0 forks source link

Add a 'parent' Id to stop records #7

Closed JasonKDarby closed 9 years ago

JasonKDarby commented 9 years ago

If a stop record has a parent id we can use it to determine the children of a start record. When calling stop, the parent of the new record is the record identified by the id provided to stop. As a result, GET /stopwatch/:id/children should return a list of all records with the given parent id. This might require more consideration.