Creating Resftul URI Paths?
<p>I am creating a very simple <code>restful</code> web application using <code>Spring MVC</code>. </p>

<p>It is a "dog treat" application that allows a kennel owner to keep track of the amount of treats that each dog has been given. </p>

<p>The main page is just a <code>table</code> with all dog names and number of treats. </p>

<p>There is also functionality for:</p>

<ul>
<li><p>adding a treat for a specific dog.</p></li>
<li><p>A link in the table to see more details for each dog. </p></li>
</ul>

<p>I am thinking of creating my URI paths as the following:</p>

<pre><code>/treats =  table with all dogs and treats

/treats/add = add a treat to a specific dog

/treats/{dog} = specifc details for a certain dog
</code></pre>

<p>Am i getting this wrong? This is my first restful service and I would like to get the design correct. </p>