aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc/api/openapi.yaml
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-03-07 13:13:40 +0100
committerChocobozzz <me@florianbigard.com>2018-03-07 13:13:40 +0100
commitea65a47623a545ed8023347d752cdd5fe5700e5d (patch)
tree364e71f27f14187a1f540850fb8db29c8038e28e /support/doc/api/openapi.yaml
parent28e014c096f771c4474789c568d3e0c3abdbc95b (diff)
downloadPeerTube-ea65a47623a545ed8023347d752cdd5fe5700e5d.tar.gz
PeerTube-ea65a47623a545ed8023347d752cdd5fe5700e5d.tar.zst
PeerTube-ea65a47623a545ed8023347d752cdd5fe5700e5d.zip
Add api base path in documentation
Diffstat (limited to 'support/doc/api/openapi.yaml')
-rw-r--r--support/doc/api/openapi.yaml6
1 files changed, 5 insertions, 1 deletions
diff --git a/support/doc/api/openapi.yaml b/support/doc/api/openapi.yaml
index bcb0c511e..e8e593420 100644
--- a/support/doc/api/openapi.yaml
+++ b/support/doc/api/openapi.yaml
@@ -1,8 +1,12 @@
1swagger: '2.0' 1swagger: '2.0'
2info: 2info:
3 title: PeerTube 3 title: PeerTube
4 version: 0.0.15-alpha 4 version: 1.0.0-alpha
5 description: Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular. 5 description: Federated (ActivityPub) video streaming platform using P2P (BitTorrent) directly in the web browser with WebTorrent and Angular.
6host: peertube.example.com
7basePath: '/api/v1'
8schemes:
9 - https
6paths: 10paths:
7 '/accounts/{id}': 11 '/accounts/{id}':
8 get: 12 get: