Skip to content

Commit

Permalink
[#1] Added README.md.
Browse files Browse the repository at this point in the history
  • Loading branch information
Decipher committed Sep 25, 2020
1 parent 6d1364a commit eddee79
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
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.

0 comments on commit eddee79

Please sign in to comment.