Skip to main content

Update server API

The ArtexGroup update server serves the module catalog, versions and packages. Base URL: https://artexgroup.org/updates/update.php.

Endpoints​

Catalog listing​

GET /updates/update.php?action=list

Returns the catalog of modules with current versions and metadata. For ECMS9 clients every module additionally carries the cms9_package flag — whether a separate ECMS9 package of the module exists (if not, the module is updated as part of the core).

Module version check​

GET /updates/update.php?action=check&module=<name>&version=<current>&domain=<site>

Response: whether a newer version exists, its number and the changelog.

Security releases​

Both list and check carry a boolean security field, taken from the module manifest ("security": true) and passed through as it stands — the update server does not interpret it. A client uses it to say more loudly that a release is waiting; notably, a pinned module is not updated by a security release, it raises a red banner in the admin panel instead. Modules whose manifest omits the field report security: false.

Package download​

GET /updates/update.php?action=download&module=<name>&domain=<site>

Serves the zip package of the latest version. Access is checked against the domain license: the site must be activated in the ArtexGroup licensing system.

Channels​

ECMS9 clients request the cms9 channel; for modules without a ECMS9 package the server returns the corresponding flag and the client shows "Updated with the ECMS9 core" instead of a download button.

Licensing​

  • A license is bound to the site's domain.
  • Requests without a valid license are refused on download.
  • Contact ArtexGroup to activate a domain.

Core self-update​

The ECMS9 core has its own cycle: check → build download → manifest verification → backup → apply → automatic rollback if needed. Builds marked auto_ok may be applied automatically when auto-update is enabled on the site.