Create a separate endpoint that would accept workflow yaml as a string, validate it, and return it in the same parsed format as the revisions endpoints. This will enable on-the-fly validation and graphic preview of unsaved yaml changes in the GUI