Skip to content

Returns the Progressive Web App settings — app name, short name, icon source, theme colour and install prompt position.

Endpoint

  • Method: GET

  • Path: /admin/pwa-settings

  • Edition: PRO

  • Controller: PwaController@getSettings

  • Route source: fluent-community-pro/app/Modules/Pwa/Http/pwa_api.php:8

  • Requires the FluentCommunity community-admin permission (or a WordPress super admin).

  • Requires FluentCommunity Pro; this is the PWA module settings endpoint despite its generic path name.

Live sample

The request and response below were recorded against a running FluentCommunity install and then anonymised — member names, emails, avatars and post content are fictional, and long collections are trimmed to a few entries.

GET Get Settings

GET
/admin/pwa-settings

Returns the Progressive Web App settings — app name, short name, icon source, theme colour and install prompt position.

Controller: PwaController@getSettings
Route source: fluent-community-pro/app/Modules/Pwa/Http/pwa_api.php:8

Authorizations

ApplicationPasswords

WordPress Application Passwords — use Basic auth with username:application_password.

Type
API Key (header: Authorization)

Responses

Successful response

application/json
JSON
{
  
"settings": {
  
  
"app_name": "string",
  
  
"background_color": "string",
  
  
"custom_icon": "string",
  
  
"icon_sizes": "string",
  
  
"icon_source": "string",
  
  
"install_dismissible": "string",
  
  
"install_entry": "string",
  
  
"install_position": "string",
  
  
"short_name": "string"
  
}
}

Playground

Authorization

Samples

Powered by VitePress OpenAPI

FluentCommunity developer documentation