Auto Archiver API Database#
Module type
Provides integration with the Auto Archiver API for querying and storing archival data.
Features#
API Integration: Supports querying for existing archives and submitting results.
Duplicate Prevention: Avoids redundant archiving when
use_api_cacheis disabled.Configurable: Supports settings like API endpoint, authentication token, tags, and permissions.
Tagging and Metadata: Adds tags and manages metadata for archives.
Optional Storage: Archives results conditionally based on configuration.
Setup#
Requires access to an Auto Archiver API instance and a valid API token.
Configuration Options#
YAML#
# steps configuration
steps:
...
databases:
- api_db
...
# module configuration
...
api_db:
api_endpoint: ''
api_token:
public: false
author_id:
group_id:
use_api_cache: false
store_results: true
tags: []
Command Line:#
Option |
Description |
Default |
Type |
|---|---|---|---|
|
Required. API endpoint where calls are made to |
string |
|
|
Optional. API Bearer token. |
None |
string |
|
Optional. whether the URL should be publicly available via the API |
False |
bool |
|
Optional. which email to assign as author |
None |
string |
|
Optional. which group of users have access to the archive in case public=false as author |
None |
string |
|
Optional. if True then the API database will be queried prior to any archiving operations and stop if the link has already been archived |
False |
bool |
|
Optional. when set, will send the results to the API database. |
True |
bool |
|
Optional. what tags to add to the archived URL |
[] |
string |