Sorry, waste of money, already been tried.....
Universal Description Discovery and Integration :
http://en.wikipedia.org/wiki/Universal_Description_Discovery_and_Integration
OK, it was for SOAP webservices rather than REST webservices but that's the only difference. By the way it failed horrendously, because although the idea of writing code to parse the service descriptions and automatically be able to start using them was very seductive and got lots of people excited back in 2000, the reality soon dawned that this was so difficult in practice that it would be impractical.
OK, I know that REST is currently quite popular, and SOAP is considered a bit verbose and difficult ( which it is, but not massively so, and it has way better security and robustness), but why are our government spaffing millions on this because they think that there's 200 billion to be made from wi-fi equipped lightbulbs and toasters? Does the UK still manufacture this sort of stuff? And weill countries who do make this stuff not be able to create something easily themselves if by some miracle it was found to be practicable and useful?