Basic URL pattern:
GET /entities
Considerations:
-
Use content negotiation to determine whether to return the list of entity as JSON array or as HTML view
Returns HTML view
GET /entitites Accept: text/html
Returns JSON array
GET /entitites Accept: application/json