From: Chocobozzz Date: Mon, 11 Jun 2018 12:45:43 +0000 (+0200) Subject: Add API example to list videos X-Git-Tag: v1.0.0-beta.9~62 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=f286060081609f9f96475da7f80225f47de92787;p=oweals%2Fpeertube.git Add API example to list videos --- diff --git a/support/doc/api/quickstart.md b/support/doc/api/quickstart.md index 5ebcd4f47..844248a7f 100644 --- a/support/doc/api/quickstart.md +++ b/support/doc/api/quickstart.md @@ -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