#SB-239: Implement triggering of metadata rebuilding via REST

Added an illustration of how things should be done. This is not yet an actual implementation.