-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
12 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# JSON:API Views | ||
|
||
> Creates [JSON:API Resource](https://www.drupal.org/project/jsonapi_resources) for [Views](https://www.drupal.org/docs/8/core/modules/views). | ||
Entities resulting from a view query will be available at `/jsonapi/views/{view_id}/{display}`. | ||
|
||
This endpoint should respect any exposed filter parameters configured for a display. | ||
|
||
|
||
## Why would you ever want to do that? | ||
|
||
This is useful in cases where you have multiple displays of a single view that share the same exposed filters, some of which are decoupled. This will allow the decoupled portions to limit their concerns to just displaying the resulting resources and gives site admins some flexibility in configuring their exposed filters. |