]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/api/quickstart.md
Add API example to list videos
[github/Chocobozzz/PeerTube.git] / 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