The Omeda module provides basic Drupal integration to the Omeda API. It will allow you to connect to the API, automatically store comprehensive brand config in state based on a cron run, and configure basic settings such as whether or not you're in testing mode.
- To submit bug reports and feature suggestions, or to track changes: https://www.drupal.org/project/issues/omeda
- To access the Omeda API documentation, visit https://jira.omeda.com/wiki/en/Wiki_Home
Requirements
The encryption module is required, and will be automatically installed when using composer.
Installation
Install this module via composer by running the following command:
composer require drupal/omeda
Configuration
Configure Omeda in Administration » Configuration » Omeda » Omeda Settings
or by going directly to /admin/config/omeda/settings:
- Production API URL
This is the API url used when not in test mode.
- Testing API URL
This is the API url used when in test mode.
- API Mode
This determines whether or not you are in testing mode.
- App ID / API Key
This is passed to the API as x-omeda-appid.
- Input ID
This is passed to the API as x-omeda-inputid for update calls.
- Brand Abbreviation
This is passed as part of the URL for all API calls requiring it.
- Client Abbreviation
This is passed as part of the URL for all API calls requiring it.
Basic usage
To make API calls, fetch the Omeda service and call submitRequest(), passing the appropriate parameters.
$client = \Drupal::service('omeda')->submitRequest('/comp/*', 'GET')
Related Modules
Credits
Module development is sponsored by Ashday Interactive Systems.
Project information
- Maintenance fixes only
Considered feature-complete by its maintainers. - 35 sites report using this module
- Created by mikeegoulding on , updated
- Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
Core version bump and support for Drupal 10!