Publishes a scheduled post immediately, cancelling its queued publish action and restamping its creation time to now.
Only posts still in scheduled state are accepted. Publishing fires the normal post-created hooks, so notifications and announcement emails go out at this point rather than at the original scheduled time.
Endpoint
Method:
POSTPath:
/scheduled-posts/publish/{feed_id}Edition: PRO
Controller:
SchedulePostsController@publishPostRoute source:
fluent-community-pro/app/Http/Routes/api.php:111Controller source:
fluent-community-pro/app/Http/Controllers/SchedulePostsController.phpRequires the post author or a community moderator, either globally or in the post space.
Requires FluentCommunity Pro.
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.
POST Publish Scheduled Post
Publishes a scheduled post immediately, cancelling its queued publish action and restamping its creation time to now.
Controller: SchedulePostsController@publishPost
Route source: fluent-community-pro/app/Http/Routes/api.php:111
Authorizations
WordPress Application Passwords — use Basic auth with username:application_password.
Parameters
Path Parameters
Feed ID extracted from the URL path.
Responses
Successful response