I'm new with RESTful and I'm trying to develop an API as flexible as possible but I'm a bit confused about resource associations.
According to many tutorials a common RESTful resource association look like:
/dogs
/dogs/{id}
/owners/{owid}/dogs
But what about an association such as:
/owners/{owid}/dogs/{id}
Is it relevant or is it useless (since an id is supposed to be unique so there's no need to specify the owner)?