Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Rest Export

Security covered Under active development 122 sites

The Rest Export module allows you to export a list of your site's RESTful APIs into various spreadsheet formats, including Excel, OpenDocument, CSV, and TSV. This is useful for tracking API status or providing a simple list to non-technical users without granting them admin access.

Introduction

The Rest Export module provides features to export restful API list via:

  • Excel (*.xlsx, *.xls)
  • OpenDocument Spreadsheet (*.ods)
  • Comma-separated values (*.csv)
  • Tab-separated values (*.tsv)

This module is useful in the following case:
1) The site has many restful APIs, so helpful to prepare a spreadsheet of exported APIs with their status.
2) In the case when your manager/client asked for the list of all APIs enabled in the site, so giving them admin permissions or telling them to enable Rest UI might not be the best approach.

Requirements

  • PHP 7.0 or greater
  • Drupal 8.8.0 or greater
  • PhpSpreadsheet 1.3.0 or greater
  • NO MORE MODULES REQUIRED

Installation

Install this module as any other contributed module.
composer require drupal/rest_export:^8.0

Remember, PhpSpreadsheet is required.
You can install PhpSpreadsheet separately using composer:
composer require phpoffice/phpspreadsheet:^1.3

Configurations:

  • Go to Administration > Configuration > Web Services > Rest Export
  • Setup your preferences before the export.
  • Save the form.
  • Cheers !

Permission

The module come with only permission i.e. "Administer REST resource configuration".

How to use

  • Go to: Administration << Configuration << Web services << Rest Export << Export REST Data
  • Choose format, check filename and sheet title and click on download button.
Drupal 9–10 · not 11

Ask your assistant about Rest Export

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

  • file Drupal core
  • rest Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Dec 2023
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
9.0.0 Stable 9–10 Dec 28, 2023