-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Closed
Description
I would like to know what is yours thoughts about creating adapters by media-types
.
Ex.
GET http://example.com/posts
render with flatten-json adapter
GET http://example.com/posts --headers "Content-type: application/vnd.api+json"
render with json-api adapter
GET http://example.com/posts --headers "Content-type: application/json"
render with json adapter
GET http://example.com/posts --headers "Content-type: application/hal+json"
render with hal adapter (hypothetically)
GET http://example.com/posts --headers "Content-type: application/vnd.collection+json"
render with collection-json adapter (hypothetically)
@akaKuruma and I want to implement that if it is approved.
rescribet and Bahanix