Yes. That's pretty simple to do.
I can also detect changes and rebuild, I think. Mucking with rest apis is sometimes a crap shot, but I think I know the appropriate evocation now.