Hi,
I'm working on an endpoint where a subresource of this endpoint is a collection that does not allow identification. This is what it looks like :
/products/<id>
/products/<id>/prices
Since the endpoint /products/<id>/prices returns:
[{ value: 102, currency: 'EUR', expires_at: 1475855928 }, { value: 110, currency: 'EUR', expires_at: 1475859528 }, ...]
The endpoint /products/<id>/prices/<id> can't be.
Though my example seems to make sense, is it valid? Is there an rfc somewhere that contradicts this approach?
Thanks for you help !