/marketplace
The plugin marketplace: a curated catalog of plugins offered for installation (from fylr 6.35.0). Like the manage API, every operation requires the system right system.root or system.plugin.
GET /plugin/marketplace — Read the plugin marketplace catalog.
The catalog is pulled from Programmfabrik's published catalog sheet at request time and cached with a refresh window; while it cannot be loaded at all, the marketplace answers 503 (PluginMarketplaceUnavailable). Entries of private repositories are served without their install url — they are installed by name (see below).
Each entry carries a localized short description, a category, and optionally a version and an updated_at date. A plugin's version is the release tag name of its install artifact — there is no version key in manifest.yml any more; for an installed plugin the tag is exposed as build_info.release. installable marks an entry that can be installed by name, licensed a paid one, repo_name the repository it is published from. The catalog is not compiled into fylr: what the sheet offers changes without a fylr update. plugin.marketplace.enabled: false in fylr.yml switches the shop off entirely — no catalog or source URL is fetched, and these endpoints answer 400 PluginMarketplaceDisabled.
Returns the catalog of plugins offered for installation. The catalog
is pulled from Programmfabrik's published catalog sheet at request time
and cached with a refresh window, so the offer can change without a
fylr release.
Every entry carries the install url
of its ZIP — install it by passing that URL to PUT /plugin/manage
with type: url. Private and paid plugins are delivered sealed
(encrypted), so their ZIP is safe to publish; public only reflects
the source repository's visibility, not whether there is a url.
Access token in the Authorization header:
Authorization: Bearer <token>.
The plugin marketplace catalog.
The plugin marketplace catalog — the list of plugins offered for installation.
It is compiled from Programmfabrik's catalog (a published CSV sheet pulled
at request time and cached, source
programmfabrik) plus any sources the system administrator configures in
fylr.yml under plugin.marketplace.sources (inline entries, or a URL to a
document of this shape). Every entry carries the source it came from.
The marketplace is disabled in the server configuration
(plugin.marketplace.enabled, code: PluginMarketplaceDisabled).
The user holds neither system.root nor system.plugin
(code: SystemRightRequired).
The marketplace is temporarily unavailable: the default catalog
could not be loaded and no cached copy exists yet
(code: PluginMarketplaceUnavailable).
{
"plugins": [
{
"name": "server-pdf",
"repo_name": "fylr-plugin-server-pdf",
"description_l10n": {
"en-US": "Server-side HTML-to-PDF rendering for fylr, using a headless Chromium.",
"de-DE": "Serverseitige HTML-zu-PDF-Erzeugung für fylr mit Headless-Chromium."
},
"category": "media",
"public": true,
"url": "https://github.com/programmfabrik/fylr-plugin-server-pdf/releases/latest/download/fylr-plugin-server-pdf.zip",
"repository_url": "https://github.com/programmfabrik/fylr-plugin-server-pdf",
"developed_by": "Programmfabrik GmbH",
"software_license": {
"name": "MIT",
"url": "https://api.github.com/licenses/mit"
},
"custom_data_type": false
},
{
"name": "obscure-image",
"repo_name": "fylr-plugin-obscure-image",
"description_l10n": {
"en-US": "Pixelate, blur, or blackout regions of an image as a new asset variant.",
"de-DE": "Bildbereiche verpixeln, weichzeichnen oder schwärzen — als neue Asset-Variante."
},
"category": "media",
"public": false,
"url": "https://programmfabrik.github.io/fylr-plugin-obscure-image/fylr-plugin-obscure-image-3f2c0b18-...-latest.zip",
"licensed": true,
"license_enabled": false,
"repository_url": "https://github.com/programmfabrik/fylr-plugin-obscure-image",
"developed_by": "Programmfabrik GmbH",
"custom_data_type": false
}
]
}POST /plugin/marketplace/{name}/install — Install a marketplace plugin by name.
Installs the named catalog entry. The install URL is resolved on the server — private release URLs never leave it — and missing dependencies are resolved from the catalog and installed first, dependency-first. A paid (licensed) plugin lands installed but disabled: enabling it needs the instance license to grant it — unless the license already grants it by name, in which case it is enabled right away.
Installs the named catalog entry. The install URL is resolved on the
server — private entries are served without their url, so this is the
only way to install them — and missing dependencies are resolved from
the catalog (hidden library entries included) and installed first,
dependency-first. Enabling a paid (licensed) plugin needs the instance
license to grant it by name, so it lands installed but disabled —
unless the license already grants it, then it installs enabled. A
failure mid-chain keeps the dependencies installed so far.
Access token in the Authorization header:
Authorization: Bearer <token>.
The plugin's internal name, as listed in the catalog.
Every plugin this request installed, in install order (dependencies first, the named entry last). Same entry shape as the manage API.
A single plugin as seen by the management API (/plugin/manage).
Carries the stored plugin row (id, name, enabled flag, source) plus
the parsed manifest. Used both as the request body of
PUT/POST /plugin/manage and as their response.
On create (PUT) the body must NOT carry an id; on update
(POST /plugin/manage/{id}) the body id must match the path {id}.
Numeric id of the stored plugin. Assigned by fylr on create;
must be absent (or 0) in a PUT create body, and must match the
path {id} in a POST update body.
Unique plugin name (matches the manifest name:). Read-only in
responses; derived from the uploaded plugin on create.
Whether the plugin is enabled. A freshly uploaded plugin is
created disabled (false); enable it with an update. If the
license mentions the plugin without granting it (see license),
enabling it is rejected with PluginNotLicensed and the plugin is
kept disabled at runtime.
true when the plugin arrived as a sealed (encrypted) package and
was decrypted at install. Read-only: derived from the delivered
artifact, values sent in requests are ignored.
true when the marketplace catalog marks the plugin as paid: it can be
installed freely, but the instance license must grant it by name
("enabled": true in the license's plugins block) before it can
be enabled. Read-only: stamped from the catalog at install, values
sent in requests are ignored.
true when the plugin was discovered and registered automatically
(e.g. from the plugins directory) rather than uploaded via the API.
Filesystem path the plugin is loaded from, if any.
Source URL the plugin is fetched from when type is url. For a
plugin the marketplace catalog marks as private, the manage API
responses withhold it (null, url_hidden: true) — private release
URLs never reach the client. A null url in a save keeps the stored
one.
The stored url was withheld from this response: the marketplace
catalog marks the plugin's repository as private. Response only,
absent otherwise.
Source type of the plugin. zip for a plugin whose ZIP was uploaded
through /plugin/manage/upload, url for one fetched from a remote
url.
The ZIP itself is never part of this schema: it is uploaded as a raw
request body through PUT /plugin/manage/upload and read back from
GET /plugin/manage/{id}/zip.
The stored type never changes on update, with one exception: uploading
a ZIP onto a url plugin with POST /plugin/manage/{id}/upload
converts the row to zip (the install-as-zip rescue for a source
that cannot be fetched), keeping name, enabled flag and configuration.
The stored url is dropped (a zip plugin has no source url) and
update_policy is forced to never.
Update policy stored for the plugin (controls how/when fylr refreshes the plugin from its source).
not_installed for a url plugin whose zip has never arrived —
such a plugin is force-disabled at runtime (like an unlicensed one;
the stored enabled keeps the user's intent) and the frontend
offers the install-as-zip rescue. Response only, absent otherwise.
When fylr last completed a check of the plugin source for updates. A failed update attempt does not move it.
When the plugin was installed.
When the stored plugin content (the zip and its manifest) last
changed: set at install and whenever a new version is stored. A
settings-only save (enable/disable, update_policy) does not
touch it.
The catalog cannot resolve a dependency of the named entry
(code: PluginDependencyNotInstalled), the entry carries no
install URL, or the marketplace is disabled in the server
configuration (plugin.marketplace.enabled,
code: PluginMarketplaceDisabled).
The user holds neither system.root nor system.plugin
(code: SystemRightRequired).
The catalog offers no entry of that name
(code: PluginNotFound).
The marketplace is temporarily unavailable: the default catalog
could not be loaded and no cached copy exists yet
(code: PluginMarketplaceUnavailable).
{
"type": "zip",
"enabled": false
}GET /plugin/marketplace/{name}/readme — Read a marketplace plugin's README.
The full README of a marketplace plugin — its "more information" documentation, shown in the marketplace behind a button.
Returns the README.md bundled next to the manifest in the plugin's
install ZIP, with its images inlined as data URIs so it renders
self-contained. Only the ZIP directory and the README entry are
transferred (HTTP range requests), not the whole ZIP. An empty
readme means the plugin ships no README.
Access token in the Authorization header:
Authorization: Bearer <token>.
The plugin's internal name, as listed in the catalog.
The plugin's README.
The plugin's internal name.
The README as Markdown (images inlined as data URIs), or an empty string if the plugin ships no README.
The marketplace is disabled in the server configuration
(plugin.marketplace.enabled, code: PluginMarketplaceDisabled).
The user holds neither system.root nor system.plugin
(code: SystemRightRequired).
The marketplace is temporarily unavailable: the default catalog
could not be loaded and no cached copy exists yet
(code: PluginMarketplaceUnavailable).
{
"name": "text",
"readme": "text"
}Last updated