REST API
Enhanced REST API v2 with API key management, full CRUD operations, batch processing, webhooks with HMAC signatures and retry logic, rate limiting, and GLAM/DAM sector support
| Category | Integration and APIs |
|---|---|
| Package | ahgAPIPlugin |
| Version | 1.2.0 |
| Status | Installs from source. Clean-database install not yet verified. |
| External services | Can use, when installed: Apache Jena Fuseki triplestore, ExifTool |
| Licence | AGPL-3.0-or-later |
| Install | From the source repository: see Installation below. No packaged download yet. |
Enhanced REST API v2 for Access to Memory (AtoM) 2.x The AtoM MCP server (in development) works through this API: it reads records, their text and images, and sends proposals that an archivist reviews before anything changes. Video walkthrough: AtoM MCP Server in Action
Features
- API Key Management - Create and manage API keys with granular scopes (read/write/delete)
- Rate Limiting - Configurable rate limits per API key (requests/hour)
- Request Logging - Full request/response logging for analytics and debugging
- Webhooks - Real-time notifications for record changes
- Batch Operations - Process multiple records in a single request
- Full Data Export - Get complete record data with
?full=trueparameter - GLAM/DAM Support - Sector filtering for Archive, Museum, Library, Gallery, DAM
Requirements
- AtoM 2.8 or higher
- PHP 8.1 or higher
- atom-framework installed and configured
Installation
Via AHG Framework (Recommended)
cd /path/to/atom
php bin/atom extension:enable ahgAPIPluginManual Installation
- Copy the plugin to your AtoM plugins directory:
cp -r ahgAPIPlugin /path/to/atom/plugins/- Run the database migrations:
php atom-framework/bin/install-plugin-schema.php --database=<database> --user=<user> --password=<password> --plugin=ahgAPIPlugin # from the AtoM root; never a plain mysql < install.sql- Enable the plugin in
apps/qubit/config/settings.yml:
all:
.settings:
enabled_modules:
- apiv2- Clear the cache:
php symfony ccTry it
This feature is for signed-in staff, so it is not open on the public demo.
Source and README on GitHub · Questions: support@theahg.co.za or WhatsApp