-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
json:api
: Provide for fetching custom resource URLs
#878
Comments
I consulted @gabesullice on the phrasing and spec, he clarifies:
|
Actually, this might be possible by forcing the URL in the query option? Reading |
Indeed this is possible by forcing the
|
@bradjones1 ah, glad you saw the WIP post. You're right that this should be possible with the snippet you wrote or as follows:
Also experiment with the |
Drupal's
jsonapi_search_api
module provides a pseudo-resource for a search index, e.g. backed by solr. It is queried pretty much like any other resource, but returns resource items that do not match the URL parameter. E.g., I have a search index at/jsonapi/index/primary
, which returns resources ofprofile
type.At the moment there's no real straightforward method for querying this URL and then allowing orbit's json:api source to parse the response as, more or less, the same as if we had queried
/jsonapi/profiles
, for instance.The text was updated successfully, but these errors were encountered: