Open niccokunzmann opened 6 years ago
The endpoints
/v1/search
/v1/resources
speak jsonapi no matter what.
Please implement a switch between feather and jsonapi based on the Accept header:
Accept
application/vnd.api+json
application/json
application/*
*/*
Ideas:
/search
hook.params.isJsonapi = true
Please create a pull-request to the development branch
fcee4bd should resolve this in case the tests run.
The endpoints
/v1/search
/v1/resources
speak jsonapi no matter what.
Please implement a switch between feather and jsonapi based on the
Accept
header:application/vnd.api+json
returns jsonapi compatible resultsapplication/json
,application/*
,*/*
, return feathers resultsIdeas:
/v1/search
and/search
into/v1/search
hook.params.isJsonapi = true
Please create a pull-request to the development branch