Skip to content
Corex

DataExportSetController

Corex\Config\DataModels\DataExportSetController · class · Config layer

Exports of several models, and the history of every Data export (spec 109, slice 2). The routes are not under /data/, where /data/{source} matches any word: a fixed path there has to be registered before that pattern or it is taken for a source. One model’s export keeps its routes under its source.

__construct(DataExportService $exports, DataExportHistory $history, ExportWriters $formats, DataRestGateway $gateway)

Section titled “__construct(DataExportService $exports, DataExportHistory $history, ExportWriters $formats, DataRestGateway $gateway)”

index(WP_REST_Request $request): WP_REST_Response

Section titled “index(WP_REST_Request $request): WP_REST_Response”

preview(WP_REST_Request $request): WP_REST_Response

Section titled “preview(WP_REST_Request $request): WP_REST_Response”

create(WP_REST_Request $request): WP_REST_Response

Section titled “create(WP_REST_Request $request): WP_REST_Response”

advance(WP_REST_Request $request): WP_REST_Response

Section titled “advance(WP_REST_Request $request): WP_REST_Response”

download(WP_REST_Request $request): WP_REST_Response

Section titled “download(WP_REST_Request $request): WP_REST_Response”

delete(WP_REST_Request $request): WP_REST_Response

Section titled “delete(WP_REST_Request $request): WP_REST_Response”