]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commit - support/doc/api/openapi.yaml
Fix Ruby and Python REST API examples
authorMatthieu De Beule <matthieu.de@beule.be>
Tue, 12 Nov 2019 13:46:43 +0000 (14:46 +0100)
committerMatthieu De Beule <matthieu.de@beule.be>
Tue, 12 Nov 2019 13:46:43 +0000 (14:46 +0100)
commitf6d51cfe2aa4c1a1f48dab665cc3bebee178e383
tree3aa7d191b8f92ff93281b9994925c19a686e74ff
parente8e09e27ff49e694638b7f24dbb97e8de25ac416
Fix Ruby and Python REST API examples

The previous examples where wrong, since they used a POST request.
I used the requests library for Python, since that is what most people
would want to use.
I removed the http.verify_mode in the Ruby example since I don't think
it is good practice to tell people to not verify HTTPS requests
support/doc/api/openapi.yaml