Custom REST route for Flexible Table Block global options used by Power Table settings.
Base path: /wp-json/flexible-table-block/v1/
Source: src/table/class-api.php (FTB_NAMESPACE = flexible-table-block).
Auth summary
| Capability | Methods |
|---|---|
edit_posts | GET /options |
edit_posts when global setting UI is enabled; otherwise administrator | POST /options, DELETE /options |
Route index
| Method | Path | Purpose |
|---|---|---|
GET | /options | Read options plus minified editor-scoped block_css |
POST | /options | Update options |
DELETE | /options | Delete options |
GET /options
Requires edit_posts. Response includes settings from Settings::get_options() and a block_css string from Helper::get_block_css( '.editor-styles-wrapper ' ) (minified).
POST / DELETE /options
Permission depends on the show_global_setting option. When that UI is enabled, edit_posts is enough; otherwise the caller needs administrator.