Get General Settings
Returns the general settings and the page chosen as the All Events page.
Endpoint
- Method:
GET - Path:
/fluent-event/v2/settings/general - Controller:
SettingsController@getGeneral - Route source:
fluent-event/app/Http/Routes/api.php:23 - Controller source:
fluent-event/app/Http/Controllers/SettingsController.php:18
Permissions
- Requires the
manage_optionscapability (a site administrator). FluentEvent has no separate staff roles: its admin API is for administrators only.
Live sample
The request and response below were recorded on a running FluentEvent site and then anonymised. Names, emails and event titles are fictional, and long lists are cut to a few items.
Get General Settings
GET
/settings/general
Returns the general settings and the page chosen as the All Events page.
Controller: SettingsController@getGeneral
Route source: fluent-event/app/Http/Routes/api.php:23
Authorizations
ApplicationPasswords
A WordPress username and an Application Password.
Type
HTTP (basic)
Responses
Success
application/json
JSON "settings": { "default_events_view": "string", "disable_event_view_switch": "string", "events_page_id": 0, "event_slug": "string" }, "pages": { "events_page_id": "string" }
{
}