aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-05-23 14:58:34 +0200
committerChocobozzz <me@florianbigard.com>2019-05-23 14:58:34 +0200
commit46e9407c60650fefd0c0a3358da22d81dabe6f09 (patch)
tree7d8ea55346de655dd8c60dddc6a430541186ed6c /support/doc/api
parent79ad1706f3cf009e04db9cd9e6a721801d93e64e (diff)
downloadPeerTube-46e9407c60650fefd0c0a3358da22d81dabe6f09.tar.gz
PeerTube-46e9407c60650fefd0c0a3358da22d81dabe6f09.tar.zst
PeerTube-46e9407c60650fefd0c0a3358da22d81dabe6f09.zip
Update URLs to point to new documentation site
Diffstat (limited to 'support/doc/api')
-rw-r--r--support/doc/api/openapi.yaml4
-rw-r--r--support/doc/api/quickstart.md2
2 files changed, 3 insertions, 3 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index 9963e1d26..3c7688a7c 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -38,7 +38,7 @@ info:
38 } 38 }
39 ``` 39 ```
40externalDocs: 40externalDocs:
41 url: https://docs.joinpeertube.org/api.html 41 url: https://docs.joinpeertube.org/#/api-rest-reference.html
42tags: 42tags:
43 - name: Accounts 43 - name: Accounts
44 description: > 44 description: >
@@ -1739,7 +1739,7 @@ components:
1739 1739
1740 - Have an account with sufficient authorization levels 1740 - Have an account with sufficient authorization levels
1741 1741
1742 - [Generate](https://docs.joinpeertube.org/lang/en/devdocs/rest.html) a 1742 - [Generate](https://docs.joinpeertube.org/#/api-rest-getting-started) a
1743 Bearer Token 1743 Bearer Token
1744 1744
1745 - Make Authenticated Requests 1745 - Make Authenticated Requests
diff --git a/support/doc/api/quickstart.md b/support/doc/api/quickstart.md
index 00874a1c9..2222be741 100644
--- a/support/doc/api/quickstart.md
+++ b/support/doc/api/quickstart.md
@@ -47,7 +47,7 @@ $ curl -H 'Authorization: Bearer 90286a0bdf0f7315d9d3fe8dabf9e1d2be9c97d0' https
47``` 47```
48 48
49 49
50### List videos 50## List videos
51 51
52```bash 52```bash
53$ curl https://peertube.example.com/api/v1/videos 53$ curl https://peertube.example.com/api/v1/videos