View .md

Plugin Themes endpoints (System (public))

2 FeatherPanel System (public) endpoints from system/plugin-themes.php: methods, paths, auth, permissions, rate limits, parameters and responses.

Last synced from FeatherPanel 15b94e9 on .

On this page

Defined in backend/app/routes/system/plugin-themes.php. Authentication used here: Public. Read Authentication for how to send credentials and Rate limits and errors for the response envelope.

Paths, methods, permissions and rate limits come from the route file. Summaries, parameters and response codes come from the OpenAPI annotations on the controllers; endpoints without annotations show only what the route file declares.

Endpoints

GET/api/system/plugin-themes

Auth: PublicRoute name: plugin-themesController: PluginThemesController::indexroute source

List plugin theme packs Aggregate Frontend/theme.json declarations from installed plugins.

curl -X GET "$PANEL_URL/api/system/plugin-themes" \
  -H "Accept: application/json"

Plugin events: featherpanel:system:plugins:ui:themes:retrieved

Responses: 200 Theme packs retrieved successfully · 500 Internal server error

GET/api/system/plugin-theme-css

Auth: PublicRoute name: plugin-theme-cssController: PluginThemesController::cssroute source

Get active plugin theme CSS Serve Frontend theme CSS for a specific pack id (plugin:packId).

ParameterInTypeRequiredDescription
idquerystringyesTheme pack id in the form pluginId:themeId
curl -X GET "$PANEL_URL/api/system/plugin-theme-css?id=$ID" \
  -H "Accept: application/json"

Responses: 200 Theme CSS · 404 Theme CSS not found