Rest Export

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.
Supporting organizations: 

Project information

Releases