projects
/
oweals
/
peertube.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fbfba6
)
Add API example to list videos
author
Chocobozzz
<me@florianbigard.com>
Mon, 11 Jun 2018 12:45:43 +0000
(14:45 +0200)
committer
Chocobozzz
<me@florianbigard.com>
Mon, 11 Jun 2018 12:45:43 +0000
(14:45 +0200)
support/doc/api/quickstart.md
patch
|
blob
|
history
diff --git
a/support/doc/api/quickstart.md
b/support/doc/api/quickstart.md
index 5ebcd4f473d3f3f385d0b9858bf5993203f7303c..844248a7f0dac427f9573280688833dcbc52941a 100644
(file)
--- 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