Make editor request API easier to use (#13334)

Change-Id: I53f2cf8f248aaa3798a82b0a1f42d320ca9c2e05