add REST documentation for ui module

I believe that is the case, but it's worth checking with @stuartf to make sure.