Add edit
context to patterns REST controllers
#40259
Merged
edit
context to patterns REST controllers
#40259