fixes #6749 - regenerate API docs, fix API v2 examples in docs that show error messages

...