3 ms·
I agree but also have counter example, perhaps not yet as an interface for two systems. But let's start with this: What if I can ask my OS to do things I norma
by yeukhon 9y ago
I agree but also have counter example, perhaps not yet as an interface for two systems. But let's start with this:
What if I can ask my OS to do things I normally do over some protocol like HTTP in a RESTful style? Create user, list directory, find the last login, tell me linux kernel version.
^ has been done as a separate monitoring tool like Osquery, but can't we make such protocol natively? I don't want to parse my command-line output if I can just speak in one human-readble, machine-friendly dialect.
- coldtea 9y ago>What if I can ask my OS to do things I normally do over some protocol like HTTP in a RESTful style? Create user, list directory, find the last login, tell me linux kernel version. The /proc filesystem is somewhat close to that when it comes to GET. >I don't want to parse my command-line output if I can just speak in one human-readble, machine-friendly dialect That's not what REST (the original concept) is about.
- yeukhon 9y agoI understand REST's original motivation, but having a modern protocol to work with resources on a computer doesn't seem too much to ask.
- deleted 9y ago[deleted]