They had some copy and paste errors that failed the docs build.
Adds the synced flush API to the high level REST client. Relates to #27205.