Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

JSON:API Links

Security covered Under active development 118 sites

This module allows you to remove the "links" section from JSON:API responses in Drupal, making them smaller and saving bandwidth. You can easily toggle this feature on or off through the module's configuration settings.

The JSON:API Links module makes it possible to remove the "links" attributes from Drupal's JSON:API responses. This saves bandwidth by making responses more compact.

There is one exception: if you request `/jsonapi` (or the path you set as the root path), nothing will be removed.

You can toggle this behavior via a UI setting.

The approach this module takes was originally suggested by Wim Leers.

Requirements

This module requires no modules outside of Drupal core.

Installation

Install as you would normally install a contributed Drupal module.

Configuration

  1. Enable the module at Administration > Extend.
  2. Configure the module at `/admin/config/services/jsonapi/links`. To remove links, check "Remove all links attributes".
Drupal 10–11

Ask your assistant about JSON:API Links

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

  • jsonapi Drupal core
  • user Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
10
Tracked since
Mar 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 5
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
1.1.0 Stable 10–11 Jul 24, 2025
1.0.9 Stable 8–11 Jan 7, 2025
1.0.8 Stable 8–11 Jan 5, 2025
1.1.x-dev Dev 10–11 Jan 5, 2025
1.0.7 Stable 8–11 Jan 4, 2025
1.0.6 Stable 8–11 Apr 19, 2024
1.0.5 Stable 8–11 Apr 17, 2024
1.0.4 Stable 8–11 Mar 28, 2024
1.0.3 Stable 8–9 Mar 28, 2024
2.x-dev Dev 9–10 Mar 28, 2024