Advances the migration by one time-boxed batch and returns the updated progress record — this endpoint does the work, it does not merely report on it.
Each call processes group members, posts and comments, or user profiles depending on the stage recorded in the progress record, stopping when it approaches the server maximum run time. The client is expected to poll it until the stage reaches completed. A progress record in an unrecognised stage returns an error asking for the migration to be restarted.
Endpoint
Method:
GETPath:
/migrations/buddypress/statusEdition: Core
Controller:
BPMigrationController@getPollingStatusRoute source:
fluent-community/Modules/Migrations/Http/migration_api.php:16Controller source:
fluent-community/Modules/Migrations/Http/Controllers/BPMigrationController.phpRequires the FluentCommunity community-admin permission (or a WordPress super admin).
Despite its name this is a write endpoint: calling it creates spaces, members, posts and profiles.
Reconstructed sample
This endpoint belongs to a module that is not active on the reference install (or needs a file upload), so the payload below was reconstructed by reading the controller rather than recorded. Field names and types follow the source; values are illustrative.
GET Get Buddypress Migration Status
Advances the migration by one time-boxed batch and returns the updated progress record — this endpoint does the work, it does not merely report on it.
Controller: BPMigrationController@getPollingStatus
Route source: fluent-community/Modules/Migrations/Http/migration_api.php:16
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Responses
Successful response