Skip to main content
Altcraft Docs LogoAltcraft Docs Logo
User guideDeveloper guideAdmin guide
Company siteHelp center
English
  • Русский
  • English
v72
  • v74
  • v73
  • v72
Login
  • Getting Started
  • Administrator documentation
  • Functional characteristics
  • Technology description
  • System requirements
  • Admin Panel
    • Account area
      • Accounts
      • Tariffs
      • External data configuration
      • LDAP
      • Tasks
      • Schedule Jobs
      • Global Stop Lists
      • Webversion Store Policies
    • Settings
    • Nodes
    • Senders
    • Reports
    • Tools
  • Platform installation
  • Platform configuration
  • Platform maintenance
  • Custom channels guide
  • Extra
  • Processing HTTP/HTTPS traffic
  • Administrator API
This is documentation for Altcraft Platform v72. This documentation is no longer maintained.
The information for up-to-date platform version at this page is available (v74).
  • Admin Panel
  • Account area
  • Webversion Store Policies
Documentation for version v72

Webversion Store Policies

Description​

A web version storage policy is a set of rules that defines the directory and retention period for web versions, as well as the channels where they will be stored.

Pre-configuration​

S3 storage is used to store web version objects. You can connect any S3-compatible storage such as Minio, Yandex Cloud, or Selectel. To connect, add the parameters to the configuration file main.json and restart the platform:

"OBJECTS3_HOST": "", 
"OBJECTS3_KEY_ID": "",
"OBJECTS3_KEY_SECRET": "",
"OBJECTS3_IS_SSL": false,
"OBJECTS3_INSECURE_REQUESTS": true,
"WEBVER_LEGACY_TTL_DAYS": 0
info

In version 66 and earlier, MongoDB is used to store web versions. In newer versions, this option is also available. To enable MongoDB storage, add the following parameter to the configuration file:

"WEBVER_LEGACY_TTL_DAYS": 30 // Number of days to store web versions in Mongo if no policy is attached to the account

If at least one policy is created and attached to an account, web versions will be stored in S3 storage.

Creating a Policy​

To manage policies, in the main menu select Account Area — Web version store policies.

The list displays existing policies. On the right side of the table are the edit and delete buttons. To edit, click the policy identifier or name. To create a new policy, click + Create:

For each policy, set the following parameters:

  • Name — unique policy name.
  • Bucket Name — the name of the bucket (container) where web version objects will be stored. The name can include only lowercase Latin letters, numbers, dots (.) and hyphens (-). Length must be from 3 to 63 characters.
  • Prefix (optional) — a string at the beginning of the object key name, used to organize data inside the bucket.
  • The Disable compression option disables data compression within the policy.

In the Channel filter block, select the channels where web versions of messages should be saved: all channels (Any channel) or only specific ones (Some channels). Web version storage is available for all active channels in the account.

In the TTL Policy block, set how long to store web versions:

  • Not set / Use bucket defaults — use the retention time set for the selected bucket.
  • Set custom TTL rule — specify the retention time manually in the field below.

After saving, you can use the policy in accounts of the platform.

Last updated on Feb 25, 2025
Previous
Global Stop Lists
Next
Settings
  • Description
  • Pre-configuration
  • Creating a Policy
© 2015 - 2025 Altcraft, LLC. All rights reserved.