4 ms·
Given a series of increasingly sophisticated verbs and language processing, there should be no practical reason why machines could not use and write APIs to tal
by marquis 15y ago
Given a series of increasingly sophisticated verbs and language processing, there should be no practical reason why machines could not use and write APIs to talk among themselves and build their own interactive services. Too sci-fi for now?
- TOGoS 15y agoWith sufficient metadata about resources this would be perfectly feasible. My thought, though, is that maintaining that metadata (so-and-so needs access to such-and-such, which changes oh-so-often and which is typically a binary blob 0.5-3MB, or whatever) would in the short term be more work than just writing the interfaces by hand. For large systems it might work, but man, who's going to want to fix the system that writes the APIs when it breaks?
- eloisius 15y agoWhat I'm trying to write for Sinatra would generate that documentation automatically. You just make your resources and endpoints like you always would and (hopefully) the gem will generate an appropriate JSON object describing them.