/manage
Management API for installed plugins. Every operation requires the system right system.root or system.plugin; a request lacking both (including an unauthenticated request) is rejected with code: SystemRightRequired (403).
GET /plugin/manage — List all installed plugins.
Returns every installed plugin — enabled and disabled — with its stored row and parsed manifest.
Access token in the Authorization header:
Authorization: Bearer <token>.
The list of installed plugins.
Response of GET /plugin/manage — the full list of installed
plugins (enabled and disabled) as seen by the management API.
The user holds neither system.root nor system.plugin
(code: SystemRightRequired).
{
"plugins": [
{
"type": "zip",
"enabled": false
}
],
"marketplace": {
"enabled": true
}
}PUT /plugin/manage — Create (install) a plugin.
Installs a new plugin from a url, or registers a disk plugin.
The body must NOT carry an id; type is required and must be
one of disk, zip, url. The plugin's enabled state is taken
from the request enabled field, so a plugin can be created
already enabled.
A zip plugin is installed through PUT /plugin/manage/upload
instead — its ZIP is the raw request body.
Fails with code: PluginDuplicateName (400) if a plugin with the
same name already exists, with code: ReadOnlyMode when the
instance is in read-only mode, and with code: ServerGeneric
(400) when the body carries an id or the payload cannot be
parsed.
Access token in the Authorization header:
Authorization: Bearer <token>.
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 created plugin.
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.
A plugin with this name already exists
(code: PluginDuplicateName), a declared dependency is not
installed (code: PluginDependencyNotInstalled) or not
enabled while enabled was requested
(code: PluginDependencyNotEnabled), the instance is
read-only (code: ReadOnlyMode), or the payload could not be
parsed.
The user holds neither system.root nor system.plugin
(code: SystemRightRequired), or the payload requests
enabled: true for a plugin the installed license does not
allow to be enabled (code: PluginNotLicensed).
{
"type": "zip",
"enabled": false
}GET /plugin/manage/{id} — Read one installed plugin.
Access token in the Authorization header:
Authorization: Bearer <token>.
Numeric id of the plugin.
The plugin.
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 user holds neither system.root nor system.plugin
(code: SystemRightRequired).
No plugin with this id (code: PluginNotFound).
{
"type": "zip",
"enabled": false
}POST /plugin/manage/{id} — Update an installed plugin.
Updates the plugin identified by {id}. The body id must match
the path {id}. Use this to enable/disable a plugin or refresh it
from its source. Fails with code: ReadOnlyMode when the instance
is read-only.
A settings-only save (the url unchanged) never contacts the
source, so the settings of a plugin whose source is currently
unreachable can still be changed. Sending a new url fetches the
payload as usual.
type is ignored here: a JSON save carries no content, so it could
only relabel the row. The type of an installed plugin follows its
content and changes only when a ZIP is uploaded onto it (POST /plugin/manage/{id}/upload).
Access token in the Authorization header:
Authorization: Bearer <token>.
Numeric id of the plugin.
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 updated plugin.
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 body id does not match the path {id}, a declared
dependency is not installed
(code: PluginDependencyNotInstalled) or not enabled while
enabled was requested (code: PluginDependencyNotEnabled),
the plugin is being disabled while an enabled plugin depends
on it (code: PluginRequiredByOthers), the instance is
read-only (code: ReadOnlyMode), or the payload could not be
parsed.
The user holds neither system.root nor system.plugin
(code: SystemRightRequired), or the update requests
enabled: true for a plugin the installed license does not
allow to be enabled (code: PluginNotLicensed).
No plugin with this id (code: PluginNotFound).
{
"type": "zip",
"enabled": false
}DELETE /plugin/manage/{id} — Delete (uninstall) a plugin.
Removes the plugin identified by {id}. Fails with
code: ReadOnlyMode when the instance is read-only.
Access token in the Authorization header:
Authorization: Bearer <token>.
Numeric id of the plugin.
The plugin was deleted.
Response of DELETE /plugin/manage/{id} — confirms the plugin was
removed.
Always true when the plugin was deleted.
An enabled plugin depends on this one
(code: PluginRequiredByOthers, dependents have to be
disabled or removed first), or the instance is read-only
(code: ReadOnlyMode).
The user holds neither system.root nor system.plugin
(code: SystemRightRequired).
{
"acknowledged": true
}GET /plugin/manage/{id}/readme — Read an installed plugin's README.
Returns the README.md bundled next to the plugin's manifest.yml,
read on demand from the plugin source (plugin directory, stored ZIP,
or install URL via HTTP range requests) — the potentially large
README never rides along in the plugin listing. Whether a plugin
ships one is exposed as manifest.has_readme in the listing. An
empty readme means the plugin ships no README or its source is
temporarily unreachable.
Access token in the Authorization header:
Authorization: Bearer <token>.
Numeric id of the plugin.
The plugin's README.
Numeric id of the plugin.
The plugin's internal name.
The README as Markdown (images inlined as data URIs by the plugin build), or an empty string if the plugin ships no README.
The user holds neither system.root nor system.plugin
(code: SystemRightRequired).
No plugin with this id (code: PluginNotFound).
{
"id": 1,
"name": "text",
"readme": "text"
}PUT /plugin/manage/upload — Install a plugin from an uploaded ZIP.
The request body is the plugin ZIP itself — no JSON envelope, no base64 — so plugins of any size can be installed.
The ZIP must carry exactly one <name>/manifest.yml naming the
plugin; anything else is rejected with code: PluginInvalid and
nothing is stored. The upload is exempt from the produce config's
filetype and size limits — a plugin ZIP is an internal artifact,
not user media. A sealed (encrypted) plugin ZIP is accepted and
decrypted when the build carries the matching key.
Access token in the Authorization header:
Authorization: Bearer <token>.
Enable the plugin right away. Default false.
Update policy to store. A zip plugin only supports never
(its default).
File name recorded for the stored ZIP. Default plugin.zip.
The installed plugin.
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 body is not a plugin ZIP (code: PluginInvalid), a plugin
with this name already exists
(code: PluginDuplicateName), or the instance is read-only
(code: ReadOnlyMode).
The user holds neither system.root nor system.plugin
(code: SystemRightRequired).
{
"type": "zip",
"enabled": false
}POST /plugin/manage/{id}/upload — Replace a plugin's ZIP.
Same body and checks as PUT /plugin/manage/upload, but the ZIP
replaces the content of the plugin {id} instead of creating a
new one. The new ZIP's manifest must not name a DIFFERENT
installed plugin (code: PluginDuplicateName).
Type zip is implicit here, so uploading onto a url plugin
converts it: the row keeps its name, configuration and enabled
state, its update_policy is forced to never and its url is
cleared. A disk plugin is served from a path, has no stored ZIP
and is refused (400).
Access token in the Authorization header:
Authorization: Bearer <token>.
Numeric id of the plugin.
The updated plugin.
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 user holds neither system.root nor system.plugin
(code: SystemRightRequired).
{
"type": "zip",
"enabled": false
}GET /plugin/manage/{id}/zip — Download a plugin's stored ZIP.
Streams the stored plugin ZIP as the response body. A plugin with
no stored ZIP (a disk plugin, or a url plugin whose download
is still pending) answers 400.
Access token in the Authorization header:
Authorization: Bearer <token>.
Numeric id of the plugin.
The stored plugin ZIP.
The user holds neither system.root nor system.plugin
(code: SystemRightRequired).
binaryPOST /plugin/manage/{id}/check — Check a plugin's source now, skipping the update-policy interval.
Probes the plugin's source right away instead of waiting for the
update policy's next window. A reachable source heals the stored
warning (and, for policies other than never, installs a changed
version like a regular update); an unreachable one stamps the warning
with the fresh failure. Update policy never only probes — it never
installs. The check runs under the same lock as the plugin updater
and is bounded by the configured fetch timeouts, so it returns even
for a black-holed source.
Access token in the Authorization header:
Authorization: Bearer <token>.
Numeric id of the plugin.
The freshly checked plugin. A still-broken source is NOT an
error: it shows in the returned warning.
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 instance is read-only (code: ReadOnlyMode).
The user holds neither system.root nor system.plugin
(code: SystemRightRequired).
No plugin with this id (code: PluginNotFound).
{
"type": "zip",
"enabled": false
}README, ZIP and source check
From 6.35.0:
GET /plugin/manage/{id}/readme— the plugin'sREADME.md, the file next to itsmanifest.yml. The manage listing marks a plugin that ships one withmanifest.has_readme; the retiredplugin.webfrontend.readmemanifest key is no longer read.PUT /plugin/manage/upload— install a plugin from a ZIP sent as the raw request body;POST /plugin/manage/{id}/uploadreplaces the ZIP of an installed plugin (aurlplugin becomes azipplugin, keeping its name, configuration and enabled state);GET /plugin/manage/{id}/zipreturns the stored ZIP. A plugin ZIP is exempt from the file-production settings (allowed file types, maximum upload size) and no longer travels as an asset;zip_fileis gone from the API.POST /plugin/manage/{id}/check— force a source check right away instead of waiting for the update policy's window.
A plugin row reports enabled as the flag the administrator stored, and state as the reason it cannot run: not_installed while a url plugin's ZIP has not arrived, not_licensed while the license does not grant it. A plugin whose source cannot be fetched carries a warning (url_unreachable, url_http_error, zip_invalid) with the time it was first seen, cleared by the next successful fetch. The stored URL of a plugin installed from a catalog-private entry is withheld (url_hidden); a null URL in a save keeps the stored one.
Last updated