]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Add API example to list videos
authorChocobozzz <me@florianbigard.com>
Mon, 11 Jun 2018 12:45:43 +0000 (14:45 +0200)
committerChocobozzz <me@florianbigard.com>
Mon, 11 Jun 2018 12:45:43 +0000 (14:45 +0200)
support/doc/api/quickstart.md

index 5ebcd4f473d3f3f385d0b9858bf5993203f7303c..844248a7f0dac427f9573280688833dcbc52941a 100644 (file)
@@ -44,4 +44,11 @@ Just use the `access_token` in the `Authorization` header:
 
 ```
 $ curl -H 'Authorization: Bearer 90286a0bdf0f7315d9d3fe8dabf9e1d2be9c97d0' https://peertube.example.com/api/v1/jobs/complete
+```
+
+
+### List videos
+
+```
+$ curl https://peertube.example.com/api/v1/videos
 ```
\ No newline at end of file