I can see Drupal 8 Views support REST Export.
But not JSON API.
So how to integrate Views with JSON API?
I can see Drupal 8 Views support REST Export.
But not JSON API.
So how to integrate Views with JSON API?
If you want to display the structure of the view as JSON API output you need to get the UUID of the view and then pass it to the json api For example as given below.
http://yoursite/jsonapi/view/view/889120bb-98f2-43be-8ca3-d93d1cd15590
To get the UUID of the view you need to go http://yoursite/jsonapi and scroll to the View portion of the output and then go to the links block. That will list all the views in the site with their UUIDs.
/jsonapi/view/view
will give you a comprehensive list of all the views.
The data:attributes:drupal_internal__id and data:attributes:label nodes will tell you which view you are looking at in the list.