REST API - RFC
Note that this page is still mostly a placeholder to start some iterative process about a REST API.
ssm suggested having a REST API for interaction on IRC:
The format feels like:
I don't really like that `clean url`_ format. It looks very pleasant at first, but it will not be helpful since you have to parse every parameter yourself. So it feels a lot like NIH.
Why not use plain old HTTP url encoding ? These have a lot of proven parsers. And Google also uses them, so it cannot be completely wrong :-)
I propose something like that instead:
With a GET to fetch the config of the cpu plugin on
The 2.2 will be read-only (GET).
The read-write part will be part of 2.4, via POST (or PUT).