REST API Recommendations

Type Field

All resource objects should always have a type field with the collection name as a value:

{
  "id": "44228889-3f01-4ea6-9802-d3fe94f5ac8a",
  "name": "John Doe",
  "email": "john.doe@example.com",
  "type": "users"
}