Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

JSON:API Views

Security covered Under active development 3,374 sites

This module creates JSON:API resources for each of your Drupal Views displays. This makes it easy for external applications to consume the data generated by your Views, respecting filters, pagination, and sorting options.

What does this module do?

It creates JSON:API Resource for each Views display, allowing for easy consumption of this data outside of Drupal.

When installed the module activates resources for all of your enabled views, you can optionally disable the resource by editing the view.

The URL of the JSON:API Views resource based on your current preview state is displayed while editing a view, this includes filters, pagination and sorts.

 

Summary of current features

  • JSON:API resource per View display: /jsonapi/views/{{ viewId }}/{{ displayId }}
  • Pagination: ?page=#
  • Exposed filters: ?views-filter[{{ filter }}]={{ value }}
  • Contextual filters: ?views-argument[]={{ value }
    • Multiple arguments as such ?views-argument[]={{ value }}&views-argument[]={{ value2 }}
  • Exposed sorts: ?views-sort[sort_by]={{ sortId }}

 

Drupal 8–11

Ask your assistant about JSON:API Views

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

Required by

2 tracked projects depend on this one

Activity

Tracked releases
2
Tracked since
Feb 2023
Latest release
3 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
8.x-1.2 Stable 8–11 Aug 9, 2026
8.x-1.1 Stable 8–11 Feb 10, 2023