Add API example to list videos

pull/632/merge
Chocobozzz 2018-06-11 14:45:43 +02:00
parent 4fbfba67b3
commit f286060081
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 7 additions and 0 deletions

View 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
```