View .md

Content endpoints (Admin API)

7 FeatherPanel Admin API endpoints from admin/kpi/content.php: methods, paths, auth, permissions, rate limits, parameters and responses.

Last synced from FeatherPanel 15b94e9 on .

On this page

Defined in backend/app/routes/admin/kpi/content.php. Authentication used here: Admin. 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/admin/analytics/realms/overview

Auth: AdminPermission: admin.realms.viewRoute name: admin-analytics-realms-overviewController: ContentController::getRealmsOverviewroute source

Get realms overview Retrieve statistics about realms.

curl -X GET "$PANEL_URL/api/admin/analytics/realms/overview" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

Responses: 200 Realms overview retrieved successfully · 401 Unauthorized · 403 Forbidden - Insufficient permissions

GET/api/admin/analytics/spells/by-realm

Auth: AdminPermission: admin.spells.viewRoute name: admin-analytics-spells-by-realmController: ContentController::getSpellsByRealmroute source

Get spells by realm Retrieve spell distribution across realms.

curl -X GET "$PANEL_URL/api/admin/analytics/spells/by-realm" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

Responses: 200 Spells by realm retrieved successfully · 401 Unauthorized · 403 Forbidden - Insufficient permissions

GET/api/admin/analytics/spells/overview

Auth: AdminPermission: admin.spells.viewRoute name: admin-analytics-spells-overviewController: ContentController::getSpellsOverviewroute source

Get spells overview Retrieve statistics about spells.

curl -X GET "$PANEL_URL/api/admin/analytics/spells/overview" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

Responses: 200 Spells overview retrieved successfully · 401 Unauthorized · 403 Forbidden - Insufficient permissions

GET/api/admin/analytics/spells/variables

Auth: AdminPermission: admin.spells.viewRoute name: admin-analytics-spells-variablesController: ContentController::getSpellVariableStatsroute source

Get spell variable statistics Retrieve statistics about spell variables.

curl -X GET "$PANEL_URL/api/admin/analytics/spells/variables" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

Responses: 200 Spell variables retrieved successfully · 401 Unauthorized · 403 Forbidden - Insufficient permissions

GET/api/admin/analytics/images/overview

Auth: AdminPermission: admin.images.viewRoute name: admin-analytics-images-overviewController: ContentController::getImagesOverviewroute source

Get images overview Retrieve statistics about images.

curl -X GET "$PANEL_URL/api/admin/analytics/images/overview" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

Responses: 200 Images overview retrieved successfully · 401 Unauthorized · 403 Forbidden - Insufficient permissions

GET/api/admin/analytics/mail-templates/overview

Auth: AdminPermission: admin.email.templates.viewRoute name: admin-analytics-mail-templates-overviewController: ContentController::getMailTemplatesOverviewroute source

Get mail templates overview Retrieve statistics about mail templates.

curl -X GET "$PANEL_URL/api/admin/analytics/mail-templates/overview" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

Responses: 200 Mail templates overview retrieved successfully · 401 Unauthorized · 403 Forbidden - Insufficient permissions

GET/api/admin/analytics/content/dashboard

Auth: AdminPermission: admin.realms.viewRoute name: admin-analytics-content-dashboardController: ContentController::getDashboardroute source

Get comprehensive content analytics dashboard Retrieve all content analytics data.

curl -X GET "$PANEL_URL/api/admin/analytics/content/dashboard" \
  -H "Authorization: Bearer $FEATHERPANEL_API_KEY" \
  -H "Accept: application/json"

Responses: 200 Content dashboard retrieved successfully · 401 Unauthorized · 403 Forbidden - Insufficient permissions