Add a new `rbt api` command and support `--get`, `--put`, `--post` and `--delete` options.
Review Request #11479 — Created Feb. 21, 2021 and updated — Latest diff uploaded
The reason why we need api command instead of api-get is simple: We need to do HTTP GET, POST, PUT, DELETE requests.
apicommand, with new options
--prettyoption and server options still work.
--deleteoptions, I did some testings using command line tools.
I created a review request draft and used my
--deleteoptions, they all worked fine.
I posted several files to the review request draft using
--fileoptions and they worked.
I don't think our reviewboard APIs support
--patchat this moment so I just left it there in case one day it will be useful.