parse out workspace and collection from URI, save this along with the diff