Reconcile local post status with Late for posts past their scheduled time.
scheduled_at is now in the past and whose late_post_id is set, fetches the current Late status, and:
posted if Late reports publisheddraft with late_post_id: null if Late reports failedscheduled_at has passed, to flip it from scheduled to postedgetLatePostAnalytics separately. Those metrics lag publication by roughly 24 hours.Cost — each inspected post triggers one Late API call. If the caller has many stale scheduled posts, this can be chatty. Pair with post-level scheduling so only recently-scheduled posts accumulate.Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Sync completed. Counts in synced; flipped IDs in updated.
Number of scheduled posts inspected (any post whose scheduled_at is now in the past and whose Late ID is set).
0 <= x <= 9007199254740991Post IDs that flipped to posted (or were reset to draft on Late-side failure) as a result of this sync.
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$