aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-06-11 14:45:43 +0200
committerChocobozzz <me@florianbigard.com>2018-06-11 14:45:43 +0200
commitf286060081609f9f96475da7f80225f47de92787 (patch)
tree1fdf6a43b4377592b2a9adaa1ae5a7d4ec3c83d8 /support/doc
parent4fbfba67b31b30985504c39f5f4031176b0e4410 (diff)
downloadPeerTube-f286060081609f9f96475da7f80225f47de92787.tar.gz
PeerTube-f286060081609f9f96475da7f80225f47de92787.tar.zst
PeerTube-f286060081609f9f96475da7f80225f47de92787.zip
Add API example to list videos
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/api/quickstart.md7
1 files changed, 7 insertions, 0 deletions
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:
44 44
45``` 45```
46$ curl -H 'Authorization: Bearer 90286a0bdf0f7315d9d3fe8dabf9e1d2be9c97d0' https://peertube.example.com/api/v1/jobs/complete 46$ curl -H 'Authorization: Bearer 90286a0bdf0f7315d9d3fe8dabf9e1d2be9c97d0' https://peertube.example.com/api/v1/jobs/complete
47```
48
49
50### List videos
51
52```
53$ curl https://peertube.example.com/api/v1/videos
47``` \ No newline at end of file 54``` \ No newline at end of file