drupal / varbase_api_base
A recipe to set up JSON:API with authentication, authorization, and OpenAPI documentation for easy content ingestion by other applications.
Installs: 17
Dependents: 1
Suggesters: 0
Security: 0
Type:drupal-recipe
pkg:composer/drupal/varbase_api_base
Requires
- drupal/consumers: ~1
- drupal/core: ~11.3.0
- drupal/jsonapi_extras: ~3
- drupal/openapi: ~2
- drupal/openapi_jsonapi: ~3
- drupal/openapi_rest: ~2
- drupal/openapi_ui_redoc: ~1
- drupal/openapi_ui_swagger: ~1
- drupal/restui: ~1
- drupal/schema_metatag: ~3
- drupal/simple_oauth: ~6
This package is auto-updated.
Last update: 2026-01-25 18:08:34 UTC
README
A recipe to set up JSON:API with authentication, authorization, and OpenAPI documentation for easy content ingestion by other applications.
This recipe provides the base API functionality, allowing you to easily set up a complete API infrastructure for your Drupal site.
Features
- JSON:API for structured content access
- OAuth 2.0 authentication via Simple OAuth
- OpenAPI documentation with Redoc and Swagger UI
- JSON:API Extras for customization
- REST UI for managing REST resources
- Pre-configured API settings
Installation
Add the recipe using composer:
composer require drupal/varbase_api_base:~1.0.0
Change directory to /web or /docroot
Run the Drupal recipe bash script:
bash core/scripts/drupal recipe recipes/contrib/varbase_api_base
or
Run the Drush recipe command:
drush recipe recipes/contrib/varbase_api_base
Use With Varbase Distribution
This recipe is best used with Varbase distribution.
Can be installed with any Drupal site, even if installed with the Minimal or Standard profile. However, using it with Varbase gives you way much more cool stuff!
Varbase documentation
Check out Varbase documentation for more details.
Join Our Slack Team for Feedback and Support http://slack.varbase.vardot.com/
This recipe is sponsored and developed by Vardot.